From b31e588e8dd30fffbe6454db0858b861093979c8 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 13 Dec 2025 17:48:30 +0000 Subject: [PATCH 1/2] Add explain.txt with plain EXPLAIN AST output for 00001_select_1 Generate plain text AST output from ClickHouse EXPLAIN AST command instead of JSON format. --- parser/testdata/00001_select_1/explain.txt | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 parser/testdata/00001_select_1/explain.txt diff --git a/parser/testdata/00001_select_1/explain.txt b/parser/testdata/00001_select_1/explain.txt new file mode 100644 index 000000000..8827c47de --- /dev/null +++ b/parser/testdata/00001_select_1/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 From 18b2c620e9a03cd2b09aa35c17452ce4a80efe71 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 13 Dec 2025 18:14:37 +0000 Subject: [PATCH 2/2] Add explain.txt files for all test queries using EXPLAIN AST Generate plain text AST output from ClickHouse EXPLAIN AST command for all 6823 test queries: - 6509 queries successfully generated explain.txt - 313 queries failed parsing, marked with explain:false in metadata.json - 1 query skipped (empty/invalid) Also adds scripts/generate_explain.sh for batch generation. --- parser/testdata/00001_count_hits/explain.txt | 10 + .../testdata/00002_count_visits/explain.txt | 11 + .../testdata/00002_system_numbers/explain.txt | 1 + .../00003_reinterpret_as_string/explain.txt | 16 + .../explain.txt | 16 + .../testdata/00004_top_counters/explain.txt | 17 + parser/testdata/00005_filtering/explain.txt | 14 + .../explain.txt | 26 + parser/testdata/00006_agregates/explain.txt | 16 + .../explain.txt | 1 + parser/testdata/00007_array/explain.txt | 5 + parser/testdata/00007_uniq/explain.txt | 24 + parser/testdata/00008_array_join/explain.txt | 7 + parser/testdata/00008_uniq/explain.txt | 25 + .../00009_array_join_subquery/explain.txt | 16 + .../00009_uniq_distributed/explain.txt | 29 + .../testdata/00010_big_array_join/explain.txt | 21 + .../00010_quantiles_segfault/explain.txt | 103 +++ .../00011_array_join_alias/explain.txt | 22 + parser/testdata/00011_sorting/explain.txt | 16 + .../00012_array_join_alias_2/explain.txt | 23 + .../00012_sorting_distributed/explain.txt | 20 + .../explain.txt | 2 + .../00013_sorting_of_nested/explain.txt | 22 + .../00014_filtering_arrays/explain.txt | 17 + .../explain.txt | 2 + .../explain.txt | 14 + .../00015_totals_having_constants/explain.txt | 34 + .../explain.txt | 19 + .../00016_totals_having_constants/explain.txt | 17 + .../explain.txt | 22 + .../explain.txt | 1 + .../00018_distinct_in_subquery/explain.txt | 17 + .../explain.txt | 1 + .../explain.txt | 1 + .../testdata/00020_sorting_arrays/explain.txt | 10 + .../00021_1_select_with_in/explain.txt | 15 + .../00021_2_select_with_in/explain.txt | 15 + .../00021_3_select_with_in/explain.txt | 8 + .../testdata/00021_sorting_arrays/explain.txt | 10 + .../explain.txt | 19 + .../testdata/00022_merge_prewhere/explain.txt | 2 + .../00023_agg_select_agg_subquery/explain.txt | 24 + .../testdata/00023_totals_limit/explain.txt | 1 + .../00024_random_counters/explain.txt | 18 + .../explain.txt | 18 + .../explain.txt | 17 + .../explain.txt | 18 + parser/testdata/00027_argMinMax/explain.txt | 45 ++ .../00027_distinct_and_order_by/explain.txt | 1 + .../00027_simple_argMinArray/explain.txt | 26 + .../explain.txt | 2 + parser/testdata/00030_alter_table/explain.txt | 2 + .../00030_array_enumerate_uniq/explain.txt | 26 + .../00031_array_enumerate_uniq/explain.txt | 10 + .../testdata/00031_parser_number/explain.txt | 119 ++++ .../00032_aggregate_key64/explain.txt | 19 + .../00032_fixed_string_to_string/explain.txt | 17 + .../00033_aggregate_key_string/explain.txt | 19 + .../00033_fixed_string_to_string/explain.txt | 10 + .../explain.txt | 26 + .../00034_fixed_string_to_number/explain.txt | 17 + .../00035_aggregate_keys128/explain.txt | 23 + .../explain.txt | 5 + .../00036_aggregate_hashed/explain.txt | 23 + .../testdata/00036_array_element/explain.txt | 2 + .../testdata/00037_totals_limit/explain.txt | 1 + .../00037_uniq_state_merge1/explain.txt | 1 + .../testdata/00038_totals_limit/explain.txt | 1 + .../00038_uniq_state_merge2/explain.txt | 1 + parser/testdata/00039_primary_key/explain.txt | 14 + .../explain.txt | 2 + .../00040_array_enumerate_uniq/explain.txt | 54 ++ .../explain.txt | 2 + .../00041_aggregation_remap/explain.txt | 30 + .../testdata/00041_big_array_join/explain.txt | 2 + .../00042_any_left_join/metadata.json | 2 +- parser/testdata/00042_set/explain.txt | 20 + .../00043_any_left_join/metadata.json | 2 +- .../00043_summing_empty_part/explain.txt | 2 + .../00044_any_left_join_string/metadata.json | 2 +- .../explain.txt | 24 + .../explain.txt | 27 + parser/testdata/00045_uniq_upto/explain.txt | 29 + .../explain.txt | 2 + .../00046_uniq_upto_distributed/explain.txt | 33 + parser/testdata/00047_bar/explain.txt | 24 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + parser/testdata/00048_min_max/explain.txt | 14 + .../00049_any_left_join/metadata.json | 2 +- .../testdata/00049_max_string_if/explain.txt | 24 + .../00050_any_left_join/metadata.json | 2 +- parser/testdata/00050_min_max/explain.txt | 22 + .../testdata/00051_any_inner_join/explain.txt | 1 + .../testdata/00051_min_max_array/explain.txt | 30 + .../00052_all_left_join/metadata.json | 2 +- parser/testdata/00052_group_by_in/explain.txt | 16 + .../00053_all_inner_join/metadata.json | 2 +- .../00053_replicate_segfault/explain.txt | 42 ++ .../testdata/00054_join_string/metadata.json | 2 +- .../00054_merge_tree_partitions/explain.txt | 2 + .../testdata/00055_index_and_not/explain.txt | 26 + .../00055_join_two_numbers/metadata.json | 2 +- .../00056_join_number_string/metadata.json | 2 +- parser/testdata/00056_view/explain.txt | 2 + .../testdata/00057_join_aliases/explain.txt | 1 + .../explain.txt | 20 + .../00059_shard_global_in/explain.txt | 39 ++ .../explain.txt | 2 + parser/testdata/00060_date_lut/explain.txt | 9 + .../explain.txt | 1 + .../00061_merge_tree_alter/explain.txt | 2 + .../testdata/00061_storage_buffer/explain.txt | 2 + parser/testdata/00062_loyalty/explain.txt | 111 +++ .../explain.txt | 2 + parser/testdata/00063_check_query/explain.txt | 1 + .../testdata/00063_loyalty_joins/explain.txt | 1 + parser/testdata/00064_negate_bug/explain.txt | 12 + .../explain.txt | 2 + .../explain.txt | 15 + parser/testdata/00066_group_by_in/explain.txt | 10 + .../explain.txt | 1 + .../00067_replicate_segfault/explain.txt | 37 + parser/testdata/00067_union_all/metadata.json | 2 +- .../testdata/00068_empty_tiny_log/explain.txt | 8 + .../00068_subquery_in_prewhere/explain.txt | 27 + .../00069_date_arithmetic/explain.txt | 15 + .../explain.txt | 32 + .../00071_insert_fewer_columns/explain.txt | 2 + .../00071_merge_tree_optimize_aio/explain.txt | 2 + .../explain.txt | 14 + parser/testdata/00072_in_types/metadata.json | 2 +- .../explain.txt | 1 + parser/testdata/00073_uniq_array/explain.txt | 31 + parser/testdata/00074_full_join/explain.txt | 1 + .../00075_left_array_join/explain.txt | 34 + .../explain.txt | 15 + .../00076_ip_coding_functions/explain.txt | 1 + .../00076_system_columns_bytes/metadata.json | 2 +- .../00077_log_tinylog_stripelog/explain.txt | 1 + .../explain.txt | 1 + .../00078_group_by_arrays/explain.txt | 17 + .../testdata/00078_string_concat/explain.txt | 17 + .../explain.txt | 40 ++ .../00079_defaulted_columns/explain.txt | 2 + .../00080_array_join_and_union/explain.txt | 44 ++ .../metadata.json | 2 +- .../explain.txt | 1 + .../00081_int_div_or_zero/explain.txt | 11 + .../explain.txt | 11 + parser/testdata/00082_quantiles/explain.txt | 1 + .../testdata/00083_array_filter/explain.txt | 16 + .../explain.txt | 1 + .../00084_external_aggregation/explain.txt | 1 + .../00084_summing_merge_tree/explain.txt | 2 + .../explain.txt | 19 + .../explain.txt | 1 + .../testdata/00086_array_reduce/explain.txt | 42 ++ .../explain.txt | 28 + .../explain.txt | 20 + .../testdata/00087_math_functions/explain.txt | 10 + parser/testdata/00087_where_0/explain.txt | 1 + .../explain.txt | 17 + .../explain.txt | 1 + .../explain.txt | 66 ++ .../explain.txt | 1 + .../00091_prewhere_two_conditions/explain.txt | 1 + .../00093_prewhere_array_join/explain.txt | 25 + .../explain.txt | 5 + .../00095_hyperscan_profiler/explain.txt | 1 + .../00096_aggregation_min_if/explain.txt | 2 + .../00097_constexpr_in_index/explain.txt | 1 + parser/testdata/00098_1_union_all/explain.txt | 2 + parser/testdata/00098_2_union_all/explain.txt | 2 + parser/testdata/00098_3_union_all/explain.txt | 2 + parser/testdata/00098_4_union_all/explain.txt | 2 + parser/testdata/00098_5_union_all/explain.txt | 2 + parser/testdata/00098_6_union_all/explain.txt | 23 + parser/testdata/00098_7_union_all/explain.txt | 22 + parser/testdata/00098_8_union_all/explain.txt | 22 + parser/testdata/00098_9_union_all/explain.txt | 20 + parser/testdata/00098_a_union_all/explain.txt | 20 + parser/testdata/00098_b_union_all/explain.txt | 23 + parser/testdata/00098_c_union_all/explain.txt | 28 + parser/testdata/00098_d_union_all/explain.txt | 2 + parser/testdata/00098_e_union_all/explain.txt | 2 + parser/testdata/00098_f_union_all/explain.txt | 2 + parser/testdata/00098_g_union_all/explain.txt | 31 + parser/testdata/00098_h_union_all/explain.txt | 31 + parser/testdata/00098_j_union_all/explain.txt | 21 + parser/testdata/00098_k_union_all/explain.txt | 1 + parser/testdata/00098_l_union_all/explain.txt | 1 + .../explain.txt | 15 + .../00098_shard_i_union_all/explain.txt | 2 + .../metadata.json | 2 +- .../explain.txt | 2 + .../explain.txt | 6 + .../explain.txt | 12 + .../00104_totals_having_mode/explain.txt | 1 + .../00105_shard_collations/explain.txt | 5 + .../00106_totals_after_having/explain.txt | 1 + .../00107_totals_after_having/explain.txt | 5 + .../explain.txt | 1 + .../explain.txt | 1 + .../testdata/00110_external_sort/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../00113_shard_group_array/explain.txt | 33 + .../explain.txt | 8 + parser/testdata/00116_storage_set/explain.txt | 2 + .../testdata/00117_parsing_arrays/explain.txt | 2 + .../testdata/00118_storage_join/explain.txt | 2 + .../testdata/00119_storage_join/explain.txt | 2 + .../00120_join_and_group_by/explain.txt | 23 + .../00121_drop_column_zookeeper/explain.txt | 2 + .../explain.txt | 39 ++ .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 20 + parser/testdata/00126_buffer/explain.txt | 2 + .../00127_group_by_concat/explain.txt | 35 + .../explain.txt | 35 + .../explain.txt | 33 + parser/testdata/00131_set_hashed/explain.txt | 10 + parser/testdata/00132_sets/explain.txt | 8 + .../explain.txt | 16 + .../explain.txt | 1 + .../explain.txt | 42 ++ .../testdata/00137_in_constants/explain.txt | 13 + .../testdata/00138_table_aliases/explain.txt | 9 + parser/testdata/00139_like/metadata.json | 2 +- .../explain.txt | 36 + .../00140_prewhere_column_order/explain.txt | 2 + parser/testdata/00140_rename/explain.txt | 13 + .../explain.txt | 2 + parser/testdata/00141_transform/explain.txt | 30 + .../explain.txt | 36 + .../testdata/00142_system_columns/explain.txt | 23 + .../explain.txt | 10 + .../explain.txt | 30 + .../testdata/00144_empty_regexp/explain.txt | 10 + .../explain.txt | 1 + .../explain.txt | 21 + parser/testdata/00145_empty_likes/explain.txt | 10 + .../00146_aggregate_function_uniq/explain.txt | 25 + .../explain.txt | 2 + .../00147_alter_nested_default/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../00149_function_url_hash/explain.txt | 15 + .../explain.txt | 1 + .../explain.txt | 52 ++ .../00150_with_totals_and_join/explain.txt | 1 + .../00151_order_by_read_in_order/explain.txt | 1 + .../00151_tuple_with_array/explain.txt | 8 + .../explain.txt | 2 + .../00152_totals_in_subquery/explain.txt | 20 + .../00153_aggregate_arena_race/explain.txt | 2 + parser/testdata/00153_transform/explain.txt | 14 + parser/testdata/00154_avro/explain.txt | 2 + .../explain.txt | 13 + .../00156_array_map_to_constant/explain.txt | 14 + .../explain.txt | 1 + .../explain.txt | 18 + .../00157_cache_dictionary/explain.txt | 3 + .../metadata.json | 2 +- .../00158_cache_dictionary_has/explain.txt | 2 + .../explain.txt | 2 + .../00160_decode_xml_component/explain.txt | 19 + .../00160_merge_and_index_in_in/explain.txt | 2 + .../00161_rounding_functions/explain.txt | 27 + .../00162_mmap_compression_none/explain.txt | 2 + .../00162_shard_global_join/explain.txt | 28 + .../explain.txt | 1 + parser/testdata/00164_not_chain/explain.txt | 7 + .../00164_quantileBfloat16/explain.txt | 23 + .../00165_jit_aggregate_functions/explain.txt | 1 + .../explain.txt | 17 + .../00166_explain_estimate/explain.txt | 1 + .../explain.txt | 1 + .../00167_read_bytes_from_fs/explain.txt | 1 + .../00167_settings_inside_query/explain.txt | 32 + .../00168_buffer_defaults/explain.txt | 2 + .../testdata/00169_contingency/metadata.json | 2 +- .../00169_join_constant_keys/metadata.json | 2 +- .../00170_lower_upper_utf8/explain.txt | 10 + parser/testdata/00170_s3_cache/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 29 + .../00172_constexprs_in_set/explain.txt | 44 ++ .../00172_early_constant_folding/explain.txt | 1 + .../explain.txt | 10 + .../00173_group_by_use_nulls/metadata.json | 2 +- .../explain.txt | 10 + .../00174_distinct_in_order/explain.txt | 5 + .../explain.txt | 1 + .../testdata/00175_if_num_arrays/explain.txt | 18 + .../00175_partition_by_ignore/explain.txt | 5 + .../explain.txt | 6 + .../00176_if_string_arrays/explain.txt | 17 + .../00178_function_replicate/metadata.json | 2 +- .../00178_quantile_ddsketch/explain.txt | 27 + .../00178_query_datetime64_index/explain.txt | 2 + .../explain.txt | 20 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../00181_cross_join_compression/explain.txt | 7 + .../explain.txt | 5 + .../explain.txt | 1 + .../explain.txt | 1 + .../00183_skip_unavailable_shards/explain.txt | 1 + .../explain.txt | 5 + .../testdata/00185_array_literals/explain.txt | 5 + .../00187_like_regexp_prefix/explain.txt | 10 + .../explain.txt | 26 + .../00189_time_zones_long/metadata.json | 2 +- .../explain.txt | 43 ++ .../explain.txt | 2 + .../testdata/00192_least_greatest/explain.txt | 40 ++ .../00193_parallel_replicas/explain.txt | 2 + parser/testdata/00194_identity/explain.txt | 9 + .../explain.txt | 23 + .../00196_float32_formatting/explain.txt | 5 + .../00197_if_fixed_string/explain.txt | 23 + .../00198_group_by_empty_arrays/explain.txt | 35 + .../explain.txt | 12 + .../explain.txt | 2 + parser/testdata/00201_array_uniq/explain.txt | 71 ++ parser/testdata/00202_cross_join/explain.txt | 39 ++ parser/testdata/00203_full_join/explain.txt | 1 + .../00204_extract_url_parameter/explain.txt | 8 + .../metadata.json | 2 +- .../00205_scalar_subqueries/explain.txt | 1 + .../00206_empty_array_to_single/explain.txt | 20 + .../00207_left_array_join/explain.txt | 19 + .../00208_agg_state_merge/explain.txt | 56 ++ .../00209_insert_select_extremes/explain.txt | 2 + .../metadata.json | 2 +- .../explain.txt | 5 + .../00213_multiple_global_in/explain.txt | 29 + .../00214_primary_key_order/explain.txt | 2 + .../explain.txt | 2 + .../metadata.json | 2 +- .../explain.txt | 1 + .../00218_like_regexp_newline/explain.txt | 8 + .../explain.txt | 1 + .../explain.txt | 23 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../00225_join_duplicate_columns/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 24 + .../explain.txt | 25 + .../00229_prewhere_column_missing/explain.txt | 2 + .../explain.txt | 10 + .../00231_format_vertical_raw/explain.txt | 6 + .../metadata.json | 2 +- .../00232_format_readable_size/metadata.json | 2 +- .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 10 + .../explain.txt | 2 + .../explain.txt | 1 + .../00237_group_by_arrays/explain.txt | 34 + .../explain.txt | 1 + .../00239_type_conversion_in_in/explain.txt | 23 + .../00240_replace_substring_loop/explain.txt | 30 + .../00250_tuple_comparison/metadata.json | 2 +- parser/testdata/00251_has_types/explain.txt | 8 + .../explain.txt | 2 + .../explain.txt | 2 + .../testdata/00254_tuple_extremes/explain.txt | 2 + .../00255_array_concat_string/explain.txt | 7 + parser/testdata/00256_reverse/explain.txt | 7 + .../explain.txt | 1 + .../00258_materializing_tuples/explain.txt | 24 + .../testdata/00259_hashing_tuples/explain.txt | 20 + .../00260_like_and_curly_braces/explain.txt | 19 + .../explain.txt | 2 + parser/testdata/00262_alter_alias/explain.txt | 2 + .../explain.txt | 2 + .../00264_uniq_many_args/metadata.json | 2 +- .../00266_read_overflow_mode/explain.txt | 27 + .../explain.txt | 21 + .../explain.txt | 37 + .../explain.txt | 9 + .../explain.txt | 9 + .../explain.txt | 2 + .../00271_agg_state_and_totals/explain.txt | 38 ++ .../explain.txt | 21 + parser/testdata/00273_quantiles/explain.txt | 23 + .../00274_shard_group_array/explain.txt | 25 + .../explain.txt | 24 + parser/testdata/00276_sample/explain.txt | 2 + .../testdata/00277_array_filter/explain.txt | 56 ++ .../00278_insert_already_sorted/explain.txt | 2 + .../00279_quantiles_permuted_args/explain.txt | 42 ++ .../00280_hex_escape_sequence/explain.txt | 5 + parser/testdata/00282_merging/explain.txt | 2 + .../testdata/00283_column_cut/metadata.json | 2 +- .../00284_external_aggregation/explain.txt | 1 + .../00284_external_aggregation_2/explain.txt | 1 + .../00285_not_all_data_in_totals/explain.txt | 1 + .../explain.txt | 9 + .../00287_column_const_with_nan/explain.txt | 27 + .../00288_empty_stripelog/explain.txt | 2 + .../explain.txt | 2 + .../testdata/00291_array_reduce/metadata.json | 2 +- .../00292_parser_tuple_element/explain.txt | 8 + .../explain.txt | 1 + parser/testdata/00294_shard_enums/explain.txt | 1 + .../explain.txt | 1 + .../00296_url_parameters/metadata.json | 2 +- .../00298_enum_width_and_cast/explain.txt | 2 + .../explain.txt | 2 + parser/testdata/00300_csv/explain.txt | 13 + .../explain.txt | 2 + parser/testdata/00307_format_xml/explain.txt | 1 + .../00308_write_buffer_valid_utf8/explain.txt | 1 + parser/testdata/00309_formats/explain.txt | 1 + .../00311_array_primary_key/explain.txt | 1 + .../explain.txt | 23 + .../explain.txt | 2 + .../00315_quantile_off_by_one/explain.txt | 37 + .../explain.txt | 1 + .../explain.txt | 10 + .../testdata/00318_pk_tuple_order/explain.txt | 2 + .../testdata/00319_index_for_like/explain.txt | 1 + parser/testdata/00320_between/explain.txt | 20 + parser/testdata/00321_pk_set/explain.txt | 2 + .../00323_quantiles_timing_bug/explain.txt | 13 + .../testdata/00324_hashing_enums/explain.txt | 20 + .../00326_long_function_multi_if/explain.txt | 5 + .../explain.txt | 1 + .../metadata.json | 2 +- .../00330_view_subqueries/explain.txt | 2 + .../00331_final_and_prewhere/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 21 + .../00333_parser_number_bug/explain.txt | 14 + .../explain.txt | 2 + .../00337_shard_any_heavy/explain.txt | 33 + .../explain.txt | 2 + .../00340_squashing_insert_select/explain.txt | 2 + .../explain.txt | 2 + .../00342_escape_sequences/explain.txt | 7 + .../00343_array_element_generic/explain.txt | 26 + .../explain.txt | 1 + .../explain.txt | 2 + parser/testdata/00346_if_tuple/explain.txt | 36 + parser/testdata/00347_has_tuple/explain.txt | 32 + parser/testdata/00348_tuples/explain.txt | 13 + .../testdata/00349_visible_width/explain.txt | 16 + .../testdata/00350_count_distinct/explain.txt | 1 + .../explain.txt | 46 ++ .../explain.txt | 26 + .../testdata/00353_join_by_tuple/explain.txt | 1 + .../explain.txt | 15 + .../explain.txt | 30 + .../00357_to_string_complex_types/explain.txt | 16 + .../explain.txt | 8 + .../explain.txt | 10 + .../explain.txt | 7 + .../explain.txt | 2 + .../00362_great_circle_distance/explain.txt | 12 + parser/testdata/00363_defaults/explain.txt | 2 + .../00364_java_style_denormals/metadata.json | 2 +- .../metadata.json | 2 +- .../00369_int_div_of_float/explain.txt | 8 + .../explain.txt | 1 + parser/testdata/00371_union_all/explain.txt | 24 + .../testdata/00373_group_by_tuple/explain.txt | 39 ++ .../00374_any_last_if_merge/explain.txt | 40 ++ .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../metadata.json | 2 +- .../00383_utf8_validation/explain.txt | 1 + .../explain.txt | 2 + parser/testdata/00386_enum_in_pk/explain.txt | 2 + .../00386_has_column_in_table/explain.txt | 2 + .../00388_enum_with_totals/explain.txt | 2 + .../00389_concat_operator/explain.txt | 9 + parser/testdata/00390_array_sort/explain.txt | 22 + .../00392_enum_nested_alter/explain.txt | 2 + .../explain.txt | 9 + .../explain.txt | 2 + .../00394_replaceall_vector_fixed/explain.txt | 2 + parser/testdata/00395_nullable/explain.txt | 5 + parser/testdata/00396_uuid/explain.txt | 26 + parser/testdata/00396_uuid_v7/explain.txt | 5 + .../00397_tsv_format_synonym/explain.txt | 10 + .../explain.txt | 2 + .../00401_merge_and_stripelog/explain.txt | 2 + .../00402_nan_and_extremes/explain.txt | 8 + .../00403_to_start_of_day/explain.txt | 16 + .../testdata/00404_null_literal/explain.txt | 7 + .../explain.txt | 1 + .../testdata/00405_pretty_formats/explain.txt | 1 + .../00406_tuples_with_nulls/explain.txt | 29 + .../testdata/00409_shard_limit_by/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 630 ++++++++++++++++++ .../explain.txt | 2 + .../explain.txt | 2 + parser/testdata/00413_distinct/explain.txt | 2 + .../explain.txt | 16 + .../explain.txt | 22 + .../explain.txt | 11 + .../00422_hash_function_constexpr/explain.txt | 12 + .../explain.txt | 2 + .../explain.txt | 9 + .../testdata/00425_count_nullable/explain.txt | 20 + .../testdata/00426_nulls_sorting/explain.txt | 10 + .../00429_point_in_ellipses/explain.txt | 12 + parser/testdata/00431_if_nulls/metadata.json | 2 +- .../explain.txt | 2 + parser/testdata/00433_ifnull/explain.txt | 11 + .../testdata/00434_tonullable/metadata.json | 2 +- parser/testdata/00435_coalesce/explain.txt | 13 + .../00436_convert_charset/metadata.json | 2 +- .../metadata.json | 2 +- .../00437_nulls_first_last/explain.txt | 44 ++ parser/testdata/00438_bit_rotate/explain.txt | 10 + .../00439_fixed_string_filter/explain.txt | 33 + .../00440_nulls_merge_tree/explain.txt | 2 + parser/testdata/00441_nulls_in/explain.txt | 13 + .../00442_filter_by_nullable/explain.txt | 17 + .../testdata/00444_join_use_nulls/explain.txt | 1 + .../00445_join_nullable_keys/explain.txt | 1 + .../explain.txt | 5 + .../00447_foreach_modifier/explain.txt | 12 + .../explain.txt | 19 + .../00448_to_string_cut_to_zero/explain.txt | 28 + .../explain.txt | 30 + .../explain.txt | 30 + .../explain.txt | 19 + .../explain.txt | 25 + parser/testdata/00453_cast_enum/explain.txt | 2 + parser/testdata/00453_top_k/explain.txt | 38 ++ .../testdata/00456_alter_nullable/explain.txt | 2 + .../explain.txt | 2 + .../00458_merge_type_cast/explain.txt | 5 + .../00459_group_array_insert_at/explain.txt | 27 + .../explain.txt | 30 + .../explain.txt | 23 + .../explain.txt | 2 + .../explain.txt | 19 + .../explain.txt | 18 + .../00465_nullable_default/explain.txt | 2 + .../00466_comments_in_keyword/explain.txt | 8 + .../00467_qualified_names/explain.txt | 9 + .../explain.txt | 2 + .../explain.txt | 5 + .../explain.txt | 10 + .../00471_sql_style_quoting/explain.txt | 10 + .../explain.txt | 10 + .../explain.txt | 2 + .../00475_in_join_db_table/explain.txt | 2 + .../explain.txt | 1 + .../00477_parsing_data_types/explain.txt | 2 + .../explain.txt | 9 + .../testdata/00480_mac_addresses/explain.txt | 35 + .../00481_create_view_for_null/explain.txt | 2 + .../explain.txt | 2 + .../00482_subqueries_and_aliases/explain.txt | 19 + parser/testdata/00483_cast_syntax/explain.txt | 8 + .../explain.txt | 2 + .../explain.txt | 2 + .../00486_if_fixed_string/explain.txt | 17 + .../00487_if_array_fixed_string/explain.txt | 39 ++ .../00488_column_name_primary/explain.txt | 2 + .../00488_non_ascii_column_names/explain.txt | 2 + .../00489_pk_subexpression/explain.txt | 2 + .../explain.txt | 13 + parser/testdata/00490_with_select/explain.txt | 1 + .../explain.txt | 27 + .../00492_drop_temporary_table/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 5 + .../explain.txt | 39 ++ .../00499_json_enum_insert/explain.txt | 2 + .../00500_point_in_polygon/explain.txt | 5 + .../explain.txt | 15 + .../explain.txt | 2 + .../00500_point_in_polygon_bug/explain.txt | 2 + .../00500_point_in_polygon_bug_2/explain.txt | 20 + .../explain.txt | 361 ++++++++++ .../explain.txt | 1 + .../00500_point_in_polygon_nan/explain.txt | 17 + .../explain.txt | 2 + .../explain.txt | 5 + .../explain.txt | 1 + .../explain.txt | 28 + parser/testdata/00502_sum_map/explain.txt | 1 + .../00503_cast_const_nullable/explain.txt | 15 + .../00504_mergetree_arrays_rw/explain.txt | 1 + .../00506_shard_global_in_union/explain.txt | 31 + .../00506_union_distributed/explain.txt | 1 + .../00507_sumwithoverflow/explain.txt | 25 + .../00508_materialized_view_to/explain.txt | 8 + .../explain.txt | 1 + .../explain.txt | 2 + .../00511_get_size_of_enum/explain.txt | 10 + .../00513_fractional_time_zones/explain.txt | 30 + .../00514_interval_operators/explain.txt | 1 + .../00515_enhanced_time_zones/explain.txt | 1 + parser/testdata/00515_gcd_lcm/explain.txt | 8 + .../explain.txt | 2 + .../explain.txt | 2 + parser/testdata/00516_is_inf_nan/explain.txt | 61 ++ parser/testdata/00516_modulo/explain.txt | 8 + .../testdata/00517_date_parsing/explain.txt | 18 + .../metadata.json | 2 +- .../explain.txt | 2 + .../explain.txt | 2 + .../00521_multidimensional/explain.txt | 2 + .../00522_multidimensional/explain.txt | 2 + .../explain.txt | 9 + .../explain.txt | 12 + .../explain.txt | 43 ++ .../explain.txt | 29 + .../00527_totals_having_nullable/explain.txt | 12 + .../00528_const_of_nullable/explain.txt | 16 + parser/testdata/00529_orantius/explain.txt | 7 + .../00530_arrays_of_nothing/explain.txt | 14 + .../00531_aggregate_over_nullable/explain.txt | 2 + .../testdata/00532_topk_generic/explain.txt | 65 ++ parser/testdata/00533_uniq_array/explain.txt | 9 + parser/testdata/00534_exp10/explain.txt | 16 + .../00535_parse_float_scientific/explain.txt | 2 + parser/testdata/00536_int_exp/explain.txt | 35 + .../00536_int_exp_overflow/explain.txt | 5 + parser/testdata/00537_quarters/explain.txt | 49 ++ parser/testdata/00538_datediff/explain.txt | 5 + .../00538_datediff_plural_units/explain.txt | 13 + .../explain.txt | 8 + parser/testdata/00541_kahan_sum/explain.txt | 21 + .../metadata.json | 2 +- .../explain.txt | 1 + .../explain.txt | 2 + .../00543_null_and_prewhere/explain.txt | 1 + .../00544_agg_foreach_of_two_arg/explain.txt | 43 ++ .../00544_insert_with_select/explain.txt | 2 + .../explain.txt | 30 + .../explain.txt | 20 + .../testdata/00547_named_tuples/explain.txt | 27 + .../00548_slice_of_nested/explain.txt | 16 + .../testdata/00549_join_use_nulls/explain.txt | 1 + .../testdata/00551_parse_or_null/explain.txt | 36 + .../metadata.json | 2 +- .../metadata.json | 2 +- .../metadata.json | 2 +- .../testdata/00552_or_nullable/metadata.json | 2 +- .../explain.txt | 2 + .../00553_invalid_nested_name/explain.txt | 14 + .../explain.txt | 2 + .../testdata/00555_hasAll_hasAny/explain.txt | 10 + parser/testdata/00555_hasSubstr/explain.txt | 10 + .../explain.txt | 1 + .../00556_array_intersect/explain.txt | 10 + .../explain.txt | 15 + .../explain.txt | 2 + .../testdata/00557_array_resize/explain.txt | 8 + .../explain.txt | 1 + .../testdata/00558_parse_floats/explain.txt | 17 + .../00559_filter_array_generic/explain.txt | 13 + .../explain.txt | 6 + .../testdata/00561_storage_join/explain.txt | 2 + .../00562_in_subquery_merge_tree/explain.txt | 2 + .../explain.txt | 2 + .../00563_complex_in_expression/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../testdata/00566_enum_min_max/explain.txt | 27 + .../explain.txt | 1 + .../explain.txt | 11 + .../explain.txt | 1 + .../00570_empty_array_is_const/explain.txt | 8 + .../testdata/00571_alter_nullable/explain.txt | 2 + .../metadata.json | 2 +- .../explain.txt | 6 + .../explain.txt | 6 + .../explain.txt | 2 + .../00576_nested_and_prewhere/explain.txt | 2 + .../00577_full_join_segfault/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../00578_merge_table_sampling/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 5 + .../explain.txt | 2 + .../00579_virtual_column_and_lazy/explain.txt | 2 + .../explain.txt | 20 + .../explain.txt | 28 + .../explain.txt | 1 + .../00582_not_aliasing_functions/explain.txt | 22 + .../00583_limit_by_expressions/explain.txt | 12 + .../testdata/00584_view_union_all/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 34 + .../00590_limit_by_column_removal/explain.txt | 18 + .../metadata.json | 2 +- .../explain.txt | 5 + .../explain.txt | 2 + .../00594_alias_in_distributed/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 17 + .../explain.txt | 2 + .../explain.txt | 8 + .../explain.txt | 14 + .../explain.txt | 2 + .../00604_show_create_database/metadata.json | 2 +- .../explain.txt | 2 + .../00606_quantiles_and_nans/metadata.json | 2 +- parser/testdata/00607_index_in_in/explain.txt | 2 + parser/testdata/00608_uniq_array/explain.txt | 24 + .../explain.txt | 2 + .../testdata/00609_mv_index_in_in/explain.txt | 2 + .../00609_prewhere_and_default/explain.txt | 2 + .../explain.txt | 2 + parser/testdata/00612_count/explain.txt | 2 + .../explain.txt | 2 + parser/testdata/00612_pk_in_tuple/explain.txt | 2 + parser/testdata/00612_shard_count/explain.txt | 2 + .../explain.txt | 38 ++ .../explain.txt | 1 + .../testdata/00614_array_nullable/explain.txt | 2 + .../explain.txt | 2 + .../00615_nullable_alter_optimize/explain.txt | 2 + .../00616_final_single_part/explain.txt | 1 + parser/testdata/00617_array_in/explain.txt | 2 + parser/testdata/00618_nullable_in/explain.txt | 12 + parser/testdata/00619_extract/explain.txt | 9 + .../testdata/00619_union_highlite/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../00622_select_in_parens/explain.txt | 5 + .../00623_in_partition_key/explain.txt | 2 + .../explain.txt | 2 + .../00623_truncate_all_tables/explain.txt | 8 + .../testdata/00623_truncate_table/explain.txt | 1 + parser/testdata/00624_length_utf8/explain.txt | 8 + .../00625_arrays_in_nested/explain.txt | 2 + .../explain.txt | 2 + parser/testdata/00626_in_syntax/explain.txt | 10 + .../explain.txt | 2 + .../00627_recursive_alias/explain.txt | 24 + .../explain.txt | 2 + .../explain.txt | 2 + .../00632_get_sample_block_cache/explain.txt | 1 + parser/testdata/00633_func_or_in/explain.txt | 2 + parser/testdata/00634_rename_view/explain.txt | 2 + .../00635_shard_distinct_order_by/explain.txt | 2 + parser/testdata/00639_startsWith/explain.txt | 19 + parser/testdata/00640_endsWith/explain.txt | 19 + parser/testdata/00642_cast/explain.txt | 8 + .../00643_cast_zookeeper_long/explain.txt | 1 + .../metadata.json | 2 +- .../00645_date_time_input_format/explain.txt | 8 + parser/testdata/00646_weird_mmx/explain.txt | 2 + parser/testdata/00647_histogram/explain.txt | 26 + .../00647_histogram_negative/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 11 + .../explain.txt | 2 + .../00653_monotonic_integer_cast/explain.txt | 2 + .../00653_running_difference/explain.txt | 1 + .../explain.txt | 1 + .../00661_array_has_silviucpp/explain.txt | 2 + .../explain.txt | 1 + .../00662_array_has_nullable/explain.txt | 8 + .../testdata/00662_has_nullable/explain.txt | 2 + .../00663_tiny_log_empty_insert/explain.txt | 2 + .../explain.txt | 10 + .../explain.txt | 2 + .../00666_uniq_complex_types/explain.txt | 25 + .../metadata.json | 2 +- .../explain.txt | 2 + .../explain.txt | 2 + .../00671_max_intersections/explain.txt | 2 + .../testdata/00672_arrayDistinct/explain.txt | 7 + .../explain.txt | 2 + .../testdata/00674_has_array_enum/explain.txt | 22 + .../testdata/00674_join_on_syntax/explain.txt | 1 + .../explain.txt | 2 + parser/testdata/00676_group_by_in/explain.txt | 12 + .../00677_shard_any_heavy_merge/explain.txt | 25 + parser/testdata/00678_murmurhash/explain.txt | 7 + .../00678_shard_funnel_window/explain.txt | 2 + .../00679_replace_asterisk/explain.txt | 1 + parser/testdata/00679_uuid_in_key/explain.txt | 2 + .../explain.txt | 45 ++ .../explain.txt | 2 + .../explain.txt | 1 + .../testdata/00687_insert_into_mv/explain.txt | 2 + .../00688_aggregation_retention/explain.txt | 2 + .../00688_case_without_else/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 21 + .../explain.txt | 2 + .../00688_low_cardinality_in/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 5 + .../00688_low_cardinality_syntax/explain.txt | 1 + .../00689_join_table_function/explain.txt | 24 + .../testdata/00691_array_distinct/explain.txt | 23 + .../00692_if_exception_code/explain.txt | 1 + .../explain.txt | 16 + .../explain.txt | 1 + .../00696_system_columns_limit/explain.txt | 23 + .../00697_in_subquery_shard/explain.txt | 8 + .../explain.txt | 1 + .../explain.txt | 1 + .../00700_decimal_aggregates/explain.txt | 2 + .../testdata/00700_decimal_arithm/explain.txt | 2 + .../00700_decimal_array_functions/explain.txt | 19 + .../testdata/00700_decimal_bounds/explain.txt | 2 + .../testdata/00700_decimal_casts/explain.txt | 16 + .../00700_decimal_casts_2/explain.txt | 19 + .../00700_decimal_compare/explain.txt | 2 + .../00700_decimal_complex_types/explain.txt | 2 + .../00700_decimal_defaults/explain.txt | 2 + .../explain.txt | 2 + .../00700_decimal_formats/explain.txt | 2 + .../00700_decimal_gathers/explain.txt | 23 + .../00700_decimal_in_keys/explain.txt | 2 + .../testdata/00700_decimal_math/explain.txt | 20 + .../testdata/00700_decimal_null/explain.txt | 2 + .../testdata/00700_decimal_round/explain.txt | 31 + .../explain.txt | 2 + .../00700_to_decimal_or_something/explain.txt | 16 + .../00701_context_use_after_free/explain.txt | 28 + .../00701_join_default_strictness/explain.txt | 2 + parser/testdata/00701_rollup/explain.txt | 2 + .../testdata/00702_join_on_dups/explain.txt | 2 + .../00702_join_with_using/explain.txt | 2 + .../00702_join_with_using_dups/explain.txt | 2 + .../explain.txt | 2 + parser/testdata/00703_join_crash/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 9 + .../00707_float_csv_delimiter/explain.txt | 2 + .../explain.txt | 2 + .../00710_array_enumerate_dense/explain.txt | 55 ++ .../explain.txt | 10 + .../testdata/00712_nan_comparison/explain.txt | 40 ++ .../00712_prewhere_with_alias/explain.txt | 2 + .../explain.txt | 2 + .../00712_prewhere_with_alias_bug/explain.txt | 2 + .../explain.txt | 2 + .../00712_prewhere_with_final/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../00712_prewhere_with_sampling/explain.txt | 2 + .../explain.txt | 2 + .../00713_collapsing_merge_tree/explain.txt | 2 + parser/testdata/00714_alter_uuid/explain.txt | 8 + .../explain.txt | 2 + .../testdata/00715_bounding_ratio/explain.txt | 2 + .../explain.txt | 2 + parser/testdata/00716_allow_ddl/explain.txt | 1 + .../00717_default_join_type/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../00717_merge_and_distributed/explain.txt | 1 + .../00718_format_datetime/explain.txt | 1 + .../00718_format_datetime_1/explain.txt | 12 + .../00718_low_cardinaliry_alter/explain.txt | 1 + .../explain.txt | 10 + .../00719_format_datetime_rand/explain.txt | 32 + .../explain.txt | 7 + parser/testdata/00720_with_cube/explain.txt | 2 + .../explain.txt | 1 + parser/testdata/00722_inner_join/explain.txt | 1 + .../testdata/00723_remerge_sort/explain.txt | 35 + .../explain.txt | 2 + .../00725_comment_columns_long/explain.txt | 1 + .../00725_ipv4_ipv6_domains/explain.txt | 2 + .../testdata/00725_join_on_bug_1/explain.txt | 2 + .../testdata/00725_join_on_bug_2/explain.txt | 1 + .../testdata/00725_join_on_bug_3/explain.txt | 2 + .../testdata/00725_join_on_bug_4/explain.txt | 2 + .../00725_memory_tracking/explain.txt | 16 + .../00725_quantiles_shard/explain.txt | 19 + .../testdata/00726_length_aliases/explain.txt | 13 + .../explain.txt | 2 + .../00726_modulo_for_date/explain.txt | 20 + parser/testdata/00727_concat/explain.txt | 1 + .../00729_prewhere_array_join/explain.txt | 1 + .../00730_unicode_terminal_format/explain.txt | 1 + .../00732_base64_functions/explain.txt | 7 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + parser/testdata/00733_if_datetime/explain.txt | 22 + parser/testdata/00734_timeslot/explain.txt | 10 + .../00735_long_conditional/explain.txt | 1 + .../00735_or_expr_optimize_bug/explain.txt | 2 + .../explain.txt | 2 + .../00737_decimal_group_by/explain.txt | 10 + .../explain.txt | 2 + .../explain.txt | 2 + .../metadata.json | 2 +- .../explain.txt | 2 + .../explain.txt | 2 + .../00742_require_join_strictness/explain.txt | 1 + .../explain.txt | 2 + .../00744_join_not_found_column/explain.txt | 1 + .../00745_compile_scalar_subquery/explain.txt | 1 + .../explain.txt | 1 + .../testdata/00746_hashing_tuples/explain.txt | 9 + .../testdata/00747_contributors/explain.txt | 23 + .../00748_insert_array_with_null/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../testdata/00751_hashing_ints/explain.txt | 7 + .../explain.txt | 1 + .../explain.txt | 12 + .../explain.txt | 1 + .../explain.txt | 1 + .../00752_low_cardinality_mv_1/explain.txt | 2 + .../00752_low_cardinality_mv_2/explain.txt | 2 + .../00752_low_cardinality_permute/explain.txt | 2 + .../testdata/00753_alter_attach/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 5 + .../00753_quantile_format/explain.txt | 2 + .../explain.txt | 1 + .../00753_with_with_single_alias/explain.txt | 11 + .../explain.txt | 1 + .../00754_alter_modify_order_by/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 9 + .../explain.txt | 2 + parser/testdata/00756_power_alias/explain.txt | 20 + .../testdata/00757_enum_defaults/explain.txt | 2 + .../00757_enum_defaults_const/metadata.json | 2 +- .../explain.txt | 1 + .../testdata/00758_array_reverse/explain.txt | 7 + parser/testdata/00759_kodieg/metadata.json | 2 +- .../explain.txt | 1 + .../00760_url_functions_overflow/explain.txt | 8 + .../testdata/00761_lower_utf8_bug/explain.txt | 12 + .../00762_date_comparsion/explain.txt | 1 + .../explain.txt | 2 + parser/testdata/00765_locate/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../00780_unaligned_array_join/explain.txt | 41 ++ .../explain.txt | 2 + .../00799_function_dry_run/explain.txt | 2 + .../00800_function_java_hash/explain.txt | 9 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../00800_low_cardinality_join/explain.txt | 1 + .../00800_versatile_storage_join/explain.txt | 2 + .../metadata.json | 2 +- .../explain.txt | 37 + .../explain.txt | 2 + .../00803_odbc_driver_2_format/explain.txt | 9 + parser/testdata/00803_xxhash/explain.txt | 14 + .../00804_rollup_with_having/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + parser/testdata/00805_round_down/explain.txt | 14 + .../testdata/00806_alter_update/explain.txt | 2 + .../00807_regexp_quote_meta/explain.txt | 7 + .../explain.txt | 1 + .../00808_not_optimize_predicate/explain.txt | 1 + .../00809_add_days_segfault/explain.txt | 12 + .../00810_in_operators_segfault/explain.txt | 1 + parser/testdata/00811_garbage/explain.txt | 1 + .../00812_prewhere_alias_array/explain.txt | 2 + .../explain.txt | 1 + parser/testdata/00814_parsing_ub/explain.txt | 7 + .../00815_left_join_on_stepanel/explain.txt | 2 + .../00816_join_column_names_sarg/explain.txt | 2 + parser/testdata/00817_with_simple/explain.txt | 12 + .../testdata/00818_alias_bug_4110/explain.txt | 1 + .../00818_inner_join_bug_3567/explain.txt | 1 + .../testdata/00818_join_bug_4271/explain.txt | 2 + .../00819_ast_refactoring_bugs/explain.txt | 2 + .../explain.txt | 1 + .../testdata/00820_multiple_joins/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../00822_array_insert_default/explain.txt | 38 ++ .../00823_sequence_match_dfa/explain.txt | 2 + parser/testdata/00824_filesystem/explain.txt | 22 + .../00826_cross_to_inner_join/explain.txt | 1 + .../00829_bitmap64_function/explain.txt | 2 + .../00829_bitmap_function/explain.txt | 9 + .../testdata/00830_join_overwrite/explain.txt | 2 + .../explain.txt | 16 + .../00832_storage_file_lock/explain.txt | 2 + .../testdata/00833_sleep_overflow/explain.txt | 8 + .../00834_date_datetime_cmp/explain.txt | 12 + .../explain.txt | 15 + parser/testdata/00834_not_between/explain.txt | 20 + .../00835_if_generic_case/explain.txt | 1 + .../testdata/00836_indices_alter/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 12 + .../explain.txt | 2 + .../explain.txt | 2 + .../00839_bitmask_negative/explain.txt | 7 + .../testdata/00840_top_k_weighted/explain.txt | 42 ++ .../explain.txt | 6 + .../explain.txt | 9 + .../explain.txt | 1 + .../testdata/00844_join_lightee2/explain.txt | 2 + .../00845_join_on_aliases/explain.txt | 2 + .../00846_join_using_tuple_crash/explain.txt | 1 + .../explain.txt | 2 + .../00848_join_use_nulls_segfault/explain.txt | 1 + .../00849_multiple_comma_join_2/explain.txt | 1 + .../00850_global_join_dups/explain.txt | 2 + .../testdata/00852_any_join_nulls/explain.txt | 2 + .../00853_join_with_nulls_crash/explain.txt | 2 + .../00854_multiple_join_asterisks/explain.txt | 27 + .../00855_join_with_array_join/explain.txt | 1 + .../00856_no_column_issue_4242/explain.txt | 2 + .../explain.txt | 2 + parser/testdata/00858_issue_4756/explain.txt | 1 + .../00859_distinct_with_join/explain.txt | 2 + .../00860_unknown_identifier_bug/explain.txt | 2 + .../00861_decimal_quoted_csv/explain.txt | 2 + parser/testdata/00862_decimal_in/explain.txt | 2 + .../testdata/00863_comma_join_in/explain.txt | 2 + .../00864_union_all_supertype/explain.txt | 1 + parser/testdata/00870_t64_codec/explain.txt | 2 + .../00871_t64_codec_signed/explain.txt | 2 + .../testdata/00872_t64_bit_codec/explain.txt | 2 + .../testdata/00873_t64_codec_date/explain.txt | 2 + parser/testdata/00874_issue_3495/explain.txt | 2 + .../00875_join_right_nulls/explain.txt | 2 + .../00875_join_right_nulls_ors/explain.txt | 2 + .../00876_wrong_arraj_join_column/explain.txt | 2 + .../explain.txt | 1 + .../00878_join_unexpected_results/explain.txt | 2 + .../00879_cast_to_decimal_crash/explain.txt | 11 + .../testdata/00880_decimal_in_key/explain.txt | 2 + .../explain.txt | 16 + .../00882_multiple_join_no_alias/explain.txt | 2 + parser/testdata/00897_flatten/explain.txt | 9 + .../explain.txt | 15 + .../explain.txt | 2 + .../testdata/00900_entropy_shard/explain.txt | 19 + .../testdata/00901_joint_entropy/explain.txt | 122 ++++ parser/testdata/00902_entropy/explain.txt | 2 + .../explain.txt | 16 + .../00904_array_with_constant_2/explain.txt | 14 + .../explain.txt | 1 + .../explain.txt | 16 + .../00906_low_cardinality_cache/explain.txt | 1 + .../explain.txt | 9 + .../00906_low_cardinality_rollup/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../testdata/00908_analyze_query/explain.txt | 2 + .../00909_arrayEnumerateUniq/explain.txt | 8 + .../testdata/00909_ngram_distance/explain.txt | 20 + .../00910_buffer_prewhere/explain.txt | 19 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 30 + .../explain.txt | 1 + .../explain.txt | 1 + .../00912_string_comparison/explain.txt | 44 ++ .../testdata/00913_many_threads/explain.txt | 1 + .../testdata/00914_join_bgranvea/explain.txt | 2 + parser/testdata/00914_replicate/explain.txt | 11 + .../explain.txt | 1 + .../explain.txt | 1 + .../testdata/00915_tuple_orantius/explain.txt | 10 + .../explain.txt | 2 + .../00916_create_or_replace_view/explain.txt | 2 + .../explain.txt | 1 + parser/testdata/00917_least_sqr/explain.txt | 9 + .../explain.txt | 1 + .../explain.txt | 14 + .../testdata/00918_json_functions/explain.txt | 5 + .../00919_histogram_merge/explain.txt | 63 ++ .../explain.txt | 36 + .../explain.txt | 23 + .../00921_datetime64_basic/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 5 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + parser/testdata/00926_geo_to_h3/explain.txt | 2 + parser/testdata/00926_multimatch/explain.txt | 5 + .../explain.txt | 5 + .../00927_asof_join_correct_bt/explain.txt | 2 + .../testdata/00927_asof_join_long/explain.txt | 2 + .../00927_asof_join_noninclusive/explain.txt | 2 + parser/testdata/00927_asof_joins/explain.txt | 2 + .../00927_disable_hyperscan/explain.txt | 1 + .../explain.txt | 8 + .../explain.txt | 1 + .../testdata/00930_arrayIntersect/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../00932_array_intersect_bug/explain.txt | 10 + .../00932_geohash_support/explain.txt | 2 + parser/testdata/00933_alter_ttl/explain.txt | 1 + .../testdata/00933_reserved_word/explain.txt | 2 + .../testdata/00933_ttl_formatting/explain.txt | 20 + parser/testdata/00933_ttl_simple/explain.txt | 1 + .../00933_ttl_with_default/explain.txt | 2 + .../testdata/00934_is_valid_utf8/explain.txt | 15 + .../00935_to_iso_week_first_year/explain.txt | 22 + .../testdata/00936_crc_functions/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 15 + .../00937_ipv4_cidr_range/explain.txt | 5 + parser/testdata/00938_basename/explain.txt | 7 + .../testdata/00938_dataset_test/explain.txt | 2 + .../00938_ipv6_cidr_range/explain.txt | 5 + .../00938_test_retention_function/explain.txt | 2 + .../00939_limit_by_offset/explain.txt | 2 + .../testdata/00939_test_null_in/explain.txt | 2 + .../00940_max_parts_in_total/explain.txt | 2 + .../00940_order_by_read_in_order/explain.txt | 2 + .../metadata.json | 2 +- .../testdata/00941_to_custom_week/explain.txt | 26 + .../00942_mv_rename_table/explain.txt | 2 + .../explain.txt | 2 + parser/testdata/00944_minmax_nan/explain.txt | 1 + parser/testdata/00944_minmax_null/explain.txt | 2 + parser/testdata/00944_ml_test/explain.txt | 2 + .../00945_bloom_filter_index/explain.txt | 1 + parser/testdata/00945_ml_test/explain.txt | 2 + parser/testdata/00946_ml_test/explain.txt | 2 + parser/testdata/00947_ml_test/explain.txt | 2 + .../testdata/00948_to_valid_utf8/explain.txt | 12 + .../explain.txt | 2 + parser/testdata/00949_format/explain.txt | 1 + .../explain.txt | 2 + .../00950_default_prewhere/explain.txt | 2 + parser/testdata/00950_dict_get/explain.txt | 2 + .../00950_test_double_delta_codec/explain.txt | 2 + .../explain.txt | 2 + .../00950_test_gorilla_codec/explain.txt | 2 + .../testdata/00951_ngram_search/explain.txt | 20 + .../explain.txt | 2 + .../00952_part_frozen_info/explain.txt | 2 + .../00953_moving_functions/explain.txt | 2 + .../00954_resample_combinator/explain.txt | 9 + .../00955_test_final_mark/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 15 + .../testdata/00957_delta_diff_bug/explain.txt | 1 + parser/testdata/00957_neighbor/explain.txt | 1 + .../00960_eval_ml_method_const/explain.txt | 24 + parser/testdata/00961_check_table/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 8 + .../testdata/00962_enumNotExect/explain.txt | 2 + .../00962_visit_param_various/explain.txt | 8 + parser/testdata/00963_achimbab/explain.txt | 1 + .../explain.txt | 2 + .../00964_os_thread_priority/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../00968_file_engine_in_subquery/explain.txt | 2 + parser/testdata/00968_roundAge/explain.txt | 7 + .../testdata/00969_columns_clause/explain.txt | 2 + .../testdata/00969_roundDuration/explain.txt | 7 + .../explain.txt | 2 + .../explain.txt | 2 + .../testdata/00972_geohashesInBox/explain.txt | 5 + .../explain.txt | 2 + .../metadata.json | 2 +- .../explain.txt | 2 + .../explain.txt | 2 + .../00974_distributed_join_on/explain.txt | 2 + .../explain.txt | 2 + parser/testdata/00974_fix_join_on/explain.txt | 2 + .../00974_full_outer_join/metadata.json | 2 +- .../00974_low_cardinality_cast/explain.txt | 1 + .../testdata/00974_query_profiler/explain.txt | 1 + parser/testdata/00975_json_hang/explain.txt | 29 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 23 + parser/testdata/00975_values_list/explain.txt | 2 + .../00976_max_execution_speed/explain.txt | 1 + .../explain.txt | 2 + .../00976_system_stop_ttl_merges/explain.txt | 2 + .../00976_ttl_with_old_parts/explain.txt | 2 + parser/testdata/00977_int_div/metadata.json | 2 +- .../explain.txt | 2 + parser/testdata/00978_ml_math/metadata.json | 2 +- .../testdata/00978_sum_map_bugfix/explain.txt | 31 + .../explain.txt | 15 + .../explain.txt | 2 + .../testdata/00979_set_index_not/explain.txt | 2 + .../00979_toFloat_monotonicity/explain.txt | 1 + .../explain.txt | 9 + .../00980_crash_nullable_decimal/explain.txt | 13 + .../explain.txt | 2 + .../00980_merge_alter_settings/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../00981_no_virtual_columns/explain.txt | 2 + .../00981_topK_topKWeighted_long/explain.txt | 2 + .../explain.txt | 20 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../00985_merge_stack_overflow/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../00988_expansion_aliases_limit/explain.txt | 1 + .../00988_parallel_parts_removal/explain.txt | 2 + .../00989_parallel_parts_loading/explain.txt | 2 + .../00990_function_current_user/explain.txt | 8 + .../00990_hasToken_and_tokenbf/explain.txt | 2 + .../explain.txt | 8 + .../00990_request_splitting/explain.txt | 14 + .../explain.txt | 19 + .../explain.txt | 1 + .../00995_order_by_with_fill/explain.txt | 2 + .../00996_limit_with_ties/explain.txt | 2 + parser/testdata/00996_neighbor/explain.txt | 1 + .../00997_extract_all_crash_6627/explain.txt | 8 + .../00997_set_index_array/explain.txt | 1 + parser/testdata/00997_trim/metadata.json | 2 +- .../00998_constraints_all_tables/explain.txt | 2 + .../explain.txt | 1 + .../00999_join_not_nullable_types/explain.txt | 1 + .../00999_join_on_expression/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 12 + .../explain.txt | 2 + .../explain.txt | 2 + .../01000_subquery_requires_alias/explain.txt | 1 + .../01001_enums_in_in_section/explain.txt | 2 + .../01006_ttl_with_default_2/explain.txt | 2 + .../explain.txt | 2 + .../01009_global_array_join_names/explain.txt | 2 + .../01009_insert_select_data_loss/explain.txt | 2 + .../01009_insert_select_nicelulu/explain.txt | 2 + .../01010_partial_merge_join/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../01010_pm_join_all_join_bug/explain.txt | 2 + parser/testdata/01010_pmj_on_disk/explain.txt | 1 + .../01010_pmj_one_row_blocks/explain.txt | 2 + .../explain.txt | 1 + .../01010_pmj_skip_blocks/explain.txt | 2 + .../01011_group_uniq_array_memsan/explain.txt | 24 + .../explain.txt | 15 + .../explain.txt | 1 + .../01012_select_limit_x_0/explain.txt | 12 + .../explain.txt | 1 + .../01012_show_tables_limit/metadata.json | 2 +- parser/testdata/01013_hex_decimal/explain.txt | 10 + parser/testdata/01013_hex_float/explain.txt | 7 + .../01013_repeat_function/explain.txt | 8 + .../explain.txt | 1 + .../01014_count_of_merges_metrics/explain.txt | 2 + .../explain.txt | 10 + parser/testdata/01015_array_split/explain.txt | 15 + parser/testdata/01015_attach_part/explain.txt | 2 + .../01015_random_constant/explain.txt | 9 + .../01016_index_tuple_field_type/explain.txt | 2 + parser/testdata/01016_macros/explain.txt | 13 + .../01016_null_part_minmax/explain.txt | 2 + .../01016_simhash_minhash/explain.txt | 7 + .../01016_simhash_minhash_ppc/explain.txt | 7 + .../testdata/01016_uniqCombined64/explain.txt | 13 + .../01017_bithamming_distance/explain.txt | 8 + .../explain.txt | 10 + .../01017_tuplehamming_distance/explain.txt | 8 + .../explain.txt | 1 + .../01018_Distributed__shard_num/explain.txt | 1 + .../01018_ambiguous_column/explain.txt | 1 + .../01018_ddl_dictionaries_create/explain.txt | 1 + .../01018_ddl_dictionaries_select/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 5 + .../01018_ip_dictionary_long/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + parser/testdata/01019_array_fill/explain.txt | 13 + .../explain.txt | 1 + .../01020_function_array_compact/explain.txt | 7 + .../01020_function_char/metadata.json | 2 +- .../01020_having_without_group_by/explain.txt | 6 + .../01021_create_as_select/explain.txt | 2 + .../01021_only_tuple_columns/explain.txt | 2 + .../testdata/01021_tuple_parser/explain.txt | 12 + .../explain.txt | 1 + parser/testdata/01024__getScalar/explain.txt | 15 + .../01025_array_compact_generic/explain.txt | 8 + parser/testdata/01026_char_utf8/explain.txt | 18 + .../01029_early_constant_folding/explain.txt | 10 + .../explain.txt | 12 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../01030_storage_url_syntax/explain.txt | 2 + .../01031_pmj_new_any_semi_join/explain.txt | 2 + .../testdata/01031_semi_anti_join/explain.txt | 2 + .../01032_cityHash64_for_UUID/explain.txt | 9 + .../01032_cityHash64_for_decimal/explain.txt | 10 + .../explain.txt | 2 + .../01033_dictionaries_lifetime/explain.txt | 1 + .../01033_function_substring/explain.txt | 5 + parser/testdata/01033_quota_dcl/explain.txt | 1 + .../explain.txt | 2 + .../01034_JSONCompactEachRow/explain.txt | 2 + .../01034_order_by_pk_prefix/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 28 + .../explain.txt | 40 ++ parser/testdata/01035_avg/metadata.json | 2 +- .../01035_prewhere_with_alias/explain.txt | 2 + .../explain.txt | 11 + .../explain.txt | 2 + .../01036_union_different_columns/explain.txt | 17 + .../explain.txt | 1 + .../01038_array_of_unnamed_tuples/explain.txt | 1 + .../01039_mergetree_exec_time/explain.txt | 2 + .../01039_test_setting_parse/explain.txt | 1 + .../explain.txt | 2 + .../01040_h3_get_resolution/explain.txt | 7 + .../metadata.json | 2 +- parser/testdata/01041_h3_is_valid/explain.txt | 7 + .../explain.txt | 1 + parser/testdata/01042_h3_k_ring/explain.txt | 12 + .../01043_categorical_iv/metadata.json | 2 +- .../metadata.json | 2 +- .../testdata/01043_geo_distance/explain.txt | 1 + .../01043_h3_edge_length_m/explain.txt | 7 + .../01044_great_circle_angle/explain.txt | 26 + .../testdata/01044_h3_edge_angle/explain.txt | 7 + parser/testdata/01045_array_zip/explain.txt | 8 + .../01045_bloom_filter_null_array/explain.txt | 2 + .../metadata.json | 2 +- .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../testdata/01047_nullable_rand/explain.txt | 12 + .../explain.txt | 2 + .../testdata/01048_exists_query/explain.txt | 3 + .../01049_join_low_card_crash/explain.txt | 2 + .../explain.txt | 14 + .../explain.txt | 2 + .../metadata.json | 2 +- .../01050_engine_join_crash/explain.txt | 2 + .../01050_engine_join_view_crash/explain.txt | 2 + .../01050_group_array_sample/explain.txt | 35 + .../explain.txt | 1 + .../01051_all_join_engine/explain.txt | 2 + .../01051_new_any_join_engine/explain.txt | 2 + .../01051_random_printable_ascii/explain.txt | 9 + .../explain.txt | 2 + .../01051_scalar_optimization/explain.txt | 20 + .../01052_array_reduce_exception/explain.txt | 19 + .../01053_drop_database_mat_view/explain.txt | 1 + .../testdata/01053_if_chain_check/explain.txt | 1 + .../explain.txt | 2 + .../testdata/01055_compact_parts/explain.txt | 1 + .../01055_compact_parts_1/explain.txt | 12 + .../testdata/01055_prewhere_bugs/explain.txt | 2 + .../01056_create_table_as/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../01060_defaults_all_columns/explain.txt | 2 + .../explain.txt | 2 + .../01061_alter_codec_with_type/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../01063_create_column_set/explain.txt | 2 + parser/testdata/01064_arrayROCAUC/explain.txt | 8 + .../explain.txt | 1 + .../explain.txt | 1 + .../01065_array_zip_mixed_const/explain.txt | 8 + .../testdata/01065_if_not_finite/explain.txt | 20 + parser/testdata/01066_bit_count/explain.txt | 13 + parser/testdata/01067_join_null/explain.txt | 5 + parser/testdata/01068_parens/explain.txt | 1 + .../01069_database_memory/explain.txt | 2 + .../explain.txt | 8 + .../explain.txt | 2 + .../explain.txt | 2 + .../01069_set_in_group_by/explain.txt | 2 + .../testdata/01070_alter_with_ttl/explain.txt | 2 + .../explain.txt | 2 + .../01070_h3_get_base_cell/explain.txt | 7 + .../testdata/01070_h3_hex_area_m2/explain.txt | 7 + .../explain.txt | 8 + .../testdata/01070_h3_to_children/explain.txt | 9 + .../testdata/01070_h3_to_parent/explain.txt | 8 + .../testdata/01070_h3_to_string/explain.txt | 7 + .../01070_materialize_ttl/explain.txt | 1 + parser/testdata/01070_modify_ttl/explain.txt | 1 + .../01070_modify_ttl_recalc_only/explain.txt | 1 + .../explain.txt | 2 + .../testdata/01070_string_to_h3/explain.txt | 7 + .../01070_template_empty_file/explain.txt | 8 + .../explain.txt | 9 + .../explain.txt | 1 + parser/testdata/01071_in_array/explain.txt | 8 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../testdata/01072_nullable_jit/explain.txt | 1 + .../explain.txt | 2 + .../01072_select_constant_limit/explain.txt | 9 + .../01073_attach_if_not_exists/explain.txt | 8 + .../01073_bad_alter_partition/explain.txt | 2 + .../01073_blockSerializedSize/explain.txt | 8 + .../01073_crlf_end_of_line/explain.txt | 2 + .../01073_grant_and_revoke/explain.txt | 1 + .../01073_show_tables_not_like/explain.txt | 1 + .../testdata/01074_h3_range_check/explain.txt | 8 + .../01074_partial_revokes/explain.txt | 1 + .../01075_allowed_client_hosts/explain.txt | 1 + .../testdata/01075_in_arrays_enmk/explain.txt | 8 + .../explain.txt | 1 + .../explain.txt | 2 + .../01076_range_reader_segfault/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 19 + .../explain.txt | 2 + parser/testdata/01079_order_by_pk/explain.txt | 2 + .../explain.txt | 9 + .../metadata.json | 2 +- .../explain.txt | 2 + .../testdata/01080_join_get_null/explain.txt | 2 + .../explain.txt | 2 + parser/testdata/01081_demangle/explain.txt | 1 + .../01081_keywords_formatting/explain.txt | 8 + .../01082_bit_test_out_of_bound/explain.txt | 5 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../01083_log_first_column_alias/explain.txt | 2 + .../01083_match_zero_byte/explain.txt | 8 + .../01084_defaults_on_aliases/explain.txt | 2 + .../testdata/01084_regexp_empty/metadata.json | 2 +- .../explain.txt | 47 ++ .../01085_extract_all_empty/explain.txt | 8 + .../01085_simdjson_uint64/metadata.json | 2 +- .../testdata/01086_modulo_or_zero/explain.txt | 11 + .../01087_index_set_ubsan/explain.txt | 2 + .../01087_storage_generate/explain.txt | 2 + .../metadata.json | 2 +- .../explain.txt | 33 + .../explain.txt | 2 + .../01090_fixed_string_bit_ops/explain.txt | 22 + .../explain.txt | 2 + .../explain.txt | 2 + parser/testdata/01091_num_threads/explain.txt | 1 + .../explain.txt | 1 + .../01092_memory_profiler/explain.txt | 1 + .../explain.txt | 2 + .../01095_tpch_like_smoke/explain.txt | 2 + .../metadata.json | 2 +- .../01096_block_serialized_state/explain.txt | 9 + parser/testdata/01096_zeros/explain.txt | 11 + .../01097_cyclic_defaults/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + parser/testdata/01097_pre_limit/explain.txt | 14 + parser/testdata/01098_sum/explain.txt | 14 + .../explain.txt | 13 + .../explain.txt | 1 + .../01100_split_by_string/explain.txt | 8 + .../01101_literal_column_clash/explain.txt | 8 + .../01101_prewhere_after_alter/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 5 + .../01104_distributed_one_test/explain.txt | 2 + .../01104_fixed_string_like/explain.txt | 13 + parser/testdata/01105_string_like/explain.txt | 10 + .../01106_const_fixed_string_like/explain.txt | 11 + .../01107_join_right_table_totals/explain.txt | 2 + .../01109_exchange_tables/explain.txt | 1 + .../01109_inflating_cross_join/explain.txt | 1 + .../explain.txt | 19 + .../explain.txt | 2 + .../01112_check_table_with_index/explain.txt | 1 + .../metadata.json | 2 +- .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../01115_join_with_dictionary/explain.txt | 2 + .../01115_prewhere_array_join/explain.txt | 2 + .../01116_asof_join_dolbyzerr/explain.txt | 10 + .../01116_cross_count_asterisks/explain.txt | 7 + .../01117_chain_finalize_bug/explain.txt | 21 + .../explain.txt | 1 + .../01117_greatest_least_case/explain.txt | 8 + parser/testdata/01118_is_constant/explain.txt | 7 + .../explain.txt | 2 + .../01119_weird_user_names/explain.txt | 1 + .../01120_join_constants/metadata.json | 2 +- .../01121_remote_scalar_subquery/explain.txt | 17 + .../explain.txt | 2 + .../explain.txt | 10 + .../testdata/01124_view_bad_types/explain.txt | 2 + .../explain.txt | 2 + .../01125_generate_random_qoega/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../01128_generate_random_nested/explain.txt | 2 + .../explain.txt | 3 + .../01131_max_rows_to_sort/explain.txt | 1 + .../01132_max_rows_to_read/explain.txt | 2 + .../01134_max_rows_to_group_by/explain.txt | 1 + .../01134_set_overflow_mode/explain.txt | 1 + .../explain.txt | 2 + .../testdata/01136_multiple_sets/explain.txt | 2 + .../testdata/01137_order_by_func/explain.txt | 2 + .../01137_order_by_func_final/explain.txt | 2 + .../testdata/01137_sample_final/explain.txt | 2 + .../explain.txt | 2 + .../01139_asof_join_types/explain.txt | 32 + .../explain.txt | 2 + .../01141_join_get_negative/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../01142_with_ties_and_aliases/explain.txt | 33 + .../01143_trivial_count_with_join/explain.txt | 2 + .../explain.txt | 2 + .../metadata.json | 2 +- .../01144_multiword_data_types/explain.txt | 2 + .../01145_with_fill_const/metadata.json | 2 +- .../01147_partial_merge_full_join/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../01152_cross_replication/explain.txt | 2 + .../testdata/01153_attach_mv_uuid/explain.txt | 2 + .../explain.txt | 1 + .../testdata/01157_replace_table/explain.txt | 2 + .../01158_zookeeper_log_long/explain.txt | 1 + .../explain.txt | 21 + .../01161_information_schema/explain.txt | 2 + .../explain.txt | 10 + .../01164_alter_memory_database/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../01172_transaction_counters/explain.txt | 2 + .../explain.txt | 2 + .../01177_group_array_moving/explain.txt | 31 + .../01178_int_field_to_decimal/explain.txt | 18 + .../explain.txt | 2 + .../explain.txt | 1 + .../01185_create_or_replace_table/explain.txt | 2 + .../01186_conversion_to_nullable/explain.txt | 18 + .../01188_attach_table_from_path/explain.txt | 2 + .../explain.txt | 2 + .../01191_rename_dictionary/explain.txt | 2 + .../testdata/01197_summing_enum/explain.txt | 2 + parser/testdata/01198_plus_inf/explain.txt | 9 + .../explain.txt | 7 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../01202_arrayROCAUC_special/explain.txt | 11 + parser/testdata/01210_drop_view/explain.txt | 2 + .../explain.txt | 1 + .../01212_empty_join_and_totals/explain.txt | 9 + .../01213_alter_rename_column/explain.txt | 2 + .../explain.txt | 2 + .../01213_alter_rename_nested/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 10 + .../01213_point_in_Myanmar/explain.txt | 119 ++++ .../testdata/01214_point_in_Mecca/explain.txt | 5 + .../explain.txt | 2 + .../explain.txt | 2 + .../01221_system_settings/explain.txt | 13 + .../testdata/01222_system_codecs/explain.txt | 12 + .../testdata/01223_dist_on_dist/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 11 + .../explain.txt | 1 + .../01226_dist_on_dist_global_in/explain.txt | 5 + .../explain.txt | 2 + .../explain.txt | 2 + .../01230_join_get_truncate/explain.txt | 2 + .../explain.txt | 1 + .../01231_log_queries_min_type/explain.txt | 1 + .../01231_markdown_format/explain.txt | 2 + .../01231_operator_null_in/explain.txt | 2 + parser/testdata/01232_extremes/explain.txt | 1 + parser/testdata/01232_untuple/explain.txt | 1 + .../01234_to_string_monotonic/explain.txt | 1 + parser/testdata/01236_graphite_mt/explain.txt | 2 + .../01240_join_get_or_null/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 25 + .../01245_limit_infinite_sources/explain.txt | 5 + .../explain.txt | 7 + .../explain.txt | 7 + .../explain.txt | 2 + .../01246_least_greatest_generic/explain.txt | 8 + .../explain.txt | 8 + .../explain.txt | 1 + .../explain.txt | 22 + .../explain.txt | 20 + .../explain.txt | 1 + .../metadata.json | 2 +- .../explain.txt | 2 + .../01251_string_comparison/explain.txt | 10 + .../01252_weird_time_zone/explain.txt | 15 + .../explain.txt | 2 + .../01254_array_of_unnamed_tuples/explain.txt | 2 + .../01254_dict_create_without_db/explain.txt | 11 + .../explain.txt | 11 + .../01255_geo_types_livace/explain.txt | 2 + .../metadata.json | 2 +- .../explain.txt | 15 + .../explain.txt | 2 + .../01258_wrong_cast_filimonov/explain.txt | 38 ++ .../01259_combinator_distinct/explain.txt | 13 + .../explain.txt | 1 + .../01259_datetime64_ubsan/explain.txt | 8 + .../explain.txt | 2 + .../01260_ubsan_decimal_parse/explain.txt | 11 + .../explain.txt | 8 + .../01262_low_cardinality_remove/explain.txt | 2 + .../explain.txt | 2 + .../01264_nested_baloo_bear/explain.txt | 2 + .../explain.txt | 2 + .../01266_default_prewhere_reqq/explain.txt | 2 + .../explain.txt | 2 + .../01268_DateTime64_in_WHERE/explain.txt | 17 + .../01268_data_numeric_parameters/explain.txt | 2 + .../explain.txt | 2 + .../01268_mergine_sorted_limit/explain.txt | 2 + parser/testdata/01268_mv_scalars/explain.txt | 2 + .../01268_shard_avgweighted/explain.txt | 9 + .../01269_alias_type_differs/explain.txt | 2 + .../01269_create_with_null/explain.txt | 2 + .../01269_toStartOfSecond/explain.txt | 8 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../01271_show_privileges/explain.txt | 1 + .../01272_offset_without_limit/explain.txt | 2 + .../01272_suspicious_codecs/explain.txt | 2 + .../01272_totals_and_filter_bug/explain.txt | 29 + .../testdata/01273_extractGroups/explain.txt | 7 + .../01273_h3EdgeAngle_range_check/explain.txt | 8 + .../01273_lc_fixed_string_field/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../01275_extract_groups_check/explain.txt | 9 + .../explain.txt | 2 + .../testdata/01276_random_string/explain.txt | 53 ++ .../01276_system_licenses/explain.txt | 13 + .../explain.txt | 2 + .../explain.txt | 2 + .../01277_buffer_column_order/explain.txt | 2 + .../explain.txt | 13 + .../01277_fromUnixTimestamp64/explain.txt | 7 + .../testdata/01277_large_tuples/metadata.json | 2 +- .../01277_random_fixed_string/explain.txt | 8 + .../01277_toUnixTimestamp64/explain.txt | 7 + .../metadata.json | 2 +- .../explain.txt | 2 + .../01278_random_string_utf8/explain.txt | 8 + .../01278_variance_nonnegative/explain.txt | 13 + .../testdata/01279_dist_group_by/explain.txt | 2 + .../01280_min_map_max_map/explain.txt | 35 + parser/testdata/01280_null_in/explain.txt | 11 + .../01280_opencl_bitonic_order_by/explain.txt | 19 + .../explain.txt | 29 + .../explain.txt | 5 + .../explain.txt | 2 + .../01281_join_with_prewhere_fix/explain.txt | 2 + .../explain.txt | 7 + .../testdata/01281_sum_nullable/explain.txt | 15 + .../explain.txt | 2 + .../01282_system_parts_ttl_info/explain.txt | 2 + .../explain.txt | 2 + .../01283_strict_resize_bug/explain.txt | 2 + .../explain.txt | 6 + parser/testdata/01284_fuzz_bits/explain.txt | 11 + .../01284_view_and_extremes_bug/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../01286_constraints_on_default/explain.txt | 2 + .../01287_max_execution_speed/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../01291_aggregation_in_order/explain.txt | 2 + .../explain.txt | 2 + parser/testdata/01291_geo_types/explain.txt | 2 + .../explain.txt | 9 + parser/testdata/01292_create_user/explain.txt | 1 + .../explain.txt | 2 + .../01292_quantile_array_bug/explain.txt | 14 + parser/testdata/01293_create_role/explain.txt | 1 + .../explain.txt | 26 + .../01293_pretty_max_value_width/explain.txt | 1 + .../testdata/01293_show_settings/explain.txt | 1 + .../explain.txt | 1 + .../01294_create_settings_profile/explain.txt | 1 + .../explain.txt | 2 + .../01295_aggregation_bug_11413/explain.txt | 31 + .../01295_create_row_policy/explain.txt | 1 + .../01296_codecs_bad_arguments/explain.txt | 2 + .../explain.txt | 1 + .../testdata/01296_pipeline_stuck/explain.txt | 2 + .../01297_alter_distributed/explain.txt | 2 + .../testdata/01297_create_quota/metadata.json | 2 +- parser/testdata/01298_alter_merge/explain.txt | 2 + .../01299_alter_merge_tree/explain.txt | 2 + .../01300_group_by_other_keys/explain.txt | 1 + .../explain.txt | 1 + .../01300_polygon_convex_hull/explain.txt | 17 + parser/testdata/01300_read_wkt/explain.txt | 7 + parser/testdata/01300_svg/explain.txt | 7 + parser/testdata/01300_wkt/explain.txt | 7 + .../01301_polygons_within/explain.txt | 31 + .../01302_polygons_distance/explain.txt | 31 + .../01303_polygons_equals/explain.txt | 31 + .../01304_polygons_sym_difference/explain.txt | 31 + .../explain.txt | 2 + .../01305_buffer_final_bug/explain.txt | 2 + .../01305_nullable-prewhere_bug/explain.txt | 2 + .../testdata/01305_polygons_union/explain.txt | 31 + .../01306_polygons_intersection/explain.txt | 31 + .../explain.txt | 2 + .../01307_polygon_perimeter/explain.txt | 17 + .../testdata/01308_polygon_area/explain.txt | 16 + .../explain.txt | 1 + .../01310_enum_comparison/explain.txt | 15 + .../explain.txt | 14 + .../01312_case_insensitive_regexp/explain.txt | 8 + .../explain.txt | 1 + .../explain.txt | 8 + .../explain.txt | 2 + .../explain.txt | 20 + .../01318_alter_add_column_exists/explain.txt | 2 + parser/testdata/01318_decrypt/explain.txt | 7 + parser/testdata/01318_encrypt/explain.txt | 7 + .../01318_map_add_map_subtract/explain.txt | 2 + .../explain.txt | 2 + .../01318_map_populate_series/explain.txt | 2 + .../01318_parallel_final_stuck/explain.txt | 2 + .../explain.txt | 2 + .../01319_mv_constants_bug/explain.txt | 2 + .../explain.txt | 2 + .../metadata.json | 2 +- .../explain.txt | 2 + .../explain.txt | 1 + .../metadata.json | 2 +- .../01322_cast_keep_nullable/explain.txt | 1 + .../01323_add_scalars_in_time/explain.txt | 1 + .../explain.txt | 1 + .../testdata/01323_if_with_nulls/explain.txt | 19 + .../explain.txt | 1 + .../01323_too_many_threads_bug/explain.txt | 2 + .../explain.txt | 1 + .../testdata/01324_insert_tsv_raw/explain.txt | 2 + .../01324_settings_documentation/explain.txt | 5 + .../01325_freeze_mutation_stuck/explain.txt | 2 + parser/testdata/01326_build_id/explain.txt | 11 + .../explain.txt | 15 + .../testdata/01326_hostname_alias/explain.txt | 10 + .../explain.txt | 8 + .../explain.txt | 20 + .../explain.txt | 11 + .../explain.txt | 19 + .../explain.txt | 19 + .../01333_select_abc_asterisk/explain.txt | 5 + .../01337_mysql_global_variables/explain.txt | 7 + .../01338_sha256_fixedstring/explain.txt | 9 + .../01338_uuid_without_separator/explain.txt | 7 + .../testdata/01340_datetime64_fpe/explain.txt | 11 + .../explain.txt | 14 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../01345_index_date_vs_datetime/explain.txt | 2 + .../explain.txt | 1 + .../01346_array_join_mrxotey/explain.txt | 2 + .../explain.txt | 2 + .../01349_mutation_datetime_key/explain.txt | 2 + .../01350_intdiv_nontrivial_fpe/explain.txt | 8 + .../testdata/01351_geohash_assert/explain.txt | 13 + .../explain.txt | 1 + .../01352_add_datetime_bad_get/explain.txt | 12 + .../explain.txt | 16 + .../metadata.json | 2 +- .../01353_neighbor_overflow/explain.txt | 1 + .../testdata/01353_nullable_tuple/explain.txt | 5 + parser/testdata/01353_topk_enum/explain.txt | 27 + .../explain.txt | 23 + .../explain.txt | 27 + .../01355_alter_column_with_order/explain.txt | 2 + .../metadata.json | 2 +- .../01355_if_fixed_string/explain.txt | 1 + parser/testdata/01355_ilike/explain.txt | 8 + .../01356_initialize_aggregation/explain.txt | 27 + .../testdata/01356_state_resample/explain.txt | 21 + .../testdata/01356_view_threads/explain.txt | 2 + .../01356_wrong_filter-type_bug/explain.txt | 2 + parser/testdata/01357_result_rows/explain.txt | 1 + .../explain.txt | 2 + .../01358_constexpr_constraint/explain.txt | 2 + .../explain.txt | 5 + .../01358_union_threads_bug/explain.txt | 1 + parser/testdata/01359_codeql/explain.txt | 24 + .../01359_geodistance_loop/explain.txt | 10 + .../01360_division_overflow/explain.txt | 12 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 10 + .../explain.txt | 13 + .../01372_wrong_order_by_removal/explain.txt | 2 + .../01373_is_zero_or_null/explain.txt | 24 + .../explain.txt | 1 + .../explain.txt | 2 + .../01374_if_nullable_filimonov/metadata.json | 2 +- .../explain.txt | 23 + .../01375_compact_parts_codecs/explain.txt | 2 + .../01375_null_issue_3767/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 20 + .../01376_array_fill_empty/explain.txt | 17 + .../testdata/01376_null_logical/explain.txt | 8 + .../explain.txt | 10 + .../explain.txt | 2 + .../metadata.json | 2 +- .../explain.txt | 21 + .../testdata/01380_nullable_state/explain.txt | 13 + .../01381_for_each_with_states/explain.txt | 11 + .../explain.txt | 2 + .../explain.txt | 2 + .../testdata/01385_not_function/explain.txt | 10 + .../explain.txt | 1 + .../explain.txt | 2 + .../01388_clear_all_columns/explain.txt | 2 + .../01388_multi_if_optimization/explain.txt | 1 + .../explain.txt | 21 + .../01390_check_table_codec/explain.txt | 1 + .../explain.txt | 1 + .../01391_join_on_dict_crash/explain.txt | 10 + .../testdata/01391_limit_overflow/explain.txt | 16 + .../testdata/01392_column_resolve/explain.txt | 13 + .../explain.txt | 2 + .../explain.txt | 12 + .../01397_in_bad_arguments/explain.txt | 8 + .../testdata/01398_in_tuple_func/explain.txt | 15 + .../explain.txt | 2 + .../explain.txt | 1 + .../01403_datetime64_constant_arg/explain.txt | 25 + .../explain.txt | 24 + .../01407_lambda_arrayJoin/explain.txt | 26 + .../testdata/01408_range_overflow/explain.txt | 12 + parser/testdata/01409_topK_merge/explain.txt | 2 + .../explain.txt | 2 + .../01410_nullable_key_and_index/explain.txt | 2 + .../explain.txt | 2 + .../testdata/01411_from_unixtime/explain.txt | 11 + .../01411_xor_itai_shirav/explain.txt | 8 + .../explain.txt | 18 + parser/testdata/01412_mod_float/explain.txt | 31 + .../explain.txt | 2 + .../01412_row_from_totals/explain.txt | 2 + .../explain.txt | 2 + .../01413_alter_update_supertype/explain.txt | 2 + .../testdata/01413_if_array_uuid/explain.txt | 29 + parser/testdata/01413_rows_events/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../01414_mutations_and_errors/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../01415_table_function_view/explain.txt | 15 + .../01416_clear_column_pk/explain.txt | 2 + .../01416_join_totals_header_bug/explain.txt | 2 + .../explain.txt | 21 + .../01418_custom_settings/explain.txt | 1 + .../01418_index_analysis_bug/explain.txt | 2 + .../explain.txt | 27 + .../01419_materialize_null/explain.txt | 7 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 8 + .../explain.txt | 15 + .../testdata/01421_assert_in_in/explain.txt | 18 + .../explain.txt | 10 + .../testdata/01422_map_skip_null/explain.txt | 19 + .../01423_if_nullable_cond/explain.txt | 24 + .../explain.txt | 8 + .../explain.txt | 10 + .../metadata.json | 2 +- .../01426_geohash_constants/explain.txt | 11 + .../explain.txt | 2 + .../testdata/01428_h3_range_check/explain.txt | 9 + .../01428_hash_set_nan_key/explain.txt | 13 + .../01428_nullable_asof_join/explain.txt | 1 + .../01429_join_on_error_messages/explain.txt | 27 + .../01430_fix_any_rewrite_aliases/explain.txt | 24 + .../explain.txt | 2 + .../01430_moving_sum_empty_state/explain.txt | 18 + .../explain.txt | 2 + parser/testdata/01431_utf8_ubsan/explain.txt | 9 + .../explain.txt | 8 + parser/testdata/01433_hex_float/explain.txt | 6 + parser/testdata/01434_netloc_fuzz/explain.txt | 7 + .../testdata/01435_lcm_overflow/explain.txt | 8 + .../explain.txt | 2 + .../testdata/01440_big_int_arithm/explain.txt | 26 + .../01440_big_int_exotic_casts/explain.txt | 38 ++ .../metadata.json | 2 +- .../testdata/01440_big_int_shift/explain.txt | 29 + .../01440_to_date_monotonicity/explain.txt | 2 + .../01441_array_combinator/explain.txt | 23 + .../explain.txt | 1 + .../01442_date_time_with_params/explain.txt | 2 + .../01442_h3kring_range_check/explain.txt | 9 + .../testdata/01447_json_strings/explain.txt | 1 + .../explain.txt | 2 + .../01449_json_compact_strings/explain.txt | 1 + .../testdata/01450_set_null_const/explain.txt | 2 + .../01451_detach_drop_part/explain.txt | 2 + .../01451_normalize_query/explain.txt | 7 + .../explain.txt | 1 + .../explain.txt | 1 + .../01452_normalized_query_hash/explain.txt | 12 + .../01453_fixsed_string_sort/explain.txt | 2 + .../explain.txt | 7 + .../01455_default_compression/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 1 + parser/testdata/01455_time_zones/explain.txt | 23 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 8 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../testdata/01457_int256_hashing/explain.txt | 1 + .../explain.txt | 2 + .../testdata/01457_order_by_limit/explain.txt | 2 + .../01457_order_by_nulls_first/explain.txt | 2 + .../testdata/01458_count_digits/explain.txt | 22 + .../01458_is_decimal_overflow/explain.txt | 11 + .../01458_named_tuple_millin/explain.txt | 2 + .../testdata/01459_decimal_casts/explain.txt | 29 + .../explain.txt | 9 + .../explain.txt | 6 + .../explain.txt | 2 + .../01461_alter_table_function/explain.txt | 2 + .../explain.txt | 1 + .../01462_test_codec_on_alias/explain.txt | 2 + .../01463_resample_overflow/explain.txt | 21 + .../01465_ttl_recompression/explain.txt | 2 + .../01470_columns_transformers/explain.txt | 2 + .../01470_columns_transformers2/explain.txt | 2 + parser/testdata/01470_explain/explain.txt | 15 + .../01470_show_databases_like/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../01471_limit_by_format/explain.txt | 14 + .../01471_top_k_range_check/explain.txt | 18 + parser/testdata/01471_with_format/explain.txt | 8 + .../01472_many_rows_in_totals/explain.txt | 1 + .../explain.txt | 12 + .../01473_event_time_microseconds/explain.txt | 1 + .../01473_system_events_zeroes/explain.txt | 1 + .../01474_bad_global_join/explain.txt | 2 + .../01474_decimal_scale_bug/explain.txt | 17 + .../01474_executable_dictionary/explain.txt | 31 + .../01475_fix_bigint_shift/explain.txt | 10 + .../01475_mutation_with_if/explain.txt | 2 + .../01475_read_subcolumns/explain.txt | 1 + .../01475_read_subcolumns_2/explain.txt | 2 + .../01475_read_subcolumns_3/explain.txt | 2 + .../01476_right_full_join_switch/explain.txt | 1 + .../01478_not_equi-join_on/explain.txt | 15 + .../01479_cross_join_9855/explain.txt | 1 + .../explain.txt | 2 + .../01481_join_with_materialized/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../01485_256_bit_multiply/explain.txt | 1 + .../01486_json_array_output/explain.txt | 1 + .../01490_nullable_string_to_enum/explain.txt | 2 + .../explain.txt | 5 + .../01492_array_join_crash_13829/explain.txt | 27 + .../metadata.json | 2 +- .../explain.txt | 2 + .../01493_alter_remove_properties/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../01493_storage_set_persistency/explain.txt | 2 + .../01493_table_function_null/explain.txt | 15 + .../explain.txt | 2 + .../explain.txt | 2 + .../metadata.json | 2 +- .../explain.txt | 2 + .../explain.txt | 24 + .../explain.txt | 2 + .../01497_alias_on_default_array/explain.txt | 2 + .../explain.txt | 8 + .../explain.txt | 2 + .../01497_now_support_timezone/explain.txt | 19 + .../explain.txt | 2 + .../01499_json_named_tuples/explain.txt | 6 + .../testdata/01499_log_deadlock/explain.txt | 2 + .../explain.txt | 2 + .../testdata/01502_bar_overflow/explain.txt | 28 + .../explain.txt | 2 + .../01503_if_const_optimization/explain.txt | 12 + .../explain.txt | 2 + parser/testdata/01504_rocksdb/explain.txt | 2 + .../01504_view_type_conversion/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../01506_ttl_same_with_order_by/explain.txt | 2 + .../explain.txt | 2 + .../01507_transform_null_in/explain.txt | 1 + .../testdata/01508_explain_header/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../metadata.json | 2 +- .../01511_prewhere_with_virtuals/explain.txt | 2 + .../explain.txt | 10 + .../explain.txt | 1 + .../explain.txt | 2 + .../01513_ilike_like_cache/explain.txt | 8 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../01514_parallel_formatting/explain.txt | 2 + .../testdata/01514_tid_function/explain.txt | 7 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../01516_date_time_output_format/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 14 + .../explain.txt | 2 + .../explain.txt | 24 + .../explain.txt | 2 + .../testdata/01518_select_in_null/explain.txt | 2 + .../explain.txt | 8 + .../explain.txt | 2 + .../01521_distributed_query_hang/explain.txt | 1 + .../explain.txt | 30 + .../explain.txt | 2 + .../01521_max_length_alias/explain.txt | 2 + .../01522_validate_alter_default/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 7 + .../explain.txt | 2 + .../explain.txt | 16 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 21 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../01528_to_uuid_or_null_or_zero/explain.txt | 2 + .../explain.txt | 5 + .../explain.txt | 2 + .../01531_query_log_query_comment/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../01532_having_with_totals/explain.txt | 2 + .../01532_min_max_with_modifiers/explain.txt | 5 + .../explain.txt | 2 + .../01532_tuple_with_name_type/explain.txt | 2 + .../01533_collate_in_nullable/explain.txt | 2 + .../explain.txt | 2 + .../01533_distinct_nullable_uuid/explain.txt | 2 + .../01533_multiple_nested/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 19 + .../01533_sum_if_nullable_bug/explain.txt | 2 + .../01534_lambda_array_join/explain.txt | 23 + .../explain.txt | 12 + parser/testdata/01536_fuzz_cast/explain.txt | 1 + .../01537_fuzz_count_equal/explain.txt | 26 + .../01538_fuzz_aggregate/metadata.json | 2 +- .../explain.txt | 2 + .../01542_collate_in_array/explain.txt | 2 + .../01543_collate_in_tuple/explain.txt | 2 + .../explain.txt | 7 + .../01543_toModifiedJulianDay/explain.txt | 5 + .../01544_errorCodeToName/explain.txt | 9 + .../01544_fromModifiedJulianDay/explain.txt | 5 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + parser/testdata/01548_lzy305/explain.txt | 2 + .../explain.txt | 2 + .../01548_with_totals_having/explain.txt | 23 + .../explain.txt | 2 + .../01549_low_cardinality_mv_fuzz/explain.txt | 1 + .../01550_create_map_type/explain.txt | 2 + .../01550_mutation_subquery/explain.txt | 2 + .../01550_type_map_formats/explain.txt | 1 + parser/testdata/01551_context_uaf/explain.txt | 2 + .../explain.txt | 2 + .../01552_alter_name_collision/explain.txt | 2 + .../01552_dict_fixedstring/explain.txt | 2 + .../explain.txt | 2 + .../01553_datetime64_comparison/explain.txt | 2 + .../01553_settings_early_apply/explain.txt | 1 + .../explain.txt | 17 + .../explain.txt | 10 + parser/testdata/01555_or_fill/metadata.json | 2 +- .../explain.txt | 1 + .../01556_accurate_cast_or_null/explain.txt | 8 + .../explain.txt | 1 + parser/testdata/01556_if_null/metadata.json | 2 +- .../explain.txt | 1 + .../explain.txt | 2 + .../01558_transform_null_in/explain.txt | 1 + parser/testdata/01558_ttest/explain.txt | 2 + .../explain.txt | 7 + .../explain.txt | 1 + .../metadata.json | 2 +- .../explain.txt | 7 + .../explain.txt | 5 + .../testdata/01560_mann_whitney/explain.txt | 2 + .../01560_merge_distributed_join/explain.txt | 2 + .../metadata.json | 2 +- .../01560_optimize_on_insert_long/explain.txt | 5 + .../explain.txt | 2 + .../metadata.json | 2 +- .../explain.txt | 1 + .../explain.txt | 24 + .../01564_test_hint_woes/metadata.json | 2 +- .../01566_negate_formatting/explain.txt | 1 + .../explain.txt | 16 + .../explain.txt | 30 + .../explain.txt | 18 + .../01571_window_functions/explain.txt | 2 + .../explain.txt | 2 + .../01576_alias_column_rewrite/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 14 + .../explain.txt | 2 + .../explain.txt | 2 + .../testdata/01581_to_int_inf_nan/explain.txt | 8 + .../01582_any_join_supertype/explain.txt | 2 + .../explain.txt | 40 ++ .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../01585_fuzz_bits_with_bugfix/explain.txt | 16 + .../01585_use_index_for_global_in/explain.txt | 1 + .../explain.txt | 2 + .../01586_columns_pruning/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../01590_countSubstrings/explain.txt | 5 + .../01591_window_functions/explain.txt | 1 + parser/testdata/01592_length_map/explain.txt | 12 + .../01592_long_window_functions1/explain.txt | 1 + .../01592_toUnixTimestamp_Date/explain.txt | 11 + .../01592_window_functions/explain.txt | 2 + .../01593_functions_in_order_by/metadata.json | 2 +- .../01593_insert_settings/explain.txt | 2 + .../01594_storage_join_uuid/explain.txt | 2 + .../testdata/01595_countMatches/explain.txt | 1 + .../01596_full_join_chertus/explain.txt | 24 + .../explain.txt | 1 + .../01596_setting_limit_offset/explain.txt | 2 + .../01598_memory_limit_zeros/explain.txt | 1 + parser/testdata/01600_encode_XML/explain.txt | 7 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 13 + .../testdata/01601_accurate_cast/explain.txt | 9 + .../01601_detach_permanently/explain.txt | 1 + .../01602_array_aggregation/explain.txt | 15 + .../explain.txt | 2 + .../explain.txt | 26 + .../01602_runningConcurrency/explain.txt | 5 + .../01602_show_create_view/explain.txt | 2 + .../explain.txt | 2 + .../01603_decimal_mult_float/explain.txt | 1 + .../explain.txt | 2 + .../01603_read_with_backoff_bug/explain.txt | 1 + .../01603_remove_column_ttl/explain.txt | 2 + .../01603_rename_overwrite_bug/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../01605_dictinct_two_level/explain.txt | 1 + .../explain.txt | 1 + .../01605_key_condition_enum_int/explain.txt | 2 + .../01605_skip_idx_compact_parts/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 32 + .../explain.txt | 2 + .../01614_with_fill_with_limit/metadata.json | 2 +- .../explain.txt | 2 + .../explain.txt | 2 + .../01616_untuple_access_field/explain.txt | 16 + .../explain.txt | 2 + .../01621_bar_nan_arguments/explain.txt | 22 + parser/testdata/01621_decode_XML/explain.txt | 7 + .../explain.txt | 1 + .../01621_summap_check_types/explain.txt | 10 + parser/testdata/01622_byte_size/explain.txt | 5 + .../01622_codec_zstd_long/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 6 + .../testdata/01622_multiple_ttls/explain.txt | 5 + .../01623_byte_size_const/explain.txt | 11 + .../01623_constraints_column_swap/explain.txt | 1 + .../explain.txt | 2 + parser/testdata/01626_cnf_test/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../01632_group_array_msan/explain.txt | 36 + .../01632_max_partitions_to_read/explain.txt | 2 + .../explain.txt | 10 + .../01632_select_all_syntax/explain.txt | 5 + parser/testdata/01633_limit_fuzz/explain.txt | 20 + .../testdata/01634_sum_map_nulls/explain.txt | 10 + .../01634_summap_nullable/explain.txt | 8 + parser/testdata/01634_uuid_fuzz/explain.txt | 8 + .../01635_nullable_fuzz/metadata.json | 2 +- .../testdata/01635_sum_map_fuzz/explain.txt | 21 + .../testdata/01636_nullable_fuzz2/explain.txt | 2 + .../testdata/01637_nullable_fuzz3/explain.txt | 2 + .../01638_div_mod_ambiguities/explain.txt | 15 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../01642_if_nullable_regression/explain.txt | 28 + .../01643_merge_tree_fsync_smoke/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../01645_system_table_engines/explain.txt | 17 + .../explain.txt | 2 + .../testdata/01646_rewrite_sum_if/explain.txt | 1 + .../01646_rewrite_sum_if_bug/explain.txt | 2 + .../explain.txt | 2 + .../01648_mutations_and_escaping/explain.txt | 2 + .../explain.txt | 7 + .../explain.txt | 2 + .../explain.txt | 1 + .../01650_expressions_merge_bug/metadata.json | 2 +- .../explain.txt | 2 + .../01651_bugs_from_15889/explain.txt | 2 + .../01651_group_uniq_array_enum/explain.txt | 23 + .../01651_lc_insert_tiny_log_1/explain.txt | 1 + .../01651_lc_insert_tiny_log_2/explain.txt | 1 + .../01651_lc_insert_tiny_log_3/explain.txt | 1 + .../testdata/01651_map_functions/explain.txt | 2 + .../explain.txt | 1 + .../testdata/01652_ttl_old_syntax/explain.txt | 2 + .../explain.txt | 12 + parser/testdata/01654_bar_nan/explain.txt | 9 + .../01655_agg_if_nullable/explain.txt | 17 + .../explain.txt | 1 + .../explain.txt | 10 + .../01655_sleep_infinite_float/explain.txt | 8 + .../explain.txt | 7 + .../01655_window_functions_bug/metadata.json | 2 +- .../explain.txt | 1 + .../01655_window_functions_null/metadata.json | 2 +- .../01656_ipv4_bad_formatting/explain.txt | 14 + .../01656_join_defaul_enum/explain.txt | 12 + .../explain.txt | 1 + .../01656_sequence_next_node_long/explain.txt | 1 + .../01656_test_hex_mysql_dialect/explain.txt | 7 + .../explain.txt | 1 + .../01657_array_element_ubsan/explain.txt | 16 + .../explain.txt | 9 + .../explain.txt | 7 + .../testdata/01658_values_ubsan/explain.txt | 17 + .../01659_array_aggregation_ubsan/explain.txt | 7 + .../01659_h3_buffer_overflow/explain.txt | 11 + .../explain.txt | 7 + parser/testdata/01660_join_or_all/explain.txt | 1 + parser/testdata/01660_join_or_any/explain.txt | 1 + .../testdata/01660_join_or_inner/explain.txt | 1 + .../01660_join_or_subqueries/explain.txt | 1 + .../01660_second_extremes_bug/explain.txt | 2 + parser/testdata/01660_sum_ubsan/explain.txt | 13 + .../01660_system_parts_smoke/explain.txt | 10 + .../explain.txt | 9 + .../01661_arraySlice_ubsan/explain.txt | 9 + .../explain.txt | 22 + .../testdata/01661_join_complex/explain.txt | 53 ++ .../explain.txt | 9 + .../explain.txt | 5 + parser/testdata/01662_date_ubsan/explain.txt | 11 + parser/testdata/01662_join_mixed/explain.txt | 37 + .../explain.txt | 9 + parser/testdata/01663_aes_msan/explain.txt | 12 + .../explain.txt | 16 + .../explain.txt | 9 + .../01664_array_slice_ubsan/explain.txt | 31 + .../testdata/01664_decimal_ubsan/explain.txt | 28 + .../explain.txt | 12 + .../explain.txt | 2 + .../explain.txt | 1 + .../01665_substring_ubsan/explain.txt | 16 + parser/testdata/01666_blns_long/metadata.json | 2 +- .../explain.txt | 18 + parser/testdata/01666_gcd_ubsan/explain.txt | 9 + .../explain.txt | 17 + parser/testdata/01666_lcm_ubsan/explain.txt | 9 + .../testdata/01667_aes_args_check/explain.txt | 10 + .../01668_avg_weighted_ubsan/explain.txt | 24 + .../explain.txt | 9 + .../metadata.json | 2 +- .../01669_join_or_duplicates/explain.txt | 42 ++ .../explain.txt | 9 + .../explain.txt | 2 + .../explain.txt | 2 + parser/testdata/01670_log_comment/explain.txt | 1 + .../01670_neighbor_lc_bug/explain.txt | 1 + .../testdata/01670_sign_function/explain.txt | 7 + .../explain.txt | 8 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 9 + .../01672_actions_dag_merge_crash/explain.txt | 74 ++ .../explain.txt | 9 + .../explain.txt | 9 + .../explain.txt | 11 + .../01674_filter_by_uint8/explain.txt | 29 + .../01674_htm_xml_coarse_parse/explain.txt | 7 + .../testdata/01674_unicode_asan/explain.txt | 8 + .../explain.txt | 2 + .../explain.txt | 2 + .../01676_range_hashed_dictionary/explain.txt | 2 + .../testdata/01676_reinterpret_as/explain.txt | 5 + .../01676_round_int_ubsan/explain.txt | 8 + .../01677_array_enumerate_bug/explain.txt | 30 + parser/testdata/01677_bit_float/explain.txt | 9 + .../01678_great_circle_angle/explain.txt | 1 + .../explain.txt | 9 + .../01680_date_time_add_ubsan/explain.txt | 44 ++ .../explain.txt | 22 + .../01681_arg_min_max_if_fix/explain.txt | 52 ++ .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../01682_gather_utils_ubsan/explain.txt | 9 + .../01683_codec_encrypted/explain.txt | 2 + .../explain.txt | 2 + .../01683_flat_dictionary/explain.txt | 2 + .../testdata/01683_intdiv_ubsan/explain.txt | 15 + .../testdata/01684_geohash_ubsan/explain.txt | 11 + .../01684_insert_specify_shard_id/explain.txt | 2 + .../metadata.json | 2 +- parser/testdata/01686_rocksdb/explain.txt | 2 + .../01690_quantilesTiming_ubsan/explain.txt | 16 + .../01691_DateTime64_clamp/explain.txt | 11 + .../explain.txt | 11 + .../testdata/01698_fix_toMinute/metadata.json | 2 +- .../01698_map_populate_overflow/explain.txt | 9 + .../01699_timezoneOffset/metadata.json | 2 +- parser/testdata/01700_deltasum/explain.txt | 9 + .../explain.txt | 13 + .../01700_point_in_polygon_ubsan/explain.txt | 16 + .../explain.txt | 2 + .../explain.txt | 2 + .../01701_if_tuple_segfault/explain.txt | 2 + .../01702_bitmap_native_integers/explain.txt | 2 + .../explain.txt | 5 + .../explain.txt | 12 + .../01702_system_query_log/explain.txt | 1 + .../explain.txt | 11 + .../explain.txt | 16 + .../explain.txt | 19 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 1 + .../testdata/01707_join_use_nulls/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../01710_force_use_projection/explain.txt | 2 + .../01710_minmax_count_projection/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../01710_normal_projection_fix1/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../01710_projection_array_join/explain.txt | 1 + .../01710_projection_detach_part/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../01710_projection_fetch_long/explain.txt | 2 + .../explain.txt | 2 + .../01710_projection_in_index/explain.txt | 1 + .../01710_projection_in_set/explain.txt | 2 + .../explain.txt | 2 + .../01710_projection_mutation/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../01710_projection_part_check/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../01710_projection_row_policy/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../01710_projection_with_joins/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + parser/testdata/01710_projections/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../01711_cte_subquery_fix/explain.txt | 2 + .../01711_decimal_multiplication/explain.txt | 18 + .../explain.txt | 2 + .../explain.txt | 2 + .../01714_alter_drop_version/explain.txt | 2 + .../explain.txt | 2 + .../01715_table_function_view_fix/explain.txt | 1 + .../explain.txt | 5 + .../explain.txt | 7 + .../explain.txt | 1 + .../01716_drop_rename_sign_column/explain.txt | 2 + .../explain.txt | 77 +++ .../explain.txt | 9 + .../01718_subtract_seconds_date/explain.txt | 10 + .../testdata/01719_join_timezone/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../01720_type_map_and_casts/explain.txt | 2 + .../explain.txt | 5 + .../explain.txt | 2 + .../01721_dictionary_decimal_p_s/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../01732_alters_bad_conversions/explain.txt | 2 + .../testdata/01732_bigint_ubsan/explain.txt | 2 + .../metadata.json | 2 +- .../explain.txt | 11 + .../01732_union_and_union_all/explain.txt | 1 + .../01733_transform_ubsan/explain.txt | 34 + .../01734_datetime64_from_float/explain.txt | 8 + .../01735_join_get_low_card_fix/explain.txt | 2 + .../testdata/01735_to_datetime64/explain.txt | 21 + .../01736_null_as_default/explain.txt | 2 + .../explain.txt | 1 + parser/testdata/01739_index_hint/explain.txt | 2 + .../explain.txt | 11 + .../01745_alter_delete_view/explain.txt | 2 + .../explain.txt | 11 + .../explain.txt | 5 + .../01746_extract_text_from_html/explain.txt | 7 + .../explain.txt | 2 + .../01746_lc_values_format_bug/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 5 + .../explain.txt | 2 + .../01747_transform_empty_arrays/explain.txt | 5 + .../01748_dictionary_table_dot/explain.txt | 2 + .../01748_partition_id_pruning/explain.txt | 1 + .../explain.txt | 18 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 12 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 16 + .../explain.txt | 2 + .../01760_modulo_negative/explain.txt | 15 + .../01760_polygon_dictionaries/explain.txt | 2 + .../01760_system_dictionaries/explain.txt | 2 + .../explain.txt | 2 + .../01761_cast_to_enum_nullable/explain.txt | 15 + .../01761_round_year_bounds/explain.txt | 14 + .../explain.txt | 8 + .../01762_deltasumtimestamp/explain.txt | 72 ++ .../01763_filter_push_down_bugs/explain.txt | 1 + .../01763_long_ttl_group_by/explain.txt | 2 + .../01763_max_distributed_depth/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 17 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + parser/testdata/01765_tehran_dst/explain.txt | 11 + .../explain.txt | 2 + .../explain.txt | 8 + .../testdata/01768_array_product/explain.txt | 5 + .../testdata/01768_extended_range/explain.txt | 11 + .../01769_extended_range_2/explain.txt | 9 + .../01770_add_months_ubsan/explain.txt | 13 + .../01770_extended_range_3/explain.txt | 12 + .../01771_bloom_filter_not_has/explain.txt | 2 + .../01771_datetime64_no_time_part/explain.txt | 9 + .../01772_intdiv_minus_one_ubsan/explain.txt | 17 + .../01772_to_start_of_hour_align/explain.txt | 12 + .../01773_case_sensitive_revision/explain.txt | 22 + .../01773_case_sensitive_version/explain.txt | 22 + .../01773_datetime64_add_ubsan/explain.txt | 19 + .../explain.txt | 2 + .../01774_bar_with_illegal_value/explain.txt | 19 + .../explain.txt | 16 + .../01774_ip_address_in_range/explain.txt | 5 + .../01774_ip_address_in_range_2/explain.txt | 5 + .../testdata/01774_tuple_null_in/explain.txt | 8 + .../01776_decrypt_aead_size_check/explain.txt | 11 + .../explain.txt | 19 + .../explain.txt | 2 + .../01778_mmap_cache_infra/explain.txt | 1 + .../explain.txt | 2 + .../01778_where_with_column_name/explain.txt | 2 + .../explain.txt | 20 + .../explain.txt | 2 + .../testdata/01780_column_sparse/explain.txt | 2 + .../01780_column_sparse_alter/explain.txt | 1 + .../01780_column_sparse_distinct/explain.txt | 1 + .../01780_column_sparse_filter/explain.txt | 1 + .../01780_column_sparse_full/explain.txt | 2 + .../explain.txt | 2 + .../01780_column_sparse_pk/explain.txt | 2 + .../01780_column_sparse_tuple/explain.txt | 2 + .../01780_dict_get_or_null/explain.txt | 2 + parser/testdata/01780_range_msan/explain.txt | 11 + .../testdata/01781_map_op_ubsan/explain.txt | 96 +++ .../explain.txt | 2 + .../explain.txt | 1 + parser/testdata/01782_field_oom/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + parser/testdata/01785_pmj_lc_bug/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 18 + parser/testdata/01787_map_remote/explain.txt | 18 + .../explain.txt | 2 + .../explain.txt | 2 + .../01795_TinyLog_rwlock_ub/explain.txt | 2 + .../testdata/01796_Log_rwlock_ub/explain.txt | 2 + .../01797_StripeLog_rwlock_ub/explain.txt | 2 + .../01798_having_push_down/explain.txt | 2 + .../01798_uniq_theta_sketch/explain.txt | 1 + .../explain.txt | 5 + .../01799_long_uniq_theta_sketch/explain.txt | 1 + parser/testdata/01800_log_nested/explain.txt | 2 + .../explain.txt | 2 + .../01801_dateDiff_DateTime64/explain.txt | 17 + .../01801_distinct_group_by_shard/explain.txt | 19 + parser/testdata/01801_s3_cluster/explain.txt | 18 + .../01801_s3_cluster_count/explain.txt | 13 + .../explain.txt | 12 + .../explain.txt | 2 + .../explain.txt | 9 + .../01803_const_nullable_map/explain.txt | 2 + .../01803_untuple_subquery/explain.txt | 64 ++ .../explain.txt | 2 + .../01804_uniq_up_to_ubsan/explain.txt | 16 + .../explain.txt | 2 + parser/testdata/01811_datename/metadata.json | 2 +- .../testdata/01811_filter_by_null/explain.txt | 2 + parser/testdata/01812_has_generic/explain.txt | 16 + .../explain.txt | 14 + .../explain.txt | 2 + .../01813_quantileBfloat16_nans/metadata.json | 2 +- .../explain.txt | 2 + .../01818_case_float_value_fangyc/explain.txt | 14 + .../01818_move_partition_simple/explain.txt | 2 + .../01820_unhex_case_insensitive/explain.txt | 10 + .../explain.txt | 2 + .../01821_join_table_mutation/explain.txt | 2 + .../testdata/01821_table_comment/explain.txt | 2 + .../01821_to_date_time_ubsan/explain.txt | 9 + .../testdata/01822_short_circuit/explain.txt | 1 + .../explain.txt | 2 + .../metadata.json | 2 +- .../explain.txt | 1 + .../explain.txt | 2 + .../01825_new_type_json_10/explain.txt | 1 + .../01825_new_type_json_18/explain.txt | 1 + .../01825_new_type_json_2/explain.txt | 1 + .../01825_new_type_json_9/explain.txt | 2 + .../01825_new_type_json_bools/explain.txt | 2 + .../explain.txt | 1 + .../01825_new_type_json_ephemeral/explain.txt | 1 + .../01825_new_type_json_in_array/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../01825_new_type_json_mutations/explain.txt | 2 + .../01825_new_type_json_order_by/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + parser/testdata/01831_max_streams/explain.txt | 13 + .../01832_memory_write_suffix/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 8 + .../explain.txt | 9 + .../explain.txt | 2 + .../explain.txt | 2 + .../metadata.json | 2 +- .../explain.txt | 9 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + parser/testdata/01847_bad_like/explain.txt | 8 + .../01848_partition_value_column/explain.txt | 2 + parser/testdata/01849_geoToS2/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 14 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 30 + parser/testdata/01851_s2_to_geo/explain.txt | 7 + .../testdata/01852_cast_operator/explain.txt | 8 + .../01852_cast_operator_2/explain.txt | 8 + .../01852_cast_operator_3/explain.txt | 8 + .../01852_cast_operator_4/explain.txt | 1 + .../explain.txt | 2 + parser/testdata/01852_jit_if/explain.txt | 1 + .../testdata/01852_map_combinator/explain.txt | 1 + .../explain.txt | 1 + .../01852_s2_get_neighbours/explain.txt | 7 + .../01853_s2_cells_intersect/explain.txt | 8 + .../explain.txt | 2 + .../01854_s2_cap_contains/explain.txt | 9 + .../testdata/01854_s2_cap_union/explain.txt | 10 + .../explain.txt | 1 + .../01856_create_function/explain.txt | 16 + .../explain.txt | 19 + .../01861_explain_pipeline/explain.txt | 2 + .../01865_aggregator_overflow_row/explain.txt | 7 + .../explain.txt | 2 + .../01866_bit_positions_to_array/explain.txt | 5 + .../explain.txt | 2 + .../01866_split_by_regexp/explain.txt | 19 + .../01866_view_persist_settings/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 43 ++ .../01869_function_modulo_legacy/explain.txt | 8 + .../explain.txt | 11 + .../testdata/01870_buffer_flush/explain.txt | 2 + .../01870_modulo_partition_key/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + parser/testdata/01880_remote_ipv6/explain.txt | 1 + .../explain.txt | 2 + .../01881_create_as_tuple/explain.txt | 2 + .../01881_negate_formatting/explain.txt | 6 + .../01881_to_week_monotonic_fix/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 36 + .../explain.txt | 2 + .../explain.txt | 2 + .../01883_grouping_sets_crash/explain.txt | 2 + .../01883_subcolumns_distributed/explain.txt | 2 + .../01883_with_grouping_sets/explain.txt | 1 + .../01888_bloom_filter_hasAny/metadata.json | 2 +- .../testdata/01888_read_int_safe/explain.txt | 8 + .../explain.txt | 1 + .../01889_sql_json_functions/explain.txt | 5 + parser/testdata/01889_tokenize/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../testdata/01890_state_of_state/explain.txt | 24 + parser/testdata/01890_stem/explain.txt | 1 + parser/testdata/01891_echo/explain.txt | 5 + .../explain.txt | 1 + .../01891_not_in_partition_prune/explain.txt | 2 + .../explain.txt | 2 + .../01891_partition_by_uuid/explain.txt | 2 + .../testdata/01891_partition_hash/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 26 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../01901_in_literal_shard_prune/explain.txt | 1 + .../explain.txt | 2 + .../01902_dictionary_array_type/explain.txt | 2 + .../01902_self_aliases_in_columns/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../01905_to_json_string/metadata.json | 2 +- .../explain.txt | 9 + parser/testdata/01906_h3_to_geo/explain.txt | 2 + parser/testdata/01906_lc_in_bug/explain.txt | 2 + .../explain.txt | 2 + .../01907_multiple_aliases/explain.txt | 2 + .../01908_with_unknown_column/explain.txt | 5 + parser/testdata/01909_mbtolou/explain.txt | 2 + .../01910_memory_tracking_topk/explain.txt | 1 + .../01910_view_dictionary/explain.txt | 2 + .../explain.txt | 2 + .../01911_logical_error_minus/explain.txt | 1 + .../01912_bad_cast_join_fuzz/metadata.json | 2 +- .../01913_exact_rows_before_limit/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../testdata/01913_if_int_decimal/explain.txt | 23 + .../01913_join_push_down_bug/explain.txt | 2 + .../metadata.json | 2 +- .../01913_replace_dictionary/explain.txt | 2 + .../explain.txt | 2 + .../01914_exchange_dictionaries/explain.txt | 2 + .../testdata/01914_index_bgranvea/explain.txt | 2 + .../01914_ubsan_quantile_timing/explain.txt | 18 + .../explain.txt | 2 + .../01915_for_each_crakjie/metadata.json | 2 +- .../01915_json_extract_raw_string/explain.txt | 8 + .../explain.txt | 2 + .../explain.txt | 9 + .../01916_lowcard_dict_type/explain.txt | 2 + .../explain.txt | 2 + parser/testdata/01917_distinct_on/explain.txt | 2 + .../01917_prewhere_column_type/explain.txt | 1 + .../explain.txt | 2 + .../01920_not_chain_format/explain.txt | 1 + .../01921_datatype_date32/explain.txt | 2 + parser/testdata/01921_not_chain/explain.txt | 10 + .../01921_with_fill_with_totals/metadata.json | 2 +- .../01922_array_join_with_index/explain.txt | 2 + .../01922_sum_null_for_remote/explain.txt | 15 + .../explain.txt | 2 + .../01923_ttl_with_modify_column/explain.txt | 2 + .../01924_argmax_bitmap_state/explain.txt | 10 + .../explain.txt | 2 + .../explain.txt | 13 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../01925_merge_prewhere_table/explain.txt | 2 + .../explain.txt | 16 + .../explain.txt | 2 + .../explain.txt | 2 + parser/testdata/01926_bin_unbin/explain.txt | 7 + .../explain.txt | 5 + .../01926_order_by_desc_limit/explain.txt | 2 + .../01926_union_all_schmak/metadata.json | 2 +- .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../01932_alter_index_with_order/explain.txt | 2 + .../01932_global_in_function/explain.txt | 23 + .../01932_null_valid_identifier/explain.txt | 18 + .../explain.txt | 14 + .../testdata/01933_invalid_date/explain.txt | 8 + .../explain.txt | 18 + .../explain.txt | 9 + .../explain.txt | 1 + .../explain.txt | 1 + .../testdata/01937_nested_chinese/explain.txt | 17 + .../01938_joins_identifiers/explain.txt | 2 + .../testdata/01939_type_map_json/explain.txt | 11 + .../01940_custom_tld_sharding_key/explain.txt | 29 + parser/testdata/01940_pad_string/explain.txt | 5 + .../01940_point_in_polygon_ubsan/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../01942_dateTimeToSnowflake/explain.txt | 1 + .../01942_dateTimeToSnowflakeID/explain.txt | 1 + .../01942_snowflakeIDToDateTime/explain.txt | 1 + .../01942_snowflakeToDateTime/explain.txt | 1 + .../explain.txt | 40 ++ .../01943_log_column_sizes/explain.txt | 2 + .../explain.txt | 24 + .../testdata/01943_query_id_check/explain.txt | 1 + .../01944_insert_partition_by/explain.txt | 10 + .../01944_range_max_elements/explain.txt | 1 + .../testdata/01946_profile_sleep/explain.txt | 1 + parser/testdata/01947_mv_subquery/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 40 ++ parser/testdata/01948_heredoc/explain.txt | 5 + .../01950_aliases_bad_cast/explain.txt | 16 + .../explain.txt | 1 + .../explain.txt | 1 + .../testdata/01957_heredoc_more/explain.txt | 7 + .../01958_partial_hour_timezone/explain.txt | 1 + .../01960_lambda_precedence/metadata.json | 2 +- .../01961_roaring_memory_tracking/explain.txt | 1 + .../01999_grant_with_replace/explain.txt | 1 + .../explain.txt | 2 + .../testdata/02000_join_on_const/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 12 + .../explain.txt | 1 + .../explain.txt | 2 + .../testdata/02001_hostname_test/explain.txt | 6 + .../testdata/02001_join_on_const/explain.txt | 2 + .../02001_select_with_filter/explain.txt | 21 + .../02001_shard_num_shard_count/explain.txt | 8 + .../metadata.json | 2 +- .../02002_parse_map_int_key/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 6 + .../testdata/02003_bug_from_23515/explain.txt | 2 + .../explain.txt | 9 + .../explain.txt | 1 + .../explain.txt | 9 + .../explain.txt | 1 + .../explain.txt | 1 + .../02005_log_formatted_queries/explain.txt | 1 + .../explain.txt | 8 + .../02006_h3_to_geo_boundary/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 3 + .../explain.txt | 9 + .../metadata.json | 2 +- .../explain.txt | 11 + .../testdata/02007_join_use_nulls/explain.txt | 1 + .../02007_test_any_all_operators/explain.txt | 19 + .../explain.txt | 2 + .../explain.txt | 2 + .../02008_materialize_column/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 11 + .../02009_array_join_partition/explain.txt | 16 + .../explain.txt | 8 + .../02010_array_index_bad_cast/explain.txt | 1 + .../explain.txt | 2 + .../testdata/02011_normalize_utf8/explain.txt | 2 + .../02011_tuple_vector_functions/explain.txt | 12 + .../explain.txt | 19 + .../02012_get_server_port/explain.txt | 7 + .../explain.txt | 2 + .../02012_settings_clause_for_s3/explain.txt | 2 + .../02012_sha512_fixedstring/explain.txt | 9 + .../explain.txt | 17 + .../explain.txt | 2 + .../02013_bloom_filter_hasAll/explain.txt | 2 + .../02013_emptystring_cast/explain.txt | 2 + .../explain.txt | 12 + .../explain.txt | 1 + .../02014_dict_get_nullable_key/explain.txt | 2 + .../02014_map_different_keys/explain.txt | 5 + .../02014_storage_merge_order_by/explain.txt | 2 + .../explain.txt | 2 + .../02015_division_by_nullable/explain.txt | 11 + .../explain.txt | 12 + .../explain.txt | 23 + .../explain.txt | 11 + .../02016_aggregation_spark_bar/explain.txt | 2 + .../explain.txt | 5 + .../explain.txt | 7 + .../explain.txt | 2 + .../explain.txt | 5 + .../02017_columns_with_dot/explain.txt | 2 + .../02017_columns_with_dot_2/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 23 + .../explain.txt | 28 + .../metadata.json | 2 +- .../02020_cast_integer_overflow/explain.txt | 7 + .../02020_exponential_smoothing/explain.txt | 5 + .../explain.txt | 56 ++ .../02021_exponential_sum/explain.txt | 25 + .../02021_exponential_sum_shard/explain.txt | 28 + .../testdata/02021_h3_get_faces/explain.txt | 2 + .../testdata/02021_h3_is_pentagon/explain.txt | 2 + .../02021_h3_is_res_classIII/explain.txt | 2 + .../02021_map_bloom_filter_index/explain.txt | 2 + parser/testdata/02021_map_has/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../02023_nullable_int_uint_where/explain.txt | 2 + .../explain.txt | 8 + .../02023_transform_or_to_in/explain.txt | 2 + .../explain.txt | 27 + .../explain.txt | 2 + .../02024_merge_regexp_assert/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../02025_having_filter_column/explain.txt | 2 + .../explain.txt | 31 + .../explain.txt | 2 + .../explain.txt | 12 + .../02026_arrayDifference_const/explain.txt | 15 + .../explain.txt | 1 + .../explain.txt | 15 + parser/testdata/02027_ngrams/explain.txt | 8 + .../explain.txt | 2 + .../02028_create_select_settings/explain.txt | 37 + .../explain.txt | 2 + parser/testdata/02028_tokens/explain.txt | 7 + .../explain.txt | 2 + .../02029_quantile_sanitizer/explain.txt | 13 + .../explain.txt | 2 + .../02030_quantiles_underflow/metadata.json | 2 +- .../testdata/02030_tuple_filter/explain.txt | 1 + .../explain.txt | 23 + .../02035_isNull_isNotNull_format/explain.txt | 1 + .../02036_jit_short_circuit/explain.txt | 1 + .../explain.txt | 19 + .../explain.txt | 18 + .../explain.txt | 9 + .../02041_test_fuzzy_alter/explain.txt | 2 + .../02042_map_get_non_const_key/explain.txt | 8 + .../explain.txt | 8 + .../02044_exists_operator/explain.txt | 12 + .../testdata/02045_like_function/explain.txt | 8 + .../explain.txt | 2 + .../explain.txt | 20 + .../explain.txt | 1 + .../explain.txt | 19 + .../testdata/02067_lost_part_s3/explain.txt | 2 + .../testdata/02070_join_on_disk/explain.txt | 1 + .../explain.txt | 2 + .../metadata.json | 2 +- .../explain.txt | 14 + .../explain.txt | 7 + .../explain.txt | 8 + .../explain.txt | 2 + .../02096_rename_atomic_hang/explain.txt | 1 + .../02096_sample_by_tuple/explain.txt | 2 + .../explain.txt | 11 + .../02096_totals_global_in_bug/explain.txt | 40 ++ .../explain.txt | 2 + .../explain.txt | 12 + .../explain.txt | 2 + .../02097_remove_sample_by/explain.txt | 2 + .../02098_date32_comparison/explain.txt | 12 + .../explain.txt | 14 + .../explain.txt | 19 + .../explain.txt | 2 + .../02100_limit_push_down_bug/explain.txt | 2 + .../02100_now64_types_bug/explain.txt | 5 + .../02100_replaceRegexpAll_bug/explain.txt | 11 + .../explain.txt | 11 + .../explain.txt | 11 + .../explain.txt | 11 + .../explain.txt | 11 + .../explain.txt | 2 + .../explain.txt | 17 + .../explain.txt | 1 + .../02111_modify_table_comment/explain.txt | 2 + .../02111_with_fill_no_rows/explain.txt | 9 + .../02112_skip_index_set_and_or/explain.txt | 2 + .../02112_with_fill_interval/explain.txt | 2 + .../explain.txt | 1 + .../metadata.json | 2 +- parser/testdata/02113_format_row/explain.txt | 1 + .../testdata/02113_format_row_bug/explain.txt | 18 + .../02113_untuple_func_alias/explain.txt | 20 + parser/testdata/02114_bool_type/explain.txt | 2 + .../02115_map_contains_analyzer/explain.txt | 2 + .../explain.txt | 2 + .../02116_tuple_element_analyzer/explain.txt | 2 + .../metadata.json | 2 +- .../explain.txt | 3 + parser/testdata/02119_sumcount/metadata.json | 2 +- .../02123_MySQLWire_regression/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 14 + .../testdata/02124_empty_uuid/metadata.json | 2 +- .../explain.txt | 5 + .../explain.txt | 2 + .../explain.txt | 5 + .../explain.txt | 2 + .../02124_uncompressed_cache/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../02125_fix_storage_filelog/explain.txt | 12 + .../02125_low_cardinality_int256/explain.txt | 9 + .../02125_query_views_log/explain.txt | 1 + .../explain.txt | 1 + .../02125_transform_decimal_bug/explain.txt | 14 + .../explain.txt | 2 + .../explain.txt | 1 + .../02126_lc_window_functions/explain.txt | 8 + .../explain.txt | 2 + .../02128_apply_lambda_parsing/explain.txt | 1 + .../testdata/02128_cast_nullable/explain.txt | 12 + .../02128_hex_bin_on_uuid/explain.txt | 10 + .../02129_add_column_add_ttl/explain.txt | 2 + .../explain.txt | 1 + .../02131_materialize_column_cast/explain.txt | 2 + .../02131_mv_many_chunks_bug/explain.txt | 2 + .../explain.txt | 25 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../02132_empty_mutation_livelock/explain.txt | 2 + .../testdata/02133_classification/explain.txt | 1 + .../explain.txt | 19 + .../explain.txt | 2 + parser/testdata/02133_issue_32458/explain.txt | 2 + .../02136_scalar_subquery_metrics/explain.txt | 19 + .../testdata/02137_mv_into_join/explain.txt | 16 + .../02139_MV_with_scalar_subquery/explain.txt | 11 + parser/testdata/02144_avg_ubsan/explain.txt | 28 + parser/testdata/02146_mv_non_phys/explain.txt | 2 + .../02148_cast_type_parsing/explain.txt | 11 + parser/testdata/02148_issue_32737/explain.txt | 18 + .../explain.txt | 1 + parser/testdata/02149_issue_32487/explain.txt | 12 + .../explain.txt | 1 + .../explain.txt | 9 + parser/testdata/02151_lc_prefetch/explain.txt | 2 + .../explain.txt | 9 + parser/testdata/02152_bool_type/explain.txt | 1 + .../explain.txt | 2 + parser/testdata/02152_csv_tuple/explain.txt | 2 + .../02152_dictionary_date32_type/explain.txt | 2 + .../02152_short_circuit_throw_if/explain.txt | 12 + .../explain.txt | 5 + .../02154_bit_slice_for_string/explain.txt | 5 + .../02154_bitmap_contains/explain.txt | 10 + .../02154_default_keyword_insert/explain.txt | 14 + .../explain.txt | 11 + .../02155_create_table_w_timezone/explain.txt | 1 + .../02155_dictionary_comment/explain.txt | 2 + .../02155_h3_to_center_child/explain.txt | 2 + .../explain.txt | 2 + .../02155_nested_lc_defalut_bug/explain.txt | 2 + .../explain.txt | 11 + .../explain.txt | 1 + .../metadata.json | 2 +- .../02156_storage_merge_prewhere/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 11 + .../explain.txt | 6 + parser/testdata/02158_contingency/explain.txt | 61 ++ .../02158_interval_length_sum/explain.txt | 18 + .../02158_proportions_ztest/explain.txt | 12 + parser/testdata/02158_ztest/explain.txt | 2 + parser/testdata/02159_left_right/explain.txt | 8 + .../02160_h3_cell_area_m2/explain.txt | 2 + .../02160_h3_cell_area_rads2/explain.txt | 2 + .../02160_h3_hex_area_Km2/explain.txt | 7 + parser/testdata/02160_monthname/metadata.json | 2 +- .../02160_special_functions/explain.txt | 8 + .../explain.txt | 1 + .../02161_array_first_last/explain.txt | 5 + .../02162_array_first_last_index/explain.txt | 5 + .../explain.txt | 2 + parser/testdata/02163_operators/metadata.json | 2 +- parser/testdata/02163_shard_num/explain.txt | 22 + .../explain.txt | 2 + .../02165_h3_edge_length_km/explain.txt | 7 + .../02165_h3_exact_edge_length_Km/explain.txt | 2 + .../02165_h3_exact_edge_length_m/explain.txt | 2 + .../explain.txt | 2 + .../02165_h3_num_hexagons/explain.txt | 7 + .../02165_insert_from_infile/explain.txt | 15 + .../metadata.json | 2 +- .../explain.txt | 2 + parser/testdata/02168_avro_bug/explain.txt | 19 + .../explain.txt | 2 + .../testdata/02169_map_functions/explain.txt | 2 + .../02174_cte_scalar_cache/explain.txt | 1 + .../02174_cte_scalar_cache_mv/explain.txt | 10 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 10 + parser/testdata/02177_issue_31009/explain.txt | 1 + .../explain.txt | 2 + .../02177_sum_if_not_found/explain.txt | 8 + .../explain.txt | 2 + parser/testdata/02179_bool_type/explain.txt | 7 + .../02179_degrees_radians/explain.txt | 2 + .../02179_dict_reload_on_cluster/explain.txt | 2 + .../explain.txt | 2 + .../02179_map_cast_to_array/metadata.json | 2 +- .../explain.txt | 2 + .../02179_sparse_columns_detach/explain.txt | 2 + .../02180_group_by_lowcardinality/explain.txt | 12 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 12 + .../explain.txt | 18 + .../testdata/02183_combinator_if/explain.txt | 15 + .../02183_dictionary_date_types/explain.txt | 2 + .../explain.txt | 2 + .../02184_default_table_engine/explain.txt | 1 + .../explain.txt | 1 + .../testdata/02184_ipv6_cast_test/explain.txt | 2 + .../02184_ipv6_select_parsing/explain.txt | 2 + .../testdata/02184_nested_tuple/explain.txt | 1 + .../explain.txt | 2 + .../02184_storage_add_support_ttl/explain.txt | 2 + .../explain.txt | 9 + .../explain.txt | 2 + .../testdata/02185_split_by_char/explain.txt | 8 + .../explain.txt | 2 + .../02187_insert_values_with_mv/explain.txt | 8 + .../explain.txt | 2 + .../explain.txt | 2 + .../02188_table_function_format/metadata.json | 2 +- .../02189_join_type_conversion/explain.txt | 30 + .../02190_current_metrics_query/explain.txt | 16 + .../02191_nested_with_dots/explain.txt | 2 + .../explain.txt | 8 + parser/testdata/02192_comment/metadata.json | 2 +- .../explain.txt | 1 + .../02200_use_skip_indexes/metadata.json | 2 +- .../metadata.json | 2 +- .../metadata.json | 2 +- parser/testdata/02205_ephemeral_1/explain.txt | 1 + .../explain.txt | 2 + .../02205_postgresql_functions/explain.txt | 12 + .../02206_array_starts_ends_with/explain.txt | 10 + .../explain.txt | 2 + .../02206_minimum_sample_size/explain.txt | 34 + .../02207_key_condition_floats/explain.txt | 2 + .../02207_subseconds_intervals/explain.txt | 5 + .../02207_ttl_move_if_exists/explain.txt | 2 + .../explain.txt | 30 + .../02210_append_to_dev_dull/explain.txt | 17 + .../02210_processors_profile_log/explain.txt | 8 + .../explain.txt | 9 + .../02211_jsonl_format_extension/explain.txt | 19 + .../02212_cte_and_table_alias/explain.txt | 1 + .../02212_h3_get_pentagon_indexes/explain.txt | 2 + .../02212_h3_get_res0_indexes/explain.txt | 6 + .../testdata/02212_h3_point_dist/explain.txt | 2 + .../02220_array_join_format/explain.txt | 27 + .../explain.txt | 2 + .../02223_h3_test_const_columns/explain.txt | 18 + .../explain.txt | 2 + .../explain.txt | 2 + .../02224_s2_test_const_columns/explain.txt | 10 + .../explain.txt | 1 + .../explain.txt | 2 + .../02226_in_untuple_issue_34810/explain.txt | 2 + .../explain.txt | 2 + .../02227_union_match_by_name/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../02231_bloom_filter_sizing/explain.txt | 5 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../02233_interpolate_1/metadata.json | 2 +- .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../02233_with_total_empty_chunk/explain.txt | 1 + .../02234_cast_to_ip_address/explain.txt | 5 + .../explain.txt | 2 + .../explain.txt | 10 + .../explain.txt | 2 + .../explain.txt | 2 + .../02236_explain_pipeline_join/explain.txt | 1 + .../explain.txt | 1 + .../02240_asof_join_biginteger/explain.txt | 32 + .../explain.txt | 1 + .../02240_filesystem_query_cache/explain.txt | 1 + .../explain.txt | 7 + .../explain.txt | 5 + .../explain.txt | 76 +++ .../02242_if_then_else_null_bug/explain.txt | 21 + .../testdata/02242_join_rocksdb/explain.txt | 2 + parser/testdata/02242_make_date/explain.txt | 11 + .../02242_make_date_mysql/explain.txt | 10 + .../02242_negative_datetime64/explain.txt | 12 + .../explain.txt | 1 + .../02242_subcolumns_sizes/explain.txt | 2 + .../explain.txt | 15 + .../testdata/02243_in_ip_address/explain.txt | 2 + .../02243_ipv6_long_parsing/explain.txt | 2 + parser/testdata/02243_make_date32/explain.txt | 11 + .../02243_make_date32_mysql/explain.txt | 10 + .../explain.txt | 6 + .../explain.txt | 18 + .../explain.txt | 2 + .../explain.txt | 2 + .../testdata/02244_make_datetime/explain.txt | 12 + .../02244_url_engine_headers_test/explain.txt | 20 + .../explain.txt | 16 + .../explain.txt | 2 + .../02245_make_datetime64/explain.txt | 12 + .../testdata/02245_s3_schema_desc/explain.txt | 6 + .../explain.txt | 2 + .../02245_s3_virtual_columns/explain.txt | 2 + .../explain.txt | 2 + .../testdata/02246_flatten_tuple/explain.txt | 2 + .../02247_fix_extract_parser/explain.txt | 10 + .../explain.txt | 9 + .../explain.txt | 1 + .../02249_parse_date_time_basic/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../02251_last_day_of_month/metadata.json | 2 +- .../explain.txt | 24 + .../02252_jit_profile_events/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 5 + .../02264_format_insert_infile/explain.txt | 4 + parser/testdata/02265_column_ttl/explain.txt | 2 + .../02265_cross_join_empty_list/explain.txt | 25 + .../metadata.json | 2 +- .../explain.txt | 2 + .../explain.txt | 1 + .../02266_auto_add_nullable/explain.txt | 1 + .../explain.txt | 2 + .../02267_insert_empty_data/explain.txt | 2 + .../metadata.json | 2 +- .../02267_jsonlines_ndjson_format/explain.txt | 12 + .../metadata.json | 2 +- .../explain.txt | 8 + .../explain.txt | 8 + .../explain.txt | 14 + .../explain.txt | 12 + .../explain.txt | 16 + .../explain.txt | 14 + parser/testdata/02270_client_name/explain.txt | 7 + .../explain.txt | 1 + .../02271_int_sql_compatibility/explain.txt | 6 + .../explain.txt | 2 + .../explain.txt | 19 + .../explain.txt | 2 + .../02277_full_sort_join_misc/explain.txt | 1 + .../explain.txt | 2 + .../02281_limit_by_distributed/explain.txt | 5 + .../testdata/02282_array_distance/explain.txt | 1 + parser/testdata/02283_array_norm/explain.txt | 7 + .../explain.txt | 19 + .../explain.txt | 9 + .../02286_convert_decimal_type/explain.txt | 12 + .../02286_function_wyhash/explain.txt | 7 + .../explain.txt | 5 + .../explain.txt | 2 + .../explain.txt | 2 + .../02287_ephemeral_format_crash/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 4 + .../02292_h3_unidirectional_funcs/explain.txt | 7 + .../02292_hash_array_tuples/explain.txt | 5 + .../explain.txt | 2 + .../explain.txt | 25 + .../explain.txt | 5 + .../02293_grouping_function/explain.txt | 1 + .../explain.txt | 1 + parser/testdata/02293_h3_distance/explain.txt | 2 + parser/testdata/02293_h3_hex_ring/explain.txt | 10 + parser/testdata/02293_h3_line/explain.txt | 2 + .../02293_ilike_on_fixed_strings/explain.txt | 2 + .../explain.txt | 2 + .../02293_ttest_large_samples/metadata.json | 2 +- .../02294_decimal_second_errors/explain.txt | 1 + .../explain.txt | 2 + .../02294_fp_seconds_profile/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../02294_system_certificates/metadata.json | 2 +- .../explain.txt | 2 + .../metadata.json | 2 +- .../explain.txt | 20 + .../02296_ttl_non_deterministic/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 5 + .../explain.txt | 19 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../02302_s3_file_pruning/explain.txt | 1 + .../explain.txt | 11 + .../02304_grouping_set_order_by/explain.txt | 10 + .../metadata.json | 2 +- .../explain.txt | 21 + .../explain.txt | 2 + .../explain.txt | 10 + .../02307_join_get_array_null/explain.txt | 2 + .../explain.txt | 12 + parser/testdata/02310_uuid_v7/explain.txt | 8 + .../explain.txt | 11 + .../metadata.json | 2 +- .../explain.txt | 2 + .../02311_system_zookeeper_insert/explain.txt | 1 + .../02312_is_not_null_prewhere/explain.txt | 2 + .../explain.txt | 2 + .../02313_avro_records_and_maps/explain.txt | 27 + .../explain.txt | 5 + parser/testdata/02313_displayname/explain.txt | 6 + .../explain.txt | 10 + .../explain.txt | 2 + .../02313_multiple_limits/explain.txt | 7 + .../02313_negative_datetime64/metadata.json | 2 +- .../testdata/02313_test_fpc_codec/explain.txt | 2 + .../explain.txt | 25 + .../explain.txt | 2 + .../02315_pmj_union_ubsan_35857/explain.txt | 1 + .../02315_replace_multiif_to_if/explain.txt | 21 + .../explain.txt | 1 + .../02316_const_string_intersact/explain.txt | 9 + .../explain.txt | 17 + .../02316_literal_no_octal/explain.txt | 6 + .../02316_values_table_func_bug/explain.txt | 11 + .../explain.txt | 5 + .../02317_functions_with_nothing/explain.txt | 11 + .../explain.txt | 2 + .../explain.txt | 19 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../testdata/02319_timeslots_dt64/explain.txt | 15 + .../02320_alter_columns_with_dots/explain.txt | 2 + .../explain.txt | 23 + .../explain.txt | 27 + .../02322_sql_insert_format/explain.txt | 1 + .../explain.txt | 12 + .../02324_map_combinator_bug/explain.txt | 2 + .../02325_compatibility_setting_2/explain.txt | 13 + .../02325_dates_schema_inference/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 3 + .../explain.txt | 1 + .../metadata.json | 2 +- .../02336_sparse_columns_s3/explain.txt | 2 + .../02337_analyzer_columns_basic/explain.txt | 1 + parser/testdata/02337_base58/explain.txt | 7 + .../explain.txt | 2 + .../02337_join_analyze_stuck/metadata.json | 2 +- .../explain.txt | 1 + .../explain.txt | 1 + .../02339_analyzer_matcher_basic/explain.txt | 1 + .../02340_analyzer_functions/explain.txt | 1 + .../testdata/02340_union_header/explain.txt | 26 + .../02341_analyzer_aliases_basics/explain.txt | 1 + .../02341_global_join_cte/explain.txt | 60 ++ .../02342_analyzer_compound_types/explain.txt | 1 + .../02343_aggregation_pipeline/explain.txt | 1 + .../explain.txt | 1 + .../02343_analyzer_lambdas/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../02343_create_empty_as_select/explain.txt | 2 + .../02343_group_by_use_nulls/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 1 + .../02345_analyzer_subqueries/explain.txt | 1 + .../explain.txt | 2 + .../02345_implicit_transaction/explain.txt | 2 + .../explain.txt | 44 ++ .../02346_additional_filters/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 19 + .../explain.txt | 1 + .../explain.txt | 1 + .../02346_non_negative_derivative/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../02346_text_index_bug47393/explain.txt | 1 + .../02346_text_index_bug54541/explain.txt | 1 + .../02346_text_index_bug59039/explain.txt | 1 + .../02346_text_index_bug62681/explain.txt | 1 + .../02346_text_index_bug84805/explain.txt | 1 + .../02346_text_index_bug87887/explain.txt | 1 + .../02346_text_index_bug88080/explain.txt | 1 + .../02346_text_index_bug89605/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../02346_text_index_creation/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../02346_text_index_direct_read/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../02346_text_index_header_cache/explain.txt | 1 + .../02346_text_index_hits/explain.txt | 2 + .../02346_text_index_map_support/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../02346_text_index_part_format/explain.txt | 1 + .../explain.txt | 1 + .../02346_text_index_prefetch/explain.txt | 1 + .../02346_text_index_preprocessor/explain.txt | 1 + .../02346_text_index_queries/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../testdata/02347_rank_corr_nan/explain.txt | 14 + .../02347_rank_corr_size_overflow/explain.txt | 18 + .../explain.txt | 2 + .../02351_Map_combinator_dist/explain.txt | 8 + .../02352_grouby_shadows_arg/explain.txt | 16 + .../02352_lightweight_delete/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + parser/testdata/02353_ascii/explain.txt | 7 + .../02353_explain_ast_optimize/explain.txt | 13 + parser/testdata/02353_isnullable/explain.txt | 7 + .../explain.txt | 2 + .../explain.txt | 1 + parser/testdata/02353_translate/explain.txt | 9 + .../02354_array_lowcardinality/explain.txt | 14 + .../explain.txt | 1 + .../explain.txt | 5 + .../02354_parse_timedelta/explain.txt | 7 + .../02354_read_in_order_prewhere/explain.txt | 2 + .../explain.txt | 9 + .../02354_tuple_lowcardinality/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../02354_vector_search_queries/explain.txt | 1 + .../explain.txt | 1 + .../02354_vector_search_rescoring/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../02354_vector_search_subquery/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../metadata.json | 2 +- .../explain.txt | 2 + .../02355_column_type_name_lc/explain.txt | 11 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 10 + .../explain.txt | 2 + .../02357_file_default_value/explain.txt | 8 + .../explain.txt | 13 + .../metadata.json | 2 +- .../02363_mapupdate_improve/explain.txt | 2 + .../explain.txt | 17 + .../explain.txt | 1 + .../explain.txt | 2 + parser/testdata/02364_window_case/explain.txt | 5 + .../explain.txt | 1 + .../explain.txt | 2 + .../metadata.json | 2 +- .../explain.txt | 2 + .../02366_explain_query_tree/explain.txt | 1 + .../02366_kql_create_table/explain.txt | 2 + .../testdata/02366_kql_datatype/explain.txt | 1 + .../testdata/02366_kql_distinct/explain.txt | 2 + parser/testdata/02366_kql_extend/explain.txt | 2 + .../02366_kql_func_binary/explain.txt | 1 + .../02366_kql_func_datetime/explain.txt | 1 + .../02366_kql_func_dynamic/explain.txt | 2 + parser/testdata/02366_kql_func_ip/explain.txt | 1 + .../testdata/02366_kql_func_math/explain.txt | 1 + .../02366_kql_func_scalar/explain.txt | 2 + .../02366_kql_func_string/explain.txt | 2 + .../testdata/02366_kql_mvexpand/explain.txt | 2 + .../02366_kql_operator_in_sql/explain.txt | 2 + .../testdata/02366_kql_summarize/explain.txt | 2 + parser/testdata/02366_kql_tabular/explain.txt | 2 + .../explain.txt | 39 ++ .../explain.txt | 46 ++ .../explain.txt | 10 + .../testdata/02366_with_fill_date/explain.txt | 7 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../02370_analyzer_in_function/explain.txt | 1 + .../02370_extractAll_regress/metadata.json | 2 +- .../02371_analyzer_join_cross/explain.txt | 1 + .../explain.txt | 18 + .../explain.txt | 2 + parser/testdata/02372_nowInBlock/explain.txt | 1 + .../02373_analyzer_join_use_nulls/explain.txt | 1 + .../02374_analyzer_array_join/explain.txt | 1 + .../explain.txt | 2 + .../testdata/02374_in_tuple_index/explain.txt | 2 + .../testdata/02374_regexp_replace/explain.txt | 10 + .../02375_analyzer_union/metadata.json | 2 +- .../02375_double_escaping_json/explain.txt | 7 + .../testdata/02375_scalar_lc_cte/explain.txt | 14 + .../explain.txt | 1 + .../02376_arrow_dict_with_string/explain.txt | 21 + .../explain.txt | 1 + .../explain.txt | 14 + .../02377_fix_file_virtual_column/explain.txt | 2 + .../explain.txt | 1 + .../02377_modify_column_from_lc/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../02379_analyzer_subquery_depth/explain.txt | 1 + .../02380_analyzer_join_sample/explain.txt | 1 + .../02381_analyzer_join_final/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../02381_parse_array_of_tuples/explain.txt | 2 + .../02381_setting_value_auto/explain.txt | 15 + .../explain.txt | 1 + .../02382_join_and_filtering_set/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 13 + .../02383_schema_inference_hints/explain.txt | 7 + .../explain.txt | 1 + .../02384_decrypt_bad_arguments/explain.txt | 12 + .../explain.txt | 15 + .../explain.txt | 1 + .../02385_profile_events_overflow/explain.txt | 1 + .../explain.txt | 1 + .../02386_set_columns_order/explain.txt | 2 + .../testdata/02387_analyzer_cte/explain.txt | 1 + .../02387_parse_date_as_datetime/explain.txt | 8 + .../explain.txt | 1 + .../explain.txt | 7 + .../02389_analyzer_nested_lambda/explain.txt | 1 + .../explain.txt | 2 + .../02391_recursive_buffer/explain.txt | 2 + .../explain.txt | 15 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 15 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 17 + .../explain.txt | 2 + .../02402_external_disk_metrics/explain.txt | 1 + .../02402_merge_engine_with_view/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../02404_memory_bound_merging/explain.txt | 2 + .../02405_avro_read_nested/explain.txt | 1 + .../02405_pmj_issue_40335/explain.txt | 2 + .../02406_minmax_behaviour/explain.txt | 1 + .../02406_try_read_datetime64_bug/explain.txt | 9 + .../explain.txt | 15 + .../explain.txt | 23 + .../02409_url_format_detection/explain.txt | 7 + .../explain.txt | 6 + .../02410_to_decimal_or_default/explain.txt | 15 + .../testdata/02411_legacy_geobase/explain.txt | 17 + parser/testdata/02412_nlp/explain.txt | 1 + .../explain.txt | 15 + .../explain.txt | 28 + .../explain.txt | 26 + .../explain.txt | 2 + .../explain.txt | 14 + .../02416_input_json_formats/explain.txt | 24 + .../explain.txt | 1 + parser/testdata/02416_keeper_map/explain.txt | 2 + .../02416_rocksdb_delete_update/explain.txt | 2 + .../explain.txt | 2 + .../02417_from_select_syntax/explain.txt | 11 + .../explain.txt | 1 + .../02417_keeper_map_create_drop/explain.txt | 2 + .../02417_null_variadic_behaviour/explain.txt | 17 + .../02418_aggregate_combinators/explain.txt | 16 + .../02418_keeper_map_keys_limit/explain.txt | 2 + .../02418_tautological_if_index/explain.txt | 1 + .../explain.txt | 9 + .../testdata/02420_final_setting/explain.txt | 2 + .../02420_final_setting_analyzer/explain.txt | 1 + .../explain.txt | 11 + .../explain.txt | 2 + .../02421_explain_subquery/metadata.json | 2 +- .../explain.txt | 2 + .../explain.txt | 10 + .../explain.txt | 5 + .../explain.txt | 13 + .../02422_read_numbers_as_strings/explain.txt | 1 + .../02423_json_quote_float64/explain.txt | 26 + .../explain.txt | 13 + .../02424_pod_array_overflow/explain.txt | 13 + .../explain.txt | 35 + .../explain.txt | 14 + .../02426_pod_array_overflow_2/explain.txt | 13 + .../02426_pod_array_overflow_3/explain.txt | 13 + .../explain.txt | 14 + .../02427_column_nullable_ubsan/explain.txt | 44 ++ .../explain.txt | 51 ++ .../explain.txt | 2 + .../02428_batch_nullable_assert/metadata.json | 2 +- .../explain.txt | 2 + .../explain.txt | 2 + .../02428_delete_with_settings/explain.txt | 2 + .../explain.txt | 2 + .../metadata.json | 2 +- .../explain.txt | 11 + .../explain.txt | 13 + .../02429_groupBitmap_chain_state/explain.txt | 27 + .../explain.txt | 14 + .../explain.txt | 13 + .../explain.txt | 11 + .../explain.txt | 13 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../02440_mutations_finalization/explain.txt | 13 + .../explain.txt | 16 + .../explain.txt | 2 + .../02448_clone_replica_lost_part/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 36 + .../02452_check_low_cardinality/explain.txt | 2 + .../02452_json_utf8_validation/explain.txt | 1 + .../explain.txt | 12 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../02455_count_state_asterisk/explain.txt | 2 + .../explain.txt | 7 + .../explain.txt | 2 + .../explain.txt | 19 + .../explain.txt | 9 + .../explain.txt | 29 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 12 + .../explain.txt | 2 + .../testdata/02456_summing_mt_lc/explain.txt | 1 + .../02457_datediff_via_unix_epoch/explain.txt | 14 + .../02457_filesystem_function/explain.txt | 22 + .../explain.txt | 2 + .../testdata/02457_morton_coding/explain.txt | 5 + .../02457_morton_coding_with_mask/explain.txt | 5 + .../explain.txt | 7 + .../explain.txt | 6 + .../02457_tuple_of_intervals/explain.txt | 19 + .../02458_datediff_date32/explain.txt | 16 + .../02458_default_setting/explain.txt | 13 + .../explain.txt | 9 + .../02458_relax_too_many_parts/explain.txt | 2 + .../explain.txt | 12 + .../testdata/02459_group_by_all/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../02459_read_in_order_bufer/explain.txt | 9 + .../explain.txt | 2 + .../explain.txt | 2 + .../02461_join_lc_issue_42380/explain.txt | 2 + .../explain.txt | 12 + .../02461_welch_t_test_fuzz/explain.txt | 2 + .../02462_distributions/metadata.json | 2 +- .../02462_match_regexp_pk/explain.txt | 10 + .../02462_number_to_datetype/explain.txt | 20 + .../02463_julian_day_ubsan/explain.txt | 11 + .../explain.txt | 2 + .../explain.txt | 2 + .../metadata.json | 2 +- .../explain.txt | 25 + .../explain.txt | 2 + .../testdata/02468_has_any_tuple/explain.txt | 26 + .../02469_fix_aliases_parser/explain.txt | 1 + .../testdata/02469_interval_msan/explain.txt | 13 + .../explain.txt | 2 + .../02471_wrong_date_monotonicity/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 8 + .../02473_map_element_nullable/explain.txt | 29 + .../02473_prewhere_with_bigint/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 8 + .../02474_fix_function_parser_bug/explain.txt | 1 + .../02474_timeDiff_UTCTimestamp/explain.txt | 26 + .../02474_unhex_in_fix_string/explain.txt | 2 + .../02475_analysis_of_variance/explain.txt | 18 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 33 + .../explain.txt | 12 + .../testdata/02475_join_bug_42832/explain.txt | 2 + .../explain.txt | 25 + .../02475_positive_modulo/explain.txt | 8 + .../explain.txt | 14 + .../explain.txt | 5 + .../explain.txt | 1 + .../02476_fix_cast_parser_bug/explain.txt | 1 + .../testdata/02476_fuse_sum_count/explain.txt | 1 + .../02476_query_parameters_insert/explain.txt | 2 + .../explain.txt | 1 + parser/testdata/02477_age/explain.txt | 5 + parser/testdata/02477_age_date32/explain.txt | 16 + .../testdata/02477_age_datetime64/explain.txt | 17 + .../explain.txt | 1 + .../explain.txt | 1 + .../02477_exists_fuzz_43478/explain.txt | 9 + .../testdata/02477_fuse_quantiles/explain.txt | 1 + .../testdata/02477_invalid_reads/explain.txt | 13 + .../testdata/02477_is_null_parser/explain.txt | 13 + .../explain.txt | 5 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + parser/testdata/02478_factorial/explain.txt | 10 + .../explain.txt | 2 + .../explain.txt | 2 + .../metadata.json | 2 +- .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 20 + .../02479_mysql_connect_to_self/explain.txt | 1 + .../explain.txt | 2 + .../02480_analyzer_alias_nullptr/explain.txt | 1 + .../explain.txt | 15 + .../explain.txt | 13 + .../02480_max_map_null_totals/explain.txt | 34 + .../explain.txt | 13 + .../02480_s3_support_wildcard/explain.txt | 2 + .../explain.txt | 1 + parser/testdata/02480_tlp_nan/explain.txt | 21 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../02481_array_join_with_map/explain.txt | 2 + .../explain.txt | 2 + .../02481_fix_parameters_parsing/explain.txt | 1 + .../metadata.json | 2 +- .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../02481_xxh3_hash_function/explain.txt | 7 + .../explain.txt | 1 + .../explain.txt | 16 + .../02482_insert_into_dist_race/explain.txt | 2 + .../02482_value_block_assert/explain.txt | 1 + .../metadata.json | 2 +- .../explain.txt | 2 + .../explain.txt | 1 + .../02483_substitute_udf_create/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 18 + .../explain.txt | 17 + .../02489_analyzer_indexes/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../02491_part_log_has_table_uuid/explain.txt | 12 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 11 + .../explain.txt | 1 + .../explain.txt | 5 + .../explain.txt | 1 + .../metadata.json | 2 +- .../02494_array_function_range/explain.txt | 26 + .../explain.txt | 8 + .../explain.txt | 13 + .../explain.txt | 5 + .../02494_query_cache_bugs/explain.txt | 1 + .../explain.txt | 1 + .../02494_query_cache_compression/explain.txt | 1 + .../02494_query_cache_drop_cache/explain.txt | 1 + .../explain.txt | 1 + .../02494_query_cache_empty_tuple/explain.txt | 14 + .../02494_query_cache_events/explain.txt | 1 + .../explain.txt | 1 + .../02494_query_cache_explain/explain.txt | 1 + .../explain.txt | 1 + .../02494_query_cache_key/explain.txt | 5 + .../02494_query_cache_log_comment/explain.txt | 1 + .../02494_query_cache_metrics/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../02494_query_cache_query_log/explain.txt | 1 + .../02494_query_cache_secrets/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../02494_query_cache_tag/explain.txt | 1 + .../explain.txt | 1 + .../02494_query_cache_ttl_long/explain.txt | 1 + .../02494_query_cache_udf_sql/explain.txt | 1 + .../02494_query_cache_user_quotas/explain.txt | 1 + .../explain.txt | 1 + .../02495_analyzer_storage_join/explain.txt | 2 + .../02495_concat_with_separator/explain.txt | 1 + .../02495_s3_filter_by_file/explain.txt | 2 + .../02495_sum_if_to_count_if_bug/explain.txt | 24 + .../explain.txt | 35 + .../explain.txt | 9 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../02497_remote_disk_fat_column/explain.txt | 1 + .../02497_schema_inference_nulls/explain.txt | 5 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../02499_analyzer_set_index/explain.txt | 1 + .../explain.txt | 6 + .../metadata.json | 2 +- .../02499_quantile_nan_ubsan_msan/explain.txt | 14 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 7 + .../explain.txt | 1 + .../explain.txt | 2 + .../02503_in_lc_const_args_bug/explain.txt | 15 + .../02503_join_switch_alias_fuzz/explain.txt | 15 + .../explain.txt | 13 + .../02504_bar_fractions/metadata.json | 2 +- .../explain.txt | 2 + .../02504_explain_ast_insert/metadata.json | 2 +- .../explain.txt | 18 + .../explain.txt | 2 + .../explain.txt | 9 + .../explain.txt | 11 + .../explain.txt | 12 + .../testdata/02508_bad_graphite/explain.txt | 2 + .../explain.txt | 2 + .../testdata/02509_h3_arguments/explain.txt | 8 + .../02510_group_by_prewhere_null/explain.txt | 2 + .../explain.txt | 12 + .../explain.txt | 2 + .../explain.txt | 1 + .../02513_analyzer_sort_msan/explain.txt | 2 + .../explain.txt | 8 + .../metadata.json | 2 +- .../explain.txt | 2 + .../02513_validate_data_types/explain.txt | 1 + .../02514_analyzer_drop_join_on/explain.txt | 2 + .../02514_bad_index_granularity/explain.txt | 2 + .../explain.txt | 18 + .../02514_null_dictionary_source/explain.txt | 2 + .../02514_tsv_zero_started_number/explain.txt | 15 + .../explain.txt | 2 + .../02515_analyzer_null_for_empty/explain.txt | 1 + .../explain.txt | 22 + .../explain.txt | 22 + .../testdata/02515_generate_ulid/explain.txt | 16 + .../02515_projections_with_totals/explain.txt | 2 + .../02515_tuple_lambda_parsing/explain.txt | 1 + .../02516_projections_and_context/explain.txt | 2 + .../02516_projections_with_rollup/explain.txt | 2 + .../explain.txt | 13 + .../02517_union_columns_order/explain.txt | 9 + .../testdata/02517_uuid_parsing/explain.txt | 2 + .../explain.txt | 41 ++ .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../02519_monotonicity_fuzz/explain.txt | 2 + .../02520_group_array_last/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../02521_to_custom_day_of_week/explain.txt | 18 + .../explain.txt | 1 + .../testdata/02523_array_shuffle/explain.txt | 8 + .../02523_range_const_start/metadata.json | 2 +- .../testdata/02524_fuzz_and_fuss/explain.txt | 56 ++ .../02524_fuzz_and_fuss_2/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../02526_merge_join_int_decimal/explain.txt | 2 + .../explain.txt | 2 + parser/testdata/02530_ip_part_id/explain.txt | 2 + .../02531_ipv4_arithmetic/explain.txt | 29 + .../explain.txt | 1 + .../02531_storage_join_null_44940/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 13 + .../explain.txt | 2 + .../explain.txt | 1 + .../02534_default_granularity/explain.txt | 2 + .../02534_join_prewhere_bug/explain.txt | 2 + .../02534_keyed_siphash/metadata.json | 2 +- .../explain.txt | 2 + .../02534_s3_heap_use_after_free/explain.txt | 12 + .../explain.txt | 1 + .../02535_analyzer_limit_offset/explain.txt | 1 + .../02535_ip_parser_not_whole/explain.txt | 12 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 11 + .../explain.txt | 2 + .../02536_system_sync_file_cache/explain.txt | 1 + .../testdata/02537_system_formats/explain.txt | 16 + .../02538_alter_rename_sequence/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../02539_generate_random_ip/explain.txt | 32 + .../explain.txt | 26 + .../02539_generate_random_map/explain.txt | 11 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../02540_duplicate_primary_key/explain.txt | 2 + .../02540_duplicate_primary_key2/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 9 + .../explain.txt | 1 + .../explain.txt | 5 + .../02541_tuple_element_with_null/explain.txt | 2 + .../testdata/02542_case_no_else/explain.txt | 10 + .../02542_table_function_format/metadata.json | 2 +- .../testdata/02542_transform_new/explain.txt | 12 + .../testdata/02542_transform_old/explain.txt | 21 + .../02551_ipv4_implicit_uint64/explain.txt | 8 + .../explain.txt | 1 + .../explain.txt | 2 + .../02552_client_format_settings/explain.txt | 13 + .../explain.txt | 8 + .../02552_regression_crash/explain.txt | 2 + .../02552_siphash128_reference/metadata.json | 2 +- .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 23 + parser/testdata/02559_add_parts/explain.txt | 2 + .../testdata/02559_ip_types_bloom/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 14 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../testdata/02560_count_digits/explain.txt | 7 + .../02560_null_as_default/explain.txt | 2 + .../02560_quantile_min_max/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../testdata/02560_window_ntile/explain.txt | 37 + .../02560_with_fill_int256_int/explain.txt | 22 + .../explain.txt | 2 + .../explain.txt | 6 + .../testdata/02562_regexp_extract/explain.txt | 9 + .../02562_with_fill_nullable/explain.txt | 25 + .../testdata/02563_analyzer_merge/explain.txt | 1 + .../02564_analyzer_cross_to_inner/explain.txt | 1 + .../explain.txt | 1 + parser/testdata/02564_date_format/explain.txt | 16 + .../explain.txt | 1 + .../02565_analyzer_limit_settings/explain.txt | 1 + .../02565_update_empty_nested/explain.txt | 2 + .../explain.txt | 1 + .../02567_and_consistency/explain.txt | 11 + .../02568_and_consistency/explain.txt | 2 + .../explain.txt | 21 + .../02568_json_array_length/explain.txt | 7 + .../explain.txt | 25 + .../explain.txt | 1 + .../02572_max_intersections/explain.txt | 16 + .../explain.txt | 1 + .../explain.txt | 14 + .../02573_quantile_fuse_msan/explain.txt | 1 + .../explain.txt | 2 + .../02575_map_hashing_msan/explain.txt | 16 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../02577_keepermap_delete_update/explain.txt | 2 + .../testdata/02578_ipv4_codec_t64/explain.txt | 2 + .../explain.txt | 2 + .../02579_fill_empty_chunk/explain.txt | 1 + .../explain.txt | 1 + .../02579_parameterized_replace/explain.txt | 1 + .../explain.txt | 8 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../testdata/02581_width_bucket/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../02583_map_literal_cast/explain.txt | 11 + parser/testdata/02584_range_ipv4/explain.txt | 12 + .../explain.txt | 8 + .../explain.txt | 6 + .../explain.txt | 1 + .../02590_bson_duplicate_column/explain.txt | 14 + .../02591_bson_long_tuple/explain.txt | 18 + .../02596_build_set_and_remote/explain.txt | 25 + .../metadata.json | 2 +- .../metadata.json | 2 +- .../explain.txt | 2 + .../metadata.json | 2 +- .../02661_quantile_approx/explain.txt | 1 + .../02662_first_last_value/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../02668_column_block_number/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../testdata/02668_parse_datetime/explain.txt | 15 + .../explain.txt | 15 + .../testdata/02668_ulid_decoding/explain.txt | 16 + .../explain.txt | 2 + .../02670_constant_skip_index/explain.txt | 2 + .../02674_and_consistency/explain.txt | 7 + .../explain.txt | 6 + .../02674_null_default_structure/explain.txt | 10 + .../02674_trivial_count_analyzer/explain.txt | 2 + .../02675_is_ipv6_function_fix/explain.txt | 7 + .../explain.txt | 1 + .../explain.txt | 2 + .../02676_analyzer_limit_offset/explain.txt | 1 + .../explain.txt | 2 + .../02676_kafka_murmur_hash/explain.txt | 7 + .../02676_to_decimal_string/explain.txt | 8 + .../02676_trailing_commas/explain.txt | 5 + .../metadata.json | 2 +- .../explain.txt | 1 + .../02677_decode_url_component/metadata.json | 2 +- .../explain.txt | 1 + .../02677_grace_hash_limit_race/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../testdata/02680_default_star/explain.txt | 1 + .../explain.txt | 20 + .../explain.txt | 8 + .../02680_lc_null_as_default/explain.txt | 2 + .../02680_mysql_ast_logical_err/explain.txt | 14 + .../explain.txt | 1 + .../explain.txt | 1 + .../metadata.json | 2 +- .../testdata/02681_undrop_query/explain.txt | 1 + .../metadata.json | 2 +- .../02683_native_too_large_size/metadata.json | 2 +- parser/testdata/02684_bson/metadata.json | 2 +- parser/testdata/02685_bson2/metadata.json | 2 +- .../02685_decimal256_various/explain.txt | 8 + parser/testdata/02686_bson3/metadata.json | 2 +- .../testdata/02687_native_fuzz/metadata.json | 2 +- .../02688_aggregate_states/explain.txt | 9 + .../explain.txt | 8 + .../02689_meaningless_data_types/explain.txt | 9 + .../02690_subquery_identifiers/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../02692_multiple_joins_unicode/explain.txt | 2 + .../02693_multiple_joins_in/explain.txt | 9 + .../explain.txt | 2 + .../explain.txt | 13 + .../explain.txt | 2 + .../explain.txt | 1 + .../02697_alter_dependencies/explain.txt | 12 + .../02698_marked_dropped_tables/explain.txt | 1 + .../explain.txt | 18 + .../metadata.json | 2 +- .../explain.txt | 1 + .../02700_regexp_operator/explain.txt | 8 + .../explain.txt | 24 + .../02701_non_parametric_function/explain.txt | 19 + .../explain.txt | 1 + .../metadata.json | 2 +- .../explain.txt | 2 + .../explain.txt | 6 + .../explain.txt | 2 + .../explain.txt | 13 + .../02706_array_map_tuples/explain.txt | 21 + .../explain.txt | 2 + .../02706_kolmogorov_smirnov_test/explain.txt | 2 + .../testdata/02706_show_columns/explain.txt | 2 + .../metadata.json | 2 +- .../explain.txt | 2 + .../02707_skip_index_with_in/explain.txt | 2 + parser/testdata/02708_dotProduct/explain.txt | 5 + .../explain.txt | 10 + .../explain.txt | 18 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../02710_date_diff_aliases/explain.txt | 9 + .../explain.txt | 2 + parser/testdata/02710_show_table/explain.txt | 2 + .../02710_topk_with_empty_array/explain.txt | 8 + .../02711_server_uuid_macro/explain.txt | 2 + .../02711_soundex_function/explain.txt | 7 + .../testdata/02711_trim_aliases/explain.txt | 9 + .../explain.txt | 2 + .../02713_ip4_uint_compare/metadata.json | 2 +- .../explain.txt | 2 + .../testdata/02714_date_date32_in/explain.txt | 12 + .../explain.txt | 1 + .../02715_bit_operations_float/explain.txt | 28 + parser/testdata/02715_or_null/explain.txt | 8 + .../explain.txt | 11 + .../testdata/02716_drop_if_empty/explain.txt | 2 + .../02716_int256_arrayfunc/explain.txt | 22 + parser/testdata/02717_pretty_json/explain.txt | 63 ++ parser/testdata/02718_array_fold/explain.txt | 5 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 14 + parser/testdata/02721_url_cluster/explain.txt | 19 + .../02722_log_profile_events/explain.txt | 14 + .../explain.txt | 2 + .../explain.txt | 17 + .../testdata/02723_zookeeper_name/explain.txt | 5 + .../explain.txt | 7 + .../02724_jit_logical_functions/explain.txt | 1 + .../02724_mutliple_storage_join/explain.txt | 14 + .../02724_persist_interval_type/explain.txt | 2 + .../testdata/02724_show_indexes/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 6 + .../02725_any_join_single_row/explain.txt | 2 + .../02725_cnf_large_check/explain.txt | 2 + .../02725_memory-for-merges/explain.txt | 2 + .../explain.txt | 1 + .../testdata/02725_sleep_max_time/explain.txt | 14 + .../explain.txt | 13 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + parser/testdata/02731_formats_s3/explain.txt | 18 + .../explain.txt | 12 + .../02731_nothing_deserialization/explain.txt | 9 + .../explain.txt | 2 + .../explain.txt | 2 + .../testdata/02732_transform_fuzz/explain.txt | 14 + parser/testdata/02733_distinct/explain.txt | 2 + .../explain.txt | 1 + .../02733_sparse_columns_reload/explain.txt | 2 + .../metadata.json | 2 +- .../02734_optimize_group_by/explain.txt | 9 + .../02734_sparse_columns_mutation/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 17 + .../02735_asof_join_right_null/explain.txt | 10 + .../02735_parquet_encoder/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../02736_bit_count_big_int/explain.txt | 10 + .../02737_arrayJaccardIndex/explain.txt | 5 + .../02737_session_timezone/explain.txt | 2 + .../02737_sql_auto_is_null/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../02751_match_constant_needle/explain.txt | 8 + .../02751_multiif_to_if_crash/explain.txt | 20 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 14 + .../02752_forbidden_headers/explain.txt | 19 + .../02752_is_null_priority/explain.txt | 17 + .../testdata/02752_space_function/explain.txt | 5 + .../explain.txt | 5 + .../explain.txt | 1 + .../explain.txt | 2 + .../02764_index_analysis_fix/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 10 + .../explain.txt | 21 + .../02768_cse_nested_distributed/explain.txt | 23 + .../02769_compare_functions_nan/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 1 + .../02771_if_constant_folding/explain.txt | 23 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 15 + .../02772_jit_date_time_add/explain.txt | 1 + parser/testdata/02772_s3_crash/explain.txt | 17 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 16 + .../explain.txt | 12 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 7 + .../explain.txt | 2 + .../explain.txt | 2 + .../02785_left_anti_join_bug/explain.txt | 1 + .../explain.txt | 2 + .../02786_max_execution_time_leaf/explain.txt | 1 + .../02786_transform_float/explain.txt | 22 + .../testdata/02787_transform_null/explain.txt | 10 + .../explain.txt | 7 + .../explain.txt | 1 + .../02789_describe_table_settings/explain.txt | 8 + .../explain.txt | 2 + .../metadata.json | 2 +- .../metadata.json | 2 +- .../explain.txt | 2 + .../explain.txt | 16 + .../testdata/02790_keyed_hash_bug/explain.txt | 16 + .../explain.txt | 2 + .../02790_sql_standard_fetch/explain.txt | 12 + .../02790_url_multiple_tsv_files/explain.txt | 24 + .../explain.txt | 1 + .../metadata.json | 2 +- .../explain.txt | 2 + .../02792_drop_projection_lwd/explain.txt | 1 + .../02794_pushdown_invalid_get/explain.txt | 25 + .../02795_full_join_assert_cast/explain.txt | 35 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../testdata/02797_range_nullable/explain.txt | 7 + .../02797_transform_narrow_types/explain.txt | 10 + .../explain.txt | 1 + .../02798_generic_transform/explain.txt | 24 + .../02798_substring_index/explain.txt | 9 + .../02799_transform_empty_arrays/explain.txt | 16 + .../02800_transform_alter/explain.txt | 2 + .../02801_transform_nullable/explain.txt | 25 + .../02802_with_cube_with_totals/explain.txt | 32 + .../explain.txt | 2 + .../explain.txt | 2 + .../02804_intersect_bad_cast/explain.txt | 24 + .../explain.txt | 8 + .../explain.txt | 55 ++ .../metadata.json | 2 +- .../02807_lower_utf8_msan/explain.txt | 12 + .../02807_math_unary_crash/explain.txt | 2 + .../02808_aliases_inside_case/metadata.json | 2 +- .../02809_has_subsequence/explain.txt | 5 + parser/testdata/02809_has_token/explain.txt | 8 + .../02809_prewhere_and_in/explain.txt | 2 + .../explain.txt | 2 + .../02810_convert_uuid_to_uint128/explain.txt | 9 + .../explain.txt | 2 + parser/testdata/02810_initcap/explain.txt | 7 + .../explain.txt | 13 + .../02810_system_jemalloc_bins/metadata.json | 2 +- .../02811_insert_schema_inference/explain.txt | 2 + .../explain.txt | 14 + .../02811_ip_dict_attribute/metadata.json | 2 +- .../explain.txt | 2 + .../02811_primary_key_in_columns/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 20 + .../explain.txt | 14 + .../02812_from_to_utc_timestamp/explain.txt | 2 + .../testdata/02812_large_varints/explain.txt | 12 + .../explain.txt | 12 + .../02812_subquery_operators/explain.txt | 9 + parser/testdata/02813_any_value/explain.txt | 1 + parser/testdata/02813_array_agg/explain.txt | 2 + .../02813_array_concat_agg/explain.txt | 2 + .../02813_create_index_noop/explain.txt | 1 + .../02813_float_parsing/metadata.json | 2 +- .../02813_func_now_and_alias/explain.txt | 16 + .../02813_func_today_and_alias/explain.txt | 10 + .../explain.txt | 1 + .../02813_seriesDecomposeSTL/explain.txt | 2 + .../explain.txt | 2 + .../02813_series_period_detect/explain.txt | 2 + .../02813_starting_in_text_log/explain.txt | 1 + .../02813_system_licenses_base/explain.txt | 25 + .../explain.txt | 2 + .../testdata/02814_age_datediff/explain.txt | 17 + .../02814_create_index_uniq_noop/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 12 + .../02815_alias_to_length/explain.txt | 7 + .../explain.txt | 1 + .../metadata.json | 2 +- parser/testdata/02815_first_line/explain.txt | 7 + .../explain.txt | 2 + .../02815_join_algorithm_setting/explain.txt | 2 + .../explain.txt | 12 + .../explain.txt | 2 + .../explain.txt | 34 + .../02816_has_token_empty/explain.txt | 8 + .../02816_s2_invalid_point/explain.txt | 17 + .../explain.txt | 15 + .../metadata.json | 2 +- .../explain.txt | 2 + .../explain.txt | 2 + .../02831_ast_fuzz_asan_join/metadata.json | 2 +- .../explain.txt | 12 + parser/testdata/02831_trash/explain.txt | 8 + .../explain.txt | 1 + .../02832_integer_type_inference/explain.txt | 5 + .../explain.txt | 21 + .../02833_array_join_columns/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../02833_starts_ends_with_utf8/explain.txt | 8 + parser/testdata/02833_std_alias/explain.txt | 2 + .../testdata/02833_tuple_concat/explain.txt | 7 + .../explain.txt | 12 + .../02834_add_sub_date_functions/explain.txt | 1 + .../02834_alter_exception/explain.txt | 2 + .../explain.txt | 1 + .../02834_apache_arrow_abort/explain.txt | 1 + .../02834_array_exists_segfault/explain.txt | 2 + .../explain.txt | 5 + .../02834_nulls_first_sort/explain.txt | 2 + .../explain.txt | 2 + .../02834_timestamp_function/explain.txt | 1 + .../explain.txt | 2 + .../02835_join_step_explain/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 5 + .../explain.txt | 1 + .../02841_group_array_sorted/explain.txt | 15 + .../02841_join_filter_set_sparse/explain.txt | 2 + .../explain.txt | 2 + .../02841_not_ready_set_join_on/explain.txt | 48 ++ .../explain.txt | 2 + .../02841_parquet_filter_pushdown/explain.txt | 1 + .../explain.txt | 13 + .../testdata/02841_tuple_modulo/explain.txt | 8 + .../02841_with_clause_resolve/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../02842_truncate_database/explain.txt | 2 + .../explain.txt | 2 + .../02843_context_has_expired/explain.txt | 2 + .../metadata.json | 2 +- .../explain.txt | 2 + .../explain.txt | 2 + .../02845_arrayShiftRotate/explain.txt | 5 + .../02845_domain_rfc_support_ipv6/explain.txt | 8 + .../02845_group_by_constant_keys/explain.txt | 21 + .../02845_join_on_cond_sparse/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../02863_decode_html_component/explain.txt | 7 + .../explain.txt | 2 + .../explain.txt | 2 + .../02863_interpolate_subquery/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../02864_filtered_url_with_globs/explain.txt | 13 + .../02864_profile_event_part_lock/explain.txt | 2 + .../explain.txt | 21 + .../02864_statistics_bug_67742/explain.txt | 1 + .../02864_statistics_bug_69589/explain.txt | 1 + .../explain.txt | 2 + .../testdata/02864_statistics_ddl/explain.txt | 1 + .../explain.txt | 2 + .../02864_statistics_predicates/explain.txt | 1 + .../02864_statistics_usage/explain.txt | 1 + .../02864_test_ipv4_type_mismatch/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../02867_create_user_ssh/explain.txt | 1 + .../testdata/02867_null_lc_in_bug/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 12 + .../explain.txt | 21 + .../explain.txt | 2 + .../explain.txt | 2 + .../testdata/02869_unicode_minus/explain.txt | 5 + .../explain.txt | 1 + .../02870_per_column_settings/explain.txt | 2 + .../02871_join_on_system_errors/explain.txt | 14 + .../metadata.json | 2 +- parser/testdata/02872_gcd_codec/explain.txt | 12 + .../02872_prewhere_filter/explain.txt | 2 + .../explain.txt | 12 + .../explain.txt | 9 + .../explain.txt | 1 + .../explain.txt | 7 + .../explain.txt | 6 + .../02874_toDaysSinceYearZero/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../02875_json_array_as_string/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 6 + .../02876_sort_union_of_sorted/explain.txt | 2 + .../explain.txt | 1 + .../testdata/02876_yyyymmddtodate/explain.txt | 5 + .../02880_indexHint__partition_id/explain.txt | 2 + parser/testdata/02882_formatQuery/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 12 + .../explain.txt | 2 + .../explain.txt | 2 + .../02884_duplicate_index_name/explain.txt | 2 + .../explain.txt | 7 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 5 + .../02884_virtual_column_order_by/explain.txt | 11 + .../02885_arg_min_max_combinator/explain.txt | 24 + .../explain.txt | 2 + parser/testdata/02886_binary_like/explain.txt | 8 + parser/testdata/02887_byteswap/explain.txt | 10 + .../metadata.json | 2 +- .../metadata.json | 2 +- .../explain.txt | 23 + .../metadata.json | 2 +- .../explain.txt | 18 + .../02888_obsolete_settings/explain.txt | 5 + .../metadata.json | 2 +- .../metadata.json | 2 +- .../02889_datetime64_from_string/explain.txt | 9 + .../02889_parts_columns_filenames/explain.txt | 2 + .../02889_print_pretty_type_names/explain.txt | 47 ++ .../explain.txt | 2 + .../02890_describe_table_options/explain.txt | 2 + .../02890_named_tuple_functions/explain.txt | 1 + .../explain.txt | 2 + .../02890_untuple_column_names/explain.txt | 5 + .../explain.txt | 2 + .../testdata/02891_array_shingles/explain.txt | 5 + parser/testdata/02891_empty_tuple/explain.txt | 2 + .../explain.txt | 2 + .../metadata.json | 2 +- .../02892_SummingMergeTree_Nested/explain.txt | 2 + .../02892_orc_filter_pushdown/explain.txt | 1 + .../02892_rocksdb_trivial_count/explain.txt | 11 + .../02893_array_enum_has_hasAny/explain.txt | 2 + .../02893_bad_sample_view/explain.txt | 2 + .../explain.txt | 2 + .../02893_trash_optimization/explain.txt | 5 + .../02893_vertical_final_bugs/explain.txt | 2 + .../02895_cast_operator_bug/explain.txt | 9 + .../02896_cyclic_aliases_crash/explain.txt | 1 + .../02896_illegal_sampling/explain.txt | 16 + .../02896_leading_zeroes_no_octal/explain.txt | 2 + .../explain.txt | 1 + parser/testdata/02896_multiple_OR/explain.txt | 2 + .../explain.txt | 20 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 5 + .../explain.txt | 1 + .../explain.txt | 28 + parser/testdata/02900_issue_55858/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 8 + .../explain.txt | 1 + .../explain.txt | 17 + .../02902_add_scalar_in_all_case/explain.txt | 33 + .../explain.txt | 2 + .../02902_json_skip_null_values/explain.txt | 6 + .../explain.txt | 13 + .../02902_show_databases_limit/explain.txt | 1 + .../metadata.json | 2 +- parser/testdata/02903_bug_43644/explain.txt | 2 + .../metadata.json | 2 +- .../02905_show_setting_query/explain.txt | 1 + .../02905_system_logs_hostname/explain.txt | 5 + .../explain.txt | 1 + .../explain.txt | 2 + .../02906_interval_comparison/explain.txt | 12 + .../02906_orc_tuple_field_prune/explain.txt | 1 + .../02907_filter_pushdown_crash/explain.txt | 2 + .../02907_fromDaysSinceYearZero/explain.txt | 1 + .../explain.txt | 6 + .../02908_alter_column_alias/metadata.json | 2 +- .../02908_empty_named_collection/explain.txt | 1 + .../explain.txt | 1 + .../02910_nullable_enum_cast/explain.txt | 13 + .../explain.txt | 2 + .../explain.txt | 2 + .../02910_rocksdb_optimize/explain.txt | 11 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../02911_row_policy_on_cluster/explain.txt | 1 + .../explain.txt | 2 + .../testdata/02911_system_symbols/explain.txt | 33 + .../02912_group_array_sample/explain.txt | 36 + .../explain.txt | 1 + .../testdata/02913_sum_map_state/explain.txt | 28 + .../02915_analyzer_fuzz_1/explain.txt | 1 + .../02915_analyzer_fuzz_2/explain.txt | 1 + .../02915_analyzer_fuzz_5/explain.txt | 1 + .../02915_analyzer_fuzz_6/explain.txt | 1 + .../explain.txt | 2 + .../02915_sleep_large_uint/explain.txt | 8 + .../02916_addcolumn_nested/explain.txt | 1 + .../02916_analyzer_set_in_join/explain.txt | 6 + .../explain.txt | 2 + .../explain.txt | 1 + .../02916_date_text_parsing/explain.txt | 14 + .../explain.txt | 2 + .../02916_glogal_in_cancel/explain.txt | 1 + .../explain.txt | 6 + .../testdata/02916_set_formatting/explain.txt | 7 + .../explain.txt | 1 + .../testdata/02917_transform_tsan/explain.txt | 16 + .../02918_alter_temporary_table/explain.txt | 2 + .../02918_analyzer_to_ast_crash/metadata.json | 2 +- .../02918_fuzzjson_table_function/explain.txt | 1 + .../02918_join_pm_lc_crash/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../02918_wrong_dictionary_source/explain.txt | 2 + .../explain.txt | 2 + .../02919_ddsketch_quantile/explain.txt | 5 + .../explain.txt | 2 + .../explain.txt | 2 + .../02919_storage_fuzzjson/explain.txt | 2 + .../explain.txt | 2 + .../02920_fix_json_merge_patch/explain.txt | 30 + .../explain.txt | 2 + .../explain.txt | 12 + .../explain.txt | 22 + .../explain.txt | 7 + .../explain.txt | 21 + .../explain.txt | 5 + .../explain.txt | 7 + .../metadata.json | 2 +- .../02922_respect_nulls_extensive/explain.txt | 18 + .../02922_respect_nulls_parser/explain.txt | 1 + .../02922_respect_nulls_states/explain.txt | 18 + .../explain.txt | 2 + .../02923_explain_expired_context/explain.txt | 55 ++ .../02923_join_use_nulls_modulo/metadata.json | 2 +- .../explain.txt | 2 + .../02931_max_num_to_warn/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 21 + .../explain.txt | 1 + .../02932_apply_deleted_mask/explain.txt | 2 + .../02932_group_by_null_fuzzer/explain.txt | 1 + parser/testdata/02932_idna/explain.txt | 5 + .../02932_lwd_and_mutations/explain.txt | 2 + .../explain.txt | 1 + .../02932_non_ready_set_stuck/explain.txt | 15 + .../explain.txt | 1 + parser/testdata/02932_punycode/explain.txt | 5 + .../explain.txt | 2 + .../explain.txt | 2 + .../testdata/02932_set_ttl_where/explain.txt | 2 + .../explain.txt | 8 + .../testdata/02933_ephemeral_mv/explain.txt | 2 + parser/testdata/02933_paste_join/explain.txt | 35 + parser/testdata/02933_sqid/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 10 + .../explain.txt | 1 + .../02935_ipv6_bit_operations/metadata.json | 2 +- .../explain.txt | 16 + .../02935_ipv6_from_uint128_one/explain.txt | 9 + .../02935_ipv6_from_uint128_two/explain.txt | 9 + .../explain.txt | 14 + .../explain.txt | 11 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../testdata/02942_variant_cast/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../testdata/02943_order_by_all/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../02943_variant_element/explain.txt | 1 + .../explain.txt | 1 + parser/testdata/02945_blake3_msan/explain.txt | 11 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../02947_dropped_tables_parts/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../02949_ttl_group_by_bug/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../metadata.json | 2 +- .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 1 + .../02953_slow_create_view/explain.txt | 2 + .../02954_analyzer_fuzz_i57086/metadata.json | 2 +- .../explain.txt | 2 + .../02955_sparkBar_alias_sparkbar/explain.txt | 1 + .../explain.txt | 13 + .../02956_format_constexpr/explain.txt | 10 + .../02956_rocksdb_with_ttl/explain.txt | 13 + .../testdata/02958_transform_enum/explain.txt | 18 + .../02959_system_database_engines/explain.txt | 16 + .../explain.txt | 2 + .../02960_partition_by_udf/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 1 + parser/testdata/02961_drop_tables/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../02961_sumMapFiltered_keepKey/explain.txt | 32 + .../explain.txt | 1 + .../02962_analyzer_constant_set/explain.txt | 2 + .../explain.txt | 14 + .../explain.txt | 2 + .../02962_join_using_bug_57894/explain.txt | 2 + .../02962_max_joined_block_rows/explain.txt | 2 + .../explain.txt | 2 + .../02963_invalid_identifier/explain.txt | 16 + .../explain.txt | 20 + .../02963_single_value_destructor/explain.txt | 21 + .../explain.txt | 2 + .../explain.txt | 2 + .../02966_float32_promotion/explain.txt | 2 + .../metadata.json | 2 +- .../02967_analyzer_fuzz/metadata.json | 2 +- .../testdata/02967_fuzz_bad_cast/explain.txt | 2 + .../02967_index_hint_crash/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../02968_full_sorting_join_fuzz/explain.txt | 1 + .../02968_projection_merge/explain.txt | 5 + .../02968_sumMap_with_nan/explain.txt | 14 + parser/testdata/02968_url_args/explain.txt | 21 + .../explain.txt | 1 + .../explain.txt | 2 + .../02969_mysql_cast_type_aliases/explain.txt | 1 + .../02970_generate_series/explain.txt | 13 + .../02970_visible_width_behavior/explain.txt | 7 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../02971_limit_by_distributed/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../02972_parallel_replicas_cte/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 9 + .../explain.txt | 2 + parser/testdata/02974_if_with_map/explain.txt | 31 + .../02975_intdiv_with_decimal/explain.txt | 8 + .../explain.txt | 6 + .../explain.txt | 1 + .../explain.txt | 1 + .../02981_nested_bad_types/explain.txt | 1 + .../02981_translate_fixedstring/explain.txt | 12 + .../02981_variant_type_function/explain.txt | 1 + .../explain.txt | 2 + parser/testdata/02982_changeDate/explain.txt | 5 + .../02982_create_mv_inner_extra/explain.txt | 2 + .../explain.txt | 7 + .../02982_minmax_nan_null_order/explain.txt | 24 + .../explain.txt | 2 + .../explain.txt | 5 + .../02983_const_sharding_key/explain.txt | 2 + parser/testdata/02983_empty_map/explain.txt | 2 + .../02983_empty_map_hasToken/explain.txt | 2 + .../02984_topk_empty_merge/explain.txt | 28 + .../explain.txt | 1 + .../02985_if_over_big_int_decimal/explain.txt | 23 + .../explain.txt | 2 + .../02985_shard_query_start_time/explain.txt | 2 + .../02986_leftpad_fixedstring/explain.txt | 18 + .../02987_group_array_intersect/explain.txt | 1 + .../explain.txt | 11 + .../explain.txt | 2 + .../explain.txt | 2 + .../testdata/02989_group_by_tuple/explain.txt | 22 + .../02989_join_using_parent_scope/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../02989_variant_comparison/explain.txt | 1 + .../02990_arrayFold_nullable_lc/explain.txt | 1 + .../02990_format_not_precedence/explain.txt | 12 + .../explain.txt | 2 + .../explain.txt | 2 + .../02990_rmt_replica_path_uuid/explain.txt | 1 + .../02990_variant_where_cond/explain.txt | 1 + .../02991_count_rewrite_analyzer/explain.txt | 1 + .../explain.txt | 1 + .../02992_analyzer_group_by_const/explain.txt | 1 + .../02992_settings_overflow/explain.txt | 2 + .../02993_lazy_index_loading/explain.txt | 2 + .../02993_values_escape_quote/explain.txt | 6 + .../02994_cosineDistanceNullable/explain.txt | 13 + .../02994_inconsistent_formatting/explain.txt | 6 + .../02994_sanity_check_settings/explain.txt | 1 + .../explain.txt | 20 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../02996_nullable_arrayReduce/explain.txt | 11 + .../explain.txt | 2 + .../02997_projections_formatting/explain.txt | 20 + .../explain.txt | 2 + .../explain.txt | 1 + .../metadata.json | 2 +- .../testdata/02998_ipv6_hashing/explain.txt | 20 + .../02998_operator_respect_nulls/explain.txt | 9 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../02998_system_dns_cache_table/explain.txt | 12 + .../02998_to_milliseconds/explain.txt | 7 + .../02999_analyzer_preimage_null/explain.txt | 1 + .../02999_scalar_subqueries_bug_1/explain.txt | 2 + .../02999_scalar_subqueries_bug_2/explain.txt | 2 + .../02999_ulid_short_circuit/explain.txt | 1 + .../explain.txt | 1 + .../03000_minmax_index_first/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 1 + .../metadata.json | 2 +- .../03001_block_offset_column_2/explain.txt | 2 + .../03001_consider_lwd_when_merge/explain.txt | 2 + .../03001_data_version_column/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../03002_analyzer_prewhere/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 13 + .../explain.txt | 19 + .../03002_modify_query_cte/explain.txt | 14 + .../03002_sample_factor_where/explain.txt | 2 + .../03003_analyzer_setting/explain.txt | 12 + .../03003_arrayEnumerate_crash/explain.txt | 18 + .../explain.txt | 1 + .../03003_count_asterisk_filter/explain.txt | 14 + .../explain.txt | 18 + .../explain.txt | 2 + .../03003_sql_json_nonsense/explain.txt | 13 + .../03004_force_null_for_omitted/explain.txt | 1 + .../explain.txt | 1 + .../03005_input_function_in_join/explain.txt | 2 + .../metadata.json | 2 +- .../03006_buffer_overflow_join/explain.txt | 13 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 23 + .../explain.txt | 5 + .../explain.txt | 2 + .../explain.txt | 2 + .../03008_deduplication_wrong_mv/explain.txt | 2 + .../explain.txt | 9 + .../metadata.json | 2 +- parser/testdata/03008_index_small/explain.txt | 2 + .../03008_optimize_equal_ranges/explain.txt | 2 + .../03008_uniq_exact_equal_ranges/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 13 + .../explain.txt | 2 + .../explain.txt | 1 + .../03010_view_prewhere_in/explain.txt | 2 + .../explain.txt | 16 + .../explain.txt | 14 + .../explain.txt | 1 + .../explain.txt | 2 + .../03013_addDays_with_timezone/explain.txt | 13 + .../explain.txt | 5 + .../explain.txt | 1 + .../explain.txt | 8 + .../explain.txt | 8 + .../explain.txt | 18 + .../explain.txt | 1 + .../explain.txt | 9 + .../metadata.json | 2 +- .../explain.txt | 6 + .../explain.txt | 1 + .../03014_msan_parse_date_time/explain.txt | 11 + .../explain.txt | 9 + .../explain.txt | 29 + parser/testdata/03015_peder1001/explain.txt | 2 + .../explain.txt | 34 + .../metadata.json | 2 +- .../explain.txt | 23 + .../explain.txt | 5 + .../03018_analyzer_greater_null/metadata.json | 2 +- .../testdata/03019_numbers_pretty/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../03022_highlight_digit_groups/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 5 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 13 + .../explain.txt | 5 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 15 + .../explain.txt | 2 + .../explain.txt | 14 + .../testdata/03032_numbers_zeros/explain.txt | 5 + .../03032_redundant_equals/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 31 + .../explain.txt | 1 + .../03032_string_to_variant_cast/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 10 + .../explain.txt | 2 + .../03033_cte_numbers_memory/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 78 +++ .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 9 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 15 + .../03033_recursive_cte_basic/explain.txt | 1 + .../explain.txt | 2 + .../testdata/03033_set_index_in/explain.txt | 1 + .../explain.txt | 9 + .../03033_virtual_column_override/explain.txt | 2 + .../03033_with_fill_interpolate/explain.txt | 1 + .../explain.txt | 1 + .../03034_dynamic_conversions/explain.txt | 1 + .../03034_json_extract_variant/explain.txt | 12 + .../testdata/03034_normalized_ast/explain.txt | 1 + .../03034_recursive_cte_tree/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../03035_dynamic_sorting/explain.txt | 1 + .../explain.txt | 7 + .../explain.txt | 2 + .../03035_morton_encode_no_rows/explain.txt | 11 + .../metadata.json | 2 +- parser/testdata/03036_clamp/explain.txt | 9 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../03036_reading_s3_archives/explain.txt | 26 + .../explain.txt | 5 + .../metadata.json | 2 +- .../explain.txt | 20 + .../testdata/03036_with_numbers/explain.txt | 1 + .../03037_dot_product_overflow/explain.txt | 14 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../testdata/03037_precent_rank/explain.txt | 2 + .../metadata.json | 2 +- .../explain.txt | 20 + parser/testdata/03037_union_view/explain.txt | 1 + .../explain.txt | 14 + .../03038_ambiguous_column/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../metadata.json | 2 +- .../metadata.json | 2 +- .../explain.txt | 1 + .../03040_alias_column_join/explain.txt | 1 + .../03040_array_sum_and_join/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../metadata.json | 2 +- .../03041_analyzer_gigachad_join/explain.txt | 1 + .../metadata.json | 2 +- .../explain.txt | 1 + .../03042_analyzer_alias_join/explain.txt | 1 + .../03042_not_found_column_c1/explain.txt | 1 + .../explain.txt | 1 + .../03044_analyzer_alias_join/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../03047_analyzer_alias_join/explain.txt | 1 + .../explain.txt | 1 + .../03047_on_fly_mutations_events/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../03047_on_fly_update_delete/explain.txt | 2 + .../explain.txt | 1 + .../03049_analyzer_group_by_alias/explain.txt | 1 + .../explain.txt | 1 + .../03050_select_one_one_one/explain.txt | 1 + parser/testdata/03051_many_ctes/explain.txt | 1 + .../explain.txt | 1 + .../03053_analyzer_join_alias/explain.txt | 1 + .../03054_analyzer_join_alias/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../03071_fix_short_circuit_logic/explain.txt | 13 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../03075_analyzer_subquery_alias/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../03081_analyzer_agg_func_CTE/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../03093_analyzer_column_alias/explain.txt | 1 + .../03093_analyzer_miel_test/explain.txt | 2 + .../metadata.json | 2 +- .../testdata/03093_bug_gcd_codec/explain.txt | 10 + .../explain.txt | 1 + .../03093_special_column_errors/explain.txt | 17 + .../explain.txt | 15 + .../explain.txt | 22 + .../03094_analyzer_fiddle_multiif/explain.txt | 2 + .../03094_grouparraysorted_memory/explain.txt | 2 + .../03094_named_tuple_bug24607/metadata.json | 2 +- .../03094_one_thousand_joins/explain.txt | 1 + .../03094_transform_return_first/explain.txt | 9 + .../explain.txt | 1 + .../explain.txt | 18 + .../explain.txt | 2 + .../03095_merge_and_buffer_tables/explain.txt | 2 + .../03095_msan_uuid_string_to_num/explain.txt | 8 + .../explain.txt | 1 + .../explain.txt | 10 + .../03096_order_by_system_tables/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../03099_analyzer_multi_join/explain.txt | 1 + .../explain.txt | 1 + .../testdata/03100_lwu_01_basics/explain.txt | 1 + .../testdata/03100_lwu_02_basics/explain.txt | 1 + parser/testdata/03100_lwu_03_join/explain.txt | 1 + .../03100_lwu_04_prewhere/explain.txt | 2 + .../testdata/03100_lwu_05_basics/explain.txt | 2 + .../03100_lwu_06_apply_patches/explain.txt | 1 + .../03100_lwu_07_merge_patches/explain.txt | 2 + .../03100_lwu_08_multiple_blocks/explain.txt | 2 + .../explain.txt | 1 + .../03100_lwu_10_apply_on_merges/explain.txt | 2 + .../explain.txt | 2 + .../03100_lwu_18_sequence/explain.txt | 2 + .../03100_lwu_19_nullable/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../03100_lwu_23_apply_patches/explain.txt | 2 + .../03100_lwu_26_subcolumns/explain.txt | 2 + .../explain.txt | 2 + .../03100_lwu_30_join_cache/explain.txt | 2 + .../explain.txt | 1 + .../03100_lwu_32_on_fly_filter/explain.txt | 1 + .../03100_lwu_33_add_column/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../03100_lwu_38_replacing/explain.txt | 2 + .../explain.txt | 2 + .../03100_lwu_41_bytes_limits/explain.txt | 2 + .../explain.txt | 2 + .../03100_lwu_44_missing_default/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../testdata/03100_lwu_deletes_1/explain.txt | 2 + .../testdata/03100_lwu_deletes_2/explain.txt | 2 + .../testdata/03100_lwu_deletes_3/explain.txt | 2 + .../03100_lwu_deletes_4_index/explain.txt | 2 + .../explain.txt | 2 + .../03101_analyzer_identifiers_1/explain.txt | 1 + .../03101_analyzer_identifiers_2/explain.txt | 1 + .../03101_analyzer_identifiers_3/explain.txt | 1 + .../03101_analyzer_identifiers_4/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../03103_positional_arguments/explain.txt | 1 + .../03104_create_view_join/explain.txt | 2 + .../03105_table_aliases_in_mv/explain.txt | 2 + .../explain.txt | 2 + .../03108_describe_union_all/explain.txt | 1 + parser/testdata/03109_ast_too_big/explain.txt | 1 + .../testdata/03110_unicode_alias/explain.txt | 1 + .../03111_inner_join_group_by/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../03114_analyzer_cte_with_join/explain.txt | 1 + .../03115_alias_exists_column/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../03120_analyzer_dist_join/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../03123_analyzer_dist_join_CTE/explain.txt | 1 + .../explain.txt | 1 + .../03125_analyzer_CTE_two_joins/explain.txt | 1 + .../explain.txt | 1 + .../03127_argMin_combinator_state/explain.txt | 16 + .../explain.txt | 2 + .../03127_window_functions_uint16/explain.txt | 14 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../testdata/03129_cte_with_final/explain.txt | 2 + .../explain.txt | 2 + .../03129_serial_test_zookeeper/explain.txt | 11 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../03130_generateSnowflakeId/explain.txt | 5 + .../03131_deprecated_functions/explain.txt | 15 + .../testdata/03131_hilbert_coding/explain.txt | 5 + .../03131_rewrite_sum_if_nullable/explain.txt | 15 + .../explain.txt | 1 + .../explain.txt | 1 + .../03132_sqlancer_union_all/explain.txt | 1 + .../03141_fetches_errors_stress/explain.txt | 15 + .../03141_wildcard_grants/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 11 + .../testdata/03142_untuple_crash/explain.txt | 1 + .../explain.txt | 1 + .../03143_asof_join_ddb_long/explain.txt | 2 + parser/testdata/03143_cte_scope/explain.txt | 1 + .../explain.txt | 6 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../03144_alter_column_and_read/explain.txt | 2 + .../03144_asof_join_ddb_doubles/explain.txt | 1 + .../03144_fuzz_quoted_type_name/explain.txt | 1 + .../testdata/03144_invalid_filter/explain.txt | 1 + .../explain.txt | 2 + .../testdata/03145_unicode_quotes/explain.txt | 5 + parser/testdata/03146_bug47862/explain.txt | 7 + .../explain.txt | 2 + .../explain.txt | 2 + .../03146_tpc_ds_grouping/explain.txt | 1 + .../03147_asof_join_ddb_missing/explain.txt | 1 + .../explain.txt | 2 + .../03147_parquet_memory_tracking/explain.txt | 17 + .../03147_rows_before_limit_fix/explain.txt | 1 + .../03147_table_function_loop/explain.txt | 14 + .../explain.txt | 2 + .../03148_asof_join_ddb_subquery/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 14 + .../explain.txt | 2 + .../03149_variant_pop_back_typo/explain.txt | 24 + .../03150_dynamic_type_mv_insert/explain.txt | 1 + .../explain.txt | 2 + .../03150_infer_type_variant/explain.txt | 1 + .../03150_trace_log_add_build_id/explain.txt | 1 + .../explain.txt | 14 + .../explain.txt | 2 + .../explain.txt | 1 + .../03151_external_cross_join/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../03152_analyzer_columns_list/explain.txt | 2 + .../03152_dynamic_type_simple/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 10 + .../03153_dynamic_type_empty/explain.txt | 1 + .../explain.txt | 10 + .../explain.txt | 1 + .../03155_analyzer_interpolate/explain.txt | 1 + .../03155_datasketches_ubsan/explain.txt | 31 + .../explain.txt | 1 + .../03155_in_nested_subselects/explain.txt | 1 + .../explain.txt | 14 + .../testdata/03156_group_concat/explain.txt | 2 + .../03156_nullable_number_tips/explain.txt | 1 + .../explain.txt | 2 + .../03157_dynamic_type_json/explain.txt | 1 + .../explain.txt | 8 + .../explain.txt | 1 + .../03159_dynamic_type_all_types/explain.txt | 1 + .../03160_dynamic_type_agg/explain.txt | 1 + .../testdata/03161_cnf_reduction/explain.txt | 2 + .../03161_create_table_as_mv/explain.txt | 2 + .../03161_decimal_binary_math/explain.txt | 19 + .../03161_ipv4_ipv6_equality/explain.txt | 12 + .../explain.txt | 1 + .../03162_dynamic_type_nested/explain.txt | 1 + .../03163_dynamic_as_supertype/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 27 + .../explain.txt | 2 + .../03164_create_as_default/explain.txt | 2 + .../explain.txt | 2 + .../03164_linestring_geometry/explain.txt | 7 + .../03164_materialize_skip_index/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../testdata/03164_orc_signedness/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../03165_order_by_duplicate/explain.txt | 2 + .../03165_parseReadableSize/explain.txt | 9 + .../03165_round_scale_as_column/explain.txt | 27 + .../explain.txt | 2 + .../explain.txt | 5 + .../explain.txt | 8 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../03167_base64_url_functions/explain.txt | 7 + .../03167_empty_tuple_concat/explain.txt | 10 + .../03167_fancy_quotes_off_by_one/explain.txt | 5 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + parser/testdata/03168_cld2_tsan/explain.txt | 9 + .../metadata.json | 2 +- .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 23 + .../03169_modify_column_data_loss/explain.txt | 2 + .../explain.txt | 7 + .../explain.txt | 2 + .../03171_condition_pushdown/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 14 + .../explain.txt | 1 + .../03172_bcrypt_validation/explain.txt | 1 + .../03172_format_settings_clauses/explain.txt | 1 + .../explain.txt | 5 + .../explain.txt | 2 + .../explain.txt | 49 ++ .../testdata/03173_forbid_qualify/explain.txt | 2 + .../explain.txt | 5 + .../explain.txt | 1 + .../explain.txt | 5 + .../testdata/03174_merge_join_bug/explain.txt | 1 + .../explain.txt | 9 + .../03174_projection_deduplicate/explain.txt | 2 + .../explain.txt | 17 + .../03175_sparse_and_skip_index/explain.txt | 2 + .../explain.txt | 13 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 9 + .../explain.txt | 2 + .../explain.txt | 5 + .../metadata.json | 2 +- .../03198_dynamic_read_subcolumns/explain.txt | 1 + .../03198_group_array_intersect/explain.txt | 2 + .../03198_h3_polygon_to_cells/explain.txt | 24 + .../03198_json_extract_more_types/explain.txt | 1 + .../explain.txt | 12 + .../03199_fix_auc_tie_handling/explain.txt | 2 + .../03199_has_lc_fixed_string/explain.txt | 2 + .../explain.txt | 1 + .../03199_json_extract_dynamic/explain.txt | 1 + .../03199_merge_filters_bug/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 18 + .../explain.txt | 1 + .../testdata/03202_enum_json_cast/explain.txt | 2 + .../03202_system_load_primary_key/explain.txt | 2 + .../explain.txt | 12 + .../explain.txt | 2 + .../03203_fill_missed_subcolumns/explain.txt | 2 + .../03203_function_printf/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 1 + .../metadata.json | 2 +- .../explain.txt | 5 + .../explain.txt | 1 + .../explain.txt | 2 + .../03204_index_hint_fuzzer/explain.txt | 12 + .../03204_storage_join_optimize/explain.txt | 14 + .../03205_column_type_check/explain.txt | 40 ++ .../03205_hashing_empty_tuples/explain.txt | 8 + .../03205_json_cast_from_string/explain.txt | 1 + parser/testdata/03205_json_syntax/explain.txt | 1 + parser/testdata/03205_overlay/explain.txt | 5 + .../explain.txt | 1 + .../explain.txt | 11 + .../explain.txt | 7 + .../explain.txt | 9 + .../explain.txt | 2 + .../explain.txt | 2 + .../03206_replication_lag_metric/explain.txt | 8 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../metadata.json | 2 +- .../explain.txt | 12 + .../explain.txt | 2 + .../explain.txt | 20 + .../03208_uniq_with_empty_tuple/explain.txt | 8 + .../explain.txt | 59 ++ .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../03210_dynamic_squashing/explain.txt | 1 + .../03210_empty_tuple_lhs_of_in/explain.txt | 13 + .../metadata.json | 2 +- .../03210_lag_lead_inframe_types/explain.txt | 20 + .../explain.txt | 26 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../03213_array_element_msan/explain.txt | 21 + parser/testdata/03213_deep_json/explain.txt | 18 + .../explain.txt | 5 + .../03213_distributed_analyzer/explain.txt | 1 + parser/testdata/03213_rand_dos/explain.txt | 8 + .../explain.txt | 7 + .../explain.txt | 2 + .../explain.txt | 2 + .../03214_json_typed_dynamic_path/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 9 + .../03215_fix_get_index_in_tuple/explain.txt | 2 + .../03215_key_condition_bug/explain.txt | 9 + .../explain.txt | 7 + .../testdata/03215_parquet_index/explain.txt | 2 + .../03215_parsing_archive_name_s3/explain.txt | 1 + .../03215_partition_in_tuple/explain.txt | 12 + .../explain.txt | 10 + .../testdata/03215_udf_with_union/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../03215_view_with_recursive/explain.txt | 1 + .../explain.txt | 9 + .../explain.txt | 1 + .../explain.txt | 6 + .../explain.txt | 20 + .../03217_fliter_pushdown_no_keys/explain.txt | 23 + .../explain.txt | 11 + .../explain.txt | 2 + .../03218_materialize_msan/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../03221_key_condition_bug/explain.txt | 2 + .../03221_merge_profile_events/explain.txt | 2 + .../metadata.json | 2 +- .../03221_variant_logical_error/explain.txt | 1 + .../03222_create_timeseries_table/explain.txt | 1 + .../03222_date_time_inference/explain.txt | 1 + .../explain.txt | 1 + .../metadata.json | 2 +- .../03222_json_empty_as_default/explain.txt | 1 + .../testdata/03222_json_squashing/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../03223_analyzer_with_cube_fuzz/explain.txt | 1 + .../explain.txt | 5 + .../explain.txt | 1 + .../explain.txt | 2 + parser/testdata/03224_arrayUnion/explain.txt | 2 + .../testdata/03224_invalid_alter/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../03224_trim_empty_string/explain.txt | 5 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../03227_implicit_select/explain.txt | 1 + .../03227_json_invalid_regexp/explain.txt | 1 + .../explain.txt | 8 + .../testdata/03227_test_sample_n/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 7 + .../explain.txt | 1 + .../explain.txt | 1 + .../03229_async_insert_alter/explain.txt | 1 + .../03229_empty_tuple_in_array/explain.txt | 11 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../testdata/03230_anyHeavy_merge/explain.txt | 2 + .../03230_array_zip_unaligned/explain.txt | 11 + .../explain.txt | 12 + .../explain.txt | 2 + .../testdata/03230_subcolumns_mv/explain.txt | 2 + .../03230_system_projections/explain.txt | 2 + .../explain.txt | 2 + .../03231_create_with_clone_as/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../03231_dynamic_uniq_group_by/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../03231_pr_reverse_in_order/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../03232_json_uniq_group_by/explain.txt | 1 + .../03232_pr_not_ready_set/explain.txt | 1 + .../explain.txt | 2 + .../03232_workloads_and_resources/explain.txt | 2 + .../03233_dynamic_in_functions/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 75 +++ .../03234_get_setting_or_default/explain.txt | 1 + .../explain.txt | 12 + .../03236_create_query_ttl_where/explain.txt | 2 + .../explain.txt | 2 + .../03236_squashing_high_memory/explain.txt | 1 + .../03236_test_zero_field_decimal/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 15 + .../explain.txt | 14 + .../explain.txt | 5 + .../03239_if_constant_folding/explain.txt | 1 + .../testdata/03239_nan_with_fill/explain.txt | 8 + .../03240_array_element_or_null/explain.txt | 2 + .../explain.txt | 5 + .../03240_cte_in_subquery/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../03241_orc_dictionary_encode/explain.txt | 1 + .../03241_view_block_structure/explain.txt | 2 + .../03242_view_block_structure/explain.txt | 2 + .../03243_array_join_lambda/explain.txt | 33 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../03243_lower_utf8_msan/explain.txt | 13 + .../explain.txt | 15 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + parser/testdata/03245_ripemd160/explain.txt | 9 + .../explain.txt | 33 + .../explain.txt | 1 + .../03246_join_on_asterisk/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 17 + .../explain.txt | 9 + .../explain.txt | 16 + .../03247_object_column_copy/explain.txt | 1 + .../explain.txt | 2 + .../testdata/03248_invalid_where/explain.txt | 24 + .../03248_max_parts_to_move/explain.txt | 2 + .../03248_with_fill_string_crash/explain.txt | 14 + parser/testdata/03248_with_insert/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../03250_ephemeral_comment/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 28 + .../explain.txt | 1 + .../03252_fill_missed_arrays/explain.txt | 2 + .../explain.txt | 1 + .../03253_getMaxTableNameLength/explain.txt | 7 + .../explain.txt | 78 +++ .../03254_attach_part_order/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../03254_merge_source_parts/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../03254_pr_join_on_dups/explain.txt | 2 + .../explain.txt | 2 + .../03254_prewarm_mark_cache_rmt/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../03254_timeseries_functions/explain.txt | 15 + .../explain.txt | 18 + .../03254_timeseries_group_array/explain.txt | 15 + .../explain.txt | 1 + .../03254_timeseries_range/explain.txt | 15 + .../explain.txt | 15 + .../explain.txt | 15 + .../explain.txt | 41 ++ .../metadata.json | 2 +- .../explain.txt | 2 + .../03256_invalid_mutation_query/explain.txt | 2 + .../03257_json_escape_file_names/explain.txt | 1 + .../03257_reverse_sorting_key/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../metadata.json | 2 +- .../testdata/03257_setting_tiers/explain.txt | 17 + .../explain.txt | 1 + .../03258_multiple_array_joins/explain.txt | 1 + .../metadata.json | 2 +- .../explain.txt | 24 + .../03259_grouping_sets_aliases/explain.txt | 2 + .../explain.txt | 2 + .../03259_negate_key_overflow/explain.txt | 9 + .../03259_orc_date_out_of_range/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 5 + .../03261_delayed_streams_memory/explain.txt | 2 + .../03261_json_hints_types_check/explain.txt | 9 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../03261_mongodb_argumetns_crash/explain.txt | 17 + .../explain.txt | 2 + .../03261_pr_semi_anti_join/explain.txt | 2 + .../03261_sort_cursor_crash/explain.txt | 2 + .../03261_tuple_map_to_json_cast/explain.txt | 1 + .../03261_variant_permutation_bug/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../03262_filter_push_down_view/explain.txt | 2 + .../explain.txt | 14 + .../explain.txt | 1 + .../explain.txt | 10 + .../explain.txt | 1 + .../explain.txt | 2 + .../03266_with_fill_staleness/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../testdata/03267_join_swap_bug/explain.txt | 2 + .../metadata.json | 2 +- .../03268_empty_tuple_update/explain.txt | 2 + .../03268_nested_analyzer/explain.txt | 1 + .../explain.txt | 2 + .../03268_vertical_pretty_numbers/explain.txt | 1 + parser/testdata/03269_bf16/metadata.json | 2 +- .../explain.txt | 2 + .../explain.txt | 10 + .../explain.txt | 2 + .../explain.txt | 27 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 17 + .../explain.txt | 1 + .../03271_sqllancer_having_issue/explain.txt | 9 + parser/testdata/03272_arrayAUCPR/explain.txt | 11 + .../03272_bad_aggregate_function/explain.txt | 9 + .../explain.txt | 10 + .../03272_json_to_json_cast_1/explain.txt | 1 + .../03272_json_to_json_cast_2/explain.txt | 1 + .../03272_json_to_json_cast_3/explain.txt | 1 + .../03272_json_to_json_cast_4/explain.txt | 1 + .../03272_json_to_json_cast_5/explain.txt | 1 + .../03272_json_to_json_cast_6/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../03273_primary_index_cache/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 33 + .../testdata/03274_aliases_in_udf/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../03274_join_algorithm_default/explain.txt | 1 + .../03274_json_pretty_output/explain.txt | 1 + .../explain.txt | 1 + .../testdata/03274_philipzucker/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../metadata.json | 2 +- .../explain.txt | 1 + .../03275_block_number_mutation/explain.txt | 2 + .../03275_block_number_update/explain.txt | 2 + .../explain.txt | 7 + .../metadata.json | 2 +- .../03275_matview_with_union/explain.txt | 2 + parser/testdata/03275_pr_any_join/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../03276_empty_variant_type/explain.txt | 1 + .../explain.txt | 2 + .../03276_index_empty_part/explain.txt | 2 + .../03276_index_of_assume_sorted/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 24 + .../03277_analyzer_array_join_fix/explain.txt | 2 + .../explain.txt | 5 + .../03277_join_adaptive_spill/explain.txt | 10 + .../03277_join_adaptive_spill_oom/explain.txt | 10 + .../03277_logging_elapsed_ns/explain.txt | 6 + .../explain.txt | 2 + .../explain.txt | 21 + .../03278_enum_in_unknown_value/explain.txt | 2 + .../03278_enum_string_functions/explain.txt | 2 + .../03279_array_normalized_gini/explain.txt | 8 + .../explain.txt | 2 + .../03279_join_choose_build_table/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../testdata/03279_not_empty_json/explain.txt | 1 + .../explain.txt | 1 + .../03280_dynamic_if_null/explain.txt | 1 + .../03281_dynamic_coalesce/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../03282_json_equal_comparison/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../metadata.json | 2 +- .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 14 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 14 + .../03286_backup_to_memory/explain.txt | 2 + .../testdata/03286_backup_to_null/explain.txt | 2 + .../explain.txt | 5 + .../explain.txt | 12 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 5 + .../explain.txt | 1 + .../explain.txt | 5 + .../explain.txt | 2 + .../metadata.json | 2 +- .../03290_final_collapsing/explain.txt | 2 + .../03290_final_replacing/explain.txt | 2 + .../testdata/03290_final_sample/explain.txt | 2 + .../03290_force_normal_projection/explain.txt | 2 + .../metadata.json | 2 +- .../testdata/03290_limit_by_segv/explain.txt | 22 + .../explain.txt | 1 + .../metadata.json | 2 +- .../explain.txt | 2 + .../03291_collapsing_invalid_sign/explain.txt | 1 + .../explain.txt | 1 + .../03291_low_cardinality_uuid/explain.txt | 8 + .../03292_format_tty_friendly/metadata.json | 2 +- .../explain.txt | 1 + .../explain.txt | 9 + .../testdata/03296_bfloat16_ubsan/explain.txt | 1 + .../03297_cut_column_name/explain.txt | 1 + .../explain.txt | 12 + .../explain.txt | 2 + .../explain.txt | 9 + .../03298_vertical_columns/explain.txt | 1 + .../explain.txt | 2 + .../03299_map_named_tuple/explain.txt | 32 + .../testdata/03299_pretty_squash/explain.txt | 13 + .../explain.txt | 12 + .../03300_nested_json_empty_keys/explain.txt | 11 + .../03300_pretty_vertical_cut/explain.txt | 1 + .../testdata/03301_is_ipv4_string/explain.txt | 7 + .../03301_subcolumns_in_mv/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 10 + .../03302_any_enum_aggregation/explain.txt | 2 + .../explain.txt | 1 + .../03303_alias_inverse_order/explain.txt | 2 + .../03303_distributed_explain/explain.txt | 1 + .../03303_dynamic_in_not_xor/explain.txt | 1 + .../03303_pretty_multiline/explain.txt | 1 + .../03304_compare_substrings/explain.txt | 7 + .../03304_fill_virtual_columns/explain.txt | 2 + .../explain.txt | 7 + .../explain.txt | 2 + .../explain.txt | 3 + .../03305_log_unsupported_types/explain.txt | 1 + .../explain.txt | 14 + .../testdata/03305_parallel_with/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 9 + .../explain.txt | 9 + .../explain.txt | 2 + .../explain.txt | 2 + .../metadata.json | 2 +- .../explain.txt | 1 + .../explain.txt | 1 + .../testdata/03311_constantnode/explain.txt | 14 + parser/testdata/03311_issue_72265/explain.txt | 1 + .../explain.txt | 2 + .../metadata.json | 2 +- .../explain.txt | 1 + .../explain.txt | 6 + .../03312_explain_syntax_analyzer/explain.txt | 1 + parser/testdata/03312_issue_74299/explain.txt | 2 + .../03312_json_literal_remote/explain.txt | 1 + .../testdata/03312_line_numbers/explain.txt | 5 + .../03312_sparse_column_tuple/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../03313_h3togeo_result_order/explain.txt | 8 + .../metadata.json | 2 +- .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../metadata.json | 2 +- .../explain.txt | 2 + .../explain.txt | 2 + .../03314_grace_hash_join_buckets/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../03314_variant_rowbinary_file/explain.txt | 1 + .../explain.txt | 1 + .../03315_array_join_scalar/metadata.json | 2 +- .../explain.txt | 1 + .../explain.txt | 2 + .../03315_quantile_bfloat16_ubsan/explain.txt | 10 + .../testdata/03315_trim_two_args/explain.txt | 5 + .../explain.txt | 1 + .../03317_index_hint_prewhere/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 45 ++ .../explain.txt | 2 + .../metadata.json | 2 +- .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../03322_bugfix_of_with_insert/explain.txt | 1 + .../explain.txt | 24 + .../explain.txt | 2 + .../explain.txt | 2 + .../metadata.json | 2 +- .../explain.txt | 20 + .../explain.txt | 12 + .../metadata.json | 2 +- .../explain.txt | 2 + .../03325_alter_ast_format/explain.txt | 33 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 10 + .../03327_alias_column_constant/explain.txt | 2 + .../03327_hypothesis_index_sanity/explain.txt | 17 + .../explain.txt | 7 + .../03328_normalized_query_hash/metadata.json | 2 +- .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 19 + .../03340_projections_formatting/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../03350_json_parsing_quickly/metadata.json | 2 +- .../explain.txt | 6 + .../03352_allow_suspicious_ttl/explain.txt | 1 + .../03352_distinct_sorted_bug/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../testdata/03354_translate_crap/explain.txt | 15 + .../03355_array_join_subcolumns/explain.txt | 1 + parser/testdata/03355_issue_31183/explain.txt | 18 + parser/testdata/03355_issue_32743/explain.txt | 12 + .../03355_join_to_in_optimization/explain.txt | 1 + .../03355_mergetree_table_disk/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 10 + .../03357_analyzer_insert_view/explain.txt | 1 + .../explain.txt | 5 + .../explain.txt | 24 + .../explain.txt | 1 + .../03357_jit_strikes_again/explain.txt | 1 + .../03357_join_pk_sharding/explain.txt | 1 + .../explain.txt | 1 + .../03357_storage_join_mv_context/explain.txt | 20 + .../explain.txt | 1 + .../03358_block_structure_match/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../03359_point_in_polygon_index/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + parser/testdata/03360_bool_remote/explain.txt | 13 + .../metadata.json | 2 +- .../explain.txt | 13 + .../explain.txt | 17 + .../explain.txt | 16 + .../03362_join_on_filterpushdown/explain.txt | 1 + .../03362_join_where_false_76670/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../03363_constant_nullable_key/explain.txt | 2 + .../explain.txt | 2 + .../03363_function_keccak256/explain.txt | 9 + .../03363_hive_style_partition/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../03364_pretty_json_bool/explain.txt | 8 + .../testdata/03364_qbit_negative/explain.txt | 1 + .../explain.txt | 11 + .../explain.txt | 2 + .../explain.txt | 1 + parser/testdata/03365_bind_host/explain.txt | 2 + .../explain.txt | 1 + .../03365_dynamic_column_datetime/explain.txt | 1 + .../03365_finish_sorting_crash/metadata.json | 2 +- .../testdata/03365_if_time_time64/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../testdata/03365_time64_casts/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../testdata/03365_time_in_json/explain.txt | 1 + .../03365_time_parsing_msan_issue/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../03365_time_time64_comparison/explain.txt | 1 + .../03365_time_time64_conversions/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../03365_time_time64_operations/explain.txt | 1 + .../03365_time_time64_parsing/explain.txt | 1 + .../03365_time_time64_supertype/explain.txt | 1 + .../explain.txt | 1 + .../03365_time_timezone_issue/explain.txt | 1 + .../03365_time_to_time64_conv_bug/explain.txt | 1 + .../03365_use_legacy_to_time/explain.txt | 1 + .../03365_variant_bool_parsing/explain.txt | 1 + .../03366_bfloat16_sorting/metadata.json | 2 +- .../03366_qbit_array_map_populate/explain.txt | 1 + .../testdata/03366_with_fill_dag/explain.txt | 5 + .../03367_bfloat16_tuple_final/explain.txt | 2 + .../03368_bfloat16_merge_join/explain.txt | 2 + .../03368_qbit_subcolumns/explain.txt | 1 + .../testdata/03369_bfloat16_map/explain.txt | 2 + .../explain.txt | 16 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 8 + .../explain.txt | 1 + .../03370_join_identifiers/explain.txt | 2 + .../explain.txt | 14 + .../explain.txt | 1 + .../03371_bfloat16_special_values/explain.txt | 20 + .../03371_constant_alias_columns/explain.txt | 1 + .../explain.txt | 2 + .../03372_get_subcolumn_null/explain.txt | 2 + .../03372_qbit_mergetree_1/explain.txt | 1 + .../03372_qbit_mergetree_2/explain.txt | 1 + .../testdata/03373_qbit_dynamic/explain.txt | 1 + .../explain.txt | 1 + .../03374_indexes_with_literals/explain.txt | 1 + .../explain.txt | 1 + .../testdata/03374_qbit_nullable/explain.txt | 1 + .../explain.txt | 18 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../testdata/03375_bool_partition/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../03376_iceberg_truncate/explain.txt | 8 + .../03376_json_comparison/explain.txt | 1 + .../explain.txt | 1 + .../03377_json_order_by_bug/explain.txt | 1 + .../03377_qbit_parameters/explain.txt | 1 + .../03380_input_async_insert/explain.txt | 16 + .../explain.txt | 1 + .../03381_remote_constants/explain.txt | 1 + .../explain.txt | 1 + .../03390_non_constant_case/explain.txt | 5 + .../explain.txt | 2 + .../explain.txt | 55 ++ .../explain.txt | 11 + .../explain.txt | 8 + .../testdata/03393_join_bug_77848/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 22 + .../explain.txt | 19 + .../explain.txt | 1 + .../explain.txt | 9 + .../03394_pr_insert_select/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 23 + .../explain.txt | 2 + .../explain.txt | 13 + .../explain.txt | 2 + .../explain.txt | 1 + .../03399_divide_zero_or_null/explain.txt | 5 + .../metadata.json | 2 +- .../03399_mapContains_functions/explain.txt | 2 + .../testdata/03399_sparse_grams/explain.txt | 5 + .../explain.txt | 1 + .../03400_distributed_final/explain.txt | 2 + .../03400_explain_distributed_bug/explain.txt | 1 + .../03400_get_server_setting/metadata.json | 2 +- .../metadata.json | 2 +- .../explain.txt | 2 + .../explain.txt | 2 + parser/testdata/03401_remote_bool/explain.txt | 1 + .../explain.txt | 19 + .../explain.txt | 2 + .../explain.txt | 15 + .../explain.txt | 1 + .../explain.txt | 2 + .../03402_join_using_alias/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 5 + .../explain.txt | 2 + .../explain.txt | 2 + .../03403_function_tokens/explain.txt | 5 + .../explain.txt | 1 + .../explain.txt | 1 + parser/testdata/03403_toInterval/explain.txt | 15 + .../explain.txt | 8 + .../03404_bfloat16_insert_values/explain.txt | 5 + .../03404_dynamic_in_interval_bug/explain.txt | 13 + .../03404_geotoh3_input_order/explain.txt | 10 + parser/testdata/03404_json_tables/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 5 + .../explain.txt | 8 + .../explain.txt | 2 + .../03405_json_parsing_error_bug/explain.txt | 10 + .../03405_merge_filter_into_join/explain.txt | 14 + .../explain.txt | 8 + .../03405_non_zero_batch_mode/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../metadata.json | 2 +- .../metadata.json | 2 +- .../explain.txt | 15 + .../metadata.json | 2 +- .../explain.txt | 1 + .../explain.txt | 10 + .../03408_cte_self_reference/explain.txt | 1 + .../explain.txt | 2 + .../03408_hash_functions_on_null/explain.txt | 7 + .../testdata/03408_implicit_table/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../03409_coalescing_merge_tree/explain.txt | 5 + .../explain.txt | 5 + .../explain.txt | 2 + .../03410_polygons_intersects/explain.txt | 31 + .../explain.txt | 1 + .../testdata/03411_iceberg_bucket/explain.txt | 5 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../03412_dynamic_in_arg_min_max/explain.txt | 2 + .../explain.txt | 2 + .../03412_merge_final_prewhere/explain.txt | 2 + .../explain.txt | 1 + .../testdata/03413_dynamic_in_in/explain.txt | 12 + .../explain.txt | 28 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 10 + .../explain.txt | 8 + parser/testdata/03416_glue_chunks/explain.txt | 1 + .../explain.txt | 2 + .../testdata/03440_no_glue_totals/explain.txt | 1 + .../explain.txt | 6 + .../explain.txt | 1 + .../03442_alter_delete_empty_part/explain.txt | 2 + .../explain.txt | 2 + .../testdata/03442_detach_view/metadata.json | 2 +- .../03442_json_duplicate_path/explain.txt | 9 + .../explain.txt | 2 + .../03442_string_bytes_functions/explain.txt | 7 + .../03443_alias_with_asterisk/explain.txt | 14 + .../explain.txt | 2 + .../03443_part_starting_offset/explain.txt | 2 + .../03443_pr_lazy_materialization/explain.txt | 2 + .../03443_projection_sparse/explain.txt | 2 + .../metadata.json | 2 +- .../explain.txt | 12 + .../03444_explain_asterisk/explain.txt | 5 + .../03444_flip_coordinates/explain.txt | 10 + .../03444_lm_block_mismatch/explain.txt | 2 + .../explain.txt | 1 + .../metadata.json | 2 +- .../03447_base32_encode_decode/explain.txt | 7 + .../03447_float_nan_order/explain.txt | 5 + .../explain.txt | 11 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 5 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../03448_in_select_tuple/explain.txt | 2 + .../testdata/03448_topk_merging/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../03449_join_using_allow_alias/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 5 + .../explain.txt | 4 + .../03453_group_by_all_grouping/explain.txt | 1 + .../explain.txt | 5 + .../explain.txt | 5 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../03457_bitmapContains_nullable/explain.txt | 34 + .../explain.txt | 13 + .../explain.txt | 1 + .../03457_merge_engine_subcolumns/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 5 + .../explain.txt | 5 + .../explain.txt | 5 + .../explain.txt | 5 + .../explain.txt | 5 + .../explain.txt | 5 + .../explain.txt | 5 + .../explain.txt | 5 + .../explain.txt | 5 + .../explain.txt | 5 + .../explain.txt | 5 + .../explain.txt | 5 + .../explain.txt | 5 + .../explain.txt | 5 + .../testdata/03458_wkb_function/explain.txt | 9 + .../explain.txt | 2 + .../03459_join_cannot_add_column/explain.txt | 1 + .../explain.txt | 5 + .../explain.txt | 16 + .../explain.txt | 1 + .../03460_normal_projection_index/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 5 + .../explain.txt | 2 + .../explain.txt | 1 + .../metadata.json | 2 +- .../03461_pk_prefix_trivial_count/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 13 + .../03512_bech32_functions/explain.txt | 10 + .../03512_cast_logical_error/explain.txt | 2 + .../metadata.json | 2 +- .../metadata.json | 2 +- .../03512_settings_max_block_size/explain.txt | 8 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../03513_nullsafe_join_storage/explain.txt | 2 + .../03513_read_in_order_nullable/explain.txt | 1 + .../metadata.json | 2 +- .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../03516_comparison_pk_bug/explain.txt | 17 + .../testdata/03516_int_exp2_join/explain.txt | 6 + .../explain.txt | 2 + .../explain.txt | 2 + parser/testdata/03518_bad_sql_udf/explain.txt | 9 + .../03518_left_to_cross_incorrect/explain.txt | 1 + .../explain.txt | 12 + .../03519_analyzer_tuple_cast/explain.txt | 1 + .../explain.txt | 42 ++ .../metadata.json | 2 +- .../03519_left_to_cross_incorrect/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../03519_multiple_join_using/explain.txt | 1 + .../03519_ttl_extended_data_types/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../03520_left_to_cross_incorrect/explain.txt | 1 + .../03520_pr_distinct_in_order/explain.txt | 2 + .../03520_pr_read_in_order/explain.txt | 2 + .../explain.txt | 33 + .../explain.txt | 2 + .../03521_long_statistics_name/explain.txt | 2 + .../testdata/03521_system_unicode/explain.txt | 14 + .../explain.txt | 13 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 10 + .../explain.txt | 1 + .../03522_join_using_bug_78907/explain.txt | 27 + .../03522_nullable_partition_key/explain.txt | 14 + .../03522_window_table_arg/explain.txt | 1 + .../03524_nullable_extremes/explain.txt | 5 + .../03524_sign_argument/metadata.json | 2 +- .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../03525_timezoneof_illegal_type/explain.txt | 8 + .../explain.txt | 1 + .../explain.txt | 2 + .../metadata.json | 2 +- .../explain.txt | 15 + .../explain.txt | 2 + .../03531_check_count_for_parquet/explain.txt | 12 + .../explain.txt | 2 + .../explain.txt | 1 + .../03532_divideOrNull_jit_crash/explain.txt | 19 + .../metadata.json | 2 +- .../explain.txt | 1 + .../03532_json_dynamic_updates/explain.txt | 1 + .../explain.txt | 2 + .../03532_redis_empty_variant_key/explain.txt | 17 + .../03532_use_database_syntax/explain.txt | 2 + .../explain.txt | 10 + .../explain.txt | 1 + .../03533_named_tuple_supertype/explain.txt | 1 + .../explain.txt | 1 + parser/testdata/03533_xirr/explain.txt | 24 + .../03534_npy_output_to_url/explain.txt | 2 + .../03534_skip_index_bug89691/explain.txt | 1 + .../testdata/03535_system_formats/explain.txt | 9 + parser/testdata/03537_kusto_ubsan/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../testdata/03538_array_except/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 16 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 18 + .../explain.txt | 1 + .../03541_rename_column_start/explain.txt | 8 + .../explain.txt | 10 + parser/testdata/03542_TTL_dict/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 1 + .../03546_leftover_dependencies/metadata.json | 2 +- .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../03546_part_granule_offset/explain.txt | 2 + .../explain.txt | 12 + .../explain.txt | 1 + .../explain.txt | 2 + .../03547_reinterpret_to_array/explain.txt | 5 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 17 + .../explain.txt | 1 + .../testdata/03549_conv_function/explain.txt | 9 + .../explain.txt | 2 + .../explain.txt | 13 + .../03549_window_collation/explain.txt | 1 + .../testdata/03549_wkb_function/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../03550_s3queue_no_settings/explain.txt | 13 + .../explain.txt | 1 + .../03550_variant_extend_union/explain.txt | 5 + .../03551_cast_decimal_to_float/explain.txt | 11 + .../explain.txt | 2 + .../explain.txt | 13 + .../explain.txt | 11 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../03559_explain_ast_in_subquery/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 12 + .../03561_colorSRGBToOKLCH/explain.txt | 5 + .../explain.txt | 5 + .../03561_two_mvs_bad_select/explain.txt | 6 + .../03562_colorOKLCHToSRGB/explain.txt | 5 + .../testdata/03562_geometry_type/explain.txt | 1 + .../03562_json_date_as_integer/explain.txt | 13 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../03565_iceberg_field_ids_table/explain.txt | 19 + .../03565_union_all_nullptr/explain.txt | 6 + .../explain.txt | 12 + .../explain.txt | 9 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 12 + .../explain.txt | 15 + .../explain.txt | 2 + .../explain.txt | 5 + .../testdata/03567_nowInBlock64/explain.txt | 1 + .../03568_ddsketch_merge/metadata.json | 2 +- .../explain.txt | 5 + .../explain.txt | 2 + .../03568_udf_memory_tracking/explain.txt | 1 + .../explain.txt | 1 + .../03570_dateTimeToUUIDv7/explain.txt | 5 + .../explain.txt | 1 + .../explain.txt | 2 + .../testdata/03570_limit_by_all/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../03571_lwd_and_projections/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../03572_pr_remote_in_subquery/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 7 + .../03573_json_keys_with_dots/explain.txt | 1 + .../explain.txt | 15 + .../explain.txt | 18 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 5 + .../explain.txt | 15 + .../explain.txt | 1 + .../03577_hash_output_format/explain.txt | 11 + .../03577_server_constant_folding/explain.txt | 1 + .../03577_temporary_table_as/explain.txt | 2 + .../explain.txt | 11 + .../explain.txt | 1 + .../explain.txt | 1 + .../03578_kv_in_type_casts/explain.txt | 2 + .../explain.txt | 2 + .../03579_mergeTreeIndex_params/explain.txt | 2 + .../explain.txt | 20 + .../metadata.json | 2 +- .../explain.txt | 2 + .../03580_heredoc_ambiguity/explain.txt | 1 + .../03580_improve_prewhere/explain.txt | 1 + .../03580_join_runtime_filter/explain.txt | 11 + .../explain.txt | 5 + .../explain.txt | 11 + .../explain.txt | 1 + .../03580_s3queue_settings_store/explain.txt | 2 + .../explain.txt | 10 + .../explain.txt | 19 + .../explain.txt | 1 + .../metadata.json | 2 +- .../explain.txt | 12 + .../explain.txt | 11 + .../03582_initcap_fixedstring/explain.txt | 12 + .../03582_normalize_utf8_empty/metadata.json | 2 +- .../03582_pr_read_in_order_hits/explain.txt | 1 + .../03583_rewrite_in_to_join/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 21 + .../explain.txt | 15 + .../03592_s3queue_large_settings/explain.txt | 16 + .../explain.txt | 2 + .../03593_any_join_swap_tables/explain.txt | 6 + .../explain.txt | 2 + .../03593_funcs_on_empty_string/explain.txt | 1 + .../testdata/03593_remote_map_in/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 11 + .../explain.txt | 1 + .../testdata/03594_is_valid_ascii/explain.txt | 15 + .../03594_is_valid_ascii_errors/explain.txt | 8 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../03595_analyzer_lateral_join/explain.txt | 1 + .../explain.txt | 15 + .../explain.txt | 18 + .../explain.txt | 1 + .../03595_equality_deletes_simple/explain.txt | 17 + .../explain.txt | 1 + .../03595_extract_url_parameters/explain.txt | 15 + .../testdata/03595_funcs_on_zero/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 17 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../03600_analyzer_setting_bool/explain.txt | 6 + .../explain.txt | 14 + .../03601_histogram_quantile/explain.txt | 19 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 8 + .../explain.txt | 19 + .../03601_temporary_views/explain.txt | 10 + .../explain.txt | 1 + .../03602_embeddedrock_path/explain.txt | 2 + .../explain.txt | 22 + .../03603_getSubcolumnType_msan/explain.txt | 13 + .../03603_ip_binary_operators/explain.txt | 20 + .../explain.txt | 13 + .../explain.txt | 11 + .../03604_dynamic_key_in_join/explain.txt | 1 + .../explain.txt | 2 + .../03604_join_reorder_pinned_bug/explain.txt | 1 + .../explain.txt | 20 + .../explain.txt | 1 + .../explain.txt | 1 + .../03604_string_with_size_stream/explain.txt | 2 + .../explain.txt | 2 + .../testdata/03604_to_date_casts/explain.txt | 1 + .../explain.txt | 1 + .../03606_nullable_json_group_by/explain.txt | 10 + .../explain.txt | 1 + .../explain.txt | 13 + .../03611_cte_deterministic/explain.txt | 1 + .../03611_null_safe_comparsion/explain.txt | 1 + .../explain.txt | 14 + .../testdata/03611_pr_global_join/explain.txt | 2 + .../testdata/03611_uniqExact_bug/explain.txt | 1 + .../explain.txt | 15 + .../explain.txt | 1 + .../03612_explain_indexes_bugs/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 20 + .../explain.txt | 1 + .../explain.txt | 1 + .../03622_ttl_infos_where/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 9 + .../03623_header_filtering/metadata.json | 2 +- .../explain.txt | 1 + .../testdata/03623_parquet_bool/explain.txt | 11 + .../explain.txt | 2 + .../explain.txt | 5 + .../explain.txt | 14 + .../03624_parquet_row_number/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../03625_auto_statistics/explain.txt | 2 + .../03625_auto_statistics_alter/explain.txt | 1 + .../explain.txt | 1 + .../03625_auto_statistics_rmt/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 5 + .../explain.txt | 2 + .../explain.txt | 7 + .../explain.txt | 2 + .../explain.txt | 27 + .../explain.txt | 2 + .../explain.txt | 26 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 5 + .../explain.txt | 2 + .../explain.txt | 2 + .../metadata.json | 2 +- .../03630_parquet_bool_bug/explain.txt | 7 + .../03631_array_of_empty_tuples/explain.txt | 16 + .../metadata.json | 2 +- .../explain.txt | 1 + .../explain.txt | 2 + .../03632_insert_select_cte_bug/explain.txt | 1 + .../explain.txt | 32 + .../testdata/03632_lowcard_join/explain.txt | 1 + .../explain.txt | 11 + .../explain.txt | 14 + .../explain.txt | 1 + .../03633_negative_limit_offset/metadata.json | 2 +- .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../03636_empty_projection_block/explain.txt | 2 + .../explain.txt | 1 + .../03636_storage_alias_basic/explain.txt | 2 + .../03636_storage_alias_syntax/explain.txt | 2 + .../explain.txt | 2 + .../03639_hash_of_dynamic_column/explain.txt | 10 + .../03639_hash_of_json_column/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 11 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../03640_skip_indexes_with_or/explain.txt | 1 + .../explain.txt | 2 + .../03641_analyzer_issue_85834/explain.txt | 2 + .../explain.txt | 10 + .../explain.txt | 1 + .../03642_column_ttl_sparse/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../03644_min_level_for_wide_part/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../03646_array_join_empty/explain.txt | 1 + .../explain.txt | 9 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../03652_explain_input_header/explain.txt | 1 + .../explain.txt | 36 + .../03652_join_using_legacy_step/explain.txt | 1 + .../metadata.json | 2 +- .../explain.txt | 8 + .../explain.txt | 2 + .../03654_case_non_constant_null/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../testdata/03656_nan_comparison/explain.txt | 2 + .../03657_gby_overflow_any_sparse/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 9 + .../03657_rollup_constant/explain.txt | 2 + .../explain.txt | 1 + .../metadata.json | 2 +- .../testdata/03660_udf_subquery/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 11 + .../explain.txt | 1 + .../explain.txt | 9 + .../explain.txt | 5 + .../metadata.json | 2 +- .../explain.txt | 2 + .../03667_text_index_validation/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../metadata.json | 2 +- .../explain.txt | 1 + .../testdata/03699_reverse_utf8/explain.txt | 7 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 17 + .../explain.txt | 5 + .../explain.txt | 2 + .../03701_limit_by_in_order/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 29 + .../explain.txt | 9 + .../03702_alter_codec_index/explain.txt | 2 + .../testdata/03702_alter_codec_pk/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 27 + .../explain.txt | 5 + .../03702_geometry_functions/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../03702_text_index_hint_basics/explain.txt | 1 + .../03702_text_index_hint_events/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../metadata.json | 2 +- .../explain.txt | 1 + .../03704_default_empty_order_by/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 5 + .../03705_count_if_asterisk/explain.txt | 17 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../03707_function_array_remove/explain.txt | 9 + .../03707_statistics_cache/explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 30 + .../explain.txt | 2 + .../explain.txt | 5 + .../explain.txt | 14 + .../explain.txt | 2 + .../explain.txt | 1 + .../03709_coalescing_final/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 47 ++ .../explain.txt | 1 + .../testdata/03710_argAndMinMax/explain.txt | 45 ++ .../03710_array_join_in_map_bug/explain.txt | 1 + .../explain.txt | 13 + parser/testdata/03710_midpoint/explain.txt | 2 + .../explain.txt | 2 + .../03710_pr_join_with_mv/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 5 + .../explain.txt | 1 + .../03711_top_k_by_dynamic_filter/explain.txt | 2 + .../03711_top_k_by_skip_index/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 20 + .../metadata.json | 2 +- .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 17 + .../explain.txt | 8 + .../03714_queries_escaping_1/explain.txt | 1 + .../03714_queries_escaping_2/explain.txt | 1 + .../explain.txt | 9 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 6 + .../03716_join_right_side_sorting/explain.txt | 5 + .../explain.txt | 1 + .../03716_text_index_drop_caches/explain.txt | 2 + .../testdata/03716_topk_bad_data/explain.txt | 13 + .../explain.txt | 2 + .../03717_system_unicode_enums/explain.txt | 25 + .../explain.txt | 17 + .../explain.txt | 5 + .../03720_const_limit_to_scalar/explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 61 ++ .../metadata.json | 2 +- .../explain.txt | 8 + .../metadata.json | 2 +- .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../03721_right_join_logical_step/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 10 + .../explain.txt | 1 + .../03722_random_utf8_bug/explain.txt | 23 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 10 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 13 + .../explain.txt | 1 + .../explain.txt | 5 + .../explain.txt | 18 + .../03727_ipv4_parsing_bug/explain.txt | 17 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 31 + .../03729_function_hmac/metadata.json | 2 +- .../explain.txt | 1 + .../explain.txt | 2 + .../metadata.json | 2 +- .../03732_join_on_exists_bug/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../03733_base58_decode_bug/explain.txt | 16 + .../testdata/03733_join_order_dp/explain.txt | 1 + .../explain.txt | 22 + .../03735_excessive_buffer_flush/explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 13 + .../explain.txt | 1 + .../metadata.json | 2 +- .../explain.txt | 2 + .../explain.txt | 16 + .../03742_array_join_empty_tuple/explain.txt | 16 + .../explain.txt | 2 + .../03742_test_flattened_crash/explain.txt | 2 + .../03743_fix_estimator_crash/explain.txt | 11 + .../explain.txt | 1 + .../explain.txt | 2 + .../03747_float_parsing_subnormal/explain.txt | 9 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../explain.txt | 1 + .../explain.txt | 5 + .../explain.txt | 1 + .../explain.txt | 1 + parser/testdata/03752_join_part/explain.txt | 2 + .../03753_merge_selector_amm/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 1 + .../metadata.json | 2 +- .../03755_circular_dictionary/explain.txt | 2 + .../explain.txt | 2 + .../explain.txt | 10 + .../03755_nested_recursive_cte/explain.txt | 2 + .../03755_pr_join_with_view/explain.txt | 2 + .../explain.txt | 11 + .../explain.txt | 14 + .../03756_update_query_formatting/explain.txt | 12 + .../explain.txt | 2 + .../explain.txt | 2 + .../03759_marks_cache_events/explain.txt | 2 + scripts/generate_explain.sh | 94 +++ 6822 files changed, 43306 insertions(+), 313 deletions(-) create mode 100644 parser/testdata/00001_count_hits/explain.txt create mode 100644 parser/testdata/00002_count_visits/explain.txt create mode 100644 parser/testdata/00002_system_numbers/explain.txt create mode 100644 parser/testdata/00003_reinterpret_as_string/explain.txt create mode 100644 parser/testdata/00004_shard_format_ast_and_remote_table/explain.txt create mode 100644 parser/testdata/00004_top_counters/explain.txt create mode 100644 parser/testdata/00005_filtering/explain.txt create mode 100644 parser/testdata/00005_shard_format_ast_and_remote_table_lambda/explain.txt create mode 100644 parser/testdata/00006_agregates/explain.txt create mode 100644 parser/testdata/00006_extremes_and_subquery_from/explain.txt create mode 100644 parser/testdata/00007_array/explain.txt create mode 100644 parser/testdata/00007_uniq/explain.txt create mode 100644 parser/testdata/00008_array_join/explain.txt create mode 100644 parser/testdata/00008_uniq/explain.txt create mode 100644 parser/testdata/00009_array_join_subquery/explain.txt create mode 100644 parser/testdata/00009_uniq_distributed/explain.txt create mode 100644 parser/testdata/00010_big_array_join/explain.txt create mode 100644 parser/testdata/00010_quantiles_segfault/explain.txt create mode 100644 parser/testdata/00011_array_join_alias/explain.txt create mode 100644 parser/testdata/00011_sorting/explain.txt create mode 100644 parser/testdata/00012_array_join_alias_2/explain.txt create mode 100644 parser/testdata/00012_sorting_distributed/explain.txt create mode 100644 parser/testdata/00013_create_table_with_arrays/explain.txt create mode 100644 parser/testdata/00013_sorting_of_nested/explain.txt create mode 100644 parser/testdata/00014_filtering_arrays/explain.txt create mode 100644 parser/testdata/00014_select_from_table_with_nested/explain.txt create mode 100644 parser/testdata/00015_totals_and_no_aggregate_functions/explain.txt create mode 100644 parser/testdata/00015_totals_having_constants/explain.txt create mode 100644 parser/testdata/00016_any_if_distributed_cond_always_false/explain.txt create mode 100644 parser/testdata/00016_totals_having_constants/explain.txt create mode 100644 parser/testdata/00017_aggregation_uninitialized_memory/explain.txt create mode 100644 parser/testdata/00017_in_subquery_with_empty_result/explain.txt create mode 100644 parser/testdata/00018_distinct_in_subquery/explain.txt create mode 100644 parser/testdata/00019_shard_quantiles_totals_distributed/explain.txt create mode 100644 parser/testdata/00020_distinct_order_by_distributed/explain.txt create mode 100644 parser/testdata/00020_sorting_arrays/explain.txt create mode 100644 parser/testdata/00021_1_select_with_in/explain.txt create mode 100644 parser/testdata/00021_2_select_with_in/explain.txt create mode 100644 parser/testdata/00021_3_select_with_in/explain.txt create mode 100644 parser/testdata/00021_sorting_arrays/explain.txt create mode 100644 parser/testdata/00022_func_higher_order_and_constants/explain.txt create mode 100644 parser/testdata/00022_merge_prewhere/explain.txt create mode 100644 parser/testdata/00023_agg_select_agg_subquery/explain.txt create mode 100644 parser/testdata/00023_totals_limit/explain.txt create mode 100644 parser/testdata/00024_random_counters/explain.txt create mode 100644 parser/testdata/00024_unused_array_join_in_subquery/explain.txt create mode 100644 parser/testdata/00025_implicitly_used_subquery_column/explain.txt create mode 100644 parser/testdata/00026_shard_something_distributed/explain.txt create mode 100644 parser/testdata/00027_argMinMax/explain.txt create mode 100644 parser/testdata/00027_distinct_and_order_by/explain.txt create mode 100644 parser/testdata/00027_simple_argMinArray/explain.txt create mode 100644 parser/testdata/00028_shard_big_agg_aj_distributed/explain.txt create mode 100644 parser/testdata/00030_alter_table/explain.txt create mode 100644 parser/testdata/00030_array_enumerate_uniq/explain.txt create mode 100644 parser/testdata/00031_array_enumerate_uniq/explain.txt create mode 100644 parser/testdata/00031_parser_number/explain.txt create mode 100644 parser/testdata/00032_aggregate_key64/explain.txt create mode 100644 parser/testdata/00032_fixed_string_to_string/explain.txt create mode 100644 parser/testdata/00033_aggregate_key_string/explain.txt create mode 100644 parser/testdata/00033_fixed_string_to_string/explain.txt create mode 100644 parser/testdata/00034_aggregate_key_fixed_string/explain.txt create mode 100644 parser/testdata/00034_fixed_string_to_number/explain.txt create mode 100644 parser/testdata/00035_aggregate_keys128/explain.txt create mode 100644 parser/testdata/00035_function_array_return_type/explain.txt create mode 100644 parser/testdata/00036_aggregate_hashed/explain.txt create mode 100644 parser/testdata/00036_array_element/explain.txt create mode 100644 parser/testdata/00037_totals_limit/explain.txt create mode 100644 parser/testdata/00037_uniq_state_merge1/explain.txt create mode 100644 parser/testdata/00038_totals_limit/explain.txt create mode 100644 parser/testdata/00038_uniq_state_merge2/explain.txt create mode 100644 parser/testdata/00039_primary_key/explain.txt create mode 100644 parser/testdata/00040_aggregating_materialized_view/explain.txt create mode 100644 parser/testdata/00040_array_enumerate_uniq/explain.txt create mode 100644 parser/testdata/00041_aggregating_materialized_view/explain.txt create mode 100644 parser/testdata/00041_aggregation_remap/explain.txt create mode 100644 parser/testdata/00041_big_array_join/explain.txt create mode 100644 parser/testdata/00042_set/explain.txt create mode 100644 parser/testdata/00043_summing_empty_part/explain.txt create mode 100644 parser/testdata/00044_sorting_by_string_descending/explain.txt create mode 100644 parser/testdata/00045_sorting_by_fixed_string_descending/explain.txt create mode 100644 parser/testdata/00045_uniq_upto/explain.txt create mode 100644 parser/testdata/00046_stored_aggregates_simple/explain.txt create mode 100644 parser/testdata/00046_uniq_upto_distributed/explain.txt create mode 100644 parser/testdata/00047_bar/explain.txt create mode 100644 parser/testdata/00047_stored_aggregates_complex/explain.txt create mode 100644 parser/testdata/00048_a_stored_aggregates_merge/explain.txt create mode 100644 parser/testdata/00048_b_stored_aggregates_merge/explain.txt create mode 100644 parser/testdata/00048_min_max/explain.txt create mode 100644 parser/testdata/00049_max_string_if/explain.txt create mode 100644 parser/testdata/00050_min_max/explain.txt create mode 100644 parser/testdata/00051_any_inner_join/explain.txt create mode 100644 parser/testdata/00051_min_max_array/explain.txt create mode 100644 parser/testdata/00052_group_by_in/explain.txt create mode 100644 parser/testdata/00053_replicate_segfault/explain.txt create mode 100644 parser/testdata/00054_merge_tree_partitions/explain.txt create mode 100644 parser/testdata/00055_index_and_not/explain.txt create mode 100644 parser/testdata/00056_view/explain.txt create mode 100644 parser/testdata/00057_join_aliases/explain.txt create mode 100644 parser/testdata/00059_merge_sorting_empty_array_joined/explain.txt create mode 100644 parser/testdata/00059_shard_global_in/explain.txt create mode 100644 parser/testdata/00059_shard_global_in_mergetree/explain.txt create mode 100644 parser/testdata/00060_date_lut/explain.txt create mode 100644 parser/testdata/00060_move_to_prewhere_and_sets/explain.txt create mode 100644 parser/testdata/00061_merge_tree_alter/explain.txt create mode 100644 parser/testdata/00061_storage_buffer/explain.txt create mode 100644 parser/testdata/00062_loyalty/explain.txt create mode 100644 parser/testdata/00062_replicated_merge_tree_alter_zookeeper_long/explain.txt create mode 100644 parser/testdata/00063_check_query/explain.txt create mode 100644 parser/testdata/00063_loyalty_joins/explain.txt create mode 100644 parser/testdata/00064_negate_bug/explain.txt create mode 100644 parser/testdata/00065_loyalty_with_storage_join/explain.txt create mode 100644 parser/testdata/00065_shard_float_literals_formatting/explain.txt create mode 100644 parser/testdata/00066_group_by_in/explain.txt create mode 100644 parser/testdata/00066_sorting_distributed_many_replicas/explain.txt create mode 100644 parser/testdata/00067_replicate_segfault/explain.txt create mode 100644 parser/testdata/00068_empty_tiny_log/explain.txt create mode 100644 parser/testdata/00068_subquery_in_prewhere/explain.txt create mode 100644 parser/testdata/00069_date_arithmetic/explain.txt create mode 100644 parser/testdata/00069_duplicate_aggregation_keys/explain.txt create mode 100644 parser/testdata/00071_insert_fewer_columns/explain.txt create mode 100644 parser/testdata/00071_merge_tree_optimize_aio/explain.txt create mode 100644 parser/testdata/00072_compare_date_and_string_index/explain.txt create mode 100644 parser/testdata/00073_merge_sorting_empty_array_joined/explain.txt create mode 100644 parser/testdata/00073_uniq_array/explain.txt create mode 100644 parser/testdata/00074_full_join/explain.txt create mode 100644 parser/testdata/00075_left_array_join/explain.txt create mode 100644 parser/testdata/00075_shard_formatting_negate_of_negative_literal/explain.txt create mode 100644 parser/testdata/00076_ip_coding_functions/explain.txt create mode 100644 parser/testdata/00077_log_tinylog_stripelog/explain.txt create mode 100644 parser/testdata/00077_set_keys_fit_128_bits_many_blocks/explain.txt create mode 100644 parser/testdata/00078_group_by_arrays/explain.txt create mode 100644 parser/testdata/00078_string_concat/explain.txt create mode 100644 parser/testdata/00079_array_join_not_used_joined_column/explain.txt create mode 100644 parser/testdata/00079_defaulted_columns/explain.txt create mode 100644 parser/testdata/00080_array_join_and_union/explain.txt create mode 100644 parser/testdata/00081_group_by_without_key_and_totals/explain.txt create mode 100644 parser/testdata/00081_int_div_or_zero/explain.txt create mode 100644 parser/testdata/00082_append_trailing_char_if_absent/explain.txt create mode 100644 parser/testdata/00082_quantiles/explain.txt create mode 100644 parser/testdata/00083_array_filter/explain.txt create mode 100644 parser/testdata/00083_create_merge_tree_zookeeper_long/explain.txt create mode 100644 parser/testdata/00084_external_aggregation/explain.txt create mode 100644 parser/testdata/00084_summing_merge_tree/explain.txt create mode 100644 parser/testdata/00085_monotonic_evaluation_segfault/explain.txt create mode 100644 parser/testdata/00085_visible_width_of_tuple_of_dates/explain.txt create mode 100644 parser/testdata/00086_array_reduce/explain.txt create mode 100644 parser/testdata/00086_concat_nary_const_with_nonconst_segfault/explain.txt create mode 100644 parser/testdata/00087_distinct_of_empty_arrays/explain.txt create mode 100644 parser/testdata/00087_math_functions/explain.txt create mode 100644 parser/testdata/00087_where_0/explain.txt create mode 100644 parser/testdata/00088_distinct_of_arrays_of_strings/explain.txt create mode 100644 parser/testdata/00088_global_in_one_shard_and_rows_before_limit/explain.txt create mode 100644 parser/testdata/00089_group_by_arrays_of_fixed/explain.txt create mode 100644 parser/testdata/00089_position_functions_with_non_constant_arg/explain.txt create mode 100644 parser/testdata/00091_prewhere_two_conditions/explain.txt create mode 100644 parser/testdata/00093_prewhere_array_join/explain.txt create mode 100644 parser/testdata/00094_order_by_array_join_limit/explain.txt create mode 100644 parser/testdata/00095_hyperscan_profiler/explain.txt create mode 100644 parser/testdata/00096_aggregation_min_if/explain.txt create mode 100644 parser/testdata/00097_constexpr_in_index/explain.txt create mode 100644 parser/testdata/00098_1_union_all/explain.txt create mode 100644 parser/testdata/00098_2_union_all/explain.txt create mode 100644 parser/testdata/00098_3_union_all/explain.txt create mode 100644 parser/testdata/00098_4_union_all/explain.txt create mode 100644 parser/testdata/00098_5_union_all/explain.txt create mode 100644 parser/testdata/00098_6_union_all/explain.txt create mode 100644 parser/testdata/00098_7_union_all/explain.txt create mode 100644 parser/testdata/00098_8_union_all/explain.txt create mode 100644 parser/testdata/00098_9_union_all/explain.txt create mode 100644 parser/testdata/00098_a_union_all/explain.txt create mode 100644 parser/testdata/00098_b_union_all/explain.txt create mode 100644 parser/testdata/00098_c_union_all/explain.txt create mode 100644 parser/testdata/00098_d_union_all/explain.txt create mode 100644 parser/testdata/00098_e_union_all/explain.txt create mode 100644 parser/testdata/00098_f_union_all/explain.txt create mode 100644 parser/testdata/00098_g_union_all/explain.txt create mode 100644 parser/testdata/00098_h_union_all/explain.txt create mode 100644 parser/testdata/00098_j_union_all/explain.txt create mode 100644 parser/testdata/00098_k_union_all/explain.txt create mode 100644 parser/testdata/00098_l_union_all/explain.txt create mode 100644 parser/testdata/00098_primary_key_memory_allocated/explain.txt create mode 100644 parser/testdata/00098_shard_i_union_all/explain.txt create mode 100644 parser/testdata/00101_materialized_views_and_insert_without_explicit_database/explain.txt create mode 100644 parser/testdata/00102_insert_into_temporary_table/explain.txt create mode 100644 parser/testdata/00103_ipv4_num_to_string_class_c/explain.txt create mode 100644 parser/testdata/00104_totals_having_mode/explain.txt create mode 100644 parser/testdata/00105_shard_collations/explain.txt create mode 100644 parser/testdata/00106_totals_after_having/explain.txt create mode 100644 parser/testdata/00107_totals_after_having/explain.txt create mode 100644 parser/testdata/00108_shard_totals_after_having/explain.txt create mode 100644 parser/testdata/00109_shard_totals_after_having/explain.txt create mode 100644 parser/testdata/00110_external_sort/explain.txt create mode 100644 parser/testdata/00111_shard_external_sort_distributed/explain.txt create mode 100644 parser/testdata/00112_shard_totals_after_having/explain.txt create mode 100644 parser/testdata/00113_shard_group_array/explain.txt create mode 100644 parser/testdata/00114_float_type_result_of_division/explain.txt create mode 100644 parser/testdata/00116_storage_set/explain.txt create mode 100644 parser/testdata/00117_parsing_arrays/explain.txt create mode 100644 parser/testdata/00118_storage_join/explain.txt create mode 100644 parser/testdata/00119_storage_join/explain.txt create mode 100644 parser/testdata/00120_join_and_group_by/explain.txt create mode 100644 parser/testdata/00121_drop_column_zookeeper/explain.txt create mode 100644 parser/testdata/00122_join_with_subquery_with_subquery/explain.txt create mode 100644 parser/testdata/00123_shard_unmerged_result_when_max_distributed_connections_is_one/explain.txt create mode 100644 parser/testdata/00124_shard_distributed_with_many_replicas/explain.txt create mode 100644 parser/testdata/00125_array_element_of_array_of_tuple/explain.txt create mode 100644 parser/testdata/00126_buffer/explain.txt create mode 100644 parser/testdata/00127_group_by_concat/explain.txt create mode 100644 parser/testdata/00128_group_by_number_and_fixed_string/explain.txt create mode 100644 parser/testdata/00129_quantile_timing_weighted/explain.txt create mode 100644 parser/testdata/00131_set_hashed/explain.txt create mode 100644 parser/testdata/00132_sets/explain.txt create mode 100644 parser/testdata/00134_aggregation_by_fixed_string_of_size_1_2_4_8/explain.txt create mode 100644 parser/testdata/00135_duplicate_group_by_keys_segfault/explain.txt create mode 100644 parser/testdata/00136_duplicate_order_by_elems/explain.txt create mode 100644 parser/testdata/00137_in_constants/explain.txt create mode 100644 parser/testdata/00138_table_aliases/explain.txt create mode 100644 parser/testdata/00140_parse_unix_timestamp_as_datetime/explain.txt create mode 100644 parser/testdata/00140_prewhere_column_order/explain.txt create mode 100644 parser/testdata/00140_rename/explain.txt create mode 100644 parser/testdata/00141_parse_timestamp_as_datetime/explain.txt create mode 100644 parser/testdata/00141_transform/explain.txt create mode 100644 parser/testdata/00142_parse_timestamp_as_datetime/explain.txt create mode 100644 parser/testdata/00142_system_columns/explain.txt create mode 100644 parser/testdata/00143_number_classification_functions/explain.txt create mode 100644 parser/testdata/00143_transform_non_const_default/explain.txt create mode 100644 parser/testdata/00144_empty_regexp/explain.txt create mode 100644 parser/testdata/00144_functions_of_aggregation_states/explain.txt create mode 100644 parser/testdata/00145_aggregate_functions_statistics/explain.txt create mode 100644 parser/testdata/00145_empty_likes/explain.txt create mode 100644 parser/testdata/00146_aggregate_function_uniq/explain.txt create mode 100644 parser/testdata/00146_summing_merge_tree_nested_map/explain.txt create mode 100644 parser/testdata/00147_alter_nested_default/explain.txt create mode 100644 parser/testdata/00147_global_in_aggregate_function/explain.txt create mode 100644 parser/testdata/00148_monotonic_functions_and_index/explain.txt create mode 100644 parser/testdata/00148_summing_merge_tree_aggregate_function/explain.txt create mode 100644 parser/testdata/00148_summing_merge_tree_nested_map_multiple_values/explain.txt create mode 100644 parser/testdata/00149_function_url_hash/explain.txt create mode 100644 parser/testdata/00149_quantiles_timing_distributed/explain.txt create mode 100644 parser/testdata/00150_quantiles_timing_precision/explain.txt create mode 100644 parser/testdata/00150_with_totals_and_join/explain.txt create mode 100644 parser/testdata/00151_order_by_read_in_order/explain.txt create mode 100644 parser/testdata/00151_tuple_with_array/explain.txt create mode 100644 parser/testdata/00152_insert_different_granularity/explain.txt create mode 100644 parser/testdata/00152_totals_in_subquery/explain.txt create mode 100644 parser/testdata/00153_aggregate_arena_race/explain.txt create mode 100644 parser/testdata/00153_transform/explain.txt create mode 100644 parser/testdata/00154_avro/explain.txt create mode 100644 parser/testdata/00154_shard_distributed_with_distinct/explain.txt create mode 100644 parser/testdata/00156_array_map_to_constant/explain.txt create mode 100644 parser/testdata/00156_max_execution_speed_sample_merge/explain.txt create mode 100644 parser/testdata/00157_aliases_and_lambda_formal_parameters/explain.txt create mode 100644 parser/testdata/00157_cache_dictionary/explain.txt create mode 100644 parser/testdata/00158_cache_dictionary_has/explain.txt create mode 100644 parser/testdata/00159_whitespace_in_columns_list/explain.txt create mode 100644 parser/testdata/00160_decode_xml_component/explain.txt create mode 100644 parser/testdata/00160_merge_and_index_in_in/explain.txt create mode 100644 parser/testdata/00161_rounding_functions/explain.txt create mode 100644 parser/testdata/00162_mmap_compression_none/explain.txt create mode 100644 parser/testdata/00162_shard_global_join/explain.txt create mode 100644 parser/testdata/00163_shard_join_with_empty_table/explain.txt create mode 100644 parser/testdata/00164_not_chain/explain.txt create mode 100644 parser/testdata/00164_quantileBfloat16/explain.txt create mode 100644 parser/testdata/00165_jit_aggregate_functions/explain.txt create mode 100644 parser/testdata/00165_transform_non_const_default/explain.txt create mode 100644 parser/testdata/00166_explain_estimate/explain.txt create mode 100644 parser/testdata/00166_functions_of_aggregation_states/explain.txt create mode 100644 parser/testdata/00167_read_bytes_from_fs/explain.txt create mode 100644 parser/testdata/00167_settings_inside_query/explain.txt create mode 100644 parser/testdata/00168_buffer_defaults/explain.txt create mode 100644 parser/testdata/00170_lower_upper_utf8/explain.txt create mode 100644 parser/testdata/00170_s3_cache/explain.txt create mode 100644 parser/testdata/00171_grouping_aggregated_transform_bug/explain.txt create mode 100644 parser/testdata/00171_shard_array_of_tuple_remote/explain.txt create mode 100644 parser/testdata/00172_constexprs_in_set/explain.txt create mode 100644 parser/testdata/00172_early_constant_folding/explain.txt create mode 100644 parser/testdata/00173_compare_date_time_with_constant_string/explain.txt create mode 100644 parser/testdata/00174_compare_date_time_with_constant_string_in_in/explain.txt create mode 100644 parser/testdata/00174_distinct_in_order/explain.txt create mode 100644 parser/testdata/00175_counting_resources_in_subqueries/explain.txt create mode 100644 parser/testdata/00175_if_num_arrays/explain.txt create mode 100644 parser/testdata/00175_partition_by_ignore/explain.txt create mode 100644 parser/testdata/00176_distinct_limit_by_limit_bug_43377/explain.txt create mode 100644 parser/testdata/00176_if_string_arrays/explain.txt create mode 100644 parser/testdata/00178_quantile_ddsketch/explain.txt create mode 100644 parser/testdata/00178_query_datetime64_index/explain.txt create mode 100644 parser/testdata/00179_lambdas_with_common_expressions_and_filter/explain.txt create mode 100644 parser/testdata/00180_attach_materialized_view/explain.txt create mode 100644 parser/testdata/00181_aggregate_functions_statistics/explain.txt create mode 100644 parser/testdata/00181_aggregate_functions_statistics_stable/explain.txt create mode 100644 parser/testdata/00181_cross_join_compression/explain.txt create mode 100644 parser/testdata/00182_functions_higher_order_and_consts/explain.txt create mode 100644 parser/testdata/00182_simple_squashing_transform_bug/explain.txt create mode 100644 parser/testdata/00183_prewhere_conditions_order/explain.txt create mode 100644 parser/testdata/00183_skip_unavailable_shards/explain.txt create mode 100644 parser/testdata/00184_shard_distributed_group_by_no_merge/explain.txt create mode 100644 parser/testdata/00185_array_literals/explain.txt create mode 100644 parser/testdata/00187_like_regexp_prefix/explain.txt create mode 100644 parser/testdata/00188_constants_as_arguments_of_aggregate_functions/explain.txt create mode 100644 parser/testdata/00190_non_constant_array_of_constant_data/explain.txt create mode 100644 parser/testdata/00191_aggregating_merge_tree_and_final/explain.txt create mode 100644 parser/testdata/00192_least_greatest/explain.txt create mode 100644 parser/testdata/00193_parallel_replicas/explain.txt create mode 100644 parser/testdata/00194_identity/explain.txt create mode 100644 parser/testdata/00195_shard_union_all_and_global_in/explain.txt create mode 100644 parser/testdata/00196_float32_formatting/explain.txt create mode 100644 parser/testdata/00197_if_fixed_string/explain.txt create mode 100644 parser/testdata/00198_group_by_empty_arrays/explain.txt create mode 100644 parser/testdata/00199_ternary_operator_type_check/explain.txt create mode 100644 parser/testdata/00200_shard_distinct_order_by_limit_distributed/explain.txt create mode 100644 parser/testdata/00201_array_uniq/explain.txt create mode 100644 parser/testdata/00202_cross_join/explain.txt create mode 100644 parser/testdata/00203_full_join/explain.txt create mode 100644 parser/testdata/00204_extract_url_parameter/explain.txt create mode 100644 parser/testdata/00205_scalar_subqueries/explain.txt create mode 100644 parser/testdata/00206_empty_array_to_single/explain.txt create mode 100644 parser/testdata/00207_left_array_join/explain.txt create mode 100644 parser/testdata/00208_agg_state_merge/explain.txt create mode 100644 parser/testdata/00209_insert_select_extremes/explain.txt create mode 100644 parser/testdata/00212_long_shard_aggregate_function_uniq/explain.txt create mode 100644 parser/testdata/00213_multiple_global_in/explain.txt create mode 100644 parser/testdata/00214_primary_key_order/explain.txt create mode 100644 parser/testdata/00215_primary_key_order_zookeeper_long/explain.txt create mode 100644 parser/testdata/00217_shard_global_subquery_columns_with_same_name/explain.txt create mode 100644 parser/testdata/00218_like_regexp_newline/explain.txt create mode 100644 parser/testdata/00219_full_right_join_column_order/explain.txt create mode 100644 parser/testdata/00220_shard_with_totals_in_subquery_remote_and_limit/explain.txt create mode 100644 parser/testdata/00222_sequence_aggregate_function_family/explain.txt create mode 100644 parser/testdata/00223_shard_distributed_aggregation_memory_efficient/explain.txt create mode 100644 parser/testdata/00224_shard_distributed_aggregation_memory_efficient_and_overflows/explain.txt create mode 100644 parser/testdata/00225_join_duplicate_columns/explain.txt create mode 100644 parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/explain.txt create mode 100644 parser/testdata/00227_quantiles_timing_arbitrary_order/explain.txt create mode 100644 parser/testdata/00228_shard_quantiles_deterministic_merge_overflow/explain.txt create mode 100644 parser/testdata/00229_prewhere_column_missing/explain.txt create mode 100644 parser/testdata/00230_array_functions_has_count_equal_index_of_non_const_second_arg/explain.txt create mode 100644 parser/testdata/00231_format_vertical_raw/explain.txt create mode 100644 parser/testdata/00233_position_function_family/explain.txt create mode 100644 parser/testdata/00233_position_function_sql_comparibilty/explain.txt create mode 100644 parser/testdata/00234_disjunctive_equality_chains_optimization/explain.txt create mode 100644 parser/testdata/00235_create_temporary_table_as/explain.txt create mode 100644 parser/testdata/00236_replicated_drop_on_non_leader_zookeeper_long/explain.txt create mode 100644 parser/testdata/00237_group_by_arrays/explain.txt create mode 100644 parser/testdata/00238_removal_of_temporary_columns/explain.txt create mode 100644 parser/testdata/00239_type_conversion_in_in/explain.txt create mode 100644 parser/testdata/00240_replace_substring_loop/explain.txt create mode 100644 parser/testdata/00251_has_types/explain.txt create mode 100644 parser/testdata/00252_shard_global_in_aggregate_function/explain.txt create mode 100644 parser/testdata/00253_insert_recursive_defaults/explain.txt create mode 100644 parser/testdata/00254_tuple_extremes/explain.txt create mode 100644 parser/testdata/00255_array_concat_string/explain.txt create mode 100644 parser/testdata/00256_reverse/explain.txt create mode 100644 parser/testdata/00257_shard_no_aggregates_and_constant_keys/explain.txt create mode 100644 parser/testdata/00258_materializing_tuples/explain.txt create mode 100644 parser/testdata/00259_hashing_tuples/explain.txt create mode 100644 parser/testdata/00260_like_and_curly_braces/explain.txt create mode 100644 parser/testdata/00261_storage_aliases_and_array_join/explain.txt create mode 100644 parser/testdata/00262_alter_alias/explain.txt create mode 100644 parser/testdata/00263_merge_aggregates_and_overflow/explain.txt create mode 100644 parser/testdata/00266_read_overflow_mode/explain.txt create mode 100644 parser/testdata/00266_shard_global_subquery_and_aliases/explain.txt create mode 100644 parser/testdata/00267_tuple_array_access_operators_priority/explain.txt create mode 100644 parser/testdata/00268_aliases_without_as_keyword/explain.txt create mode 100644 parser/testdata/00269_database_table_whitespace/explain.txt create mode 100644 parser/testdata/00270_views_query_processing_stage/explain.txt create mode 100644 parser/testdata/00271_agg_state_and_totals/explain.txt create mode 100644 parser/testdata/00272_union_all_and_in_subquery/explain.txt create mode 100644 parser/testdata/00273_quantiles/explain.txt create mode 100644 parser/testdata/00274_shard_group_array/explain.txt create mode 100644 parser/testdata/00275_shard_quantiles_weighted/explain.txt create mode 100644 parser/testdata/00276_sample/explain.txt create mode 100644 parser/testdata/00277_array_filter/explain.txt create mode 100644 parser/testdata/00278_insert_already_sorted/explain.txt create mode 100644 parser/testdata/00279_quantiles_permuted_args/explain.txt create mode 100644 parser/testdata/00280_hex_escape_sequence/explain.txt create mode 100644 parser/testdata/00282_merging/explain.txt create mode 100644 parser/testdata/00284_external_aggregation/explain.txt create mode 100644 parser/testdata/00284_external_aggregation_2/explain.txt create mode 100644 parser/testdata/00285_not_all_data_in_totals/explain.txt create mode 100644 parser/testdata/00286_format_long_negative_float/explain.txt create mode 100644 parser/testdata/00287_column_const_with_nan/explain.txt create mode 100644 parser/testdata/00288_empty_stripelog/explain.txt create mode 100644 parser/testdata/00290_shard_aggregation_memory_efficient/explain.txt create mode 100644 parser/testdata/00292_parser_tuple_element/explain.txt create mode 100644 parser/testdata/00293_shard_max_subquery_depth/explain.txt create mode 100644 parser/testdata/00294_shard_enums/explain.txt create mode 100644 parser/testdata/00295_global_in_one_shard_rows_before_limit/explain.txt create mode 100644 parser/testdata/00298_enum_width_and_cast/explain.txt create mode 100644 parser/testdata/00299_stripe_log_multiple_inserts/explain.txt create mode 100644 parser/testdata/00300_csv/explain.txt create mode 100644 parser/testdata/00306_insert_values_and_expressions/explain.txt create mode 100644 parser/testdata/00307_format_xml/explain.txt create mode 100644 parser/testdata/00308_write_buffer_valid_utf8/explain.txt create mode 100644 parser/testdata/00309_formats/explain.txt create mode 100644 parser/testdata/00311_array_primary_key/explain.txt create mode 100644 parser/testdata/00312_position_case_insensitive_utf8/explain.txt create mode 100644 parser/testdata/00314_sample_factor_virtual_column/explain.txt create mode 100644 parser/testdata/00315_quantile_off_by_one/explain.txt create mode 100644 parser/testdata/00316_rounding_functions_and_empty_block/explain.txt create mode 100644 parser/testdata/00317_in_tuples_and_out_of_range_values/explain.txt create mode 100644 parser/testdata/00318_pk_tuple_order/explain.txt create mode 100644 parser/testdata/00319_index_for_like/explain.txt create mode 100644 parser/testdata/00320_between/explain.txt create mode 100644 parser/testdata/00321_pk_set/explain.txt create mode 100644 parser/testdata/00323_quantiles_timing_bug/explain.txt create mode 100644 parser/testdata/00324_hashing_enums/explain.txt create mode 100644 parser/testdata/00326_long_function_multi_if/explain.txt create mode 100644 parser/testdata/00327_summing_composite_nested/explain.txt create mode 100644 parser/testdata/00330_view_subqueries/explain.txt create mode 100644 parser/testdata/00331_final_and_prewhere/explain.txt create mode 100644 parser/testdata/00331_final_and_prewhere_condition_ver_column/explain.txt create mode 100644 parser/testdata/00332_quantile_timing_memory_leak/explain.txt create mode 100644 parser/testdata/00333_parser_number_bug/explain.txt create mode 100644 parser/testdata/00334_column_aggregate_function_limit/explain.txt create mode 100644 parser/testdata/00337_shard_any_heavy/explain.txt create mode 100644 parser/testdata/00338_replicate_array_of_strings/explain.txt create mode 100644 parser/testdata/00340_squashing_insert_select/explain.txt create mode 100644 parser/testdata/00341_squashing_insert_select2/explain.txt create mode 100644 parser/testdata/00342_escape_sequences/explain.txt create mode 100644 parser/testdata/00343_array_element_generic/explain.txt create mode 100644 parser/testdata/00344_row_number_in_all_blocks/explain.txt create mode 100644 parser/testdata/00345_index_accurate_comparison/explain.txt create mode 100644 parser/testdata/00346_if_tuple/explain.txt create mode 100644 parser/testdata/00347_has_tuple/explain.txt create mode 100644 parser/testdata/00348_tuples/explain.txt create mode 100644 parser/testdata/00349_visible_width/explain.txt create mode 100644 parser/testdata/00350_count_distinct/explain.txt create mode 100644 parser/testdata/00351_select_distinct_arrays_tuples/explain.txt create mode 100644 parser/testdata/00352_external_sorting_and_constants/explain.txt create mode 100644 parser/testdata/00353_join_by_tuple/explain.txt create mode 100644 parser/testdata/00355_array_of_non_const_convertible_types/explain.txt create mode 100644 parser/testdata/00356_analyze_aggregations_and_union_all/explain.txt create mode 100644 parser/testdata/00357_to_string_complex_types/explain.txt create mode 100644 parser/testdata/00358_from_string_complex_types/explain.txt create mode 100644 parser/testdata/00359_convert_or_zero_functions/explain.txt create mode 100644 parser/testdata/00360_to_date_from_string_with_datetime/explain.txt create mode 100644 parser/testdata/00361_shared_array_offsets_and_squash_blocks/explain.txt create mode 100644 parser/testdata/00362_great_circle_distance/explain.txt create mode 100644 parser/testdata/00363_defaults/explain.txt create mode 100644 parser/testdata/00369_int_div_of_float/explain.txt create mode 100644 parser/testdata/00370_duplicate_columns_in_subqueries/explain.txt create mode 100644 parser/testdata/00371_union_all/explain.txt create mode 100644 parser/testdata/00373_group_by_tuple/explain.txt create mode 100644 parser/testdata/00374_any_last_if_merge/explain.txt create mode 100644 parser/testdata/00375_shard_group_uniq_array_of_string/explain.txt create mode 100644 parser/testdata/00376_shard_group_uniq_array_of_int_array/explain.txt create mode 100644 parser/testdata/00377_shard_group_uniq_array_of_string_array/explain.txt create mode 100644 parser/testdata/00378_json_quote_64bit_integers/explain.txt create mode 100644 parser/testdata/00383_utf8_validation/explain.txt create mode 100644 parser/testdata/00384_column_aggregate_function_insert_from/explain.txt create mode 100644 parser/testdata/00386_enum_in_pk/explain.txt create mode 100644 parser/testdata/00386_has_column_in_table/explain.txt create mode 100644 parser/testdata/00388_enum_with_totals/explain.txt create mode 100644 parser/testdata/00389_concat_operator/explain.txt create mode 100644 parser/testdata/00390_array_sort/explain.txt create mode 100644 parser/testdata/00392_enum_nested_alter/explain.txt create mode 100644 parser/testdata/00393_if_with_constant_condition/explain.txt create mode 100644 parser/testdata/00394_new_nested_column_keeps_offsets/explain.txt create mode 100644 parser/testdata/00394_replaceall_vector_fixed/explain.txt create mode 100644 parser/testdata/00395_nullable/explain.txt create mode 100644 parser/testdata/00396_uuid/explain.txt create mode 100644 parser/testdata/00396_uuid_v7/explain.txt create mode 100644 parser/testdata/00397_tsv_format_synonym/explain.txt create mode 100644 parser/testdata/00399_group_uniq_array_date_datetime/explain.txt create mode 100644 parser/testdata/00401_merge_and_stripelog/explain.txt create mode 100644 parser/testdata/00402_nan_and_extremes/explain.txt create mode 100644 parser/testdata/00403_to_start_of_day/explain.txt create mode 100644 parser/testdata/00404_null_literal/explain.txt create mode 100644 parser/testdata/00405_output_format_pretty_color/explain.txt create mode 100644 parser/testdata/00405_pretty_formats/explain.txt create mode 100644 parser/testdata/00406_tuples_with_nulls/explain.txt create mode 100644 parser/testdata/00409_shard_limit_by/explain.txt create mode 100644 parser/testdata/00410_aggregation_combinators_with_arenas/explain.txt create mode 100644 parser/testdata/00411_long_accurate_number_comparison_float/explain.txt create mode 100644 parser/testdata/00411_merge_tree_where_const_in_set/explain.txt create mode 100644 parser/testdata/00412_logical_expressions_optimizer/explain.txt create mode 100644 parser/testdata/00413_distinct/explain.txt create mode 100644 parser/testdata/00413_least_greatest_new_behavior/explain.txt create mode 100644 parser/testdata/00414_time_zones_direct_conversion/explain.txt create mode 100644 parser/testdata/00420_null_in_scalar_subqueries/explain.txt create mode 100644 parser/testdata/00422_hash_function_constexpr/explain.txt create mode 100644 parser/testdata/00423_storage_log_single_thread/explain.txt create mode 100644 parser/testdata/00424_shard_aggregate_functions_of_nullable/explain.txt create mode 100644 parser/testdata/00425_count_nullable/explain.txt create mode 100644 parser/testdata/00426_nulls_sorting/explain.txt create mode 100644 parser/testdata/00429_point_in_ellipses/explain.txt create mode 100644 parser/testdata/00432_aggregate_function_scalars_and_constants/explain.txt create mode 100644 parser/testdata/00433_ifnull/explain.txt create mode 100644 parser/testdata/00435_coalesce/explain.txt create mode 100644 parser/testdata/00437_nulls_first_last/explain.txt create mode 100644 parser/testdata/00438_bit_rotate/explain.txt create mode 100644 parser/testdata/00439_fixed_string_filter/explain.txt create mode 100644 parser/testdata/00440_nulls_merge_tree/explain.txt create mode 100644 parser/testdata/00441_nulls_in/explain.txt create mode 100644 parser/testdata/00442_filter_by_nullable/explain.txt create mode 100644 parser/testdata/00444_join_use_nulls/explain.txt create mode 100644 parser/testdata/00445_join_nullable_keys/explain.txt create mode 100644 parser/testdata/00446_clear_column_in_partition_zookeeper_long/explain.txt create mode 100644 parser/testdata/00447_foreach_modifier/explain.txt create mode 100644 parser/testdata/00448_replicate_nullable_tuple_generic/explain.txt create mode 100644 parser/testdata/00448_to_string_cut_to_zero/explain.txt create mode 100644 parser/testdata/00449_filter_array_nullable_tuple/explain.txt create mode 100644 parser/testdata/00450_higher_order_and_nullable/explain.txt create mode 100644 parser/testdata/00451_left_array_join_and_constants/explain.txt create mode 100644 parser/testdata/00452_left_array_join_and_nullable/explain.txt create mode 100644 parser/testdata/00453_cast_enum/explain.txt create mode 100644 parser/testdata/00453_top_k/explain.txt create mode 100644 parser/testdata/00456_alter_nullable/explain.txt create mode 100644 parser/testdata/00457_log_tinylog_stripelog_nullable/explain.txt create mode 100644 parser/testdata/00458_merge_type_cast/explain.txt create mode 100644 parser/testdata/00459_group_array_insert_at/explain.txt create mode 100644 parser/testdata/00460_vertical_and_totals_extremes/explain.txt create mode 100644 parser/testdata/00461_default_value_of_argument_type/explain.txt create mode 100644 parser/testdata/00462_json_true_false_literals/explain.txt create mode 100644 parser/testdata/00464_array_element_out_of_range/explain.txt create mode 100644 parser/testdata/00464_sort_all_constant_columns/explain.txt create mode 100644 parser/testdata/00465_nullable_default/explain.txt create mode 100644 parser/testdata/00466_comments_in_keyword/explain.txt create mode 100644 parser/testdata/00467_qualified_names/explain.txt create mode 100644 parser/testdata/00468_array_join_multiple_arrays_and_use_original_column/explain.txt create mode 100644 parser/testdata/00469_comparison_of_strings_containing_null_char/explain.txt create mode 100644 parser/testdata/00470_identifiers_in_double_quotes/explain.txt create mode 100644 parser/testdata/00471_sql_style_quoting/explain.txt create mode 100644 parser/testdata/00472_compare_uuid_with_constant_string/explain.txt create mode 100644 parser/testdata/00472_create_view_if_not_exists/explain.txt create mode 100644 parser/testdata/00475_in_join_db_table/explain.txt create mode 100644 parser/testdata/00476_pretty_formats_and_widths/explain.txt create mode 100644 parser/testdata/00477_parsing_data_types/explain.txt create mode 100644 parser/testdata/00479_date_and_datetime_to_number/explain.txt create mode 100644 parser/testdata/00480_mac_addresses/explain.txt create mode 100644 parser/testdata/00481_create_view_for_null/explain.txt create mode 100644 parser/testdata/00481_reading_from_last_granula/explain.txt create mode 100644 parser/testdata/00482_subqueries_and_aliases/explain.txt create mode 100644 parser/testdata/00483_cast_syntax/explain.txt create mode 100644 parser/testdata/00483_reading_from_array_structure/explain.txt create mode 100644 parser/testdata/00484_preferred_max_column_in_block_size_bytes/explain.txt create mode 100644 parser/testdata/00486_if_fixed_string/explain.txt create mode 100644 parser/testdata/00487_if_array_fixed_string/explain.txt create mode 100644 parser/testdata/00488_column_name_primary/explain.txt create mode 100644 parser/testdata/00488_non_ascii_column_names/explain.txt create mode 100644 parser/testdata/00489_pk_subexpression/explain.txt create mode 100644 parser/testdata/00490_special_line_separators_and_characters_outside_of_bmp/explain.txt create mode 100644 parser/testdata/00490_with_select/explain.txt create mode 100644 parser/testdata/00491_shard_distributed_and_aliases_in_where_having/explain.txt create mode 100644 parser/testdata/00492_drop_temporary_table/explain.txt create mode 100644 parser/testdata/00494_shard_alias_substitution_bug/explain.txt create mode 100644 parser/testdata/00495_reading_const_zero_column/explain.txt create mode 100644 parser/testdata/00498_array_functions_concat_slice_push_pop/explain.txt create mode 100644 parser/testdata/00498_bitwise_aggregate_functions/explain.txt create mode 100644 parser/testdata/00499_json_enum_insert/explain.txt create mode 100644 parser/testdata/00500_point_in_polygon/explain.txt create mode 100644 parser/testdata/00500_point_in_polygon_2d_const/explain.txt create mode 100644 parser/testdata/00500_point_in_polygon_3d_const/explain.txt create mode 100644 parser/testdata/00500_point_in_polygon_bug/explain.txt create mode 100644 parser/testdata/00500_point_in_polygon_bug_2/explain.txt create mode 100644 parser/testdata/00500_point_in_polygon_bug_3_linestring_rotation_precision/explain.txt create mode 100644 parser/testdata/00500_point_in_polygon_empty_bound/explain.txt create mode 100644 parser/testdata/00500_point_in_polygon_nan/explain.txt create mode 100644 parser/testdata/00500_point_in_polygon_non_const_poly/explain.txt create mode 100644 parser/testdata/00502_custom_partitioning_local/explain.txt create mode 100644 parser/testdata/00502_custom_partitioning_replicated_zookeeper_long/explain.txt create mode 100644 parser/testdata/00502_string_concat_with_array/explain.txt create mode 100644 parser/testdata/00502_sum_map/explain.txt create mode 100644 parser/testdata/00503_cast_const_nullable/explain.txt create mode 100644 parser/testdata/00504_mergetree_arrays_rw/explain.txt create mode 100644 parser/testdata/00506_shard_global_in_union/explain.txt create mode 100644 parser/testdata/00506_union_distributed/explain.txt create mode 100644 parser/testdata/00507_sumwithoverflow/explain.txt create mode 100644 parser/testdata/00508_materialized_view_to/explain.txt create mode 100644 parser/testdata/00509_extended_storage_definition_syntax_zookeeper/explain.txt create mode 100644 parser/testdata/00510_materizlized_view_and_deduplication_zookeeper/explain.txt create mode 100644 parser/testdata/00511_get_size_of_enum/explain.txt create mode 100644 parser/testdata/00513_fractional_time_zones/explain.txt create mode 100644 parser/testdata/00514_interval_operators/explain.txt create mode 100644 parser/testdata/00515_enhanced_time_zones/explain.txt create mode 100644 parser/testdata/00515_gcd_lcm/explain.txt create mode 100644 parser/testdata/00515_shard_desc_table_functions_and_subqueries/explain.txt create mode 100644 parser/testdata/00516_deduplication_after_drop_partition_zookeeper/explain.txt create mode 100644 parser/testdata/00516_is_inf_nan/explain.txt create mode 100644 parser/testdata/00516_modulo/explain.txt create mode 100644 parser/testdata/00517_date_parsing/explain.txt create mode 100644 parser/testdata/00519_create_as_select_from_temporary_table/explain.txt create mode 100644 parser/testdata/00520_tuple_values_interpreter/explain.txt create mode 100644 parser/testdata/00521_multidimensional/explain.txt create mode 100644 parser/testdata/00522_multidimensional/explain.txt create mode 100644 parser/testdata/00523_aggregate_functions_in_group_array/explain.txt create mode 100644 parser/testdata/00524_time_intervals_months_underflow/explain.txt create mode 100644 parser/testdata/00525_aggregate_functions_of_nullable_that_return_non_nullable/explain.txt create mode 100644 parser/testdata/00526_array_join_with_arrays_of_nullable/explain.txt create mode 100644 parser/testdata/00527_totals_having_nullable/explain.txt create mode 100644 parser/testdata/00528_const_of_nullable/explain.txt create mode 100644 parser/testdata/00529_orantius/explain.txt create mode 100644 parser/testdata/00530_arrays_of_nothing/explain.txt create mode 100644 parser/testdata/00531_aggregate_over_nullable/explain.txt create mode 100644 parser/testdata/00532_topk_generic/explain.txt create mode 100644 parser/testdata/00533_uniq_array/explain.txt create mode 100644 parser/testdata/00534_exp10/explain.txt create mode 100644 parser/testdata/00535_parse_float_scientific/explain.txt create mode 100644 parser/testdata/00536_int_exp/explain.txt create mode 100644 parser/testdata/00536_int_exp_overflow/explain.txt create mode 100644 parser/testdata/00537_quarters/explain.txt create mode 100644 parser/testdata/00538_datediff/explain.txt create mode 100644 parser/testdata/00538_datediff_plural_units/explain.txt create mode 100644 parser/testdata/00539_functions_for_working_with_json/explain.txt create mode 100644 parser/testdata/00541_kahan_sum/explain.txt create mode 100644 parser/testdata/00542_access_to_temporary_table_in_readonly_mode/explain.txt create mode 100644 parser/testdata/00542_materialized_view_and_time_zone_tag/explain.txt create mode 100644 parser/testdata/00543_null_and_prewhere/explain.txt create mode 100644 parser/testdata/00544_agg_foreach_of_two_arg/explain.txt create mode 100644 parser/testdata/00544_insert_with_select/explain.txt create mode 100644 parser/testdata/00545_weird_aggregate_functions/explain.txt create mode 100644 parser/testdata/00546_shard_tuple_element_formatting/explain.txt create mode 100644 parser/testdata/00547_named_tuples/explain.txt create mode 100644 parser/testdata/00548_slice_of_nested/explain.txt create mode 100644 parser/testdata/00549_join_use_nulls/explain.txt create mode 100644 parser/testdata/00551_parse_or_null/explain.txt create mode 100644 parser/testdata/00553_buff_exists_materlized_column/explain.txt create mode 100644 parser/testdata/00553_invalid_nested_name/explain.txt create mode 100644 parser/testdata/00554_nested_and_table_engines/explain.txt create mode 100644 parser/testdata/00555_hasAll_hasAny/explain.txt create mode 100644 parser/testdata/00555_hasSubstr/explain.txt create mode 100644 parser/testdata/00555_right_join_excessive_rows/explain.txt create mode 100644 parser/testdata/00556_array_intersect/explain.txt create mode 100644 parser/testdata/00556_remove_columns_from_subquery/explain.txt create mode 100644 parser/testdata/00557_alter_null_storage_tables/explain.txt create mode 100644 parser/testdata/00557_array_resize/explain.txt create mode 100644 parser/testdata/00558_aggregate_merge_totals_with_arenas/explain.txt create mode 100644 parser/testdata/00558_parse_floats/explain.txt create mode 100644 parser/testdata/00559_filter_array_generic/explain.txt create mode 100644 parser/testdata/00560_float_leading_plus_in_exponent/explain.txt create mode 100644 parser/testdata/00561_storage_join/explain.txt create mode 100644 parser/testdata/00562_in_subquery_merge_tree/explain.txt create mode 100644 parser/testdata/00562_rewrite_select_expression_with_union/explain.txt create mode 100644 parser/testdata/00563_complex_in_expression/explain.txt create mode 100644 parser/testdata/00563_insert_into_remote_and_zookeeper_long/explain.txt create mode 100644 parser/testdata/00563_shard_insert_into_remote/explain.txt create mode 100644 parser/testdata/00564_initial_column_values_with_default_expression/explain.txt create mode 100644 parser/testdata/00564_temporary_table_management/explain.txt create mode 100644 parser/testdata/00564_versioned_collapsing_merge_tree/explain.txt create mode 100644 parser/testdata/00566_enum_min_max/explain.txt create mode 100644 parser/testdata/00567_parse_datetime_as_unix_timestamp/explain.txt create mode 100644 parser/testdata/00568_empty_function_with_fixed_string/explain.txt create mode 100644 parser/testdata/00569_parse_date_time_best_effort/explain.txt create mode 100644 parser/testdata/00570_empty_array_is_const/explain.txt create mode 100644 parser/testdata/00571_alter_nullable/explain.txt create mode 100644 parser/testdata/00572_aggregation_by_empty_set/explain.txt create mode 100644 parser/testdata/00573_shard_aggregation_by_empty_set/explain.txt create mode 100644 parser/testdata/00575_merge_and_index_with_function_in_in/explain.txt create mode 100644 parser/testdata/00576_nested_and_prewhere/explain.txt create mode 100644 parser/testdata/00577_full_join_segfault/explain.txt create mode 100644 parser/testdata/00577_replacing_merge_tree_vertical_merge/explain.txt create mode 100644 parser/testdata/00578_merge_table_and_table_virtual_column/explain.txt create mode 100644 parser/testdata/00578_merge_table_sampling/explain.txt create mode 100644 parser/testdata/00578_merge_table_shadow_virtual_column/explain.txt create mode 100644 parser/testdata/00578_merge_trees_without_primary_key/explain.txt create mode 100644 parser/testdata/00579_merge_tree_partition_and_primary_keys_using_same_expression/explain.txt create mode 100644 parser/testdata/00579_virtual_column_and_lazy/explain.txt create mode 100644 parser/testdata/00580_cast_nullable_to_non_nullable/explain.txt create mode 100644 parser/testdata/00580_consistent_hashing_functions/explain.txt create mode 100644 parser/testdata/00581_limit_on_result_and_subquery_and_insert/explain.txt create mode 100644 parser/testdata/00582_not_aliasing_functions/explain.txt create mode 100644 parser/testdata/00583_limit_by_expressions/explain.txt create mode 100644 parser/testdata/00584_view_union_all/explain.txt create mode 100644 parser/testdata/00585_union_all_subquery_aggregation_column_removal/explain.txt create mode 100644 parser/testdata/00586_removing_unused_columns_from_subquery/explain.txt create mode 100644 parser/testdata/00587_union_all_type_conversions/explain.txt create mode 100644 parser/testdata/00588_shard_distributed_prewhere/explain.txt create mode 100644 parser/testdata/00589_removal_unused_columns_aggregation/explain.txt create mode 100644 parser/testdata/00590_limit_by_column_removal/explain.txt create mode 100644 parser/testdata/00592_union_all_different_aliases/explain.txt create mode 100644 parser/testdata/00593_union_all_assert_columns_removed/explain.txt create mode 100644 parser/testdata/00594_alias_in_distributed/explain.txt create mode 100644 parser/testdata/00597_push_down_predicate_long/explain.txt create mode 100644 parser/testdata/00597_with_totals_on_empty_set/explain.txt create mode 100644 parser/testdata/00599_create_view_with_subquery/explain.txt create mode 100644 parser/testdata/00600_create_temporary_table_if_not_exists/explain.txt create mode 100644 parser/testdata/00603_system_parts_nonexistent_database/explain.txt create mode 100644 parser/testdata/00604_shard_remote_and_columns_with_defaults/explain.txt create mode 100644 parser/testdata/00605_intersections_aggregate_functions/explain.txt create mode 100644 parser/testdata/00607_index_in_in/explain.txt create mode 100644 parser/testdata/00608_uniq_array/explain.txt create mode 100644 parser/testdata/00609_distributed_with_case_when_then/explain.txt create mode 100644 parser/testdata/00609_mv_index_in_in/explain.txt create mode 100644 parser/testdata/00609_prewhere_and_default/explain.txt create mode 100644 parser/testdata/00610_materialized_view_forward_alter_partition_statements/explain.txt create mode 100644 parser/testdata/00612_count/explain.txt create mode 100644 parser/testdata/00612_http_max_query_size_for_distributed/explain.txt create mode 100644 parser/testdata/00612_pk_in_tuple/explain.txt create mode 100644 parser/testdata/00612_shard_count/explain.txt create mode 100644 parser/testdata/00612_union_query_with_subquery/explain.txt create mode 100644 parser/testdata/00613_shard_distributed_max_execution_time/explain.txt create mode 100644 parser/testdata/00614_array_nullable/explain.txt create mode 100644 parser/testdata/00614_shard_same_header_for_local_and_remote_node_in_distributed_query/explain.txt create mode 100644 parser/testdata/00615_nullable_alter_optimize/explain.txt create mode 100644 parser/testdata/00616_final_single_part/explain.txt create mode 100644 parser/testdata/00617_array_in/explain.txt create mode 100644 parser/testdata/00618_nullable_in/explain.txt create mode 100644 parser/testdata/00619_extract/explain.txt create mode 100644 parser/testdata/00619_union_highlite/explain.txt create mode 100644 parser/testdata/00620_optimize_on_nonleader_replica_zookeeper/explain.txt create mode 100644 parser/testdata/00621_regression_for_in_operator/explain.txt create mode 100644 parser/testdata/00622_select_in_parens/explain.txt create mode 100644 parser/testdata/00623_in_partition_key/explain.txt create mode 100644 parser/testdata/00623_replicated_truncate_table_zookeeper_long/explain.txt create mode 100644 parser/testdata/00623_truncate_all_tables/explain.txt create mode 100644 parser/testdata/00623_truncate_table/explain.txt create mode 100644 parser/testdata/00624_length_utf8/explain.txt create mode 100644 parser/testdata/00625_arrays_in_nested/explain.txt create mode 100644 parser/testdata/00625_summing_merge_tree_merge/explain.txt create mode 100644 parser/testdata/00626_in_syntax/explain.txt create mode 100644 parser/testdata/00626_replace_partition_from_table/explain.txt create mode 100644 parser/testdata/00627_recursive_alias/explain.txt create mode 100644 parser/testdata/00628_in_lambda_on_merge_table_bug/explain.txt create mode 100644 parser/testdata/00632_aggregation_window_funnel/explain.txt create mode 100644 parser/testdata/00632_get_sample_block_cache/explain.txt create mode 100644 parser/testdata/00633_func_or_in/explain.txt create mode 100644 parser/testdata/00634_rename_view/explain.txt create mode 100644 parser/testdata/00635_shard_distinct_order_by/explain.txt create mode 100644 parser/testdata/00639_startsWith/explain.txt create mode 100644 parser/testdata/00640_endsWith/explain.txt create mode 100644 parser/testdata/00642_cast/explain.txt create mode 100644 parser/testdata/00643_cast_zookeeper_long/explain.txt create mode 100644 parser/testdata/00645_date_time_input_format/explain.txt create mode 100644 parser/testdata/00646_weird_mmx/explain.txt create mode 100644 parser/testdata/00647_histogram/explain.txt create mode 100644 parser/testdata/00647_histogram_negative/explain.txt create mode 100644 parser/testdata/00647_multiply_aggregation_state/explain.txt create mode 100644 parser/testdata/00647_select_numbers_with_offset/explain.txt create mode 100644 parser/testdata/00648_replacing_empty_set_from_prewhere/explain.txt create mode 100644 parser/testdata/00649_quantile_tdigest_negative/explain.txt create mode 100644 parser/testdata/00650_array_enumerate_uniq_with_tuples/explain.txt create mode 100644 parser/testdata/00653_monotonic_integer_cast/explain.txt create mode 100644 parser/testdata/00653_running_difference/explain.txt create mode 100644 parser/testdata/00660_optimize_final_without_partition/explain.txt create mode 100644 parser/testdata/00661_array_has_silviucpp/explain.txt create mode 100644 parser/testdata/00661_optimize_final_replicated_without_partition_zookeeper/explain.txt create mode 100644 parser/testdata/00662_array_has_nullable/explain.txt create mode 100644 parser/testdata/00662_has_nullable/explain.txt create mode 100644 parser/testdata/00663_tiny_log_empty_insert/explain.txt create mode 100644 parser/testdata/00664_cast_from_string_to_nullable/explain.txt create mode 100644 parser/testdata/00665_alter_nullable_string_to_nullable_uint8/explain.txt create mode 100644 parser/testdata/00666_uniq_complex_types/explain.txt create mode 100644 parser/testdata/00668_compare_arrays_silviucpp/explain.txt create mode 100644 parser/testdata/00670_truncate_temporary_table/explain.txt create mode 100644 parser/testdata/00671_max_intersections/explain.txt create mode 100644 parser/testdata/00672_arrayDistinct/explain.txt create mode 100644 parser/testdata/00673_subquery_prepared_set_performance/explain.txt create mode 100644 parser/testdata/00674_has_array_enum/explain.txt create mode 100644 parser/testdata/00674_join_on_syntax/explain.txt create mode 100644 parser/testdata/00675_shard_remote_with_table_function/explain.txt create mode 100644 parser/testdata/00676_group_by_in/explain.txt create mode 100644 parser/testdata/00677_shard_any_heavy_merge/explain.txt create mode 100644 parser/testdata/00678_murmurhash/explain.txt create mode 100644 parser/testdata/00678_shard_funnel_window/explain.txt create mode 100644 parser/testdata/00679_replace_asterisk/explain.txt create mode 100644 parser/testdata/00679_uuid_in_key/explain.txt create mode 100644 parser/testdata/00680_duplicate_columns_inside_union_all/explain.txt create mode 100644 parser/testdata/00681_duplicate_columns_inside_union_all_stas_sviridov/explain.txt create mode 100644 parser/testdata/00685_output_format_json_escape_forward_slashes/explain.txt create mode 100644 parser/testdata/00687_insert_into_mv/explain.txt create mode 100644 parser/testdata/00688_aggregation_retention/explain.txt create mode 100644 parser/testdata/00688_case_without_else/explain.txt create mode 100644 parser/testdata/00688_low_cardinality_alter_add_column/explain.txt create mode 100644 parser/testdata/00688_low_cardinality_defaults/explain.txt create mode 100644 parser/testdata/00688_low_cardinality_dictionary_deserialization/explain.txt create mode 100644 parser/testdata/00688_low_cardinality_in/explain.txt create mode 100644 parser/testdata/00688_low_cardinality_nullable_cast/explain.txt create mode 100644 parser/testdata/00688_low_cardinality_prewhere/explain.txt create mode 100644 parser/testdata/00688_low_cardinality_serialization/explain.txt create mode 100644 parser/testdata/00688_low_cardinality_syntax/explain.txt create mode 100644 parser/testdata/00689_join_table_function/explain.txt create mode 100644 parser/testdata/00691_array_distinct/explain.txt create mode 100644 parser/testdata/00692_if_exception_code/explain.txt create mode 100644 parser/testdata/00693_max_block_size_system_tables_columns/explain.txt create mode 100644 parser/testdata/00695_pretty_max_column_pad_width/explain.txt create mode 100644 parser/testdata/00696_system_columns_limit/explain.txt create mode 100644 parser/testdata/00697_in_subquery_shard/explain.txt create mode 100644 parser/testdata/00698_validate_array_sizes_for_nested/explain.txt create mode 100644 parser/testdata/00698_validate_array_sizes_for_nested_kshvakov/explain.txt create mode 100644 parser/testdata/00700_decimal_aggregates/explain.txt create mode 100644 parser/testdata/00700_decimal_arithm/explain.txt create mode 100644 parser/testdata/00700_decimal_array_functions/explain.txt create mode 100644 parser/testdata/00700_decimal_bounds/explain.txt create mode 100644 parser/testdata/00700_decimal_casts/explain.txt create mode 100644 parser/testdata/00700_decimal_casts_2/explain.txt create mode 100644 parser/testdata/00700_decimal_compare/explain.txt create mode 100644 parser/testdata/00700_decimal_complex_types/explain.txt create mode 100644 parser/testdata/00700_decimal_defaults/explain.txt create mode 100644 parser/testdata/00700_decimal_empty_aggregates/explain.txt create mode 100644 parser/testdata/00700_decimal_formats/explain.txt create mode 100644 parser/testdata/00700_decimal_gathers/explain.txt create mode 100644 parser/testdata/00700_decimal_in_keys/explain.txt create mode 100644 parser/testdata/00700_decimal_math/explain.txt create mode 100644 parser/testdata/00700_decimal_null/explain.txt create mode 100644 parser/testdata/00700_decimal_round/explain.txt create mode 100644 parser/testdata/00700_decimal_with_default_precision_and_scale/explain.txt create mode 100644 parser/testdata/00700_to_decimal_or_something/explain.txt create mode 100644 parser/testdata/00701_context_use_after_free/explain.txt create mode 100644 parser/testdata/00701_join_default_strictness/explain.txt create mode 100644 parser/testdata/00701_rollup/explain.txt create mode 100644 parser/testdata/00702_join_on_dups/explain.txt create mode 100644 parser/testdata/00702_join_with_using/explain.txt create mode 100644 parser/testdata/00702_join_with_using_dups/explain.txt create mode 100644 parser/testdata/00702_where_with_quailified_names/explain.txt create mode 100644 parser/testdata/00703_join_crash/explain.txt create mode 100644 parser/testdata/00704_arrayCumSumLimited_arrayDifference/explain.txt create mode 100644 parser/testdata/00705_aggregate_states_addition/explain.txt create mode 100644 parser/testdata/00706_iso_week_and_day_of_year/explain.txt create mode 100644 parser/testdata/00707_float_csv_delimiter/explain.txt create mode 100644 parser/testdata/00709_virtual_column_partition_id/explain.txt create mode 100644 parser/testdata/00710_array_enumerate_dense/explain.txt create mode 100644 parser/testdata/00711_array_enumerate_variants/explain.txt create mode 100644 parser/testdata/00712_nan_comparison/explain.txt create mode 100644 parser/testdata/00712_prewhere_with_alias/explain.txt create mode 100644 parser/testdata/00712_prewhere_with_alias_and_virtual_column/explain.txt create mode 100644 parser/testdata/00712_prewhere_with_alias_bug/explain.txt create mode 100644 parser/testdata/00712_prewhere_with_alias_bug_2/explain.txt create mode 100644 parser/testdata/00712_prewhere_with_final/explain.txt create mode 100644 parser/testdata/00712_prewhere_with_missing_columns/explain.txt create mode 100644 parser/testdata/00712_prewhere_with_missing_columns_2/explain.txt create mode 100644 parser/testdata/00712_prewhere_with_sampling/explain.txt create mode 100644 parser/testdata/00712_prewhere_with_sampling_and_alias/explain.txt create mode 100644 parser/testdata/00713_collapsing_merge_tree/explain.txt create mode 100644 parser/testdata/00714_alter_uuid/explain.txt create mode 100644 parser/testdata/00714_create_temporary_table_with_in_clause/explain.txt create mode 100644 parser/testdata/00715_bounding_ratio/explain.txt create mode 100644 parser/testdata/00715_bounding_ratio_merge_empty/explain.txt create mode 100644 parser/testdata/00716_allow_ddl/explain.txt create mode 100644 parser/testdata/00717_default_join_type/explain.txt create mode 100644 parser/testdata/00717_low_cardinaliry_distributed_group_by/explain.txt create mode 100644 parser/testdata/00717_low_cardinaliry_group_by/explain.txt create mode 100644 parser/testdata/00717_merge_and_distributed/explain.txt create mode 100644 parser/testdata/00718_format_datetime/explain.txt create mode 100644 parser/testdata/00718_format_datetime_1/explain.txt create mode 100644 parser/testdata/00718_low_cardinaliry_alter/explain.txt create mode 100644 parser/testdata/00719_format_datetime_f_varsize_bug/explain.txt create mode 100644 parser/testdata/00719_format_datetime_rand/explain.txt create mode 100644 parser/testdata/00720_combinations_of_aggregate_combinators/explain.txt create mode 100644 parser/testdata/00720_with_cube/explain.txt create mode 100644 parser/testdata/00721_force_by_identical_result_after_merge_zookeeper_long/explain.txt create mode 100644 parser/testdata/00722_inner_join/explain.txt create mode 100644 parser/testdata/00723_remerge_sort/explain.txt create mode 100644 parser/testdata/00724_insert_values_datetime_conversion/explain.txt create mode 100644 parser/testdata/00725_comment_columns_long/explain.txt create mode 100644 parser/testdata/00725_ipv4_ipv6_domains/explain.txt create mode 100644 parser/testdata/00725_join_on_bug_1/explain.txt create mode 100644 parser/testdata/00725_join_on_bug_2/explain.txt create mode 100644 parser/testdata/00725_join_on_bug_3/explain.txt create mode 100644 parser/testdata/00725_join_on_bug_4/explain.txt create mode 100644 parser/testdata/00725_memory_tracking/explain.txt create mode 100644 parser/testdata/00725_quantiles_shard/explain.txt create mode 100644 parser/testdata/00726_length_aliases/explain.txt create mode 100644 parser/testdata/00726_materialized_view_concurrent/explain.txt create mode 100644 parser/testdata/00726_modulo_for_date/explain.txt create mode 100644 parser/testdata/00727_concat/explain.txt create mode 100644 parser/testdata/00729_prewhere_array_join/explain.txt create mode 100644 parser/testdata/00730_unicode_terminal_format/explain.txt create mode 100644 parser/testdata/00732_base64_functions/explain.txt create mode 100644 parser/testdata/00732_decimal_summing_merge_tree/explain.txt create mode 100644 parser/testdata/00732_quorum_insert_have_data_before_quorum_zookeeper_long/explain.txt create mode 100644 parser/testdata/00732_quorum_insert_lost_part_and_alive_part_zookeeper_long/explain.txt create mode 100644 parser/testdata/00732_quorum_insert_lost_part_zookeeper_long/explain.txt create mode 100644 parser/testdata/00732_quorum_insert_select_with_old_data_and_without_quorum_zookeeper_long/explain.txt create mode 100644 parser/testdata/00732_quorum_insert_simple_test_1_parts_zookeeper_long/explain.txt create mode 100644 parser/testdata/00732_quorum_insert_simple_test_2_parts_zookeeper_long/explain.txt create mode 100644 parser/testdata/00733_if_datetime/explain.txt create mode 100644 parser/testdata/00734_timeslot/explain.txt create mode 100644 parser/testdata/00735_long_conditional/explain.txt create mode 100644 parser/testdata/00735_or_expr_optimize_bug/explain.txt create mode 100644 parser/testdata/00736_disjunction_optimisation/explain.txt create mode 100644 parser/testdata/00737_decimal_group_by/explain.txt create mode 100644 parser/testdata/00738_nested_merge_multidimensional_array/explain.txt create mode 100644 parser/testdata/00739_array_element_nullable_string_mattrobenolt/explain.txt create mode 100644 parser/testdata/00740_optimize_predicate_expression/explain.txt create mode 100644 parser/testdata/00741_client_comment_multiline/explain.txt create mode 100644 parser/testdata/00742_require_join_strictness/explain.txt create mode 100644 parser/testdata/00743_limit_by_not_found_column/explain.txt create mode 100644 parser/testdata/00744_join_not_found_column/explain.txt create mode 100644 parser/testdata/00745_compile_scalar_subquery/explain.txt create mode 100644 parser/testdata/00746_compile_non_deterministic_function/explain.txt create mode 100644 parser/testdata/00746_hashing_tuples/explain.txt create mode 100644 parser/testdata/00747_contributors/explain.txt create mode 100644 parser/testdata/00748_insert_array_with_null/explain.txt create mode 100644 parser/testdata/00749_inner_join_of_unnamed_subqueries/explain.txt create mode 100644 parser/testdata/00750_merge_tree_merge_with_o_direct/explain.txt create mode 100644 parser/testdata/00751_default_databasename_for_view/explain.txt create mode 100644 parser/testdata/00751_hashing_ints/explain.txt create mode 100644 parser/testdata/00751_low_cardinality_nullable_group_by/explain.txt create mode 100644 parser/testdata/00752_low_cardinality_array_result/explain.txt create mode 100644 parser/testdata/00752_low_cardinality_lambda_argument/explain.txt create mode 100644 parser/testdata/00752_low_cardinality_left_array_join/explain.txt create mode 100644 parser/testdata/00752_low_cardinality_mv_1/explain.txt create mode 100644 parser/testdata/00752_low_cardinality_mv_2/explain.txt create mode 100644 parser/testdata/00752_low_cardinality_permute/explain.txt create mode 100644 parser/testdata/00753_alter_attach/explain.txt create mode 100644 parser/testdata/00753_alter_destination_for_storage_buffer/explain.txt create mode 100644 parser/testdata/00753_comment_columns_zookeeper/explain.txt create mode 100644 parser/testdata/00753_distributed_system_columns_and_system_tables/explain.txt create mode 100644 parser/testdata/00753_quantile_format/explain.txt create mode 100644 parser/testdata/00753_system_columns_and_system_tables_long/explain.txt create mode 100644 parser/testdata/00753_with_with_single_alias/explain.txt create mode 100644 parser/testdata/00754_alter_modify_column_partitions/explain.txt create mode 100644 parser/testdata/00754_alter_modify_order_by/explain.txt create mode 100644 parser/testdata/00754_alter_modify_order_by_replicated_zookeeper_long/explain.txt create mode 100644 parser/testdata/00754_first_significant_subdomain_more/explain.txt create mode 100644 parser/testdata/00755_avg_value_size_hint_passing/explain.txt create mode 100644 parser/testdata/00756_power_alias/explain.txt create mode 100644 parser/testdata/00757_enum_defaults/explain.txt create mode 100644 parser/testdata/00757_enum_defaults_const_analyzer/explain.txt create mode 100644 parser/testdata/00758_array_reverse/explain.txt create mode 100644 parser/testdata/00760_insert_json_with_defaults/explain.txt create mode 100644 parser/testdata/00760_url_functions_overflow/explain.txt create mode 100644 parser/testdata/00761_lower_utf8_bug/explain.txt create mode 100644 parser/testdata/00762_date_comparsion/explain.txt create mode 100644 parser/testdata/00763_create_query_as_table_engine_bug/explain.txt create mode 100644 parser/testdata/00765_locate/explain.txt create mode 100644 parser/testdata/00765_sql_compatibility_aliases/explain.txt create mode 100644 parser/testdata/00779_all_right_join_max_block_size/explain.txt create mode 100644 parser/testdata/00780_unaligned_array_join/explain.txt create mode 100644 parser/testdata/00794_materialized_view_with_column_defaults/explain.txt create mode 100644 parser/testdata/00799_function_dry_run/explain.txt create mode 100644 parser/testdata/00800_function_java_hash/explain.txt create mode 100644 parser/testdata/00800_low_cardinality_array_group_by_arg/explain.txt create mode 100644 parser/testdata/00800_low_cardinality_distinct_numeric/explain.txt create mode 100644 parser/testdata/00800_low_cardinality_distributed_insert/explain.txt create mode 100644 parser/testdata/00800_low_cardinality_empty_array/explain.txt create mode 100644 parser/testdata/00800_low_cardinality_join/explain.txt create mode 100644 parser/testdata/00800_versatile_storage_join/explain.txt create mode 100644 parser/testdata/00802_daylight_saving_time_shift_backwards_at_midnight/explain.txt create mode 100644 parser/testdata/00802_system_parts_with_datetime_partition/explain.txt create mode 100644 parser/testdata/00803_odbc_driver_2_format/explain.txt create mode 100644 parser/testdata/00803_xxhash/explain.txt create mode 100644 parser/testdata/00804_rollup_with_having/explain.txt create mode 100644 parser/testdata/00804_test_alter_compression_codecs/explain.txt create mode 100644 parser/testdata/00804_test_custom_compression_codecs/explain.txt create mode 100644 parser/testdata/00804_test_custom_compression_codes_log_storages/explain.txt create mode 100644 parser/testdata/00804_test_deflate_qpl_codec_compression/explain.txt create mode 100644 parser/testdata/00804_test_delta_codec_compression/explain.txt create mode 100644 parser/testdata/00804_test_delta_codec_no_type_alter/explain.txt create mode 100644 parser/testdata/00804_test_zstd_qat_codec_compression/explain.txt create mode 100644 parser/testdata/00805_round_down/explain.txt create mode 100644 parser/testdata/00806_alter_update/explain.txt create mode 100644 parser/testdata/00807_regexp_quote_meta/explain.txt create mode 100644 parser/testdata/00808_array_enumerate_segfault/explain.txt create mode 100644 parser/testdata/00808_not_optimize_predicate/explain.txt create mode 100644 parser/testdata/00809_add_days_segfault/explain.txt create mode 100644 parser/testdata/00810_in_operators_segfault/explain.txt create mode 100644 parser/testdata/00811_garbage/explain.txt create mode 100644 parser/testdata/00812_prewhere_alias_array/explain.txt create mode 100644 parser/testdata/00813_parse_date_time_best_effort_more/explain.txt create mode 100644 parser/testdata/00814_parsing_ub/explain.txt create mode 100644 parser/testdata/00815_left_join_on_stepanel/explain.txt create mode 100644 parser/testdata/00816_join_column_names_sarg/explain.txt create mode 100644 parser/testdata/00817_with_simple/explain.txt create mode 100644 parser/testdata/00818_alias_bug_4110/explain.txt create mode 100644 parser/testdata/00818_inner_join_bug_3567/explain.txt create mode 100644 parser/testdata/00818_join_bug_4271/explain.txt create mode 100644 parser/testdata/00819_ast_refactoring_bugs/explain.txt create mode 100644 parser/testdata/00819_full_join_wrong_columns_in_block/explain.txt create mode 100644 parser/testdata/00820_multiple_joins/explain.txt create mode 100644 parser/testdata/00820_multiple_joins_subquery_requires_alias/explain.txt create mode 100644 parser/testdata/00821_distributed_storage_with_join_on/explain.txt create mode 100644 parser/testdata/00822_array_insert_default/explain.txt create mode 100644 parser/testdata/00823_sequence_match_dfa/explain.txt create mode 100644 parser/testdata/00824_filesystem/explain.txt create mode 100644 parser/testdata/00826_cross_to_inner_join/explain.txt create mode 100644 parser/testdata/00829_bitmap64_function/explain.txt create mode 100644 parser/testdata/00829_bitmap_function/explain.txt create mode 100644 parser/testdata/00830_join_overwrite/explain.txt create mode 100644 parser/testdata/00831_quantile_weighted_parameter_check/explain.txt create mode 100644 parser/testdata/00832_storage_file_lock/explain.txt create mode 100644 parser/testdata/00833_sleep_overflow/explain.txt create mode 100644 parser/testdata/00834_date_datetime_cmp/explain.txt create mode 100644 parser/testdata/00834_limit_with_constant_expressions/explain.txt create mode 100644 parser/testdata/00834_not_between/explain.txt create mode 100644 parser/testdata/00835_if_generic_case/explain.txt create mode 100644 parser/testdata/00836_indices_alter/explain.txt create mode 100644 parser/testdata/00836_indices_alter_replicated_zookeeper_long/explain.txt create mode 100644 parser/testdata/00836_numbers_table_function_zero/explain.txt create mode 100644 parser/testdata/00837_insert_select_and_read_prefix/explain.txt create mode 100644 parser/testdata/00837_minmax_index_replicated_zookeeper_long/explain.txt create mode 100644 parser/testdata/00839_bitmask_negative/explain.txt create mode 100644 parser/testdata/00840_top_k_weighted/explain.txt create mode 100644 parser/testdata/00841_temporary_table_database/explain.txt create mode 100644 parser/testdata/00842_array_with_constant_overflow/explain.txt create mode 100644 parser/testdata/00843_optimize_predicate_and_rename_table/explain.txt create mode 100644 parser/testdata/00844_join_lightee2/explain.txt create mode 100644 parser/testdata/00845_join_on_aliases/explain.txt create mode 100644 parser/testdata/00846_join_using_tuple_crash/explain.txt create mode 100644 parser/testdata/00847_multiple_join_same_column/explain.txt create mode 100644 parser/testdata/00848_join_use_nulls_segfault/explain.txt create mode 100644 parser/testdata/00849_multiple_comma_join_2/explain.txt create mode 100644 parser/testdata/00850_global_join_dups/explain.txt create mode 100644 parser/testdata/00852_any_join_nulls/explain.txt create mode 100644 parser/testdata/00853_join_with_nulls_crash/explain.txt create mode 100644 parser/testdata/00854_multiple_join_asterisks/explain.txt create mode 100644 parser/testdata/00855_join_with_array_join/explain.txt create mode 100644 parser/testdata/00856_no_column_issue_4242/explain.txt create mode 100644 parser/testdata/00857_global_joinsavel_table_alias/explain.txt create mode 100644 parser/testdata/00858_issue_4756/explain.txt create mode 100644 parser/testdata/00859_distinct_with_join/explain.txt create mode 100644 parser/testdata/00860_unknown_identifier_bug/explain.txt create mode 100644 parser/testdata/00861_decimal_quoted_csv/explain.txt create mode 100644 parser/testdata/00862_decimal_in/explain.txt create mode 100644 parser/testdata/00863_comma_join_in/explain.txt create mode 100644 parser/testdata/00864_union_all_supertype/explain.txt create mode 100644 parser/testdata/00870_t64_codec/explain.txt create mode 100644 parser/testdata/00871_t64_codec_signed/explain.txt create mode 100644 parser/testdata/00872_t64_bit_codec/explain.txt create mode 100644 parser/testdata/00873_t64_codec_date/explain.txt create mode 100644 parser/testdata/00874_issue_3495/explain.txt create mode 100644 parser/testdata/00875_join_right_nulls/explain.txt create mode 100644 parser/testdata/00875_join_right_nulls_ors/explain.txt create mode 100644 parser/testdata/00876_wrong_arraj_join_column/explain.txt create mode 100644 parser/testdata/00877_memory_limit_for_new_delete/explain.txt create mode 100644 parser/testdata/00878_join_unexpected_results/explain.txt create mode 100644 parser/testdata/00879_cast_to_decimal_crash/explain.txt create mode 100644 parser/testdata/00880_decimal_in_key/explain.txt create mode 100644 parser/testdata/00881_unknown_identifier_in_in/explain.txt create mode 100644 parser/testdata/00882_multiple_join_no_alias/explain.txt create mode 100644 parser/testdata/00897_flatten/explain.txt create mode 100644 parser/testdata/00898_quantile_timing_parameter_check/explain.txt create mode 100644 parser/testdata/00899_long_attach_memory_limit/explain.txt create mode 100644 parser/testdata/00900_entropy_shard/explain.txt create mode 100644 parser/testdata/00901_joint_entropy/explain.txt create mode 100644 parser/testdata/00902_entropy/explain.txt create mode 100644 parser/testdata/00903_array_with_constant_function/explain.txt create mode 100644 parser/testdata/00904_array_with_constant_2/explain.txt create mode 100644 parser/testdata/00905_compile_expressions_compare_big_dates/explain.txt create mode 100644 parser/testdata/00905_field_with_aggregate_function_state/explain.txt create mode 100644 parser/testdata/00906_low_cardinality_cache/explain.txt create mode 100644 parser/testdata/00906_low_cardinality_const_argument/explain.txt create mode 100644 parser/testdata/00906_low_cardinality_rollup/explain.txt create mode 100644 parser/testdata/00907_set_index_with_nullable_and_low_cardinality/explain.txt create mode 100644 parser/testdata/00907_set_index_with_nullable_and_low_cardinality_bug/explain.txt create mode 100644 parser/testdata/00908_analyze_query/explain.txt create mode 100644 parser/testdata/00909_arrayEnumerateUniq/explain.txt create mode 100644 parser/testdata/00909_ngram_distance/explain.txt create mode 100644 parser/testdata/00910_buffer_prewhere/explain.txt create mode 100644 parser/testdata/00910_buffer_prewhere_different_types/explain.txt create mode 100644 parser/testdata/00910_crash_when_distributed_modify_order_by/explain.txt create mode 100644 parser/testdata/00910_decimal_group_array_crash_3783/explain.txt create mode 100644 parser/testdata/00910_zookeeper_custom_compression_codecs_replicated_long/explain.txt create mode 100644 parser/testdata/00910_zookeeper_test_alter_compression_codecs_long/explain.txt create mode 100644 parser/testdata/00912_string_comparison/explain.txt create mode 100644 parser/testdata/00913_many_threads/explain.txt create mode 100644 parser/testdata/00914_join_bgranvea/explain.txt create mode 100644 parser/testdata/00914_replicate/explain.txt create mode 100644 parser/testdata/00915_simple_aggregate_function/explain.txt create mode 100644 parser/testdata/00915_simple_aggregate_function_summing_merge_tree/explain.txt create mode 100644 parser/testdata/00915_tuple_orantius/explain.txt create mode 100644 parser/testdata/00916_add_materialized_column_after/explain.txt create mode 100644 parser/testdata/00916_create_or_replace_view/explain.txt create mode 100644 parser/testdata/00916_join_using_duplicate_columns/explain.txt create mode 100644 parser/testdata/00917_least_sqr/explain.txt create mode 100644 parser/testdata/00917_multiple_joins_denny_crane/explain.txt create mode 100644 parser/testdata/00918_has_unsufficient_type_check/explain.txt create mode 100644 parser/testdata/00918_json_functions/explain.txt create mode 100644 parser/testdata/00919_histogram_merge/explain.txt create mode 100644 parser/testdata/00919_sum_aggregate_states_constants/explain.txt create mode 100644 parser/testdata/00920_multiply_aggregate_states_constants/explain.txt create mode 100644 parser/testdata/00921_datetime64_basic/explain.txt create mode 100644 parser/testdata/00926_adaptive_index_granularity_collapsing_merge_tree/explain.txt create mode 100644 parser/testdata/00926_adaptive_index_granularity_merge_tree/explain.txt create mode 100644 parser/testdata/00926_adaptive_index_granularity_pk/explain.txt create mode 100644 parser/testdata/00926_adaptive_index_granularity_replacing_merge_tree/explain.txt create mode 100644 parser/testdata/00926_adaptive_index_granularity_versioned_collapsing_merge_tree/explain.txt create mode 100644 parser/testdata/00926_geo_to_h3/explain.txt create mode 100644 parser/testdata/00926_multimatch/explain.txt create mode 100644 parser/testdata/00926_zookeeper_adaptive_index_granularity_replicated_merge_tree_long/explain.txt create mode 100644 parser/testdata/00927_asof_join_correct_bt/explain.txt create mode 100644 parser/testdata/00927_asof_join_long/explain.txt create mode 100644 parser/testdata/00927_asof_join_noninclusive/explain.txt create mode 100644 parser/testdata/00927_asof_joins/explain.txt create mode 100644 parser/testdata/00927_disable_hyperscan/explain.txt create mode 100644 parser/testdata/00928_multi_match_constant_constant/explain.txt create mode 100644 parser/testdata/00929_multi_match_edit_distance/explain.txt create mode 100644 parser/testdata/00930_arrayIntersect/explain.txt create mode 100644 parser/testdata/00930_max_partitions_per_insert_block/explain.txt create mode 100644 parser/testdata/00931_low_cardinality_nullable_aggregate_function_type/explain.txt create mode 100644 parser/testdata/00931_low_cardinality_read_with_empty_array/explain.txt create mode 100644 parser/testdata/00931_low_cardinality_set_index_in_key_condition/explain.txt create mode 100644 parser/testdata/00932_array_intersect_bug/explain.txt create mode 100644 parser/testdata/00932_geohash_support/explain.txt create mode 100644 parser/testdata/00933_alter_ttl/explain.txt create mode 100644 parser/testdata/00933_reserved_word/explain.txt create mode 100644 parser/testdata/00933_ttl_formatting/explain.txt create mode 100644 parser/testdata/00933_ttl_simple/explain.txt create mode 100644 parser/testdata/00933_ttl_with_default/explain.txt create mode 100644 parser/testdata/00934_is_valid_utf8/explain.txt create mode 100644 parser/testdata/00935_to_iso_week_first_year/explain.txt create mode 100644 parser/testdata/00936_crc_functions/explain.txt create mode 100644 parser/testdata/00936_function_result_with_operator_in/explain.txt create mode 100644 parser/testdata/00936_substring_utf8_non_const/explain.txt create mode 100644 parser/testdata/00937_ipv4_cidr_range/explain.txt create mode 100644 parser/testdata/00938_basename/explain.txt create mode 100644 parser/testdata/00938_dataset_test/explain.txt create mode 100644 parser/testdata/00938_ipv6_cidr_range/explain.txt create mode 100644 parser/testdata/00938_test_retention_function/explain.txt create mode 100644 parser/testdata/00939_limit_by_offset/explain.txt create mode 100644 parser/testdata/00939_test_null_in/explain.txt create mode 100644 parser/testdata/00940_max_parts_in_total/explain.txt create mode 100644 parser/testdata/00940_order_by_read_in_order/explain.txt create mode 100644 parser/testdata/00941_to_custom_week/explain.txt create mode 100644 parser/testdata/00942_mv_rename_table/explain.txt create mode 100644 parser/testdata/00943_mv_rename_without_inner_table/explain.txt create mode 100644 parser/testdata/00944_minmax_nan/explain.txt create mode 100644 parser/testdata/00944_minmax_null/explain.txt create mode 100644 parser/testdata/00944_ml_test/explain.txt create mode 100644 parser/testdata/00945_bloom_filter_index/explain.txt create mode 100644 parser/testdata/00945_ml_test/explain.txt create mode 100644 parser/testdata/00946_ml_test/explain.txt create mode 100644 parser/testdata/00947_ml_test/explain.txt create mode 100644 parser/testdata/00948_to_valid_utf8/explain.txt create mode 100644 parser/testdata/00948_values_interpreter_template/explain.txt create mode 100644 parser/testdata/00949_format/explain.txt create mode 100644 parser/testdata/00950_bad_alloc_when_truncate_join_storage/explain.txt create mode 100644 parser/testdata/00950_default_prewhere/explain.txt create mode 100644 parser/testdata/00950_dict_get/explain.txt create mode 100644 parser/testdata/00950_test_double_delta_codec/explain.txt create mode 100644 parser/testdata/00950_test_double_delta_codec_types/explain.txt create mode 100644 parser/testdata/00950_test_gorilla_codec/explain.txt create mode 100644 parser/testdata/00951_ngram_search/explain.txt create mode 100644 parser/testdata/00952_insert_into_distributed_with_materialized_column/explain.txt create mode 100644 parser/testdata/00952_part_frozen_info/explain.txt create mode 100644 parser/testdata/00953_moving_functions/explain.txt create mode 100644 parser/testdata/00954_resample_combinator/explain.txt create mode 100644 parser/testdata/00955_test_final_mark/explain.txt create mode 100644 parser/testdata/00956_join_use_nulls_with_array_column/explain.txt create mode 100644 parser/testdata/00957_coalesce_const_nullable_crash/explain.txt create mode 100644 parser/testdata/00957_delta_diff_bug/explain.txt create mode 100644 parser/testdata/00957_neighbor/explain.txt create mode 100644 parser/testdata/00960_eval_ml_method_const/explain.txt create mode 100644 parser/testdata/00961_check_table/explain.txt create mode 100644 parser/testdata/00961_checksums_in_system_parts_columns_table/explain.txt create mode 100644 parser/testdata/00961_visit_param_buffer_underflow/explain.txt create mode 100644 parser/testdata/00962_enumNotExect/explain.txt create mode 100644 parser/testdata/00962_visit_param_various/explain.txt create mode 100644 parser/testdata/00963_achimbab/explain.txt create mode 100644 parser/testdata/00963_startsWith_force_primary_key/explain.txt create mode 100644 parser/testdata/00964_os_thread_priority/explain.txt create mode 100644 parser/testdata/00965_shard_unresolvable_addresses/explain.txt create mode 100644 parser/testdata/00966_invalid_json_must_not_parse/explain.txt create mode 100644 parser/testdata/00967_insert_into_distributed_different_types/explain.txt create mode 100644 parser/testdata/00968_file_engine_in_subquery/explain.txt create mode 100644 parser/testdata/00968_roundAge/explain.txt create mode 100644 parser/testdata/00969_columns_clause/explain.txt create mode 100644 parser/testdata/00969_roundDuration/explain.txt create mode 100644 parser/testdata/00971_merge_tree_uniform_read_distribution_and_max_rows_to_read/explain.txt create mode 100644 parser/testdata/00972_desc_table_virtual_columns/explain.txt create mode 100644 parser/testdata/00972_geohashesInBox/explain.txt create mode 100644 parser/testdata/00973_create_table_as_table_function/explain.txt create mode 100644 parser/testdata/00974_adaptive_granularity_secondary_index/explain.txt create mode 100644 parser/testdata/00974_bitmapContains_with_primary_key/explain.txt create mode 100644 parser/testdata/00974_distributed_join_on/explain.txt create mode 100644 parser/testdata/00974_final_predicate_push_down/explain.txt create mode 100644 parser/testdata/00974_fix_join_on/explain.txt create mode 100644 parser/testdata/00974_low_cardinality_cast/explain.txt create mode 100644 parser/testdata/00974_query_profiler/explain.txt create mode 100644 parser/testdata/00975_json_hang/explain.txt create mode 100644 parser/testdata/00975_move_partition_merge_tree/explain.txt create mode 100644 parser/testdata/00975_recursive_materialized_view/explain.txt create mode 100644 parser/testdata/00975_sample_prewhere_distributed/explain.txt create mode 100644 parser/testdata/00975_values_list/explain.txt create mode 100644 parser/testdata/00976_max_execution_speed/explain.txt create mode 100644 parser/testdata/00976_shard_low_cardinality_achimbab/explain.txt create mode 100644 parser/testdata/00976_system_stop_ttl_merges/explain.txt create mode 100644 parser/testdata/00976_ttl_with_old_parts/explain.txt create mode 100644 parser/testdata/00977_join_use_nulls_denny_crane/explain.txt create mode 100644 parser/testdata/00978_sum_map_bugfix/explain.txt create mode 100644 parser/testdata/00978_table_function_values_alias/explain.txt create mode 100644 parser/testdata/00979_quantileExcatExclusive_and_Inclusive/explain.txt create mode 100644 parser/testdata/00979_set_index_not/explain.txt create mode 100644 parser/testdata/00979_toFloat_monotonicity/explain.txt create mode 100644 parser/testdata/00979_yandex_consistent_hash_fpe/explain.txt create mode 100644 parser/testdata/00980_crash_nullable_decimal/explain.txt create mode 100644 parser/testdata/00980_full_join_crash_fancyqlx/explain.txt create mode 100644 parser/testdata/00980_merge_alter_settings/explain.txt create mode 100644 parser/testdata/00980_shard_aggregation_state_deserialization/explain.txt create mode 100644 parser/testdata/00980_skip_unused_shards_without_sharding_key/explain.txt create mode 100644 parser/testdata/00980_zookeeper_merge_tree_alter_settings/explain.txt create mode 100644 parser/testdata/00981_no_virtual_columns/explain.txt create mode 100644 parser/testdata/00981_topK_topKWeighted_long/explain.txt create mode 100644 parser/testdata/00982_array_enumerate_uniq_ranked/explain.txt create mode 100644 parser/testdata/00982_low_cardinality_setting_in_mv/explain.txt create mode 100644 parser/testdata/00983_summing_merge_tree_not_an_identifier/explain.txt create mode 100644 parser/testdata/00984_materialized_view_to_columns/explain.txt create mode 100644 parser/testdata/00985_merge_stack_overflow/explain.txt create mode 100644 parser/testdata/00986_materialized_view_stack_overflow/explain.txt create mode 100644 parser/testdata/00987_distributed_stack_overflow/explain.txt create mode 100644 parser/testdata/00988_constraints_replication_zookeeper_long/explain.txt create mode 100644 parser/testdata/00988_expansion_aliases_limit/explain.txt create mode 100644 parser/testdata/00988_parallel_parts_removal/explain.txt create mode 100644 parser/testdata/00989_parallel_parts_loading/explain.txt create mode 100644 parser/testdata/00990_function_current_user/explain.txt create mode 100644 parser/testdata/00990_hasToken_and_tokenbf/explain.txt create mode 100644 parser/testdata/00990_metric_log_table_not_empty/explain.txt create mode 100644 parser/testdata/00990_request_splitting/explain.txt create mode 100644 parser/testdata/00994_table_function_numbers_mt/explain.txt create mode 100644 parser/testdata/00995_optimize_read_in_order_with_aggregation/explain.txt create mode 100644 parser/testdata/00995_order_by_with_fill/explain.txt create mode 100644 parser/testdata/00996_limit_with_ties/explain.txt create mode 100644 parser/testdata/00996_neighbor/explain.txt create mode 100644 parser/testdata/00997_extract_all_crash_6627/explain.txt create mode 100644 parser/testdata/00997_set_index_array/explain.txt create mode 100644 parser/testdata/00998_constraints_all_tables/explain.txt create mode 100644 parser/testdata/00999_full_join_dup_keys_crash/explain.txt create mode 100644 parser/testdata/00999_join_not_nullable_types/explain.txt create mode 100644 parser/testdata/00999_join_on_expression/explain.txt create mode 100644 parser/testdata/00999_nullable_nested_types_4877/explain.txt create mode 100644 parser/testdata/00999_settings_no_extra_quotes/explain.txt create mode 100644 parser/testdata/00999_test_skip_indices_with_alter_and_merge/explain.txt create mode 100644 parser/testdata/01000_bad_size_of_marks_skip_idx/explain.txt create mode 100644 parser/testdata/01000_subquery_requires_alias/explain.txt create mode 100644 parser/testdata/01001_enums_in_in_section/explain.txt create mode 100644 parser/testdata/01006_ttl_with_default_2/explain.txt create mode 100644 parser/testdata/01008_materialized_view_henyihanwobushi/explain.txt create mode 100644 parser/testdata/01009_global_array_join_names/explain.txt create mode 100644 parser/testdata/01009_insert_select_data_loss/explain.txt create mode 100644 parser/testdata/01009_insert_select_nicelulu/explain.txt create mode 100644 parser/testdata/01010_partial_merge_join/explain.txt create mode 100644 parser/testdata/01010_partial_merge_join_const_and_lc/explain.txt create mode 100644 parser/testdata/01010_partial_merge_join_negative/explain.txt create mode 100644 parser/testdata/01010_pm_join_all_join_bug/explain.txt create mode 100644 parser/testdata/01010_pmj_on_disk/explain.txt create mode 100644 parser/testdata/01010_pmj_one_row_blocks/explain.txt create mode 100644 parser/testdata/01010_pmj_right_table_memory_limits/explain.txt create mode 100644 parser/testdata/01010_pmj_skip_blocks/explain.txt create mode 100644 parser/testdata/01011_group_uniq_array_memsan/explain.txt create mode 100644 parser/testdata/01011_test_create_as_skip_indices/explain.txt create mode 100644 parser/testdata/01012_reset_running_accumulate/explain.txt create mode 100644 parser/testdata/01012_select_limit_x_0/explain.txt create mode 100644 parser/testdata/01012_serialize_array_memory_usage/explain.txt create mode 100644 parser/testdata/01013_hex_decimal/explain.txt create mode 100644 parser/testdata/01013_hex_float/explain.txt create mode 100644 parser/testdata/01013_repeat_function/explain.txt create mode 100644 parser/testdata/01013_totals_without_aggregation/explain.txt create mode 100644 parser/testdata/01014_count_of_merges_metrics/explain.txt create mode 100644 parser/testdata/01014_function_repeat_corner_cases/explain.txt create mode 100644 parser/testdata/01015_array_split/explain.txt create mode 100644 parser/testdata/01015_attach_part/explain.txt create mode 100644 parser/testdata/01015_random_constant/explain.txt create mode 100644 parser/testdata/01016_index_tuple_field_type/explain.txt create mode 100644 parser/testdata/01016_macros/explain.txt create mode 100644 parser/testdata/01016_null_part_minmax/explain.txt create mode 100644 parser/testdata/01016_simhash_minhash/explain.txt create mode 100644 parser/testdata/01016_simhash_minhash_ppc/explain.txt create mode 100644 parser/testdata/01016_uniqCombined64/explain.txt create mode 100644 parser/testdata/01017_bithamming_distance/explain.txt create mode 100644 parser/testdata/01017_in_unconvertible_complex_type/explain.txt create mode 100644 parser/testdata/01017_tuplehamming_distance/explain.txt create mode 100644 parser/testdata/01017_uniqCombined_memory_usage/explain.txt create mode 100644 parser/testdata/01018_Distributed__shard_num/explain.txt create mode 100644 parser/testdata/01018_ambiguous_column/explain.txt create mode 100644 parser/testdata/01018_ddl_dictionaries_create/explain.txt create mode 100644 parser/testdata/01018_ddl_dictionaries_select/explain.txt create mode 100644 parser/testdata/01018_ddl_dictionaries_special/explain.txt create mode 100644 parser/testdata/01018_dictionaries_from_dictionaries/explain.txt create mode 100644 parser/testdata/01018_empty_aggregation_filling/explain.txt create mode 100644 parser/testdata/01018_ip_dictionary_long/explain.txt create mode 100644 parser/testdata/01018_optimize_read_in_order_with_in_subquery/explain.txt create mode 100644 parser/testdata/01019_Buffer_and_max_memory_usage/explain.txt create mode 100644 parser/testdata/01019_alter_materialized_view_query/explain.txt create mode 100644 parser/testdata/01019_array_fill/explain.txt create mode 100644 parser/testdata/01019_materialized_view_select_extra_columns/explain.txt create mode 100644 parser/testdata/01020_function_array_compact/explain.txt create mode 100644 parser/testdata/01020_having_without_group_by/explain.txt create mode 100644 parser/testdata/01021_create_as_select/explain.txt create mode 100644 parser/testdata/01021_only_tuple_columns/explain.txt create mode 100644 parser/testdata/01021_tuple_parser/explain.txt create mode 100644 parser/testdata/01023_materialized_view_query_context/explain.txt create mode 100644 parser/testdata/01024__getScalar/explain.txt create mode 100644 parser/testdata/01025_array_compact_generic/explain.txt create mode 100644 parser/testdata/01026_char_utf8/explain.txt create mode 100644 parser/testdata/01029_early_constant_folding/explain.txt create mode 100644 parser/testdata/01030_concatenate_equal_fixed_strings/explain.txt create mode 100644 parser/testdata/01030_final_mark_empty_primary_key/explain.txt create mode 100644 parser/testdata/01030_incorrect_count_summing_merge_tree/explain.txt create mode 100644 parser/testdata/01030_storage_set_supports_read/explain.txt create mode 100644 parser/testdata/01030_storage_url_syntax/explain.txt create mode 100644 parser/testdata/01031_pmj_new_any_semi_join/explain.txt create mode 100644 parser/testdata/01031_semi_anti_join/explain.txt create mode 100644 parser/testdata/01032_cityHash64_for_UUID/explain.txt create mode 100644 parser/testdata/01032_cityHash64_for_decimal/explain.txt create mode 100644 parser/testdata/01032_duplicate_column_insert_query/explain.txt create mode 100644 parser/testdata/01033_dictionaries_lifetime/explain.txt create mode 100644 parser/testdata/01033_function_substring/explain.txt create mode 100644 parser/testdata/01033_quota_dcl/explain.txt create mode 100644 parser/testdata/01033_storage_odbc_parsing_exception_check/explain.txt create mode 100644 parser/testdata/01034_JSONCompactEachRow/explain.txt create mode 100644 parser/testdata/01034_order_by_pk_prefix/explain.txt create mode 100644 parser/testdata/01034_prewhere_max_parallel_replicas_distributed/explain.txt create mode 100644 parser/testdata/01034_sample_final_distributed/explain.txt create mode 100644 parser/testdata/01034_unknown_qualified_column_in_join/explain.txt create mode 100644 parser/testdata/01034_with_fill_and_push_down_predicate/explain.txt create mode 100644 parser/testdata/01035_prewhere_with_alias/explain.txt create mode 100644 parser/testdata/01036_no_superfluous_dict_reload_on_create_database/explain.txt create mode 100644 parser/testdata/01036_no_superfluous_dict_reload_on_create_database_2/explain.txt create mode 100644 parser/testdata/01036_union_different_columns/explain.txt create mode 100644 parser/testdata/01037_zookeeper_check_table_empty_pk/explain.txt create mode 100644 parser/testdata/01038_array_of_unnamed_tuples/explain.txt create mode 100644 parser/testdata/01039_mergetree_exec_time/explain.txt create mode 100644 parser/testdata/01039_test_setting_parse/explain.txt create mode 100644 parser/testdata/01040_distributed_background_insert_batch_inserts/explain.txt create mode 100644 parser/testdata/01040_h3_get_resolution/explain.txt create mode 100644 parser/testdata/01041_h3_is_valid/explain.txt create mode 100644 parser/testdata/01042_check_query_and_last_granule_size/explain.txt create mode 100644 parser/testdata/01042_h3_k_ring/explain.txt create mode 100644 parser/testdata/01043_geo_distance/explain.txt create mode 100644 parser/testdata/01043_h3_edge_length_m/explain.txt create mode 100644 parser/testdata/01044_great_circle_angle/explain.txt create mode 100644 parser/testdata/01044_h3_edge_angle/explain.txt create mode 100644 parser/testdata/01045_array_zip/explain.txt create mode 100644 parser/testdata/01045_bloom_filter_null_array/explain.txt create mode 100644 parser/testdata/01046_materialized_view_with_join_over_distributed/explain.txt create mode 100644 parser/testdata/01046_trivial_count_query_distributed/explain.txt create mode 100644 parser/testdata/01047_no_alias_columns_with_table_aliases/explain.txt create mode 100644 parser/testdata/01047_nullable_rand/explain.txt create mode 100644 parser/testdata/01047_simple_aggregate_sizes_of_columns_bug/explain.txt create mode 100644 parser/testdata/01048_exists_query/explain.txt create mode 100644 parser/testdata/01049_join_low_card_crash/explain.txt create mode 100644 parser/testdata/01049_window_view_window_functions/explain.txt create mode 100644 parser/testdata/01049_zookeeper_synchronous_mutations_long/explain.txt create mode 100644 parser/testdata/01050_engine_join_crash/explain.txt create mode 100644 parser/testdata/01050_engine_join_view_crash/explain.txt create mode 100644 parser/testdata/01050_group_array_sample/explain.txt create mode 100644 parser/testdata/01051_aggregate_function_crash/explain.txt create mode 100644 parser/testdata/01051_all_join_engine/explain.txt create mode 100644 parser/testdata/01051_new_any_join_engine/explain.txt create mode 100644 parser/testdata/01051_random_printable_ascii/explain.txt create mode 100644 parser/testdata/01051_same_name_alias_with_joins/explain.txt create mode 100644 parser/testdata/01051_scalar_optimization/explain.txt create mode 100644 parser/testdata/01052_array_reduce_exception/explain.txt create mode 100644 parser/testdata/01053_drop_database_mat_view/explain.txt create mode 100644 parser/testdata/01053_if_chain_check/explain.txt create mode 100644 parser/testdata/01054_cache_dictionary_overflow_cell/explain.txt create mode 100644 parser/testdata/01055_compact_parts/explain.txt create mode 100644 parser/testdata/01055_compact_parts_1/explain.txt create mode 100644 parser/testdata/01055_prewhere_bugs/explain.txt create mode 100644 parser/testdata/01056_create_table_as/explain.txt create mode 100644 parser/testdata/01056_create_table_as_with_sorting_clauses/explain.txt create mode 100644 parser/testdata/01056_negative_with_bloom_filter/explain.txt create mode 100644 parser/testdata/01056_predicate_optimizer_bugs/explain.txt create mode 100644 parser/testdata/01060_defaults_all_columns/explain.txt create mode 100644 parser/testdata/01060_shutdown_table_after_detach/explain.txt create mode 100644 parser/testdata/01061_alter_codec_with_type/explain.txt create mode 100644 parser/testdata/01062_alter_on_mutataion_zookeeper_long/explain.txt create mode 100644 parser/testdata/01062_pm_all_join_with_block_continuation/explain.txt create mode 100644 parser/testdata/01062_pm_multiple_all_join_same_value/explain.txt create mode 100644 parser/testdata/01063_create_column_set/explain.txt create mode 100644 parser/testdata/01064_arrayROCAUC/explain.txt create mode 100644 parser/testdata/01064_incremental_streaming_from_2_src_with_feedback/explain.txt create mode 100644 parser/testdata/01064_pm_all_join_const_and_nullable/explain.txt create mode 100644 parser/testdata/01065_array_zip_mixed_const/explain.txt create mode 100644 parser/testdata/01065_if_not_finite/explain.txt create mode 100644 parser/testdata/01066_bit_count/explain.txt create mode 100644 parser/testdata/01067_join_null/explain.txt create mode 100644 parser/testdata/01068_parens/explain.txt create mode 100644 parser/testdata/01069_database_memory/explain.txt create mode 100644 parser/testdata/01069_insert_float_as_nullable_unit8/explain.txt create mode 100644 parser/testdata/01069_materialized_view_alter_target_table/explain.txt create mode 100644 parser/testdata/01069_materialized_view_alter_target_table_with_default_expression/explain.txt create mode 100644 parser/testdata/01069_set_in_group_by/explain.txt create mode 100644 parser/testdata/01070_alter_with_ttl/explain.txt create mode 100644 parser/testdata/01070_exception_code_in_query_log_table/explain.txt create mode 100644 parser/testdata/01070_h3_get_base_cell/explain.txt create mode 100644 parser/testdata/01070_h3_hex_area_m2/explain.txt create mode 100644 parser/testdata/01070_h3_indexes_are_neighbors/explain.txt create mode 100644 parser/testdata/01070_h3_to_children/explain.txt create mode 100644 parser/testdata/01070_h3_to_parent/explain.txt create mode 100644 parser/testdata/01070_h3_to_string/explain.txt create mode 100644 parser/testdata/01070_materialize_ttl/explain.txt create mode 100644 parser/testdata/01070_modify_ttl/explain.txt create mode 100644 parser/testdata/01070_modify_ttl_recalc_only/explain.txt create mode 100644 parser/testdata/01070_mutations_with_dependencies/explain.txt create mode 100644 parser/testdata/01070_string_to_h3/explain.txt create mode 100644 parser/testdata/01070_template_empty_file/explain.txt create mode 100644 parser/testdata/01070_to_decimal_or_null_exception/explain.txt create mode 100644 parser/testdata/01071_force_optimize_skip_unused_shards/explain.txt create mode 100644 parser/testdata/01071_in_array/explain.txt create mode 100644 parser/testdata/01071_prohibition_secondary_index_with_old_format_merge_tree/explain.txt create mode 100644 parser/testdata/01072_drop_temporary_table_with_same_name/explain.txt create mode 100644 parser/testdata/01072_json_each_row_data_in_square_brackets/explain.txt create mode 100644 parser/testdata/01072_nullable_jit/explain.txt create mode 100644 parser/testdata/01072_optimize_skip_unused_shards_const_expr_eval/explain.txt create mode 100644 parser/testdata/01072_select_constant_limit/explain.txt create mode 100644 parser/testdata/01073_attach_if_not_exists/explain.txt create mode 100644 parser/testdata/01073_bad_alter_partition/explain.txt create mode 100644 parser/testdata/01073_blockSerializedSize/explain.txt create mode 100644 parser/testdata/01073_crlf_end_of_line/explain.txt create mode 100644 parser/testdata/01073_grant_and_revoke/explain.txt create mode 100644 parser/testdata/01073_show_tables_not_like/explain.txt create mode 100644 parser/testdata/01074_h3_range_check/explain.txt create mode 100644 parser/testdata/01074_partial_revokes/explain.txt create mode 100644 parser/testdata/01075_allowed_client_hosts/explain.txt create mode 100644 parser/testdata/01075_in_arrays_enmk/explain.txt create mode 100644 parser/testdata/01076_array_join_prewhere_const_folding/explain.txt create mode 100644 parser/testdata/01076_predicate_optimizer_with_view/explain.txt create mode 100644 parser/testdata/01076_range_reader_segfault/explain.txt create mode 100644 parser/testdata/01077_yet_another_prewhere_test/explain.txt create mode 100644 parser/testdata/01078_bloom_filter_operator_not_has/explain.txt create mode 100644 parser/testdata/01078_merge_tree_read_one_thread/explain.txt create mode 100644 parser/testdata/01079_alter_default_zookeeper_long/explain.txt create mode 100644 parser/testdata/01079_bit_operations_using_bitset/explain.txt create mode 100644 parser/testdata/01079_new_range_reader_segfault/explain.txt create mode 100644 parser/testdata/01079_order_by_pk/explain.txt create mode 100644 parser/testdata/01079_reinterpret_as_fixed_string/explain.txt create mode 100644 parser/testdata/01080_engine_merge_prewhere_tupleelement_error/explain.txt create mode 100644 parser/testdata/01080_join_get_null/explain.txt create mode 100644 parser/testdata/01081_PartialSortingTransform_full_column/explain.txt create mode 100644 parser/testdata/01081_demangle/explain.txt create mode 100644 parser/testdata/01081_keywords_formatting/explain.txt create mode 100644 parser/testdata/01082_bit_test_out_of_bound/explain.txt create mode 100644 parser/testdata/01083_aggregation_memory_efficient_bug/explain.txt create mode 100644 parser/testdata/01083_cross_to_inner_with_in_bug/explain.txt create mode 100644 parser/testdata/01083_cross_to_inner_with_like/explain.txt create mode 100644 parser/testdata/01083_expressions_in_engine_arguments/explain.txt create mode 100644 parser/testdata/01083_functional_index_in_mergetree/explain.txt create mode 100644 parser/testdata/01083_log_first_column_alias/explain.txt create mode 100644 parser/testdata/01083_match_zero_byte/explain.txt create mode 100644 parser/testdata/01084_defaults_on_aliases/explain.txt create mode 100644 parser/testdata/01085_datetime_arithmetic_preserve_timezone/explain.txt create mode 100644 parser/testdata/01085_extract_all_empty/explain.txt create mode 100644 parser/testdata/01086_modulo_or_zero/explain.txt create mode 100644 parser/testdata/01087_index_set_ubsan/explain.txt create mode 100644 parser/testdata/01087_storage_generate/explain.txt create mode 100644 parser/testdata/01088_array_slice_of_aggregate_functions/explain.txt create mode 100644 parser/testdata/01089_alter_settings_old_format/explain.txt create mode 100644 parser/testdata/01090_fixed_string_bit_ops/explain.txt create mode 100644 parser/testdata/01090_zookeeper_mutations_and_insert_quorum_long/explain.txt create mode 100644 parser/testdata/01091_insert_with_default_json/explain.txt create mode 100644 parser/testdata/01091_num_threads/explain.txt create mode 100644 parser/testdata/01091_query_profiler_does_not_hang/explain.txt create mode 100644 parser/testdata/01092_memory_profiler/explain.txt create mode 100644 parser/testdata/01093_cyclic_defaults_filimonov/explain.txt create mode 100644 parser/testdata/01095_tpch_like_smoke/explain.txt create mode 100644 parser/testdata/01096_block_serialized_state/explain.txt create mode 100644 parser/testdata/01096_zeros/explain.txt create mode 100644 parser/testdata/01097_cyclic_defaults/explain.txt create mode 100644 parser/testdata/01097_one_more_range_reader_test/explain.txt create mode 100644 parser/testdata/01097_one_more_range_reader_test_wide_part/explain.txt create mode 100644 parser/testdata/01097_pre_limit/explain.txt create mode 100644 parser/testdata/01098_sum/explain.txt create mode 100644 parser/testdata/01099_operators_date_and_timestamp/explain.txt create mode 100644 parser/testdata/01099_parallel_distributed_insert_select/explain.txt create mode 100644 parser/testdata/01100_split_by_string/explain.txt create mode 100644 parser/testdata/01101_literal_column_clash/explain.txt create mode 100644 parser/testdata/01101_prewhere_after_alter/explain.txt create mode 100644 parser/testdata/01102_distributed_local_in_bug/explain.txt create mode 100644 parser/testdata/01103_distributed_product_mode_local_column_renames/explain.txt create mode 100644 parser/testdata/01104_distributed_numbers_test/explain.txt create mode 100644 parser/testdata/01104_distributed_one_test/explain.txt create mode 100644 parser/testdata/01104_fixed_string_like/explain.txt create mode 100644 parser/testdata/01105_string_like/explain.txt create mode 100644 parser/testdata/01106_const_fixed_string_like/explain.txt create mode 100644 parser/testdata/01107_join_right_table_totals/explain.txt create mode 100644 parser/testdata/01109_exchange_tables/explain.txt create mode 100644 parser/testdata/01109_inflating_cross_join/explain.txt create mode 100644 parser/testdata/01109_sc0rp10_string_hash_map_zero_bytes/explain.txt create mode 100644 parser/testdata/01110_dictionary_layout_without_arguments/explain.txt create mode 100644 parser/testdata/01112_check_table_with_index/explain.txt create mode 100644 parser/testdata/01114_alter_modify_compact_parts/explain.txt create mode 100644 parser/testdata/01114_clear_column_compact_parts/explain.txt create mode 100644 parser/testdata/01114_materialize_clear_index_compact_parts/explain.txt create mode 100644 parser/testdata/01114_mysql_database_engine_segfault/explain.txt create mode 100644 parser/testdata/01115_join_with_dictionary/explain.txt create mode 100644 parser/testdata/01115_prewhere_array_join/explain.txt create mode 100644 parser/testdata/01116_asof_join_dolbyzerr/explain.txt create mode 100644 parser/testdata/01116_cross_count_asterisks/explain.txt create mode 100644 parser/testdata/01117_chain_finalize_bug/explain.txt create mode 100644 parser/testdata/01117_comma_and_others_join_mix/explain.txt create mode 100644 parser/testdata/01117_greatest_least_case/explain.txt create mode 100644 parser/testdata/01118_is_constant/explain.txt create mode 100644 parser/testdata/01119_optimize_trivial_insert_select/explain.txt create mode 100644 parser/testdata/01119_weird_user_names/explain.txt create mode 100644 parser/testdata/01121_remote_scalar_subquery/explain.txt create mode 100644 parser/testdata/01122_totals_rollup_having_block_header/explain.txt create mode 100644 parser/testdata/01123_parse_date_time_best_effort_even_more/explain.txt create mode 100644 parser/testdata/01124_view_bad_types/explain.txt create mode 100644 parser/testdata/01125_dict_ddl_cannot_add_column/explain.txt create mode 100644 parser/testdata/01125_generate_random_qoega/explain.txt create mode 100644 parser/testdata/01126_month_partitioning_consistent_code/explain.txt create mode 100644 parser/testdata/01127_month_partitioning_consistency_select/explain.txt create mode 100644 parser/testdata/01128_generate_random_nested/explain.txt create mode 100644 parser/testdata/01129_dict_get_join_lose_constness/explain.txt create mode 100644 parser/testdata/01131_max_rows_to_sort/explain.txt create mode 100644 parser/testdata/01132_max_rows_to_read/explain.txt create mode 100644 parser/testdata/01134_max_rows_to_group_by/explain.txt create mode 100644 parser/testdata/01134_set_overflow_mode/explain.txt create mode 100644 parser/testdata/01135_default_and_alter_zookeeper/explain.txt create mode 100644 parser/testdata/01136_multiple_sets/explain.txt create mode 100644 parser/testdata/01137_order_by_func/explain.txt create mode 100644 parser/testdata/01137_order_by_func_final/explain.txt create mode 100644 parser/testdata/01137_sample_final/explain.txt create mode 100644 parser/testdata/01138_join_on_distributed_and_tmp/explain.txt create mode 100644 parser/testdata/01139_asof_join_types/explain.txt create mode 100644 parser/testdata/01140_select_from_storage_join_fix/explain.txt create mode 100644 parser/testdata/01141_join_get_negative/explain.txt create mode 100644 parser/testdata/01142_join_lc_and_nullable_in_key/explain.txt create mode 100644 parser/testdata/01142_merge_join_lc_and_nullable_in_key/explain.txt create mode 100644 parser/testdata/01142_with_ties_and_aliases/explain.txt create mode 100644 parser/testdata/01143_trivial_count_with_join/explain.txt create mode 100644 parser/testdata/01144_join_rewrite_with_ambiguous_column_and_view/explain.txt create mode 100644 parser/testdata/01144_multiword_data_types/explain.txt create mode 100644 parser/testdata/01147_partial_merge_full_join/explain.txt create mode 100644 parser/testdata/01148_zookeeper_path_macros_unfolding/explain.txt create mode 100644 parser/testdata/01149_zookeeper_mutation_stuck_after_replace_partition/explain.txt create mode 100644 parser/testdata/01151_storage_merge_filter_tables_by_virtual_column/explain.txt create mode 100644 parser/testdata/01152_cross_replication/explain.txt create mode 100644 parser/testdata/01153_attach_mv_uuid/explain.txt create mode 100644 parser/testdata/01155_rename_move_materialized_view/explain.txt create mode 100644 parser/testdata/01157_replace_table/explain.txt create mode 100644 parser/testdata/01158_zookeeper_log_long/explain.txt create mode 100644 parser/testdata/01159_combinators_with_parameters/explain.txt create mode 100644 parser/testdata/01161_information_schema/explain.txt create mode 100644 parser/testdata/01163_search_case_insensetive_utf8/explain.txt create mode 100644 parser/testdata/01164_alter_memory_database/explain.txt create mode 100644 parser/testdata/01165_lost_part_empty_partition/explain.txt create mode 100644 parser/testdata/01166_truncate_multiple_partitions/explain.txt create mode 100644 parser/testdata/01172_transaction_counters/explain.txt create mode 100644 parser/testdata/01173_transaction_control_queries/explain.txt create mode 100644 parser/testdata/01177_group_array_moving/explain.txt create mode 100644 parser/testdata/01178_int_field_to_decimal/explain.txt create mode 100644 parser/testdata/01181_db_atomic_drop_on_cluster/explain.txt create mode 100644 parser/testdata/01182_materialized_view_different_structure/explain.txt create mode 100644 parser/testdata/01185_create_or_replace_table/explain.txt create mode 100644 parser/testdata/01186_conversion_to_nullable/explain.txt create mode 100644 parser/testdata/01188_attach_table_from_path/explain.txt create mode 100644 parser/testdata/01189_create_as_table_as_table_function/explain.txt create mode 100644 parser/testdata/01191_rename_dictionary/explain.txt create mode 100644 parser/testdata/01197_summing_enum/explain.txt create mode 100644 parser/testdata/01198_plus_inf/explain.txt create mode 100644 parser/testdata/01199_url_functions_path_without_schema_yiurule/explain.txt create mode 100644 parser/testdata/01200_mutations_memory_consumption/explain.txt create mode 100644 parser/testdata/01201_drop_column_compact_part_replicated_zookeeper_long/explain.txt create mode 100644 parser/testdata/01201_read_single_thread_in_order/explain.txt create mode 100644 parser/testdata/01202_arrayROCAUC_special/explain.txt create mode 100644 parser/testdata/01210_drop_view/explain.txt create mode 100644 parser/testdata/01211_optimize_skip_unused_shards_type_mismatch/explain.txt create mode 100644 parser/testdata/01212_empty_join_and_totals/explain.txt create mode 100644 parser/testdata/01213_alter_rename_column/explain.txt create mode 100644 parser/testdata/01213_alter_rename_compact_part/explain.txt create mode 100644 parser/testdata/01213_alter_rename_nested/explain.txt create mode 100644 parser/testdata/01213_alter_rename_primary_key_zookeeper_long/explain.txt create mode 100644 parser/testdata/01213_alter_rename_with_default_zookeeper_long/explain.txt create mode 100644 parser/testdata/01213_alter_table_rename_nested/explain.txt create mode 100644 parser/testdata/01213_optimize_skip_unused_shards_DISTINCT/explain.txt create mode 100644 parser/testdata/01213_point_in_Myanmar/explain.txt create mode 100644 parser/testdata/01214_point_in_Mecca/explain.txt create mode 100644 parser/testdata/01214_test_storage_merge_aliases_with_where/explain.txt create mode 100644 parser/testdata/01220_scalar_optimization_in_alter/explain.txt create mode 100644 parser/testdata/01221_system_settings/explain.txt create mode 100644 parser/testdata/01222_system_codecs/explain.txt create mode 100644 parser/testdata/01223_dist_on_dist/explain.txt create mode 100644 parser/testdata/01224_no_superfluous_dict_reload/explain.txt create mode 100644 parser/testdata/01225_drop_dictionary_as_table/explain.txt create mode 100644 parser/testdata/01225_show_create_table_from_dictionary/explain.txt create mode 100644 parser/testdata/01226_dist_on_dist_global_in/explain.txt create mode 100644 parser/testdata/01227_distributed_global_in_issue_2610/explain.txt create mode 100644 parser/testdata/01227_distributed_merge_global_in_primary_key/explain.txt create mode 100644 parser/testdata/01230_join_get_truncate/explain.txt create mode 100644 parser/testdata/01231_distributed_aggregation_memory_efficient_mix_levels/explain.txt create mode 100644 parser/testdata/01231_log_queries_min_type/explain.txt create mode 100644 parser/testdata/01231_markdown_format/explain.txt create mode 100644 parser/testdata/01231_operator_null_in/explain.txt create mode 100644 parser/testdata/01232_extremes/explain.txt create mode 100644 parser/testdata/01232_untuple/explain.txt create mode 100644 parser/testdata/01234_to_string_monotonic/explain.txt create mode 100644 parser/testdata/01236_graphite_mt/explain.txt create mode 100644 parser/testdata/01240_join_get_or_null/explain.txt create mode 100644 parser/testdata/01244_optimize_distributed_group_by_sharding_key/explain.txt create mode 100644 parser/testdata/01245_distributed_group_by_no_merge_with-extremes_and_totals/explain.txt create mode 100644 parser/testdata/01245_limit_infinite_sources/explain.txt create mode 100644 parser/testdata/01246_extractAllGroupsHorizontal/explain.txt create mode 100644 parser/testdata/01246_extractAllGroupsVertical/explain.txt create mode 100644 parser/testdata/01246_finalize_aggregation_race/explain.txt create mode 100644 parser/testdata/01246_least_greatest_generic/explain.txt create mode 100644 parser/testdata/01247_least_greatest_filimonov/explain.txt create mode 100644 parser/testdata/01247_optimize_distributed_group_by_sharding_key_dist_on_dist/explain.txt create mode 100644 parser/testdata/01247_some_msan_crashs_from_22517/explain.txt create mode 100644 parser/testdata/01248_least_greatest_mixed_const/explain.txt create mode 100644 parser/testdata/01249_bad_arguments_for_bloom_filter/explain.txt create mode 100644 parser/testdata/01251_dict_is_in_infinite_loop/explain.txt create mode 100644 parser/testdata/01251_string_comparison/explain.txt create mode 100644 parser/testdata/01252_weird_time_zone/explain.txt create mode 100644 parser/testdata/01253_subquery_in_aggregate_function_JustStranger/explain.txt create mode 100644 parser/testdata/01254_array_of_unnamed_tuples/explain.txt create mode 100644 parser/testdata/01254_dict_create_without_db/explain.txt create mode 100644 parser/testdata/01254_dict_load_after_detach_attach/explain.txt create mode 100644 parser/testdata/01255_geo_types_livace/explain.txt create mode 100644 parser/testdata/01256_negative_generate_random/explain.txt create mode 100644 parser/testdata/01257_dictionary_mismatch_types/explain.txt create mode 100644 parser/testdata/01258_wrong_cast_filimonov/explain.txt create mode 100644 parser/testdata/01259_combinator_distinct/explain.txt create mode 100644 parser/testdata/01259_combinator_distinct_distributed/explain.txt create mode 100644 parser/testdata/01259_datetime64_ubsan/explain.txt create mode 100644 parser/testdata/01259_dictionary_custom_settings_ddl/explain.txt create mode 100644 parser/testdata/01260_ubsan_decimal_parse/explain.txt create mode 100644 parser/testdata/01262_fractional_timezone_near_start_of_epoch/explain.txt create mode 100644 parser/testdata/01262_low_cardinality_remove/explain.txt create mode 100644 parser/testdata/01263_type_conversion_nvartolomei/explain.txt create mode 100644 parser/testdata/01264_nested_baloo_bear/explain.txt create mode 100644 parser/testdata/01265_datetime_string_comparison_felix_mueller/explain.txt create mode 100644 parser/testdata/01266_default_prewhere_reqq/explain.txt create mode 100644 parser/testdata/01267_alter_default_key_columns_zookeeper_long/explain.txt create mode 100644 parser/testdata/01268_DateTime64_in_WHERE/explain.txt create mode 100644 parser/testdata/01268_data_numeric_parameters/explain.txt create mode 100644 parser/testdata/01268_dictionary_direct_layout/explain.txt create mode 100644 parser/testdata/01268_mergine_sorted_limit/explain.txt create mode 100644 parser/testdata/01268_mv_scalars/explain.txt create mode 100644 parser/testdata/01268_shard_avgweighted/explain.txt create mode 100644 parser/testdata/01269_alias_type_differs/explain.txt create mode 100644 parser/testdata/01269_create_with_null/explain.txt create mode 100644 parser/testdata/01269_toStartOfSecond/explain.txt create mode 100644 parser/testdata/01270_optimize_skip_unused_shards_low_cardinality/explain.txt create mode 100644 parser/testdata/01271_optimize_arithmetic_operations_in_aggr_func_long/explain.txt create mode 100644 parser/testdata/01271_optimize_arithmetic_operations_in_aggr_func_with_alias/explain.txt create mode 100644 parser/testdata/01271_show_privileges/explain.txt create mode 100644 parser/testdata/01272_offset_without_limit/explain.txt create mode 100644 parser/testdata/01272_suspicious_codecs/explain.txt create mode 100644 parser/testdata/01272_totals_and_filter_bug/explain.txt create mode 100644 parser/testdata/01273_extractGroups/explain.txt create mode 100644 parser/testdata/01273_h3EdgeAngle_range_check/explain.txt create mode 100644 parser/testdata/01273_lc_fixed_string_field/explain.txt create mode 100644 parser/testdata/01274_alter_rename_column_distributed/explain.txt create mode 100644 parser/testdata/01275_alter_rename_column_default_expr/explain.txt create mode 100644 parser/testdata/01275_extract_groups_check/explain.txt create mode 100644 parser/testdata/01276_alter_rename_column_materialized_expr/explain.txt create mode 100644 parser/testdata/01276_random_string/explain.txt create mode 100644 parser/testdata/01276_system_licenses/explain.txt create mode 100644 parser/testdata/01277_alter_rename_column_constraint/explain.txt create mode 100644 parser/testdata/01277_alter_rename_column_constraint_zookeeper_long/explain.txt create mode 100644 parser/testdata/01277_buffer_column_order/explain.txt create mode 100644 parser/testdata/01277_convert_field_to_type_logical_error/explain.txt create mode 100644 parser/testdata/01277_fromUnixTimestamp64/explain.txt create mode 100644 parser/testdata/01277_random_fixed_string/explain.txt create mode 100644 parser/testdata/01277_toUnixTimestamp64/explain.txt create mode 100644 parser/testdata/01278_alter_rename_combination/explain.txt create mode 100644 parser/testdata/01278_random_string_utf8/explain.txt create mode 100644 parser/testdata/01278_variance_nonnegative/explain.txt create mode 100644 parser/testdata/01279_dist_group_by/explain.txt create mode 100644 parser/testdata/01280_min_map_max_map/explain.txt create mode 100644 parser/testdata/01280_null_in/explain.txt create mode 100644 parser/testdata/01280_opencl_bitonic_order_by/explain.txt create mode 100644 parser/testdata/01280_ttl_where_group_by_negative/explain.txt create mode 100644 parser/testdata/01280_unicode_whitespaces_lexer/explain.txt create mode 100644 parser/testdata/01281_alter_rename_and_other_renames/explain.txt create mode 100644 parser/testdata/01281_join_with_prewhere_fix/explain.txt create mode 100644 parser/testdata/01281_parseDateTime64BestEffort/explain.txt create mode 100644 parser/testdata/01281_sum_nullable/explain.txt create mode 100644 parser/testdata/01281_unsucceeded_insert_select_queries_counter/explain.txt create mode 100644 parser/testdata/01282_system_parts_ttl_info/explain.txt create mode 100644 parser/testdata/01283_max_threads_simple_query_optimization/explain.txt create mode 100644 parser/testdata/01283_strict_resize_bug/explain.txt create mode 100644 parser/testdata/01284_escape_sequences_php_mysql_style/explain.txt create mode 100644 parser/testdata/01284_fuzz_bits/explain.txt create mode 100644 parser/testdata/01284_view_and_extremes_bug/explain.txt create mode 100644 parser/testdata/01285_data_skip_index_over_aggregation/explain.txt create mode 100644 parser/testdata/01285_date_datetime_key_condition/explain.txt create mode 100644 parser/testdata/01286_constraints_on_default/explain.txt create mode 100644 parser/testdata/01287_max_execution_speed/explain.txt create mode 100644 parser/testdata/01288_shard_max_network_bandwidth/explain.txt create mode 100644 parser/testdata/01289_min_execution_speed_not_too_early/explain.txt create mode 100644 parser/testdata/01290_empty_array_index_analysis/explain.txt create mode 100644 parser/testdata/01290_max_execution_speed_distributed/explain.txt create mode 100644 parser/testdata/01291_aggregation_in_order/explain.txt create mode 100644 parser/testdata/01291_distributed_low_cardinality_memory_efficient/explain.txt create mode 100644 parser/testdata/01291_geo_types/explain.txt create mode 100644 parser/testdata/01291_unsupported_conversion_from_decimal/explain.txt create mode 100644 parser/testdata/01292_create_user/explain.txt create mode 100644 parser/testdata/01292_optimize_data_skip_idx_order_by_expr/explain.txt create mode 100644 parser/testdata/01292_quantile_array_bug/explain.txt create mode 100644 parser/testdata/01293_create_role/explain.txt create mode 100644 parser/testdata/01293_external_sorting_limit_bug/explain.txt create mode 100644 parser/testdata/01293_pretty_max_value_width/explain.txt create mode 100644 parser/testdata/01293_show_settings/explain.txt create mode 100644 parser/testdata/01293_system_distribution_queue/explain.txt create mode 100644 parser/testdata/01294_create_settings_profile/explain.txt create mode 100644 parser/testdata/01294_system_distributed_on_cluster/explain.txt create mode 100644 parser/testdata/01295_aggregation_bug_11413/explain.txt create mode 100644 parser/testdata/01295_create_row_policy/explain.txt create mode 100644 parser/testdata/01296_codecs_bad_arguments/explain.txt create mode 100644 parser/testdata/01296_create_row_policy_in_current_database/explain.txt create mode 100644 parser/testdata/01296_pipeline_stuck/explain.txt create mode 100644 parser/testdata/01297_alter_distributed/explain.txt create mode 100644 parser/testdata/01298_alter_merge/explain.txt create mode 100644 parser/testdata/01299_alter_merge_tree/explain.txt create mode 100644 parser/testdata/01300_group_by_other_keys/explain.txt create mode 100644 parser/testdata/01300_group_by_other_keys_having/explain.txt create mode 100644 parser/testdata/01300_polygon_convex_hull/explain.txt create mode 100644 parser/testdata/01300_read_wkt/explain.txt create mode 100644 parser/testdata/01300_svg/explain.txt create mode 100644 parser/testdata/01300_wkt/explain.txt create mode 100644 parser/testdata/01301_polygons_within/explain.txt create mode 100644 parser/testdata/01302_polygons_distance/explain.txt create mode 100644 parser/testdata/01303_polygons_equals/explain.txt create mode 100644 parser/testdata/01304_polygons_sym_difference/explain.txt create mode 100644 parser/testdata/01305_array_join_prewhere_in_subquery/explain.txt create mode 100644 parser/testdata/01305_buffer_final_bug/explain.txt create mode 100644 parser/testdata/01305_nullable-prewhere_bug/explain.txt create mode 100644 parser/testdata/01305_polygons_union/explain.txt create mode 100644 parser/testdata/01306_polygons_intersection/explain.txt create mode 100644 parser/testdata/01307_bloom_filter_index_string_multi_granulas/explain.txt create mode 100644 parser/testdata/01307_polygon_perimeter/explain.txt create mode 100644 parser/testdata/01308_polygon_area/explain.txt create mode 100644 parser/testdata/01308_row_policy_and_trivial_count_query/explain.txt create mode 100644 parser/testdata/01310_enum_comparison/explain.txt create mode 100644 parser/testdata/01311_comparison_with_constant_string/explain.txt create mode 100644 parser/testdata/01312_case_insensitive_regexp/explain.txt create mode 100644 parser/testdata/01312_comparison_with_constant_string_in_index_analysis/explain.txt create mode 100644 parser/testdata/01313_parse_date_time_best_effort_null_zero/explain.txt create mode 100644 parser/testdata/01314_position_in_system_columns/explain.txt create mode 100644 parser/testdata/01315_count_distinct_return_not_nullable/explain.txt create mode 100644 parser/testdata/01318_alter_add_column_exists/explain.txt create mode 100644 parser/testdata/01318_decrypt/explain.txt create mode 100644 parser/testdata/01318_encrypt/explain.txt create mode 100644 parser/testdata/01318_map_add_map_subtract/explain.txt create mode 100644 parser/testdata/01318_map_add_map_subtract_on_map_type/explain.txt create mode 100644 parser/testdata/01318_map_populate_series/explain.txt create mode 100644 parser/testdata/01318_parallel_final_stuck/explain.txt create mode 100644 parser/testdata/01319_manual_write_to_replicas_long/explain.txt create mode 100644 parser/testdata/01319_mv_constants_bug/explain.txt create mode 100644 parser/testdata/01319_optimize_skip_unused_shards_nesting/explain.txt create mode 100644 parser/testdata/01320_optimize_skip_unused_shards_no_non_deterministic/explain.txt create mode 100644 parser/testdata/01321_aggregate_functions_of_group_by_keys/explain.txt create mode 100644 parser/testdata/01322_cast_keep_nullable/explain.txt create mode 100644 parser/testdata/01323_add_scalars_in_time/explain.txt create mode 100644 parser/testdata/01323_bad_arg_in_arithmetic_operations/explain.txt create mode 100644 parser/testdata/01323_if_with_nulls/explain.txt create mode 100644 parser/testdata/01323_redundant_functions_in_order_by/explain.txt create mode 100644 parser/testdata/01323_too_many_threads_bug/explain.txt create mode 100644 parser/testdata/01324_if_transform_strings_to_enum/explain.txt create mode 100644 parser/testdata/01324_insert_tsv_raw/explain.txt create mode 100644 parser/testdata/01324_settings_documentation/explain.txt create mode 100644 parser/testdata/01325_freeze_mutation_stuck/explain.txt create mode 100644 parser/testdata/01326_build_id/explain.txt create mode 100644 parser/testdata/01326_fixed_string_comparison_denny_crane/explain.txt create mode 100644 parser/testdata/01326_hostname_alias/explain.txt create mode 100644 parser/testdata/01327_decimal_cut_extra_digits_after_point/explain.txt create mode 100644 parser/testdata/01328_bad_peephole_optimization/explain.txt create mode 100644 parser/testdata/01329_compare_tuple_string_constant/explain.txt create mode 100644 parser/testdata/01330_array_join_in_higher_order_function/explain.txt create mode 100644 parser/testdata/01332_join_type_syntax_position/explain.txt create mode 100644 parser/testdata/01333_select_abc_asterisk/explain.txt create mode 100644 parser/testdata/01337_mysql_global_variables/explain.txt create mode 100644 parser/testdata/01338_sha256_fixedstring/explain.txt create mode 100644 parser/testdata/01338_uuid_without_separator/explain.txt create mode 100644 parser/testdata/01340_datetime64_fpe/explain.txt create mode 100644 parser/testdata/01341_datetime64_wrong_supertype/explain.txt create mode 100644 parser/testdata/01343_min_bytes_to_use_mmap_io/explain.txt create mode 100644 parser/testdata/01344_alter_enum_partition_key/explain.txt create mode 100644 parser/testdata/01344_min_bytes_to_use_mmap_io_index/explain.txt create mode 100644 parser/testdata/01345_array_join_LittleMaverick/explain.txt create mode 100644 parser/testdata/01345_index_date_vs_datetime/explain.txt create mode 100644 parser/testdata/01346_alter_enum_partition_key_replicated_zookeeper_long/explain.txt create mode 100644 parser/testdata/01346_array_join_mrxotey/explain.txt create mode 100644 parser/testdata/01347_partition_date_vs_datetime/explain.txt create mode 100644 parser/testdata/01349_mutation_datetime_key/explain.txt create mode 100644 parser/testdata/01350_intdiv_nontrivial_fpe/explain.txt create mode 100644 parser/testdata/01351_geohash_assert/explain.txt create mode 100644 parser/testdata/01351_parse_date_time_best_effort_us/explain.txt create mode 100644 parser/testdata/01352_add_datetime_bad_get/explain.txt create mode 100644 parser/testdata/01352_generate_random_overflow/explain.txt create mode 100644 parser/testdata/01353_neighbor_overflow/explain.txt create mode 100644 parser/testdata/01353_nullable_tuple/explain.txt create mode 100644 parser/testdata/01353_topk_enum/explain.txt create mode 100644 parser/testdata/01354_order_by_tuple_collate_const/explain.txt create mode 100644 parser/testdata/01354_tuple_low_cardinality_array_mapped_bug/explain.txt create mode 100644 parser/testdata/01355_alter_column_with_order/explain.txt create mode 100644 parser/testdata/01355_if_fixed_string/explain.txt create mode 100644 parser/testdata/01355_ilike/explain.txt create mode 100644 parser/testdata/01356_initialize_aggregation/explain.txt create mode 100644 parser/testdata/01356_state_resample/explain.txt create mode 100644 parser/testdata/01356_view_threads/explain.txt create mode 100644 parser/testdata/01356_wrong_filter-type_bug/explain.txt create mode 100644 parser/testdata/01357_result_rows/explain.txt create mode 100644 parser/testdata/01357_version_collapsing_attach_detach_zookeeper/explain.txt create mode 100644 parser/testdata/01358_constexpr_constraint/explain.txt create mode 100644 parser/testdata/01358_mutation_delete_null_rows/explain.txt create mode 100644 parser/testdata/01358_union_threads_bug/explain.txt create mode 100644 parser/testdata/01359_codeql/explain.txt create mode 100644 parser/testdata/01359_geodistance_loop/explain.txt create mode 100644 parser/testdata/01360_division_overflow/explain.txt create mode 100644 parser/testdata/01360_materialized_view_with_join_on_query_log/explain.txt create mode 100644 parser/testdata/01361_buffer_table_flush_with_materialized_view/explain.txt create mode 100644 parser/testdata/01362_year_of_ISO8601_week_modificators_for_formatDateTime/explain.txt create mode 100644 parser/testdata/01372_remote_table_function_empty_table/explain.txt create mode 100644 parser/testdata/01372_wrong_order_by_removal/explain.txt create mode 100644 parser/testdata/01373_is_zero_or_null/explain.txt create mode 100644 parser/testdata/01373_summing_merge_tree_exclude_partition_key/explain.txt create mode 100644 parser/testdata/01373_summing_merge_tree_explicit_columns_definition/explain.txt create mode 100644 parser/testdata/01375_GROUP_BY_injective_elimination_dictGet_BAD_ARGUMENTS/explain.txt create mode 100644 parser/testdata/01375_compact_parts_codecs/explain.txt create mode 100644 parser/testdata/01375_null_issue_3767/explain.txt create mode 100644 parser/testdata/01375_storage_file_write_prefix_csv_with_names/explain.txt create mode 100644 parser/testdata/01375_storage_file_write_prefix_tsv_with_names/explain.txt create mode 100644 parser/testdata/01376_GROUP_BY_injective_elimination_dictGet/explain.txt create mode 100644 parser/testdata/01376_array_fill_empty/explain.txt create mode 100644 parser/testdata/01376_null_logical/explain.txt create mode 100644 parser/testdata/01377_supertype_low_cardinality/explain.txt create mode 100644 parser/testdata/01378_alter_rename_with_ttl_zookeeper/explain.txt create mode 100644 parser/testdata/01380_coded_delta_exception_code/explain.txt create mode 100644 parser/testdata/01380_nullable_state/explain.txt create mode 100644 parser/testdata/01381_for_each_with_states/explain.txt create mode 100644 parser/testdata/01383_remote_ambiguous_column_shard/explain.txt create mode 100644 parser/testdata/01384_bloom_filter_bad_arguments/explain.txt create mode 100644 parser/testdata/01385_not_function/explain.txt create mode 100644 parser/testdata/01386_negative_float_constant_key_condition/explain.txt create mode 100644 parser/testdata/01387_clear_column_default_depends/explain.txt create mode 100644 parser/testdata/01388_clear_all_columns/explain.txt create mode 100644 parser/testdata/01388_multi_if_optimization/explain.txt create mode 100644 parser/testdata/01389_filter_by_virtual_columns/explain.txt create mode 100644 parser/testdata/01390_check_table_codec/explain.txt create mode 100644 parser/testdata/01390_remove_injective_in_uniq/explain.txt create mode 100644 parser/testdata/01391_join_on_dict_crash/explain.txt create mode 100644 parser/testdata/01391_limit_overflow/explain.txt create mode 100644 parser/testdata/01392_column_resolve/explain.txt create mode 100644 parser/testdata/01396_low_cardinality_fixed_string_default/explain.txt create mode 100644 parser/testdata/01396_negative_datetime_saturate_to_zero/explain.txt create mode 100644 parser/testdata/01397_in_bad_arguments/explain.txt create mode 100644 parser/testdata/01398_in_tuple_func/explain.txt create mode 100644 parser/testdata/01400_join_get_with_multi_keys/explain.txt create mode 100644 parser/testdata/01402_cast_nullable_string_to_enum/explain.txt create mode 100644 parser/testdata/01403_datetime64_constant_arg/explain.txt create mode 100644 parser/testdata/01404_roundUpToPowerOfTwoOrZero_safety/explain.txt create mode 100644 parser/testdata/01407_lambda_arrayJoin/explain.txt create mode 100644 parser/testdata/01408_range_overflow/explain.txt create mode 100644 parser/testdata/01409_topK_merge/explain.txt create mode 100644 parser/testdata/01410_full_join_and_null_predicates/explain.txt create mode 100644 parser/testdata/01410_nullable_key_and_index/explain.txt create mode 100644 parser/testdata/01410_nullable_key_and_index_negate_cond/explain.txt create mode 100644 parser/testdata/01411_from_unixtime/explain.txt create mode 100644 parser/testdata/01411_xor_itai_shirav/explain.txt create mode 100644 parser/testdata/01412_group_array_moving_shard/explain.txt create mode 100644 parser/testdata/01412_mod_float/explain.txt create mode 100644 parser/testdata/01412_optimize_deduplicate_bug/explain.txt create mode 100644 parser/testdata/01412_row_from_totals/explain.txt create mode 100644 parser/testdata/01413_allow_non_metadata_alters/explain.txt create mode 100644 parser/testdata/01413_alter_update_supertype/explain.txt create mode 100644 parser/testdata/01413_if_array_uuid/explain.txt create mode 100644 parser/testdata/01413_rows_events/explain.txt create mode 100644 parser/testdata/01413_truncate_without_table_keyword/explain.txt create mode 100644 parser/testdata/01414_bloom_filter_index_with_const_column/explain.txt create mode 100644 parser/testdata/01414_freeze_does_not_prevent_alters/explain.txt create mode 100644 parser/testdata/01414_low_cardinality_nullable/explain.txt create mode 100644 parser/testdata/01414_mutations_and_errors/explain.txt create mode 100644 parser/testdata/01414_push_predicate_when_contains_with_clause/explain.txt create mode 100644 parser/testdata/01415_inconsistent_merge_tree_settings/explain.txt create mode 100644 parser/testdata/01415_overlimiting_threads_for_repica_bug/explain.txt create mode 100644 parser/testdata/01415_table_function_view/explain.txt create mode 100644 parser/testdata/01416_clear_column_pk/explain.txt create mode 100644 parser/testdata/01416_join_totals_header_bug/explain.txt create mode 100644 parser/testdata/01417_update_permutation_crash/explain.txt create mode 100644 parser/testdata/01418_custom_settings/explain.txt create mode 100644 parser/testdata/01418_index_analysis_bug/explain.txt create mode 100644 parser/testdata/01418_query_scope_constants_and_remote/explain.txt create mode 100644 parser/testdata/01419_materialize_null/explain.txt create mode 100644 parser/testdata/01419_merge_tree_settings_sanity_check/explain.txt create mode 100644 parser/testdata/01419_skip_index_compact_parts/explain.txt create mode 100644 parser/testdata/01420_logical_functions_materialized_null/explain.txt create mode 100644 parser/testdata/01421_array_nullable_element_nullable_index/explain.txt create mode 100644 parser/testdata/01421_assert_in_in/explain.txt create mode 100644 parser/testdata/01422_array_nullable_element_nullable_index/explain.txt create mode 100644 parser/testdata/01422_map_skip_null/explain.txt create mode 100644 parser/testdata/01423_if_nullable_cond/explain.txt create mode 100644 parser/testdata/01424_parse_date_time_bad_date/explain.txt create mode 100644 parser/testdata/01425_decimal_parse_big_negative_exponent/explain.txt create mode 100644 parser/testdata/01426_geohash_constants/explain.txt create mode 100644 parser/testdata/01427_pk_and_expression_with_different_type/explain.txt create mode 100644 parser/testdata/01428_h3_range_check/explain.txt create mode 100644 parser/testdata/01428_hash_set_nan_key/explain.txt create mode 100644 parser/testdata/01428_nullable_asof_join/explain.txt create mode 100644 parser/testdata/01429_join_on_error_messages/explain.txt create mode 100644 parser/testdata/01430_fix_any_rewrite_aliases/explain.txt create mode 100644 parser/testdata/01430_modify_sample_by_zookeeper_long/explain.txt create mode 100644 parser/testdata/01430_moving_sum_empty_state/explain.txt create mode 100644 parser/testdata/01431_finish_sorting_with_consts/explain.txt create mode 100644 parser/testdata/01431_utf8_ubsan/explain.txt create mode 100644 parser/testdata/01432_parse_date_time_best_effort_timestamp/explain.txt create mode 100644 parser/testdata/01433_hex_float/explain.txt create mode 100644 parser/testdata/01434_netloc_fuzz/explain.txt create mode 100644 parser/testdata/01435_lcm_overflow/explain.txt create mode 100644 parser/testdata/01436_storage_merge_with_join_push_down/explain.txt create mode 100644 parser/testdata/01440_big_int_arithm/explain.txt create mode 100644 parser/testdata/01440_big_int_exotic_casts/explain.txt create mode 100644 parser/testdata/01440_big_int_shift/explain.txt create mode 100644 parser/testdata/01440_to_date_monotonicity/explain.txt create mode 100644 parser/testdata/01441_array_combinator/explain.txt create mode 100644 parser/testdata/01441_low_cardinality_array_index/explain.txt create mode 100644 parser/testdata/01442_date_time_with_params/explain.txt create mode 100644 parser/testdata/01442_h3kring_range_check/explain.txt create mode 100644 parser/testdata/01447_json_strings/explain.txt create mode 100644 parser/testdata/01448_json_compact_strings_each_row/explain.txt create mode 100644 parser/testdata/01449_json_compact_strings/explain.txt create mode 100644 parser/testdata/01450_set_null_const/explain.txt create mode 100644 parser/testdata/01451_detach_drop_part/explain.txt create mode 100644 parser/testdata/01451_normalize_query/explain.txt create mode 100644 parser/testdata/01451_replicated_detach_drop_and_quorum_long/explain.txt create mode 100644 parser/testdata/01451_replicated_detach_drop_part_long/explain.txt create mode 100644 parser/testdata/01452_normalized_query_hash/explain.txt create mode 100644 parser/testdata/01453_fixsed_string_sort/explain.txt create mode 100644 parser/testdata/01453_normalize_query_alias_uuid/explain.txt create mode 100644 parser/testdata/01455_default_compression/explain.txt create mode 100644 parser/testdata/01455_nullable_type_with_if_agg_combinator/explain.txt create mode 100644 parser/testdata/01455_optimize_trivial_insert_select/explain.txt create mode 100644 parser/testdata/01455_rank_correlation_spearman/explain.txt create mode 100644 parser/testdata/01455_shard_leaf_max_rows_bytes_to_read/explain.txt create mode 100644 parser/testdata/01455_time_zones/explain.txt create mode 100644 parser/testdata/01456_ast_optimizations_over_distributed/explain.txt create mode 100644 parser/testdata/01456_low_cardinality_sorting_bugfix/explain.txt create mode 100644 parser/testdata/01456_min_negative_decimal_formatting/explain.txt create mode 100644 parser/testdata/01456_modify_column_type_via_add_drop_update/explain.txt create mode 100644 parser/testdata/01457_compile_expressions_fuzzer/explain.txt create mode 100644 parser/testdata/01457_create_as_table_function_structure/explain.txt create mode 100644 parser/testdata/01457_int256_hashing/explain.txt create mode 100644 parser/testdata/01457_min_index_granularity_bytes_setting/explain.txt create mode 100644 parser/testdata/01457_order_by_limit/explain.txt create mode 100644 parser/testdata/01457_order_by_nulls_first/explain.txt create mode 100644 parser/testdata/01458_count_digits/explain.txt create mode 100644 parser/testdata/01458_is_decimal_overflow/explain.txt create mode 100644 parser/testdata/01458_named_tuple_millin/explain.txt create mode 100644 parser/testdata/01459_decimal_casts/explain.txt create mode 100644 parser/testdata/01459_default_value_of_argument_type_nullptr_dereference/explain.txt create mode 100644 parser/testdata/01460_allow_dollar_and_number_in_identifier/explain.txt create mode 100644 parser/testdata/01460_mark_inclusion_search_crash/explain.txt create mode 100644 parser/testdata/01461_alter_table_function/explain.txt create mode 100644 parser/testdata/01461_query_start_time_microseconds/explain.txt create mode 100644 parser/testdata/01462_test_codec_on_alias/explain.txt create mode 100644 parser/testdata/01463_resample_overflow/explain.txt create mode 100644 parser/testdata/01465_ttl_recompression/explain.txt create mode 100644 parser/testdata/01470_columns_transformers/explain.txt create mode 100644 parser/testdata/01470_columns_transformers2/explain.txt create mode 100644 parser/testdata/01470_explain/explain.txt create mode 100644 parser/testdata/01470_show_databases_like/explain.txt create mode 100644 parser/testdata/01470_test_insert_select_asterisk/explain.txt create mode 100644 parser/testdata/01471_calculate_ttl_during_merge/explain.txt create mode 100644 parser/testdata/01471_limit_by_format/explain.txt create mode 100644 parser/testdata/01471_top_k_range_check/explain.txt create mode 100644 parser/testdata/01471_with_format/explain.txt create mode 100644 parser/testdata/01472_many_rows_in_totals/explain.txt create mode 100644 parser/testdata/01472_toBoundsOfInterval_disallow_empty_tz_field/explain.txt create mode 100644 parser/testdata/01473_event_time_microseconds/explain.txt create mode 100644 parser/testdata/01473_system_events_zeroes/explain.txt create mode 100644 parser/testdata/01474_bad_global_join/explain.txt create mode 100644 parser/testdata/01474_decimal_scale_bug/explain.txt create mode 100644 parser/testdata/01474_executable_dictionary/explain.txt create mode 100644 parser/testdata/01475_fix_bigint_shift/explain.txt create mode 100644 parser/testdata/01475_mutation_with_if/explain.txt create mode 100644 parser/testdata/01475_read_subcolumns/explain.txt create mode 100644 parser/testdata/01475_read_subcolumns_2/explain.txt create mode 100644 parser/testdata/01475_read_subcolumns_3/explain.txt create mode 100644 parser/testdata/01476_right_full_join_switch/explain.txt create mode 100644 parser/testdata/01478_not_equi-join_on/explain.txt create mode 100644 parser/testdata/01479_cross_join_9855/explain.txt create mode 100644 parser/testdata/01480_binary_operator_monotonicity/explain.txt create mode 100644 parser/testdata/01481_join_with_materialized/explain.txt create mode 100644 parser/testdata/01482_move_to_prewhere_and_cast/explain.txt create mode 100644 parser/testdata/01483_merge_table_join_and_group_by/explain.txt create mode 100644 parser/testdata/01485_256_bit_multiply/explain.txt create mode 100644 parser/testdata/01486_json_array_output/explain.txt create mode 100644 parser/testdata/01490_nullable_string_to_enum/explain.txt create mode 100644 parser/testdata/01491_nested_multiline_comments/explain.txt create mode 100644 parser/testdata/01492_array_join_crash_13829/explain.txt create mode 100644 parser/testdata/01493_alter_remove_no_property_zookeeper_long/explain.txt create mode 100644 parser/testdata/01493_alter_remove_properties/explain.txt create mode 100644 parser/testdata/01493_alter_remove_properties_zookeeper/explain.txt create mode 100644 parser/testdata/01493_alter_remove_wrong_default/explain.txt create mode 100644 parser/testdata/01493_storage_set_persistency/explain.txt create mode 100644 parser/testdata/01493_table_function_null/explain.txt create mode 100644 parser/testdata/01494_storage_join_persistency/explain.txt create mode 100644 parser/testdata/01495_subqueries_in_with_statement/explain.txt create mode 100644 parser/testdata/01495_subqueries_in_with_statement_3/explain.txt create mode 100644 parser/testdata/01495_subqueries_in_with_statement_4/explain.txt create mode 100644 parser/testdata/01496_signedness_conversion_monotonicity/explain.txt create mode 100644 parser/testdata/01497_alias_on_default_array/explain.txt create mode 100644 parser/testdata/01497_extract_all_groups_empty_match/explain.txt create mode 100644 parser/testdata/01497_mutation_support_for_storage_memory/explain.txt create mode 100644 parser/testdata/01497_now_support_timezone/explain.txt create mode 100644 parser/testdata/01498_alter_column_storage_memory/explain.txt create mode 100644 parser/testdata/01499_json_named_tuples/explain.txt create mode 100644 parser/testdata/01499_log_deadlock/explain.txt create mode 100644 parser/testdata/01501_cache_dictionary_all_fields/explain.txt create mode 100644 parser/testdata/01502_bar_overflow/explain.txt create mode 100644 parser/testdata/01503_fixed_string_primary_key/explain.txt create mode 100644 parser/testdata/01503_if_const_optimization/explain.txt create mode 100644 parser/testdata/01504_compression_multiple_streams/explain.txt create mode 100644 parser/testdata/01504_rocksdb/explain.txt create mode 100644 parser/testdata/01504_view_type_conversion/explain.txt create mode 100644 parser/testdata/01505_distributed_local_type_conversion_enum/explain.txt create mode 100644 parser/testdata/01505_log_distributed_deadlock/explain.txt create mode 100644 parser/testdata/01505_trivial_count_with_partition_predicate/explain.txt create mode 100644 parser/testdata/01506_buffer_table_alter_block_structure/explain.txt create mode 100644 parser/testdata/01506_buffer_table_alter_block_structure_2/explain.txt create mode 100644 parser/testdata/01506_ttl_same_with_order_by/explain.txt create mode 100644 parser/testdata/01507_multiversion_storage_for_storagememory/explain.txt create mode 100644 parser/testdata/01507_transform_null_in/explain.txt create mode 100644 parser/testdata/01508_explain_header/explain.txt create mode 100644 parser/testdata/01509_output_format_pretty_row_numbers/explain.txt create mode 100644 parser/testdata/01509_parallel_quorum_insert_no_replicas_long/explain.txt create mode 100644 parser/testdata/01511_alter_version_versioned_collapsing_merge_tree/explain.txt create mode 100644 parser/testdata/01511_alter_version_versioned_collapsing_merge_tree_zookeeper/explain.txt create mode 100644 parser/testdata/01511_different_expression_with_same_alias/explain.txt create mode 100644 parser/testdata/01511_prewhere_with_virtuals/explain.txt create mode 100644 parser/testdata/01512_create_replicate_merge_tree_one_arg/explain.txt create mode 100644 parser/testdata/01513_count_without_select_sequence_consistency_zookeeper_long/explain.txt create mode 100644 parser/testdata/01513_defaults_on_defaults_no_column/explain.txt create mode 100644 parser/testdata/01513_ilike_like_cache/explain.txt create mode 100644 parser/testdata/01513_optimize_aggregation_in_order_memory_long/explain.txt create mode 100644 parser/testdata/01514_empty_buffer_different_types/explain.txt create mode 100644 parser/testdata/01514_input_format_csv_enum_as_number_setting/explain.txt create mode 100644 parser/testdata/01514_input_format_json_enum_as_number/explain.txt create mode 100644 parser/testdata/01514_input_format_tsv_enum_as_number_setting/explain.txt create mode 100644 parser/testdata/01514_parallel_formatting/explain.txt create mode 100644 parser/testdata/01514_tid_function/explain.txt create mode 100644 parser/testdata/01515_force_data_skipping_indices/explain.txt create mode 100644 parser/testdata/01515_mv_and_array_join_optimisation_bag/explain.txt create mode 100644 parser/testdata/01515_with_global_and_with_propagation/explain.txt create mode 100644 parser/testdata/01516_create_table_primary_key/explain.txt create mode 100644 parser/testdata/01516_date_time_output_format/explain.txt create mode 100644 parser/testdata/01517_drop_mv_with_inner_table/explain.txt create mode 100644 parser/testdata/01517_select_final_distributed/explain.txt create mode 100644 parser/testdata/01518_cast_nullable_virtual_system_column/explain.txt create mode 100644 parser/testdata/01518_filtering_aliased_materialized_column/explain.txt create mode 100644 parser/testdata/01518_nullable_aggregate_states1/explain.txt create mode 100644 parser/testdata/01518_nullable_aggregate_states2/explain.txt create mode 100644 parser/testdata/01518_select_in_null/explain.txt create mode 100644 parser/testdata/01519_topK_distributed_parametrized/explain.txt create mode 100644 parser/testdata/01521_alter_enum_and_reverse_read/explain.txt create mode 100644 parser/testdata/01521_distributed_query_hang/explain.txt create mode 100644 parser/testdata/01521_format_readable_time_delta2/explain.txt create mode 100644 parser/testdata/01521_global_in_prewhere_15792/explain.txt create mode 100644 parser/testdata/01521_max_length_alias/explain.txt create mode 100644 parser/testdata/01522_validate_alter_default/explain.txt create mode 100644 parser/testdata/01523_date_time_compare_with_date_literal/explain.txt create mode 100644 parser/testdata/01523_interval_operator_support_string_literal/explain.txt create mode 100644 parser/testdata/01524_do_not_merge_across_partitions_select_final/explain.txt create mode 100644 parser/testdata/01525_select_with_offset_fetch_clause/explain.txt create mode 100644 parser/testdata/01526_alter_add_and_modify_order_zookeeper/explain.txt create mode 100644 parser/testdata/01526_complex_key_dict_direct_layout/explain.txt create mode 100644 parser/testdata/01527_bad_aggregation_in_lambda/explain.txt create mode 100644 parser/testdata/01527_dist_sharding_key_dictGet_reload/explain.txt create mode 100644 parser/testdata/01527_materialized_view_stack_overflow/explain.txt create mode 100644 parser/testdata/01528_allow_nondeterministic_optimize_skip_unused_shards/explain.txt create mode 100644 parser/testdata/01528_setting_aggregate_functions_null_for_empty/explain.txt create mode 100644 parser/testdata/01528_to_uuid_or_null_or_zero/explain.txt create mode 100644 parser/testdata/01529_union_distinct_and_setting_union_default_mode/explain.txt create mode 100644 parser/testdata/01530_drop_database_atomic_sync/explain.txt create mode 100644 parser/testdata/01531_query_log_query_comment/explain.txt create mode 100644 parser/testdata/01532_collate_in_low_cardinality/explain.txt create mode 100644 parser/testdata/01532_execute_merges_on_single_replica_long/explain.txt create mode 100644 parser/testdata/01532_having_with_totals/explain.txt create mode 100644 parser/testdata/01532_min_max_with_modifiers/explain.txt create mode 100644 parser/testdata/01532_primary_key_without_order_by_zookeeper/explain.txt create mode 100644 parser/testdata/01532_tuple_with_name_type/explain.txt create mode 100644 parser/testdata/01533_collate_in_nullable/explain.txt create mode 100644 parser/testdata/01533_distinct_depends_on_max_threads/explain.txt create mode 100644 parser/testdata/01533_distinct_nullable_uuid/explain.txt create mode 100644 parser/testdata/01533_multiple_nested/explain.txt create mode 100644 parser/testdata/01533_optimize_skip_merged_partitions/explain.txt create mode 100644 parser/testdata/01533_quantile_deterministic_assert/explain.txt create mode 100644 parser/testdata/01533_sum_if_nullable_bug/explain.txt create mode 100644 parser/testdata/01534_lambda_array_join/explain.txt create mode 100644 parser/testdata/01535_decimal_round_scale_overflow_check/explain.txt create mode 100644 parser/testdata/01536_fuzz_cast/explain.txt create mode 100644 parser/testdata/01537_fuzz_count_equal/explain.txt create mode 100644 parser/testdata/01540_verbatim_partition_pruning/explain.txt create mode 100644 parser/testdata/01542_collate_in_array/explain.txt create mode 100644 parser/testdata/01543_collate_in_tuple/explain.txt create mode 100644 parser/testdata/01543_parse_datetime_besteffort_or_null_empty_string/explain.txt create mode 100644 parser/testdata/01543_toModifiedJulianDay/explain.txt create mode 100644 parser/testdata/01544_errorCodeToName/explain.txt create mode 100644 parser/testdata/01544_fromModifiedJulianDay/explain.txt create mode 100644 parser/testdata/01545_url_file_format_settings/explain.txt create mode 100644 parser/testdata/01546_log_queries_min_query_duration_ms/explain.txt create mode 100644 parser/testdata/01547_query_log_current_database/explain.txt create mode 100644 parser/testdata/01548_lzy305/explain.txt create mode 100644 parser/testdata/01548_uncomparable_columns_in_keys/explain.txt create mode 100644 parser/testdata/01548_with_totals_having/explain.txt create mode 100644 parser/testdata/01549_low_cardinality_materialized_view/explain.txt create mode 100644 parser/testdata/01549_low_cardinality_mv_fuzz/explain.txt create mode 100644 parser/testdata/01550_create_map_type/explain.txt create mode 100644 parser/testdata/01550_mutation_subquery/explain.txt create mode 100644 parser/testdata/01550_type_map_formats/explain.txt create mode 100644 parser/testdata/01551_context_uaf/explain.txt create mode 100644 parser/testdata/01551_mergetree_read_in_order_spread/explain.txt create mode 100644 parser/testdata/01552_alter_name_collision/explain.txt create mode 100644 parser/testdata/01552_dict_fixedstring/explain.txt create mode 100644 parser/testdata/01552_impl_aggfunc_cloneresize/explain.txt create mode 100644 parser/testdata/01553_datetime64_comparison/explain.txt create mode 100644 parser/testdata/01553_settings_early_apply/explain.txt create mode 100644 parser/testdata/01554_bloom_filter_index_big_integer_uuid/explain.txt create mode 100644 parser/testdata/01554_interpreter_integer_float/explain.txt create mode 100644 parser/testdata/01555_system_distribution_queue_mask/explain.txt create mode 100644 parser/testdata/01556_accurate_cast_or_null/explain.txt create mode 100644 parser/testdata/01556_explain_select_with_union_query/explain.txt create mode 100644 parser/testdata/01557_max_parallel_replicas_no_sample/explain.txt create mode 100644 parser/testdata/01558_enum_as_num_in_tsv_csv_input/explain.txt create mode 100644 parser/testdata/01558_transform_null_in/explain.txt create mode 100644 parser/testdata/01558_ttest/explain.txt create mode 100644 parser/testdata/01559_aggregate_null_for_empty_fix/explain.txt create mode 100644 parser/testdata/01559_misplaced_codec_diagnostics/explain.txt create mode 100644 parser/testdata/01560_cancel_agg_func_combinator_native_name_constraint/explain.txt create mode 100644 parser/testdata/01560_crash_in_agg_empty_arglist/explain.txt create mode 100644 parser/testdata/01560_mann_whitney/explain.txt create mode 100644 parser/testdata/01560_merge_distributed_join/explain.txt create mode 100644 parser/testdata/01560_optimize_on_insert_long/explain.txt create mode 100644 parser/testdata/01560_optimize_on_insert_zookeeper/explain.txt create mode 100644 parser/testdata/01561_aggregate_functions_of_key_with_join/explain.txt create mode 100644 parser/testdata/01562_agg_null_for_empty_ahead/explain.txt create mode 100644 parser/testdata/01566_negate_formatting/explain.txt create mode 100644 parser/testdata/01567_system_processes_current_database/explain.txt create mode 100644 parser/testdata/01568_window_functions_distributed/explain.txt create mode 100644 parser/testdata/01570_aggregator_combinator_simple_state/explain.txt create mode 100644 parser/testdata/01571_window_functions/explain.txt create mode 100644 parser/testdata/01575_disable_detach_table_of_dictionary/explain.txt create mode 100644 parser/testdata/01576_alias_column_rewrite/explain.txt create mode 100644 parser/testdata/01576_if_null_external_aggregation/explain.txt create mode 100644 parser/testdata/01579_date_datetime_index_comparison/explain.txt create mode 100644 parser/testdata/01580_column_const_comparision/explain.txt create mode 100644 parser/testdata/01581_deduplicate_by_columns_local/explain.txt create mode 100644 parser/testdata/01581_deduplicate_by_columns_replicated_long/explain.txt create mode 100644 parser/testdata/01581_to_int_inf_nan/explain.txt create mode 100644 parser/testdata/01582_any_join_supertype/explain.txt create mode 100644 parser/testdata/01582_deterministic_function_with_predicate/explain.txt create mode 100644 parser/testdata/01582_distinct_subquery_groupby/explain.txt create mode 100644 parser/testdata/01582_move_to_prewhere_compact_parts/explain.txt create mode 100644 parser/testdata/01583_const_column_in_set_index/explain.txt create mode 100644 parser/testdata/01584_distributed_buffer_cannot_find_column/explain.txt create mode 100644 parser/testdata/01585_fuzz_bits_with_bugfix/explain.txt create mode 100644 parser/testdata/01585_use_index_for_global_in/explain.txt create mode 100644 parser/testdata/01585_use_index_for_global_in_with_null/explain.txt create mode 100644 parser/testdata/01586_columns_pruning/explain.txt create mode 100644 parser/testdata/01586_replicated_mutations_empty_partition/explain.txt create mode 100644 parser/testdata/01586_storage_join_low_cardinality_key/explain.txt create mode 100644 parser/testdata/01590_countSubstrings/explain.txt create mode 100644 parser/testdata/01591_window_functions/explain.txt create mode 100644 parser/testdata/01592_length_map/explain.txt create mode 100644 parser/testdata/01592_long_window_functions1/explain.txt create mode 100644 parser/testdata/01592_toUnixTimestamp_Date/explain.txt create mode 100644 parser/testdata/01592_window_functions/explain.txt create mode 100644 parser/testdata/01593_insert_settings/explain.txt create mode 100644 parser/testdata/01594_storage_join_uuid/explain.txt create mode 100644 parser/testdata/01595_countMatches/explain.txt create mode 100644 parser/testdata/01596_full_join_chertus/explain.txt create mode 100644 parser/testdata/01596_null_as_default_nullable/explain.txt create mode 100644 parser/testdata/01596_setting_limit_offset/explain.txt create mode 100644 parser/testdata/01598_memory_limit_zeros/explain.txt create mode 100644 parser/testdata/01600_encode_XML/explain.txt create mode 100644 parser/testdata/01600_min_max_compress_block_size/explain.txt create mode 100644 parser/testdata/01600_multiple_left_join_with_aliases/explain.txt create mode 100644 parser/testdata/01600_remerge_sort_lowered_memory_bytes_ratio/explain.txt create mode 100644 parser/testdata/01600_select_in_different_types/explain.txt create mode 100644 parser/testdata/01601_accurate_cast/explain.txt create mode 100644 parser/testdata/01601_detach_permanently/explain.txt create mode 100644 parser/testdata/01602_array_aggregation/explain.txt create mode 100644 parser/testdata/01602_insert_into_table_function_cluster/explain.txt create mode 100644 parser/testdata/01602_modified_julian_day_msan/explain.txt create mode 100644 parser/testdata/01602_runningConcurrency/explain.txt create mode 100644 parser/testdata/01602_show_create_view/explain.txt create mode 100644 parser/testdata/01602_temporary_table_in_system_tables/explain.txt create mode 100644 parser/testdata/01603_decimal_mult_float/explain.txt create mode 100644 parser/testdata/01603_insert_select_too_many_parts/explain.txt create mode 100644 parser/testdata/01603_read_with_backoff_bug/explain.txt create mode 100644 parser/testdata/01603_remove_column_ttl/explain.txt create mode 100644 parser/testdata/01603_rename_overwrite_bug/explain.txt create mode 100644 parser/testdata/01604_explain_ast_of_nonselect_query/explain.txt create mode 100644 parser/testdata/01605_adaptive_granularity_block_borders/explain.txt create mode 100644 parser/testdata/01605_dictinct_two_level/explain.txt create mode 100644 parser/testdata/01605_drop_settings_profile_while_assigned/explain.txt create mode 100644 parser/testdata/01605_key_condition_enum_int/explain.txt create mode 100644 parser/testdata/01605_skip_idx_compact_parts/explain.txt create mode 100644 parser/testdata/01606_merge_from_wide_to_compact/explain.txt create mode 100644 parser/testdata/01611_constant_folding_subqueries/explain.txt create mode 100644 parser/testdata/01611_string_to_low_cardinality_key_alter/explain.txt create mode 100644 parser/testdata/01615_random_one_shard_insertion/explain.txt create mode 100644 parser/testdata/01615_two_args_function_index_fix/explain.txt create mode 100644 parser/testdata/01616_untuple_access_field/explain.txt create mode 100644 parser/testdata/01620_fix_simple_state_arg_type/explain.txt create mode 100644 parser/testdata/01621_bar_nan_arguments/explain.txt create mode 100644 parser/testdata/01621_decode_XML/explain.txt create mode 100644 parser/testdata/01621_sort_after_join_pipeline_stuck/explain.txt create mode 100644 parser/testdata/01621_summap_check_types/explain.txt create mode 100644 parser/testdata/01622_byte_size/explain.txt create mode 100644 parser/testdata/01622_codec_zstd_long/explain.txt create mode 100644 parser/testdata/01622_constraints_simple_optimization/explain.txt create mode 100644 parser/testdata/01622_constraints_where_optimization/explain.txt create mode 100644 parser/testdata/01622_defaults_for_file_engine/explain.txt create mode 100644 parser/testdata/01622_multiple_ttls/explain.txt create mode 100644 parser/testdata/01623_byte_size_const/explain.txt create mode 100644 parser/testdata/01623_constraints_column_swap/explain.txt create mode 100644 parser/testdata/01625_constraints_index_append/explain.txt create mode 100644 parser/testdata/01626_cnf_test/explain.txt create mode 100644 parser/testdata/01630_disallow_floating_point_as_partition_key/explain.txt create mode 100644 parser/testdata/01630_simple_aggregate_all_functions_in_aggregating_merge_tree/explain.txt create mode 100644 parser/testdata/01630_simple_aggregate_all_functions_in_summing_merge_tree/explain.txt create mode 100644 parser/testdata/01630_simple_aggregate_function_in_summing_merge_tree/explain.txt create mode 100644 parser/testdata/01631_date_overflow_as_partition_key/explain.txt create mode 100644 parser/testdata/01632_group_array_msan/explain.txt create mode 100644 parser/testdata/01632_max_partitions_to_read/explain.txt create mode 100644 parser/testdata/01632_nullable_string_type_convert_to_decimal_type/explain.txt create mode 100644 parser/testdata/01632_select_all_syntax/explain.txt create mode 100644 parser/testdata/01633_limit_fuzz/explain.txt create mode 100644 parser/testdata/01634_sum_map_nulls/explain.txt create mode 100644 parser/testdata/01634_summap_nullable/explain.txt create mode 100644 parser/testdata/01634_uuid_fuzz/explain.txt create mode 100644 parser/testdata/01635_sum_map_fuzz/explain.txt create mode 100644 parser/testdata/01636_nullable_fuzz2/explain.txt create mode 100644 parser/testdata/01637_nullable_fuzz3/explain.txt create mode 100644 parser/testdata/01638_div_mod_ambiguities/explain.txt create mode 100644 parser/testdata/01639_distributed_sync_insert_zero_rows/explain.txt create mode 100644 parser/testdata/01640_distributed_async_insert_compression/explain.txt create mode 100644 parser/testdata/01640_marks_corruption_regression/explain.txt create mode 100644 parser/testdata/01641_memory_tracking_insert_optimize/explain.txt create mode 100644 parser/testdata/01642_if_nullable_regression/explain.txt create mode 100644 parser/testdata/01643_merge_tree_fsync_smoke/explain.txt create mode 100644 parser/testdata/01643_replicated_merge_tree_fsync_smoke/explain.txt create mode 100644 parser/testdata/01644_distributed_async_insert_fsync_smoke/explain.txt create mode 100644 parser/testdata/01645_system_table_engines/explain.txt create mode 100644 parser/testdata/01646_fix_window_funnel_inconistency/explain.txt create mode 100644 parser/testdata/01646_rewrite_sum_if/explain.txt create mode 100644 parser/testdata/01646_rewrite_sum_if_bug/explain.txt create mode 100644 parser/testdata/01646_system_restart_replicas_smoke/explain.txt create mode 100644 parser/testdata/01648_mutations_and_escaping/explain.txt create mode 100644 parser/testdata/01648_normalize_query_keep_names/explain.txt create mode 100644 parser/testdata/01649_with_alias_key_condition/explain.txt create mode 100644 parser/testdata/01650_drop_part_and_deduplication_zookeeper_long/explain.txt create mode 100644 parser/testdata/01650_fetch_patition_with_macro_in_zk_path_long/explain.txt create mode 100644 parser/testdata/01651_bugs_from_15889/explain.txt create mode 100644 parser/testdata/01651_group_uniq_array_enum/explain.txt create mode 100644 parser/testdata/01651_lc_insert_tiny_log_1/explain.txt create mode 100644 parser/testdata/01651_lc_insert_tiny_log_2/explain.txt create mode 100644 parser/testdata/01651_lc_insert_tiny_log_3/explain.txt create mode 100644 parser/testdata/01651_map_functions/explain.txt create mode 100644 parser/testdata/01652_ignore_and_low_cardinality/explain.txt create mode 100644 parser/testdata/01652_ttl_old_syntax/explain.txt create mode 100644 parser/testdata/01653_tuple_hamming_distance_2/explain.txt create mode 100644 parser/testdata/01654_bar_nan/explain.txt create mode 100644 parser/testdata/01655_agg_if_nullable/explain.txt create mode 100644 parser/testdata/01655_plan_optimizations_merge_filters/explain.txt create mode 100644 parser/testdata/01655_quarter_modificator_for_formatDateTime/explain.txt create mode 100644 parser/testdata/01655_sleep_infinite_float/explain.txt create mode 100644 parser/testdata/01655_test_isnull_mysql_dialect/explain.txt create mode 100644 parser/testdata/01655_window_functions_cume_dist/explain.txt create mode 100644 parser/testdata/01656_ipv4_bad_formatting/explain.txt create mode 100644 parser/testdata/01656_join_defaul_enum/explain.txt create mode 100644 parser/testdata/01656_sequence_next_node_distinct/explain.txt create mode 100644 parser/testdata/01656_sequence_next_node_long/explain.txt create mode 100644 parser/testdata/01656_test_hex_mysql_dialect/explain.txt create mode 100644 parser/testdata/01656_test_query_log_factories_info/explain.txt create mode 100644 parser/testdata/01657_array_element_ubsan/explain.txt create mode 100644 parser/testdata/01657_test_toHour_mysql_compatibility/explain.txt create mode 100644 parser/testdata/01658_test_base64Encode_mysql_compatibility/explain.txt create mode 100644 parser/testdata/01658_values_ubsan/explain.txt create mode 100644 parser/testdata/01659_array_aggregation_ubsan/explain.txt create mode 100644 parser/testdata/01659_h3_buffer_overflow/explain.txt create mode 100644 parser/testdata/01659_test_base64Decode_mysql_compatibility/explain.txt create mode 100644 parser/testdata/01660_join_or_all/explain.txt create mode 100644 parser/testdata/01660_join_or_any/explain.txt create mode 100644 parser/testdata/01660_join_or_inner/explain.txt create mode 100644 parser/testdata/01660_join_or_subqueries/explain.txt create mode 100644 parser/testdata/01660_second_extremes_bug/explain.txt create mode 100644 parser/testdata/01660_sum_ubsan/explain.txt create mode 100644 parser/testdata/01660_system_parts_smoke/explain.txt create mode 100644 parser/testdata/01660_test_toDayOfYear_mysql_compatibility/explain.txt create mode 100644 parser/testdata/01661_arraySlice_ubsan/explain.txt create mode 100644 parser/testdata/01661_extract_all_groups_throw_fast/explain.txt create mode 100644 parser/testdata/01661_join_complex/explain.txt create mode 100644 parser/testdata/01661_test_toDayOfWeek_mysql_compatibility/explain.txt create mode 100644 parser/testdata/01661_week_functions_string_args/explain.txt create mode 100644 parser/testdata/01662_date_ubsan/explain.txt create mode 100644 parser/testdata/01662_join_mixed/explain.txt create mode 100644 parser/testdata/01662_test_toDayOfMonth_mysql_compatibility/explain.txt create mode 100644 parser/testdata/01663_aes_msan/explain.txt create mode 100644 parser/testdata/01663_quantile_weighted_overflow/explain.txt create mode 100644 parser/testdata/01663_test_toDate_mysql_compatibility/explain.txt create mode 100644 parser/testdata/01664_array_slice_ubsan/explain.txt create mode 100644 parser/testdata/01664_decimal_ubsan/explain.txt create mode 100644 parser/testdata/01664_ntoa_aton_mysql_compatibility/explain.txt create mode 100644 parser/testdata/01665_merge_tree_min_for_concurrent_read/explain.txt create mode 100644 parser/testdata/01665_running_difference_ubsan/explain.txt create mode 100644 parser/testdata/01665_substring_ubsan/explain.txt create mode 100644 parser/testdata/01666_date_lut_buffer_overflow/explain.txt create mode 100644 parser/testdata/01666_gcd_ubsan/explain.txt create mode 100644 parser/testdata/01666_great_circle_distance_ubsan/explain.txt create mode 100644 parser/testdata/01666_lcm_ubsan/explain.txt create mode 100644 parser/testdata/01667_aes_args_check/explain.txt create mode 100644 parser/testdata/01668_avg_weighted_ubsan/explain.txt create mode 100644 parser/testdata/01668_test_toMonth_mysql_dialect/explain.txt create mode 100644 parser/testdata/01669_join_or_duplicates/explain.txt create mode 100644 parser/testdata/01669_test_toYear_mysql_dialect/explain.txt create mode 100644 parser/testdata/01670_dictionary_create_key_expression/explain.txt create mode 100644 parser/testdata/01670_distributed_bytes_to_throw_insert/explain.txt create mode 100644 parser/testdata/01670_log_comment/explain.txt create mode 100644 parser/testdata/01670_neighbor_lc_bug/explain.txt create mode 100644 parser/testdata/01670_sign_function/explain.txt create mode 100644 parser/testdata/01670_test_repeat_mysql_dialect/explain.txt create mode 100644 parser/testdata/01671_aggregate_function_group_bitmap_data/explain.txt create mode 100644 parser/testdata/01671_merge_join_and_constants/explain.txt create mode 100644 parser/testdata/01671_test_toQuarter_mysql_dialect/explain.txt create mode 100644 parser/testdata/01672_actions_dag_merge_crash/explain.txt create mode 100644 parser/testdata/01672_test_toSecond_mysql_dialect/explain.txt create mode 100644 parser/testdata/01673_test_toMinute_mysql_dialect/explain.txt create mode 100644 parser/testdata/01674_executable_dictionary_implicit_key/explain.txt create mode 100644 parser/testdata/01674_filter_by_uint8/explain.txt create mode 100644 parser/testdata/01674_htm_xml_coarse_parse/explain.txt create mode 100644 parser/testdata/01674_unicode_asan/explain.txt create mode 100644 parser/testdata/01674_where_prewhere_array_crash/explain.txt create mode 100644 parser/testdata/01676_dictget_in_default_expression/explain.txt create mode 100644 parser/testdata/01676_range_hashed_dictionary/explain.txt create mode 100644 parser/testdata/01676_reinterpret_as/explain.txt create mode 100644 parser/testdata/01676_round_int_ubsan/explain.txt create mode 100644 parser/testdata/01677_array_enumerate_bug/explain.txt create mode 100644 parser/testdata/01677_bit_float/explain.txt create mode 100644 parser/testdata/01678_great_circle_angle/explain.txt create mode 100644 parser/testdata/01679_format_readable_time_delta_inf/explain.txt create mode 100644 parser/testdata/01680_date_time_add_ubsan/explain.txt create mode 100644 parser/testdata/01680_predicate_pushdown_union_distinct_subquery/explain.txt create mode 100644 parser/testdata/01681_arg_min_max_if_fix/explain.txt create mode 100644 parser/testdata/01681_bloom_filter_nullable_column/explain.txt create mode 100644 parser/testdata/01681_cache_dictionary_simple_key/explain.txt create mode 100644 parser/testdata/01682_cache_dictionary_complex_key/explain.txt create mode 100644 parser/testdata/01682_gather_utils_ubsan/explain.txt create mode 100644 parser/testdata/01683_codec_encrypted/explain.txt create mode 100644 parser/testdata/01683_dist_INSERT_block_structure_mismatch/explain.txt create mode 100644 parser/testdata/01683_flat_dictionary/explain.txt create mode 100644 parser/testdata/01683_intdiv_ubsan/explain.txt create mode 100644 parser/testdata/01684_geohash_ubsan/explain.txt create mode 100644 parser/testdata/01684_insert_specify_shard_id/explain.txt create mode 100644 parser/testdata/01686_rocksdb/explain.txt create mode 100644 parser/testdata/01690_quantilesTiming_ubsan/explain.txt create mode 100644 parser/testdata/01691_DateTime64_clamp/explain.txt create mode 100644 parser/testdata/01692_DateTime64_from_DateTime/explain.txt create mode 100644 parser/testdata/01698_map_populate_overflow/explain.txt create mode 100644 parser/testdata/01700_deltasum/explain.txt create mode 100644 parser/testdata/01700_mod_negative_type_promotion/explain.txt create mode 100644 parser/testdata/01700_point_in_polygon_ubsan/explain.txt create mode 100644 parser/testdata/01700_system_zookeeper_path_in/explain.txt create mode 100644 parser/testdata/01701_clear_projection_and_part_remove/explain.txt create mode 100644 parser/testdata/01701_if_tuple_segfault/explain.txt create mode 100644 parser/testdata/01702_bitmap_native_integers/explain.txt create mode 100644 parser/testdata/01702_rewrite_avg_for_algebraic_optimization/explain.txt create mode 100644 parser/testdata/01702_system_numbers_scientific_notation/explain.txt create mode 100644 parser/testdata/01702_system_query_log/explain.txt create mode 100644 parser/testdata/01702_toDateTime_from_string_clamping/explain.txt create mode 100644 parser/testdata/01703_rewrite_aggregate_function_case_insensitive/explain.txt create mode 100644 parser/testdata/01704_transform_with_float_key/explain.txt create mode 100644 parser/testdata/01705_normalize_case_insensitive_function_names/explain.txt create mode 100644 parser/testdata/01705_normalize_create_alter_function_names/explain.txt create mode 100644 parser/testdata/01706_optimize_normalize_count_variants/explain.txt create mode 100644 parser/testdata/01707_join_use_nulls/explain.txt create mode 100644 parser/testdata/01709_inactive_parts_to_throw_insert/explain.txt create mode 100644 parser/testdata/01710_aggregate_projection_with_grouping_set/explain.txt create mode 100644 parser/testdata/01710_aggregate_projection_with_hashing/explain.txt create mode 100644 parser/testdata/01710_aggregate_projection_with_monotonic_key_expr/explain.txt create mode 100644 parser/testdata/01710_aggregate_projection_with_normalized_states/explain.txt create mode 100644 parser/testdata/01710_force_use_projection/explain.txt create mode 100644 parser/testdata/01710_minmax_count_projection/explain.txt create mode 100644 parser/testdata/01710_minmax_count_projection_constant_query/explain.txt create mode 100644 parser/testdata/01710_minmax_count_projection_count_nullable/explain.txt create mode 100644 parser/testdata/01710_minmax_count_projection_distributed_query/explain.txt create mode 100644 parser/testdata/01710_minmax_count_projection_modify_partition_key/explain.txt create mode 100644 parser/testdata/01710_normal_projection_fix1/explain.txt create mode 100644 parser/testdata/01710_normal_projection_format/explain.txt create mode 100644 parser/testdata/01710_normal_projection_join_plan_fix/explain.txt create mode 100644 parser/testdata/01710_normal_projection_with_query_plan_optimization/explain.txt create mode 100644 parser/testdata/01710_order_by_projections_complete/explain.txt create mode 100644 parser/testdata/01710_order_by_projections_incomplete/explain.txt create mode 100644 parser/testdata/01710_projection_additional_filters/explain.txt create mode 100644 parser/testdata/01710_projection_aggregate_functions_null_for_empty/explain.txt create mode 100644 parser/testdata/01710_projection_aggregation_in_order/explain.txt create mode 100644 parser/testdata/01710_projection_array_join/explain.txt create mode 100644 parser/testdata/01710_projection_detach_part/explain.txt create mode 100644 parser/testdata/01710_projection_drop_if_exists/explain.txt create mode 100644 parser/testdata/01710_projection_external_aggregate/explain.txt create mode 100644 parser/testdata/01710_projection_fetch_long/explain.txt create mode 100644 parser/testdata/01710_projection_group_by_order_by/explain.txt create mode 100644 parser/testdata/01710_projection_in_index/explain.txt create mode 100644 parser/testdata/01710_projection_in_set/explain.txt create mode 100644 parser/testdata/01710_projection_materialize_with_missing_columns/explain.txt create mode 100644 parser/testdata/01710_projection_mutation/explain.txt create mode 100644 parser/testdata/01710_projection_optimize_aggregators_of_group_by_keys/explain.txt create mode 100644 parser/testdata/01710_projection_optimize_group_by_function_keys/explain.txt create mode 100644 parser/testdata/01710_projection_optimize_materialize/explain.txt create mode 100644 parser/testdata/01710_projection_part_check/explain.txt create mode 100644 parser/testdata/01710_projection_pk_trivial_count/explain.txt create mode 100644 parser/testdata/01710_projection_query_plan_optimization_misc/explain.txt create mode 100644 parser/testdata/01710_projection_row_policy/explain.txt create mode 100644 parser/testdata/01710_projection_vertical_merges/explain.txt create mode 100644 parser/testdata/01710_projection_with_alter_conversions/explain.txt create mode 100644 parser/testdata/01710_projection_with_ast_rewrite_settings/explain.txt create mode 100644 parser/testdata/01710_projection_with_column_transformers/explain.txt create mode 100644 parser/testdata/01710_projection_with_joins/explain.txt create mode 100644 parser/testdata/01710_projection_with_mixed_pipeline/explain.txt create mode 100644 parser/testdata/01710_projection_with_nullable_keys/explain.txt create mode 100644 parser/testdata/01710_projections/explain.txt create mode 100644 parser/testdata/01710_projections_and_duplicate_columms/explain.txt create mode 100644 parser/testdata/01710_projections_group_by_no_key/explain.txt create mode 100644 parser/testdata/01710_projections_in_distributed_query/explain.txt create mode 100644 parser/testdata/01710_projections_order_by_complete/explain.txt create mode 100644 parser/testdata/01710_projections_order_by_incomplete/explain.txt create mode 100644 parser/testdata/01710_query_log_with_projection_info/explain.txt create mode 100644 parser/testdata/01711_cte_subquery_fix/explain.txt create mode 100644 parser/testdata/01711_decimal_multiplication/explain.txt create mode 100644 parser/testdata/01712_no_adaptive_granularity_vertical_merge/explain.txt create mode 100644 parser/testdata/01713_table_ttl_old_syntax_zookeeper/explain.txt create mode 100644 parser/testdata/01714_alter_drop_version/explain.txt create mode 100644 parser/testdata/01715_background_checker_blather_zookeeper_long/explain.txt create mode 100644 parser/testdata/01715_table_function_view_fix/explain.txt create mode 100644 parser/testdata/01715_tuple_insert_null_as_default/explain.txt create mode 100644 parser/testdata/01716_array_difference_overflow/explain.txt create mode 100644 parser/testdata/01716_decimal_comparison_ubsan/explain.txt create mode 100644 parser/testdata/01716_drop_rename_sign_column/explain.txt create mode 100644 parser/testdata/01717_global_with_subquery_fix/explain.txt create mode 100644 parser/testdata/01717_int_div_float_too_large_ubsan/explain.txt create mode 100644 parser/testdata/01718_subtract_seconds_date/explain.txt create mode 100644 parser/testdata/01719_join_timezone/explain.txt create mode 100644 parser/testdata/01720_constraints_complex_types/explain.txt create mode 100644 parser/testdata/01720_dictionary_create_source_with_functions/explain.txt create mode 100644 parser/testdata/01720_engine_file_empty_if_not_exists/explain.txt create mode 100644 parser/testdata/01720_type_map_and_casts/explain.txt create mode 100644 parser/testdata/01720_union_distinct_with_limit/explain.txt create mode 100644 parser/testdata/01721_constraints_constant_expressions/explain.txt create mode 100644 parser/testdata/01721_dictionary_decimal_p_s/explain.txt create mode 100644 parser/testdata/01721_engine_file_truncate_on_insert/explain.txt create mode 100644 parser/testdata/01730_distributed_group_by_no_merge_order_by_long/explain.txt create mode 100644 parser/testdata/01732_alters_bad_conversions/explain.txt create mode 100644 parser/testdata/01732_bigint_ubsan/explain.txt create mode 100644 parser/testdata/01732_more_consistent_datetime64_parsing/explain.txt create mode 100644 parser/testdata/01732_union_and_union_all/explain.txt create mode 100644 parser/testdata/01733_transform_ubsan/explain.txt create mode 100644 parser/testdata/01734_datetime64_from_float/explain.txt create mode 100644 parser/testdata/01735_join_get_low_card_fix/explain.txt create mode 100644 parser/testdata/01735_to_datetime64/explain.txt create mode 100644 parser/testdata/01736_null_as_default/explain.txt create mode 100644 parser/testdata/01737_move_order_key_to_prewhere_select_final/explain.txt create mode 100644 parser/testdata/01739_index_hint/explain.txt create mode 100644 parser/testdata/01744_tuple_cast_to_map_bugfix/explain.txt create mode 100644 parser/testdata/01745_alter_delete_view/explain.txt create mode 100644 parser/testdata/01746_convert_type_with_default/explain.txt create mode 100644 parser/testdata/01746_executable_pool_dictionary/explain.txt create mode 100644 parser/testdata/01746_extract_text_from_html/explain.txt create mode 100644 parser/testdata/01746_forbid_drop_column_referenced_by_mv/explain.txt create mode 100644 parser/testdata/01746_lc_values_format_bug/explain.txt create mode 100644 parser/testdata/01746_test_for_tupleElement_must_be_constant_issue/explain.txt create mode 100644 parser/testdata/01747_alter_partition_key_enum_zookeeper_long/explain.txt create mode 100644 parser/testdata/01747_executable_pool_dictionary_implicit_key/explain.txt create mode 100644 parser/testdata/01747_join_view_filter_dictionary/explain.txt create mode 100644 parser/testdata/01747_transform_empty_arrays/explain.txt create mode 100644 parser/testdata/01748_dictionary_table_dot/explain.txt create mode 100644 parser/testdata/01748_partition_id_pruning/explain.txt create mode 100644 parser/testdata/01752_distributed_query_sigsegv/explain.txt create mode 100644 parser/testdata/01753_direct_dictionary_simple_key/explain.txt create mode 100644 parser/testdata/01753_mutate_table_predicated_with_table/explain.txt create mode 100644 parser/testdata/01754_cluster_all_replicas_shard_num/explain.txt create mode 100644 parser/testdata/01754_direct_dictionary_complex_key/explain.txt create mode 100644 parser/testdata/01755_shard_pruning_with_literal/explain.txt create mode 100644 parser/testdata/01756_optimize_skip_unused_shards_rewrite_in/explain.txt create mode 100644 parser/testdata/01757_optimize_skip_unused_shards_limit/explain.txt create mode 100644 parser/testdata/01759_dictionary_unique_attribute_names/explain.txt create mode 100644 parser/testdata/01759_optimize_skip_unused_shards_zero_shards/explain.txt create mode 100644 parser/testdata/01760_ddl_dictionary_use_current_database_name/explain.txt create mode 100644 parser/testdata/01760_modulo_negative/explain.txt create mode 100644 parser/testdata/01760_polygon_dictionaries/explain.txt create mode 100644 parser/testdata/01760_system_dictionaries/explain.txt create mode 100644 parser/testdata/01761_alter_decimal_zookeeper_long/explain.txt create mode 100644 parser/testdata/01761_cast_to_enum_nullable/explain.txt create mode 100644 parser/testdata/01761_round_year_bounds/explain.txt create mode 100644 parser/testdata/01762_datetime64_extended_parsing/explain.txt create mode 100644 parser/testdata/01762_deltasumtimestamp/explain.txt create mode 100644 parser/testdata/01763_filter_push_down_bugs/explain.txt create mode 100644 parser/testdata/01763_long_ttl_group_by/explain.txt create mode 100644 parser/testdata/01763_max_distributed_depth/explain.txt create mode 100644 parser/testdata/01763_support_map_lowcardinality_type/explain.txt create mode 100644 parser/testdata/01764_collapsing_merge_adaptive_granularity/explain.txt create mode 100644 parser/testdata/01764_prefer_column_name_to_alias/explain.txt create mode 100644 parser/testdata/01764_table_function_dictionary/explain.txt create mode 100644 parser/testdata/01765_hashed_dictionary_simple_key/explain.txt create mode 100644 parser/testdata/01765_move_to_table_overlapping_block_number/explain.txt create mode 100644 parser/testdata/01765_tehran_dst/explain.txt create mode 100644 parser/testdata/01766_hashed_dictionary_complex_key/explain.txt create mode 100644 parser/testdata/01766_todatetime64_no_timezone_arg/explain.txt create mode 100644 parser/testdata/01768_array_product/explain.txt create mode 100644 parser/testdata/01768_extended_range/explain.txt create mode 100644 parser/testdata/01769_extended_range_2/explain.txt create mode 100644 parser/testdata/01770_add_months_ubsan/explain.txt create mode 100644 parser/testdata/01770_extended_range_3/explain.txt create mode 100644 parser/testdata/01771_bloom_filter_not_has/explain.txt create mode 100644 parser/testdata/01771_datetime64_no_time_part/explain.txt create mode 100644 parser/testdata/01772_intdiv_minus_one_ubsan/explain.txt create mode 100644 parser/testdata/01772_to_start_of_hour_align/explain.txt create mode 100644 parser/testdata/01773_case_sensitive_revision/explain.txt create mode 100644 parser/testdata/01773_case_sensitive_version/explain.txt create mode 100644 parser/testdata/01773_datetime64_add_ubsan/explain.txt create mode 100644 parser/testdata/01773_min_max_time_system_parts_datetime64/explain.txt create mode 100644 parser/testdata/01774_bar_with_illegal_value/explain.txt create mode 100644 parser/testdata/01774_case_sensitive_connection_id/explain.txt create mode 100644 parser/testdata/01774_ip_address_in_range/explain.txt create mode 100644 parser/testdata/01774_ip_address_in_range_2/explain.txt create mode 100644 parser/testdata/01774_tuple_null_in/explain.txt create mode 100644 parser/testdata/01776_decrypt_aead_size_check/explain.txt create mode 100644 parser/testdata/01777_map_populate_series_ubsan/explain.txt create mode 100644 parser/testdata/01778_hierarchical_dictionaries/explain.txt create mode 100644 parser/testdata/01778_mmap_cache_infra/explain.txt create mode 100644 parser/testdata/01778_test_LowCardinality_FixedString_pk/explain.txt create mode 100644 parser/testdata/01778_where_with_column_name/explain.txt create mode 100644 parser/testdata/01779_quantile_deterministic_msan/explain.txt create mode 100644 parser/testdata/01780_clickhouse_dictionary_source_loop/explain.txt create mode 100644 parser/testdata/01780_column_sparse/explain.txt create mode 100644 parser/testdata/01780_column_sparse_alter/explain.txt create mode 100644 parser/testdata/01780_column_sparse_distinct/explain.txt create mode 100644 parser/testdata/01780_column_sparse_filter/explain.txt create mode 100644 parser/testdata/01780_column_sparse_full/explain.txt create mode 100644 parser/testdata/01780_column_sparse_materialize/explain.txt create mode 100644 parser/testdata/01780_column_sparse_pk/explain.txt create mode 100644 parser/testdata/01780_column_sparse_tuple/explain.txt create mode 100644 parser/testdata/01780_dict_get_or_null/explain.txt create mode 100644 parser/testdata/01780_range_msan/explain.txt create mode 100644 parser/testdata/01781_map_op_ubsan/explain.txt create mode 100644 parser/testdata/01781_merge_tree_deduplication/explain.txt create mode 100644 parser/testdata/01781_token_extractor_buffer_overflow/explain.txt create mode 100644 parser/testdata/01782_field_oom/explain.txt create mode 100644 parser/testdata/01783_merge_engine_join_key_condition/explain.txt create mode 100644 parser/testdata/01784_parallel_formatting_memory/explain.txt create mode 100644 parser/testdata/01785_dictionary_element_count/explain.txt create mode 100644 parser/testdata/01785_pmj_lc_bug/explain.txt create mode 100644 parser/testdata/01786_group_by_pk_many_streams/explain.txt create mode 100644 parser/testdata/01787_arena_assert_column_nothing/explain.txt create mode 100644 parser/testdata/01787_map_remote/explain.txt create mode 100644 parser/testdata/01788_update_nested_type_subcolumn_check/explain.txt create mode 100644 parser/testdata/01790_dist_INSERT_block_structure_mismatch_types_and_names/explain.txt create mode 100644 parser/testdata/01795_TinyLog_rwlock_ub/explain.txt create mode 100644 parser/testdata/01796_Log_rwlock_ub/explain.txt create mode 100644 parser/testdata/01797_StripeLog_rwlock_ub/explain.txt create mode 100644 parser/testdata/01798_having_push_down/explain.txt create mode 100644 parser/testdata/01798_uniq_theta_sketch/explain.txt create mode 100644 parser/testdata/01798_uniq_theta_union_intersect_not/explain.txt create mode 100644 parser/testdata/01799_long_uniq_theta_sketch/explain.txt create mode 100644 parser/testdata/01800_log_nested/explain.txt create mode 100644 parser/testdata/01801_approx_total_rows_mergetree_reverse/explain.txt create mode 100644 parser/testdata/01801_dateDiff_DateTime64/explain.txt create mode 100644 parser/testdata/01801_distinct_group_by_shard/explain.txt create mode 100644 parser/testdata/01801_s3_cluster/explain.txt create mode 100644 parser/testdata/01801_s3_cluster_count/explain.txt create mode 100644 parser/testdata/01802_formatDateTime_DateTime64_century/explain.txt create mode 100644 parser/testdata/01802_rank_corr_mann_whitney_over_window/explain.txt create mode 100644 parser/testdata/01802_toDateTime64_large_values/explain.txt create mode 100644 parser/testdata/01803_const_nullable_map/explain.txt create mode 100644 parser/testdata/01803_untuple_subquery/explain.txt create mode 100644 parser/testdata/01804_dictionary_decimal256_type/explain.txt create mode 100644 parser/testdata/01804_uniq_up_to_ubsan/explain.txt create mode 100644 parser/testdata/01809_inactive_parts_to_delay_throw_insert/explain.txt create mode 100644 parser/testdata/01811_filter_by_null/explain.txt create mode 100644 parser/testdata/01812_has_generic/explain.txt create mode 100644 parser/testdata/01812_optimize_skip_unused_shards_single_node/explain.txt create mode 100644 parser/testdata/01813_distributed_scalar_subqueries_alias/explain.txt create mode 100644 parser/testdata/01817_storage_buffer_parameters/explain.txt create mode 100644 parser/testdata/01818_case_float_value_fangyc/explain.txt create mode 100644 parser/testdata/01818_move_partition_simple/explain.txt create mode 100644 parser/testdata/01820_unhex_case_insensitive/explain.txt create mode 100644 parser/testdata/01821_dictionary_primary_key_wrong_order/explain.txt create mode 100644 parser/testdata/01821_join_table_mutation/explain.txt create mode 100644 parser/testdata/01821_table_comment/explain.txt create mode 100644 parser/testdata/01821_to_date_time_ubsan/explain.txt create mode 100644 parser/testdata/01822_short_circuit/explain.txt create mode 100644 parser/testdata/01822_union_and_constans_error/explain.txt create mode 100644 parser/testdata/01824_move_to_prewhere_many_columns/explain.txt create mode 100644 parser/testdata/01824_prefer_global_in_and_join/explain.txt create mode 100644 parser/testdata/01825_new_type_json_10/explain.txt create mode 100644 parser/testdata/01825_new_type_json_18/explain.txt create mode 100644 parser/testdata/01825_new_type_json_2/explain.txt create mode 100644 parser/testdata/01825_new_type_json_9/explain.txt create mode 100644 parser/testdata/01825_new_type_json_bools/explain.txt create mode 100644 parser/testdata/01825_new_type_json_distributed/explain.txt create mode 100644 parser/testdata/01825_new_type_json_ephemeral/explain.txt create mode 100644 parser/testdata/01825_new_type_json_in_array/explain.txt create mode 100644 parser/testdata/01825_new_type_json_insert_select/explain.txt create mode 100644 parser/testdata/01825_new_type_json_missed_values/explain.txt create mode 100644 parser/testdata/01825_new_type_json_mutations/explain.txt create mode 100644 parser/testdata/01825_new_type_json_order_by/explain.txt create mode 100644 parser/testdata/01825_new_type_json_parallel_insert/explain.txt create mode 100644 parser/testdata/01825_new_type_json_partitions/explain.txt create mode 100644 parser/testdata/01825_replacing_vertical_merge/explain.txt create mode 100644 parser/testdata/01831_max_streams/explain.txt create mode 100644 parser/testdata/01832_memory_write_suffix/explain.txt create mode 100644 parser/testdata/01833_test_collation_alvarotuso/explain.txt create mode 100644 parser/testdata/01835_alias_to_primary_key_cyfdecyf/explain.txt create mode 100644 parser/testdata/01836_date_time_keep_default_timezone_on_operations_den_crane/explain.txt create mode 100644 parser/testdata/01837_cast_to_array_from_empty_array/explain.txt create mode 100644 parser/testdata/01837_database_memory_ddl_dictionaries/explain.txt create mode 100644 parser/testdata/01838_system_dictionaries_virtual_key_column/explain.txt create mode 100644 parser/testdata/01840_tupleElement_formatting_fuzzer/explain.txt create mode 100644 parser/testdata/01845_add_testcase_for_arrayElement/explain.txt create mode 100644 parser/testdata/01846_alter_column_without_type_bugfix/explain.txt create mode 100644 parser/testdata/01846_null_as_default_for_insert_select/explain.txt create mode 100644 parser/testdata/01847_bad_like/explain.txt create mode 100644 parser/testdata/01848_partition_value_column/explain.txt create mode 100644 parser/testdata/01849_geoToS2/explain.txt create mode 100644 parser/testdata/01850_dist_INSERT_preserve_error/explain.txt create mode 100644 parser/testdata/01851_array_difference_decimal_overflow_ubsan/explain.txt create mode 100644 parser/testdata/01851_clear_column_referenced_by_mv/explain.txt create mode 100644 parser/testdata/01851_fix_row_policy_empty_result/explain.txt create mode 100644 parser/testdata/01851_hedged_connections_external_tables/explain.txt create mode 100644 parser/testdata/01851_s2_to_geo/explain.txt create mode 100644 parser/testdata/01852_cast_operator/explain.txt create mode 100644 parser/testdata/01852_cast_operator_2/explain.txt create mode 100644 parser/testdata/01852_cast_operator_3/explain.txt create mode 100644 parser/testdata/01852_cast_operator_4/explain.txt create mode 100644 parser/testdata/01852_dictionary_query_count_long/explain.txt create mode 100644 parser/testdata/01852_jit_if/explain.txt create mode 100644 parser/testdata/01852_map_combinator/explain.txt create mode 100644 parser/testdata/01852_multiple_joins_with_union_join/explain.txt create mode 100644 parser/testdata/01852_s2_get_neighbours/explain.txt create mode 100644 parser/testdata/01853_s2_cells_intersect/explain.txt create mode 100644 parser/testdata/01854_dictionary_range_hashed_min_max_attr/explain.txt create mode 100644 parser/testdata/01854_s2_cap_contains/explain.txt create mode 100644 parser/testdata/01854_s2_cap_union/explain.txt create mode 100644 parser/testdata/01855_jit_comparison_constant_result/explain.txt create mode 100644 parser/testdata/01856_create_function/explain.txt create mode 100644 parser/testdata/01860_Distributed__shard_num_GROUP_BY/explain.txt create mode 100644 parser/testdata/01861_explain_pipeline/explain.txt create mode 100644 parser/testdata/01865_aggregator_overflow_row/explain.txt create mode 100644 parser/testdata/01866_aggregate_function_interval_length_sum/explain.txt create mode 100644 parser/testdata/01866_bit_positions_to_array/explain.txt create mode 100644 parser/testdata/01866_datetime64_cmp_with_constant/explain.txt create mode 100644 parser/testdata/01866_split_by_regexp/explain.txt create mode 100644 parser/testdata/01866_view_persist_settings/explain.txt create mode 100644 parser/testdata/01867_fix_storage_memory_mutation/explain.txt create mode 100644 parser/testdata/01867_support_datetime64_version_column/explain.txt create mode 100644 parser/testdata/01868_order_by_fill_with_datetime64/explain.txt create mode 100644 parser/testdata/01869_function_modulo_legacy/explain.txt create mode 100644 parser/testdata/01869_reinterpret_as_fixed_string_uuid/explain.txt create mode 100644 parser/testdata/01870_buffer_flush/explain.txt create mode 100644 parser/testdata/01870_modulo_partition_key/explain.txt create mode 100644 parser/testdata/01871_merge_tree_compile_expressions/explain.txt create mode 100644 parser/testdata/01872_functions_to_subcolumns_analyzer/explain.txt create mode 100644 parser/testdata/01880_materialized_view_to_table_type_check/explain.txt create mode 100644 parser/testdata/01880_remote_ipv6/explain.txt create mode 100644 parser/testdata/01881_aggregate_functions_versioning/explain.txt create mode 100644 parser/testdata/01881_create_as_tuple/explain.txt create mode 100644 parser/testdata/01881_negate_formatting/explain.txt create mode 100644 parser/testdata/01881_to_week_monotonic_fix/explain.txt create mode 100644 parser/testdata/01881_total_bytes_storage_buffer/explain.txt create mode 100644 parser/testdata/01881_union_header_mismatch_bug/explain.txt create mode 100644 parser/testdata/01882_check_max_parts_to_merge_at_once/explain.txt create mode 100644 parser/testdata/01882_scalar_subquery_exception/explain.txt create mode 100644 parser/testdata/01883_grouping_sets_crash/explain.txt create mode 100644 parser/testdata/01883_subcolumns_distributed/explain.txt create mode 100644 parser/testdata/01883_with_grouping_sets/explain.txt create mode 100644 parser/testdata/01888_read_int_safe/explain.txt create mode 100644 parser/testdata/01889_key_condition_function_chains/explain.txt create mode 100644 parser/testdata/01889_sql_json_functions/explain.txt create mode 100644 parser/testdata/01889_tokenize/explain.txt create mode 100644 parser/testdata/01890_cross_join_explain_crash/explain.txt create mode 100644 parser/testdata/01890_jit_aggregation_function_sum_long/explain.txt create mode 100644 parser/testdata/01890_state_of_state/explain.txt create mode 100644 parser/testdata/01890_stem/explain.txt create mode 100644 parser/testdata/01891_echo/explain.txt create mode 100644 parser/testdata/01891_jit_aggregation_function_any_long/explain.txt create mode 100644 parser/testdata/01891_not_in_partition_prune/explain.txt create mode 100644 parser/testdata/01891_not_like_partition_prune/explain.txt create mode 100644 parser/testdata/01891_partition_by_uuid/explain.txt create mode 100644 parser/testdata/01891_partition_hash/explain.txt create mode 100644 parser/testdata/01891_partition_hash_no_long_int/explain.txt create mode 100644 parser/testdata/01892_jit_aggregation_function_any_last_long/explain.txt create mode 100644 parser/testdata/01892_setting_limit_offset_distributed/explain.txt create mode 100644 parser/testdata/01893_jit_aggregation_function_min_long/explain.txt create mode 100644 parser/testdata/01894_jit_aggregation_function_max_long/explain.txt create mode 100644 parser/testdata/01895_jit_aggregation_function_avg_long/explain.txt create mode 100644 parser/testdata/01896_jit_aggregation_function_if_long/explain.txt create mode 100644 parser/testdata/01897_jit_aggregation_function_avg_weighted_long/explain.txt create mode 100644 parser/testdata/01901_in_literal_shard_prune/explain.txt create mode 100644 parser/testdata/01901_test_attach_partition_from/explain.txt create mode 100644 parser/testdata/01902_dictionary_array_type/explain.txt create mode 100644 parser/testdata/01902_self_aliases_in_columns/explain.txt create mode 100644 parser/testdata/01902_table_function_merge_db_params/explain.txt create mode 100644 parser/testdata/01902_table_function_merge_db_repr/explain.txt create mode 100644 parser/testdata/01904_dictionary_default_nullable_type/explain.txt create mode 100644 parser/testdata/01906_bigint_accurate_cast_ubsan/explain.txt create mode 100644 parser/testdata/01906_h3_to_geo/explain.txt create mode 100644 parser/testdata/01906_lc_in_bug/explain.txt create mode 100644 parser/testdata/01906_partition_by_multiply_by_zero/explain.txt create mode 100644 parser/testdata/01907_multiple_aliases/explain.txt create mode 100644 parser/testdata/01908_with_unknown_column/explain.txt create mode 100644 parser/testdata/01909_mbtolou/explain.txt create mode 100644 parser/testdata/01910_memory_tracking_topk/explain.txt create mode 100644 parser/testdata/01910_view_dictionary/explain.txt create mode 100644 parser/testdata/01910_view_dictionary_check_refresh/explain.txt create mode 100644 parser/testdata/01911_logical_error_minus/explain.txt create mode 100644 parser/testdata/01913_exact_rows_before_limit/explain.txt create mode 100644 parser/testdata/01913_exact_rows_before_limit_full/explain.txt create mode 100644 parser/testdata/01913_fix_column_transformer_replace_format/explain.txt create mode 100644 parser/testdata/01913_if_int_decimal/explain.txt create mode 100644 parser/testdata/01913_join_push_down_bug/explain.txt create mode 100644 parser/testdata/01913_replace_dictionary/explain.txt create mode 100644 parser/testdata/01913_summing_mt_and_simple_agg_function_with_lc/explain.txt create mode 100644 parser/testdata/01914_exchange_dictionaries/explain.txt create mode 100644 parser/testdata/01914_index_bgranvea/explain.txt create mode 100644 parser/testdata/01914_ubsan_quantile_timing/explain.txt create mode 100644 parser/testdata/01915_create_or_replace_dictionary/explain.txt create mode 100644 parser/testdata/01915_json_extract_raw_string/explain.txt create mode 100644 parser/testdata/01915_merge_prewhere_virtual_column_rand_chao_wang/explain.txt create mode 100644 parser/testdata/01916_low_cardinality_interval/explain.txt create mode 100644 parser/testdata/01916_lowcard_dict_type/explain.txt create mode 100644 parser/testdata/01916_multiple_join_view_optimize_predicate_chertus/explain.txt create mode 100644 parser/testdata/01917_distinct_on/explain.txt create mode 100644 parser/testdata/01917_prewhere_column_type/explain.txt create mode 100644 parser/testdata/01917_system_data_skipping_indices/explain.txt create mode 100644 parser/testdata/01920_not_chain_format/explain.txt create mode 100644 parser/testdata/01921_datatype_date32/explain.txt create mode 100644 parser/testdata/01921_not_chain/explain.txt create mode 100644 parser/testdata/01922_array_join_with_index/explain.txt create mode 100644 parser/testdata/01922_sum_null_for_remote/explain.txt create mode 100644 parser/testdata/01923_different_expression_name_alias/explain.txt create mode 100644 parser/testdata/01923_ttl_with_modify_column/explain.txt create mode 100644 parser/testdata/01924_argmax_bitmap_state/explain.txt create mode 100644 parser/testdata/01925_broken_partition_id_zookeeper/explain.txt create mode 100644 parser/testdata/01925_date_date_time_comparison/explain.txt create mode 100644 parser/testdata/01925_jit_aggregation_function_count_long/explain.txt create mode 100644 parser/testdata/01925_join_materialized_columns/explain.txt create mode 100644 parser/testdata/01925_json_as_string_data_in_square_brackets/explain.txt create mode 100644 parser/testdata/01925_map_populate_series_on_map/explain.txt create mode 100644 parser/testdata/01925_merge_prewhere_table/explain.txt create mode 100644 parser/testdata/01925_test_group_by_const_consistency/explain.txt create mode 100644 parser/testdata/01925_test_storage_merge_aliases/explain.txt create mode 100644 parser/testdata/01925_test_storage_merge_aliases_analyzer/explain.txt create mode 100644 parser/testdata/01926_bin_unbin/explain.txt create mode 100644 parser/testdata/01926_date_date_time_supertype/explain.txt create mode 100644 parser/testdata/01926_order_by_desc_limit/explain.txt create mode 100644 parser/testdata/01927_query_views_log_current_database/explain.txt create mode 100644 parser/testdata/01930_optimize_skip_unused_shards_rewrite_in/explain.txt create mode 100644 parser/testdata/01931_storage_merge_no_columns/explain.txt create mode 100644 parser/testdata/01932_alter_index_with_order/explain.txt create mode 100644 parser/testdata/01932_global_in_function/explain.txt create mode 100644 parser/testdata/01932_null_valid_identifier/explain.txt create mode 100644 parser/testdata/01932_remote_sharding_key_column/explain.txt create mode 100644 parser/testdata/01933_invalid_date/explain.txt create mode 100644 parser/testdata/01934_constexpr_aggregate_function_parameters/explain.txt create mode 100644 parser/testdata/01936_empty_function_support_uuid/explain.txt create mode 100644 parser/testdata/01936_quantiles_cannot_return_null/explain.txt create mode 100644 parser/testdata/01936_three_parts_identifiers_in_wrong_places/explain.txt create mode 100644 parser/testdata/01937_nested_chinese/explain.txt create mode 100644 parser/testdata/01938_joins_identifiers/explain.txt create mode 100644 parser/testdata/01939_type_map_json/explain.txt create mode 100644 parser/testdata/01940_custom_tld_sharding_key/explain.txt create mode 100644 parser/testdata/01940_pad_string/explain.txt create mode 100644 parser/testdata/01940_point_in_polygon_ubsan/explain.txt create mode 100644 parser/testdata/01940_totimezone_operator_monotonicity/explain.txt create mode 100644 parser/testdata/01941_dict_get_has_complex_single_key/explain.txt create mode 100644 parser/testdata/01942_create_table_with_sample/explain.txt create mode 100644 parser/testdata/01942_dateTimeToSnowflake/explain.txt create mode 100644 parser/testdata/01942_dateTimeToSnowflakeID/explain.txt create mode 100644 parser/testdata/01942_snowflakeIDToDateTime/explain.txt create mode 100644 parser/testdata/01942_snowflakeToDateTime/explain.txt create mode 100644 parser/testdata/01942_untuple_transformers_msan/explain.txt create mode 100644 parser/testdata/01943_log_column_sizes/explain.txt create mode 100644 parser/testdata/01943_non_deterministic_order_key/explain.txt create mode 100644 parser/testdata/01943_query_id_check/explain.txt create mode 100644 parser/testdata/01944_insert_partition_by/explain.txt create mode 100644 parser/testdata/01944_range_max_elements/explain.txt create mode 100644 parser/testdata/01946_profile_sleep/explain.txt create mode 100644 parser/testdata/01947_mv_subquery/explain.txt create mode 100644 parser/testdata/01948_dictionary_quoted_database_name/explain.txt create mode 100644 parser/testdata/01948_group_bitmap_and_or_xor_fix/explain.txt create mode 100644 parser/testdata/01948_heredoc/explain.txt create mode 100644 parser/testdata/01950_aliases_bad_cast/explain.txt create mode 100644 parser/testdata/01951_distributed_push_down_limit/explain.txt create mode 100644 parser/testdata/01952_optimize_distributed_group_by_sharding_key/explain.txt create mode 100644 parser/testdata/01957_heredoc_more/explain.txt create mode 100644 parser/testdata/01958_partial_hour_timezone/explain.txt create mode 100644 parser/testdata/01961_roaring_memory_tracking/explain.txt create mode 100644 parser/testdata/01999_grant_with_replace/explain.txt create mode 100644 parser/testdata/02000_default_from_default_empty_column/explain.txt create mode 100644 parser/testdata/02000_join_on_const/explain.txt create mode 100644 parser/testdata/02000_map_full_text_bloom_filter_index/explain.txt create mode 100644 parser/testdata/02000_table_function_cluster_macros/explain.txt create mode 100644 parser/testdata/02001_add_default_database_to_system_users/explain.txt create mode 100644 parser/testdata/02001_dist_on_dist_WithMergeableStateAfterAggregation/explain.txt create mode 100644 parser/testdata/02001_hostname_test/explain.txt create mode 100644 parser/testdata/02001_join_on_const/explain.txt create mode 100644 parser/testdata/02001_select_with_filter/explain.txt create mode 100644 parser/testdata/02001_shard_num_shard_count/explain.txt create mode 100644 parser/testdata/02002_parse_map_int_key/explain.txt create mode 100644 parser/testdata/02002_sampling_and_unknown_column_bug/explain.txt create mode 100644 parser/testdata/02003_WithMergeableStateAfterAggregationAndLimit_LIMIT_BY_LIMIT_OFFSET/explain.txt create mode 100644 parser/testdata/02003_bug_from_23515/explain.txt create mode 100644 parser/testdata/02004_intersect_except_const_column/explain.txt create mode 100644 parser/testdata/02004_intersect_except_distinct_operators/explain.txt create mode 100644 parser/testdata/02004_intersect_except_operators/explain.txt create mode 100644 parser/testdata/02004_invalid_partition_mutation_stuck/explain.txt create mode 100644 parser/testdata/02004_max_hyperscan_regex_length/explain.txt create mode 100644 parser/testdata/02005_log_formatted_queries/explain.txt create mode 100644 parser/testdata/02006_client_test_hint_error_name/explain.txt create mode 100644 parser/testdata/02006_h3_to_geo_boundary/explain.txt create mode 100644 parser/testdata/02006_test_positional_arguments/explain.txt create mode 100644 parser/testdata/02006_test_positional_arguments_on_cluster/explain.txt create mode 100644 parser/testdata/02006_todatetime64_from_string/explain.txt create mode 100644 parser/testdata/02007_ipv4_and_ipv6_to_and_from_string/explain.txt create mode 100644 parser/testdata/02007_join_use_nulls/explain.txt create mode 100644 parser/testdata/02007_test_any_all_operators/explain.txt create mode 100644 parser/testdata/02008_aliased_column_distributed_bug/explain.txt create mode 100644 parser/testdata/02008_complex_key_range_hashed_dictionary/explain.txt create mode 100644 parser/testdata/02008_materialize_column/explain.txt create mode 100644 parser/testdata/02008_test_union_distinct_in_subquery/explain.txt create mode 100644 parser/testdata/02008_tuple_to_name_value_pairs/explain.txt create mode 100644 parser/testdata/02009_array_join_partition/explain.txt create mode 100644 parser/testdata/02009_decimal_no_trailing_zeros/explain.txt create mode 100644 parser/testdata/02010_array_index_bad_cast/explain.txt create mode 100644 parser/testdata/02011_dictionary_empty_attribute_list/explain.txt create mode 100644 parser/testdata/02011_normalize_utf8/explain.txt create mode 100644 parser/testdata/02011_tuple_vector_functions/explain.txt create mode 100644 parser/testdata/02012_changed_enum_type_non_replicated/explain.txt create mode 100644 parser/testdata/02012_get_server_port/explain.txt create mode 100644 parser/testdata/02012_low_cardinality_uuid_with_extremes/explain.txt create mode 100644 parser/testdata/02012_settings_clause_for_s3/explain.txt create mode 100644 parser/testdata/02012_sha512_fixedstring/explain.txt create mode 100644 parser/testdata/02012_zookeeper_changed_enum_type/explain.txt create mode 100644 parser/testdata/02012_zookeeper_changed_enum_type_incompatible/explain.txt create mode 100644 parser/testdata/02013_bloom_filter_hasAll/explain.txt create mode 100644 parser/testdata/02013_emptystring_cast/explain.txt create mode 100644 parser/testdata/02013_json_function_null_column/explain.txt create mode 100644 parser/testdata/02013_lc_nullable_and_infinity/explain.txt create mode 100644 parser/testdata/02014_dict_get_nullable_key/explain.txt create mode 100644 parser/testdata/02014_map_different_keys/explain.txt create mode 100644 parser/testdata/02014_storage_merge_order_by/explain.txt create mode 100644 parser/testdata/02015_column_default_dict_get_identifier/explain.txt create mode 100644 parser/testdata/02015_division_by_nullable/explain.txt create mode 100644 parser/testdata/02015_executable_user_defined_functions/explain.txt create mode 100644 parser/testdata/02015_order_by_with_fill_misoptimization/explain.txt create mode 100644 parser/testdata/02016_agg_empty_result_bug_28880/explain.txt create mode 100644 parser/testdata/02016_aggregation_spark_bar/explain.txt create mode 100644 parser/testdata/02016_bit_shift_right_for_string_integer/explain.txt create mode 100644 parser/testdata/02016_order_by_with_fill_monotonic_functions_removal/explain.txt create mode 100644 parser/testdata/02016_summing_mt_aggregating_column/explain.txt create mode 100644 parser/testdata/02017_bit_shift_left_for_string_integer/explain.txt create mode 100644 parser/testdata/02017_columns_with_dot/explain.txt create mode 100644 parser/testdata/02017_columns_with_dot_2/explain.txt create mode 100644 parser/testdata/02017_create_distributed_table_coredump/explain.txt create mode 100644 parser/testdata/02017_order_by_with_fill_redundant_functions/explain.txt create mode 100644 parser/testdata/02018_multiple_with_fill_for_the_same_column/explain.txt create mode 100644 parser/testdata/02020_cast_integer_overflow/explain.txt create mode 100644 parser/testdata/02020_exponential_smoothing/explain.txt create mode 100644 parser/testdata/02020_exponential_smoothing_cross_block/explain.txt create mode 100644 parser/testdata/02021_exponential_sum/explain.txt create mode 100644 parser/testdata/02021_exponential_sum_shard/explain.txt create mode 100644 parser/testdata/02021_h3_get_faces/explain.txt create mode 100644 parser/testdata/02021_h3_is_pentagon/explain.txt create mode 100644 parser/testdata/02021_h3_is_res_classIII/explain.txt create mode 100644 parser/testdata/02021_map_bloom_filter_index/explain.txt create mode 100644 parser/testdata/02021_map_has/explain.txt create mode 100644 parser/testdata/02021_prewhere_always_true_where/explain.txt create mode 100644 parser/testdata/02021_prewhere_column_optimization/explain.txt create mode 100644 parser/testdata/02022_array_full_text_bloom_filter_index/explain.txt create mode 100644 parser/testdata/02023_nullable_int_uint_where/explain.txt create mode 100644 parser/testdata/02023_parser_number_binary_literal/explain.txt create mode 100644 parser/testdata/02023_transform_or_to_in/explain.txt create mode 100644 parser/testdata/02024_compile_expressions_with_short_circuit_evaluation/explain.txt create mode 100644 parser/testdata/02024_create_dictionary_with_comment/explain.txt create mode 100644 parser/testdata/02024_merge_regexp_assert/explain.txt create mode 100644 parser/testdata/02025_dictionary_array_nested_map/explain.txt create mode 100644 parser/testdata/02025_dictionary_view_different_db/explain.txt create mode 100644 parser/testdata/02025_having_filter_column/explain.txt create mode 100644 parser/testdata/02025_nested_func_for_if_combinator/explain.txt create mode 100644 parser/testdata/02025_subcolumns_compact_parts/explain.txt create mode 100644 parser/testdata/02026_accurate_cast_or_default/explain.txt create mode 100644 parser/testdata/02026_arrayDifference_const/explain.txt create mode 100644 parser/testdata/02026_describe_include_subcolumns/explain.txt create mode 100644 parser/testdata/02027_arrayCumSumNonNegative_const/explain.txt create mode 100644 parser/testdata/02027_ngrams/explain.txt create mode 100644 parser/testdata/02028_add_default_database_for_alterquery_on_cluster/explain.txt create mode 100644 parser/testdata/02028_create_select_settings/explain.txt create mode 100644 parser/testdata/02028_system_data_skipping_indices_size/explain.txt create mode 100644 parser/testdata/02028_tokens/explain.txt create mode 100644 parser/testdata/02029_output_csv_null_representation/explain.txt create mode 100644 parser/testdata/02029_quantile_sanitizer/explain.txt create mode 100644 parser/testdata/02030_function_mapContainsKeyLike/explain.txt create mode 100644 parser/testdata/02030_tuple_filter/explain.txt create mode 100644 parser/testdata/02032_short_circuit_least_greatest_bug/explain.txt create mode 100644 parser/testdata/02035_isNull_isNotNull_format/explain.txt create mode 100644 parser/testdata/02036_jit_short_circuit/explain.txt create mode 100644 parser/testdata/02039_group_by_with_totals_having/explain.txt create mode 100644 parser/testdata/02041_conversion_between_date32_and_datetime64/explain.txt create mode 100644 parser/testdata/02041_openssl_hash_functions_test/explain.txt create mode 100644 parser/testdata/02041_test_fuzzy_alter/explain.txt create mode 100644 parser/testdata/02042_map_get_non_const_key/explain.txt create mode 100644 parser/testdata/02043_user_defined_executable_function_implicit_cast/explain.txt create mode 100644 parser/testdata/02044_exists_operator/explain.txt create mode 100644 parser/testdata/02045_like_function/explain.txt create mode 100644 parser/testdata/02046_remote_table_function_named_collections/explain.txt create mode 100644 parser/testdata/02047_alias_for_table_and_database_name/explain.txt create mode 100644 parser/testdata/02049_lowcardinality_shortcircuit_crash/explain.txt create mode 100644 parser/testdata/02053_INSERT_SELECT_MATERIALIZED/explain.txt create mode 100644 parser/testdata/02067_lost_part_s3/explain.txt create mode 100644 parser/testdata/02070_join_on_disk/explain.txt create mode 100644 parser/testdata/02071_lower_upper_utf8_row_overlaps/explain.txt create mode 100644 parser/testdata/02095_function_get_os_kernel_version/explain.txt create mode 100644 parser/testdata/02096_date_time_1970_saturation/explain.txt create mode 100644 parser/testdata/02096_date_time_1970_saturation2/explain.txt create mode 100644 parser/testdata/02096_join_unusual_identifier_begin/explain.txt create mode 100644 parser/testdata/02096_rename_atomic_hang/explain.txt create mode 100644 parser/testdata/02096_sample_by_tuple/explain.txt create mode 100644 parser/testdata/02096_sql_user_defined_function_alias/explain.txt create mode 100644 parser/testdata/02096_totals_global_in_bug/explain.txt create mode 100644 parser/testdata/02097_default_dict_get_add_database/explain.txt create mode 100644 parser/testdata/02097_initializeAggregationNullable/explain.txt create mode 100644 parser/testdata/02097_polygon_dictionary_store_key/explain.txt create mode 100644 parser/testdata/02097_remove_sample_by/explain.txt create mode 100644 parser/testdata/02098_date32_comparison/explain.txt create mode 100644 parser/testdata/02098_sql_user_defined_functions_aliases/explain.txt create mode 100644 parser/testdata/02099_sql_user_defined_functions_lambda/explain.txt create mode 100644 parser/testdata/02100_alter_scalar_circular_deadlock/explain.txt create mode 100644 parser/testdata/02100_limit_push_down_bug/explain.txt create mode 100644 parser/testdata/02100_now64_types_bug/explain.txt create mode 100644 parser/testdata/02100_replaceRegexpAll_bug/explain.txt create mode 100644 parser/testdata/02101_sql_user_defined_functions_create_or_replace/explain.txt create mode 100644 parser/testdata/02101_sql_user_defined_functions_drop_if_exists/explain.txt create mode 100644 parser/testdata/02102_sql_user_defined_functions_create_if_not_exists/explain.txt create mode 100644 parser/testdata/02103_sql_user_defined_functions_composition/explain.txt create mode 100644 parser/testdata/02111_function_mapExtractKeyLike/explain.txt create mode 100644 parser/testdata/02111_global_context_temporary_tables/explain.txt create mode 100644 parser/testdata/02111_json_column_name_encoding/explain.txt create mode 100644 parser/testdata/02111_modify_table_comment/explain.txt create mode 100644 parser/testdata/02111_with_fill_no_rows/explain.txt create mode 100644 parser/testdata/02112_skip_index_set_and_or/explain.txt create mode 100644 parser/testdata/02112_with_fill_interval/explain.txt create mode 100644 parser/testdata/02113_base64encode_trailing_bytes/explain.txt create mode 100644 parser/testdata/02113_format_row/explain.txt create mode 100644 parser/testdata/02113_format_row_bug/explain.txt create mode 100644 parser/testdata/02113_untuple_func_alias/explain.txt create mode 100644 parser/testdata/02114_bool_type/explain.txt create mode 100644 parser/testdata/02115_map_contains_analyzer/explain.txt create mode 100644 parser/testdata/02115_rewrite_local_join_right_distribute_table/explain.txt create mode 100644 parser/testdata/02116_tuple_element_analyzer/explain.txt create mode 100644 parser/testdata/02118_show_create_table_rocksdb/explain.txt create mode 100644 parser/testdata/02123_MySQLWire_regression/explain.txt create mode 100644 parser/testdata/02124_clickhouse_dictionary_with_predefined_configuration/explain.txt create mode 100644 parser/testdata/02124_comparison_betwwen_decimal_and_float/explain.txt create mode 100644 parser/testdata/02124_encrypt_decrypt_nullable/explain.txt create mode 100644 parser/testdata/02124_insert_deduplication_token/explain.txt create mode 100644 parser/testdata/02124_insert_deduplication_token_materialized_views/explain.txt create mode 100644 parser/testdata/02124_insert_deduplication_token_replica/explain.txt create mode 100644 parser/testdata/02124_uncompressed_cache/explain.txt create mode 100644 parser/testdata/02125_constant_if_condition_and_not_existing_column/explain.txt create mode 100644 parser/testdata/02125_dict_get_type_nullable_fix/explain.txt create mode 100644 parser/testdata/02125_fix_storage_filelog/explain.txt create mode 100644 parser/testdata/02125_low_cardinality_int256/explain.txt create mode 100644 parser/testdata/02125_query_views_log/explain.txt create mode 100644 parser/testdata/02125_recursive_sql_user_defined_functions/explain.txt create mode 100644 parser/testdata/02125_transform_decimal_bug/explain.txt create mode 100644 parser/testdata/02126_alter_table_alter_column/explain.txt create mode 100644 parser/testdata/02126_identity_user_defined_function/explain.txt create mode 100644 parser/testdata/02126_lc_window_functions/explain.txt create mode 100644 parser/testdata/02127_storage_join_settings_with_persistency/explain.txt create mode 100644 parser/testdata/02128_apply_lambda_parsing/explain.txt create mode 100644 parser/testdata/02128_cast_nullable/explain.txt create mode 100644 parser/testdata/02128_hex_bin_on_uuid/explain.txt create mode 100644 parser/testdata/02129_add_column_add_ttl/explain.txt create mode 100644 parser/testdata/02129_window_functions_disable_optimizations/explain.txt create mode 100644 parser/testdata/02131_materialize_column_cast/explain.txt create mode 100644 parser/testdata/02131_mv_many_chunks_bug/explain.txt create mode 100644 parser/testdata/02131_remove_columns_in_subquery/explain.txt create mode 100644 parser/testdata/02131_row_policies_combination/explain.txt create mode 100644 parser/testdata/02131_skip_index_not_materialized/explain.txt create mode 100644 parser/testdata/02131_used_row_policies_in_query_log/explain.txt create mode 100644 parser/testdata/02132_empty_mutation_livelock/explain.txt create mode 100644 parser/testdata/02133_classification/explain.txt create mode 100644 parser/testdata/02133_distributed_queries_formatting/explain.txt create mode 100644 parser/testdata/02133_final_prewhere_where_lowcardinality_replacing/explain.txt create mode 100644 parser/testdata/02133_issue_32458/explain.txt create mode 100644 parser/testdata/02136_scalar_subquery_metrics/explain.txt create mode 100644 parser/testdata/02137_mv_into_join/explain.txt create mode 100644 parser/testdata/02139_MV_with_scalar_subquery/explain.txt create mode 100644 parser/testdata/02144_avg_ubsan/explain.txt create mode 100644 parser/testdata/02146_mv_non_phys/explain.txt create mode 100644 parser/testdata/02148_cast_type_parsing/explain.txt create mode 100644 parser/testdata/02148_issue_32737/explain.txt create mode 100644 parser/testdata/02148_sql_user_defined_function_subquery/explain.txt create mode 100644 parser/testdata/02149_issue_32487/explain.txt create mode 100644 parser/testdata/02149_read_in_order_fixed_prefix/explain.txt create mode 100644 parser/testdata/02150_replace_regexp_all_empty_match/explain.txt create mode 100644 parser/testdata/02151_lc_prefetch/explain.txt create mode 100644 parser/testdata/02151_replace_regexp_all_empty_match_alternative/explain.txt create mode 100644 parser/testdata/02152_bool_type/explain.txt create mode 100644 parser/testdata/02152_count_distinct_optimization/explain.txt create mode 100644 parser/testdata/02152_csv_tuple/explain.txt create mode 100644 parser/testdata/02152_dictionary_date32_type/explain.txt create mode 100644 parser/testdata/02152_short_circuit_throw_if/explain.txt create mode 100644 parser/testdata/02154_bit_slice_for_fixedstring/explain.txt create mode 100644 parser/testdata/02154_bit_slice_for_string/explain.txt create mode 100644 parser/testdata/02154_bitmap_contains/explain.txt create mode 100644 parser/testdata/02154_default_keyword_insert/explain.txt create mode 100644 parser/testdata/02155_binary_op_between_float_and_decimal/explain.txt create mode 100644 parser/testdata/02155_create_table_w_timezone/explain.txt create mode 100644 parser/testdata/02155_dictionary_comment/explain.txt create mode 100644 parser/testdata/02155_h3_to_center_child/explain.txt create mode 100644 parser/testdata/02155_multiple_inserts_for_formats_with_suffix/explain.txt create mode 100644 parser/testdata/02155_nested_lc_defalut_bug/explain.txt create mode 100644 parser/testdata/02155_parse_date_lowcard_default_throw/explain.txt create mode 100644 parser/testdata/02155_read_in_order_max_rows_to_read/explain.txt create mode 100644 parser/testdata/02156_storage_merge_prewhere/explain.txt create mode 100644 parser/testdata/02156_storage_merge_prewhere_2/explain.txt create mode 100644 parser/testdata/02156_storage_merge_prewhere_not_ready_set_bug/explain.txt create mode 100644 parser/testdata/02157_line_as_string_output_format/explain.txt create mode 100644 parser/testdata/02158_contingency/explain.txt create mode 100644 parser/testdata/02158_interval_length_sum/explain.txt create mode 100644 parser/testdata/02158_proportions_ztest/explain.txt create mode 100644 parser/testdata/02158_ztest/explain.txt create mode 100644 parser/testdata/02159_left_right/explain.txt create mode 100644 parser/testdata/02160_h3_cell_area_m2/explain.txt create mode 100644 parser/testdata/02160_h3_cell_area_rads2/explain.txt create mode 100644 parser/testdata/02160_h3_hex_area_Km2/explain.txt create mode 100644 parser/testdata/02160_special_functions/explain.txt create mode 100644 parser/testdata/02161_addressToLineWithInlines/explain.txt create mode 100644 parser/testdata/02161_array_first_last/explain.txt create mode 100644 parser/testdata/02162_array_first_last_index/explain.txt create mode 100644 parser/testdata/02162_range_hashed_dictionary_ddl_expression/explain.txt create mode 100644 parser/testdata/02163_shard_num/explain.txt create mode 100644 parser/testdata/02164_materialized_view_support_virtual_column/explain.txt create mode 100644 parser/testdata/02165_h3_edge_length_km/explain.txt create mode 100644 parser/testdata/02165_h3_exact_edge_length_Km/explain.txt create mode 100644 parser/testdata/02165_h3_exact_edge_length_m/explain.txt create mode 100644 parser/testdata/02165_h3_exact_edge_length_rads/explain.txt create mode 100644 parser/testdata/02165_h3_num_hexagons/explain.txt create mode 100644 parser/testdata/02165_insert_from_infile/explain.txt create mode 100644 parser/testdata/02167_columns_with_dots_default_values/explain.txt create mode 100644 parser/testdata/02168_avro_bug/explain.txt create mode 100644 parser/testdata/02169_fix_view_offset_limit_setting/explain.txt create mode 100644 parser/testdata/02169_map_functions/explain.txt create mode 100644 parser/testdata/02174_cte_scalar_cache/explain.txt create mode 100644 parser/testdata/02174_cte_scalar_cache_mv/explain.txt create mode 100644 parser/testdata/02175_distributed_join_current_database/explain.txt create mode 100644 parser/testdata/02176_dict_get_has_implicit_key_cast/explain.txt create mode 100644 parser/testdata/02176_optimize_aggregation_in_order_empty/explain.txt create mode 100644 parser/testdata/02176_toStartOfWeek_overflow_pruning/explain.txt create mode 100644 parser/testdata/02177_issue_31009/explain.txt create mode 100644 parser/testdata/02177_merge_optimize_aggregation_in_order/explain.txt create mode 100644 parser/testdata/02177_sum_if_not_found/explain.txt create mode 100644 parser/testdata/02178_column_function_insert_from/explain.txt create mode 100644 parser/testdata/02179_bool_type/explain.txt create mode 100644 parser/testdata/02179_degrees_radians/explain.txt create mode 100644 parser/testdata/02179_dict_reload_on_cluster/explain.txt create mode 100644 parser/testdata/02179_key_condition_no_common_type/explain.txt create mode 100644 parser/testdata/02179_range_hashed_dictionary_invalid_interval/explain.txt create mode 100644 parser/testdata/02179_sparse_columns_detach/explain.txt create mode 100644 parser/testdata/02180_group_by_lowcardinality/explain.txt create mode 100644 parser/testdata/02180_insert_into_values_settings/explain.txt create mode 100644 parser/testdata/02181_dictionary_attach_detach/explain.txt create mode 100644 parser/testdata/02181_sql_user_defined_functions_invalid_lambda/explain.txt create mode 100644 parser/testdata/02183_array_tuple_literals_remote/explain.txt create mode 100644 parser/testdata/02183_combinator_if/explain.txt create mode 100644 parser/testdata/02183_dictionary_date_types/explain.txt create mode 100644 parser/testdata/02183_dictionary_no_attributes/explain.txt create mode 100644 parser/testdata/02184_default_table_engine/explain.txt create mode 100644 parser/testdata/02184_hash_functions_and_ip_types/explain.txt create mode 100644 parser/testdata/02184_ipv6_cast_test/explain.txt create mode 100644 parser/testdata/02184_ipv6_select_parsing/explain.txt create mode 100644 parser/testdata/02184_nested_tuple/explain.txt create mode 100644 parser/testdata/02184_range_hashed_dictionary_outside_range_values/explain.txt create mode 100644 parser/testdata/02184_storage_add_support_ttl/explain.txt create mode 100644 parser/testdata/02185_arraySlice_negative_offset_size/explain.txt create mode 100644 parser/testdata/02185_range_hashed_dictionary_open_ranges/explain.txt create mode 100644 parser/testdata/02185_split_by_char/explain.txt create mode 100644 parser/testdata/02186_range_hashed_dictionary_intersecting_intervals/explain.txt create mode 100644 parser/testdata/02187_insert_values_with_mv/explain.txt create mode 100644 parser/testdata/02187_test_final_and_limit_modifier/explain.txt create mode 100644 parser/testdata/02188_parser_dictionary_primary_key/explain.txt create mode 100644 parser/testdata/02189_join_type_conversion/explain.txt create mode 100644 parser/testdata/02190_current_metrics_query/explain.txt create mode 100644 parser/testdata/02191_nested_with_dots/explain.txt create mode 100644 parser/testdata/02191_parse_date_time_best_effort_more_cases/explain.txt create mode 100644 parser/testdata/02193_async_insert_tcp_client_1/explain.txt create mode 100644 parser/testdata/02205_ephemeral_1/explain.txt create mode 100644 parser/testdata/02205_map_populate_series_non_const/explain.txt create mode 100644 parser/testdata/02205_postgresql_functions/explain.txt create mode 100644 parser/testdata/02206_array_starts_ends_with/explain.txt create mode 100644 parser/testdata/02206_information_schema_show_database/explain.txt create mode 100644 parser/testdata/02206_minimum_sample_size/explain.txt create mode 100644 parser/testdata/02207_key_condition_floats/explain.txt create mode 100644 parser/testdata/02207_subseconds_intervals/explain.txt create mode 100644 parser/testdata/02207_ttl_move_if_exists/explain.txt create mode 100644 parser/testdata/02209_short_circuit_node_without_parents/explain.txt create mode 100644 parser/testdata/02210_append_to_dev_dull/explain.txt create mode 100644 parser/testdata/02210_processors_profile_log/explain.txt create mode 100644 parser/testdata/02210_toColumnTypeName_toLowCardinality_const/explain.txt create mode 100644 parser/testdata/02211_jsonl_format_extension/explain.txt create mode 100644 parser/testdata/02212_cte_and_table_alias/explain.txt create mode 100644 parser/testdata/02212_h3_get_pentagon_indexes/explain.txt create mode 100644 parser/testdata/02212_h3_get_res0_indexes/explain.txt create mode 100644 parser/testdata/02212_h3_point_dist/explain.txt create mode 100644 parser/testdata/02220_array_join_format/explain.txt create mode 100644 parser/testdata/02222_allow_experimental_projection_optimization__enable_global_with_statement/explain.txt create mode 100644 parser/testdata/02223_h3_test_const_columns/explain.txt create mode 100644 parser/testdata/02223_insert_select_schema_inference/explain.txt create mode 100644 parser/testdata/02224_parallel_distributed_insert_select_cluster/explain.txt create mode 100644 parser/testdata/02224_s2_test_const_columns/explain.txt create mode 100644 parser/testdata/02226_analyzer_or_like_combine/explain.txt create mode 100644 parser/testdata/02226_async_insert_table_function/explain.txt create mode 100644 parser/testdata/02226_in_untuple_issue_34810/explain.txt create mode 100644 parser/testdata/02226_low_cardinality_text_bloom_filter_index/explain.txt create mode 100644 parser/testdata/02227_union_match_by_name/explain.txt create mode 100644 parser/testdata/02228_merge_tree_insert_memory_usage/explain.txt create mode 100644 parser/testdata/02230_create_table_as_ignore_ttl/explain.txt create mode 100644 parser/testdata/02231_bloom_filter_sizing/explain.txt create mode 100644 parser/testdata/02231_buffer_aggregate_states_leak/explain.txt create mode 100644 parser/testdata/02231_hierarchical_dictionaries_constant/explain.txt create mode 100644 parser/testdata/02232_functions_to_subcolumns_alias/explain.txt create mode 100644 parser/testdata/02232_partition_pruner_mixed_constant_type/explain.txt create mode 100644 parser/testdata/02232_partition_pruner_single_point/explain.txt create mode 100644 parser/testdata/02233_optimize_aggregation_in_order_prefix/explain.txt create mode 100644 parser/testdata/02233_optimize_aggregation_in_order_prefix_with_merge/explain.txt create mode 100644 parser/testdata/02233_set_enable_with_statement_cte_perf/explain.txt create mode 100644 parser/testdata/02233_with_total_empty_chunk/explain.txt create mode 100644 parser/testdata/02234_cast_to_ip_address/explain.txt create mode 100644 parser/testdata/02234_column_function_short_circuit/explain.txt create mode 100644 parser/testdata/02234_position_case_insensitive_utf8/explain.txt create mode 100644 parser/testdata/02235_add_part_offset_virtual_column/explain.txt create mode 100644 parser/testdata/02235_check_table_sparse_serialization/explain.txt create mode 100644 parser/testdata/02236_explain_pipeline_join/explain.txt create mode 100644 parser/testdata/02236_json_each_row_empty_map_schema_inference/explain.txt create mode 100644 parser/testdata/02240_asof_join_biginteger/explain.txt create mode 100644 parser/testdata/02240_filesystem_cache_bypass_cache_threshold/explain.txt create mode 100644 parser/testdata/02240_filesystem_query_cache/explain.txt create mode 100644 parser/testdata/02240_get_type_serialization_streams/explain.txt create mode 100644 parser/testdata/02241_array_first_last_or_null/explain.txt create mode 100644 parser/testdata/02241_short_circuit_short_column/explain.txt create mode 100644 parser/testdata/02242_if_then_else_null_bug/explain.txt create mode 100644 parser/testdata/02242_join_rocksdb/explain.txt create mode 100644 parser/testdata/02242_make_date/explain.txt create mode 100644 parser/testdata/02242_make_date_mysql/explain.txt create mode 100644 parser/testdata/02242_negative_datetime64/explain.txt create mode 100644 parser/testdata/02242_optimize_to_subcolumns_no_storage/explain.txt create mode 100644 parser/testdata/02242_subcolumns_sizes/explain.txt create mode 100644 parser/testdata/02242_throw_if_constant_argument/explain.txt create mode 100644 parser/testdata/02243_in_ip_address/explain.txt create mode 100644 parser/testdata/02243_ipv6_long_parsing/explain.txt create mode 100644 parser/testdata/02243_make_date32/explain.txt create mode 100644 parser/testdata/02243_make_date32_mysql/explain.txt create mode 100644 parser/testdata/02244_casewithexpression_return_type/explain.txt create mode 100644 parser/testdata/02244_column_names_in_shcmea_inference/explain.txt create mode 100644 parser/testdata/02244_ip_address_invalid_insert/explain.txt create mode 100644 parser/testdata/02244_lowcardinality_hash_join/explain.txt create mode 100644 parser/testdata/02244_make_datetime/explain.txt create mode 100644 parser/testdata/02244_url_engine_headers_test/explain.txt create mode 100644 parser/testdata/02245_format_string_stack_overflow/explain.txt create mode 100644 parser/testdata/02245_join_with_nullable_lowcardinality_crash/explain.txt create mode 100644 parser/testdata/02245_make_datetime64/explain.txt create mode 100644 parser/testdata/02245_s3_schema_desc/explain.txt create mode 100644 parser/testdata/02245_s3_support_read_nested_column/explain.txt create mode 100644 parser/testdata/02245_s3_virtual_columns/explain.txt create mode 100644 parser/testdata/02245_weird_partitions_pruning/explain.txt create mode 100644 parser/testdata/02246_flatten_tuple/explain.txt create mode 100644 parser/testdata/02247_fix_extract_parser/explain.txt create mode 100644 parser/testdata/02248_nullable_custom_types_to_string/explain.txt create mode 100644 parser/testdata/02249_insert_select_from_input_schema_inference/explain.txt create mode 100644 parser/testdata/02249_parse_date_time_basic/explain.txt create mode 100644 parser/testdata/02250_insert_select_from_file_schema_inference/explain.txt create mode 100644 parser/testdata/02251_alter_enum_nested_struct/explain.txt create mode 100644 parser/testdata/02252_executable_user_defined_function_short_circuit/explain.txt create mode 100644 parser/testdata/02252_jit_profile_events/explain.txt create mode 100644 parser/testdata/02252_reset_non_existing_setting/explain.txt create mode 100644 parser/testdata/02264_format_insert_compression/explain.txt create mode 100644 parser/testdata/02264_format_insert_infile/explain.txt create mode 100644 parser/testdata/02265_column_ttl/explain.txt create mode 100644 parser/testdata/02265_cross_join_empty_list/explain.txt create mode 100644 parser/testdata/02265_per_table_ttl_mutation_on_change/explain.txt create mode 100644 parser/testdata/02265_rename_join_ordinary_to_atomic/explain.txt create mode 100644 parser/testdata/02266_auto_add_nullable/explain.txt create mode 100644 parser/testdata/02267_empty_arrays_read_reverse/explain.txt create mode 100644 parser/testdata/02267_insert_empty_data/explain.txt create mode 100644 parser/testdata/02267_jsonlines_ndjson_format/explain.txt create mode 100644 parser/testdata/02267_special_operator_parse_alias_check/explain.txt create mode 100644 parser/testdata/02267_type_inference_for_insert_into_function_null/explain.txt create mode 100644 parser/testdata/02268_json_wrong_root_type_in_schema_inference/explain.txt create mode 100644 parser/testdata/02269_create_table_with_collation/explain.txt create mode 100644 parser/testdata/02269_insert_select_with_format_without_schema_inference/explain.txt create mode 100644 parser/testdata/02269_to_start_of_interval_overflow/explain.txt create mode 100644 parser/testdata/02270_client_name/explain.txt create mode 100644 parser/testdata/02271_fix_column_matcher_and_column_transformer/explain.txt create mode 100644 parser/testdata/02271_int_sql_compatibility/explain.txt create mode 100644 parser/testdata/02271_replace_partition_many_tables/explain.txt create mode 100644 parser/testdata/02271_temporary_table_show_rows_bytes/explain.txt create mode 100644 parser/testdata/02276_full_sort_join_unsupported/explain.txt create mode 100644 parser/testdata/02277_full_sort_join_misc/explain.txt create mode 100644 parser/testdata/02280_add_query_level_settings/explain.txt create mode 100644 parser/testdata/02281_limit_by_distributed/explain.txt create mode 100644 parser/testdata/02282_array_distance/explain.txt create mode 100644 parser/testdata/02283_array_norm/explain.txt create mode 100644 parser/testdata/02285_executable_user_defined_function_group_by/explain.txt create mode 100644 parser/testdata/02285_hex_bin_support_more_types/explain.txt create mode 100644 parser/testdata/02286_convert_decimal_type/explain.txt create mode 100644 parser/testdata/02286_function_wyhash/explain.txt create mode 100644 parser/testdata/02286_quantile_tdigest_infinity/explain.txt create mode 100644 parser/testdata/02286_tuple_numeric_identifier/explain.txt create mode 100644 parser/testdata/02286_vertical_merges_missed_column/explain.txt create mode 100644 parser/testdata/02287_ephemeral_format_crash/explain.txt create mode 100644 parser/testdata/02287_legacy_column_name_of_tuple_literal_over_distributed/explain.txt create mode 100644 parser/testdata/02291_dictionary_scalar_subquery_reload/explain.txt create mode 100644 parser/testdata/02291_join_const_literal_36279/explain.txt create mode 100644 parser/testdata/02292_create_function_validate/explain.txt create mode 100644 parser/testdata/02292_h3_unidirectional_funcs/explain.txt create mode 100644 parser/testdata/02292_hash_array_tuples/explain.txt create mode 100644 parser/testdata/02292_nested_not_flattened_detach/explain.txt create mode 100644 parser/testdata/02293_arrow_dictionary_indexes/explain.txt create mode 100644 parser/testdata/02293_compatibility_ignore_auto_increment_in_create_table/explain.txt create mode 100644 parser/testdata/02293_grouping_function/explain.txt create mode 100644 parser/testdata/02293_grouping_function_group_by/explain.txt create mode 100644 parser/testdata/02293_h3_distance/explain.txt create mode 100644 parser/testdata/02293_h3_hex_ring/explain.txt create mode 100644 parser/testdata/02293_h3_line/explain.txt create mode 100644 parser/testdata/02293_ilike_on_fixed_strings/explain.txt create mode 100644 parser/testdata/02293_optimize_aggregation_in_order_Array_functions/explain.txt create mode 100644 parser/testdata/02294_decimal_second_errors/explain.txt create mode 100644 parser/testdata/02294_dictionaries_hierarchical_index/explain.txt create mode 100644 parser/testdata/02294_fp_seconds_profile/explain.txt create mode 100644 parser/testdata/02294_nothing_arguments_in_functions/explain.txt create mode 100644 parser/testdata/02294_optimize_aggregation_in_order_prefix_Array_functions/explain.txt create mode 100644 parser/testdata/02294_stringsearch_with_nonconst_needle/explain.txt create mode 100644 parser/testdata/02295_GROUP_BY_AggregateFunction/explain.txt create mode 100644 parser/testdata/02296_nullable_arguments_in_array_filter/explain.txt create mode 100644 parser/testdata/02296_ttl_non_deterministic/explain.txt create mode 100644 parser/testdata/02302_clash_const_aggegate_join/explain.txt create mode 100644 parser/testdata/02302_column_decl_null_before_defaul_value/explain.txt create mode 100644 parser/testdata/02302_defaults_in_columnar_formats/explain.txt create mode 100644 parser/testdata/02302_join_auto_lc_nullable_bug/explain.txt create mode 100644 parser/testdata/02302_lc_nullable_string_insert_as_number/explain.txt create mode 100644 parser/testdata/02302_projections_GROUP_BY_ORDERY_BY_optimize_aggregation_in_order/explain.txt create mode 100644 parser/testdata/02302_s3_file_pruning/explain.txt create mode 100644 parser/testdata/02303_cast_nullable_to_custom_types/explain.txt create mode 100644 parser/testdata/02304_grouping_set_order_by/explain.txt create mode 100644 parser/testdata/02304_orc_arrow_parquet_string_as_string/explain.txt create mode 100644 parser/testdata/02306_part_types_profile_events/explain.txt create mode 100644 parser/testdata/02306_window_move_row_number_fix/explain.txt create mode 100644 parser/testdata/02307_join_get_array_null/explain.txt create mode 100644 parser/testdata/02310_generate_multi_columns_with_uuid/explain.txt create mode 100644 parser/testdata/02310_uuid_v7/explain.txt create mode 100644 parser/testdata/02311_create_table_with_unknown_format/explain.txt create mode 100644 parser/testdata/02311_range_hashed_dictionary_range_cast/explain.txt create mode 100644 parser/testdata/02311_system_zookeeper_insert/explain.txt create mode 100644 parser/testdata/02312_is_not_null_prewhere/explain.txt create mode 100644 parser/testdata/02312_parquet_orc_arrow_names_tuples/explain.txt create mode 100644 parser/testdata/02313_avro_records_and_maps/explain.txt create mode 100644 parser/testdata/02313_cross_join_dup_col_names/explain.txt create mode 100644 parser/testdata/02313_displayname/explain.txt create mode 100644 parser/testdata/02313_dump_column_structure_low_cardinality/explain.txt create mode 100644 parser/testdata/02313_group_by_modifiers_with_non_default_types/explain.txt create mode 100644 parser/testdata/02313_multiple_limits/explain.txt create mode 100644 parser/testdata/02313_test_fpc_codec/explain.txt create mode 100644 parser/testdata/02314_csv_tsv_skip_first_lines/explain.txt create mode 100644 parser/testdata/02315_grouping_constant_folding/explain.txt create mode 100644 parser/testdata/02315_pmj_union_ubsan_35857/explain.txt create mode 100644 parser/testdata/02315_replace_multiif_to_if/explain.txt create mode 100644 parser/testdata/02316_cast_to_ip_address_default_column/explain.txt create mode 100644 parser/testdata/02316_const_string_intersact/explain.txt create mode 100644 parser/testdata/02316_expressions_with_window_functions/explain.txt create mode 100644 parser/testdata/02316_literal_no_octal/explain.txt create mode 100644 parser/testdata/02316_values_table_func_bug/explain.txt create mode 100644 parser/testdata/02317_distinct_in_order_optimization/explain.txt create mode 100644 parser/testdata/02317_functions_with_nothing/explain.txt create mode 100644 parser/testdata/02317_like_with_trailing_escape/explain.txt create mode 100644 parser/testdata/02318_template_schema_inference_bug/explain.txt create mode 100644 parser/testdata/02319_dict_get_check_arguments_size/explain.txt create mode 100644 parser/testdata/02319_lightweight_delete_on_merge_tree/explain.txt create mode 100644 parser/testdata/02319_lightweight_delete_on_merge_tree_compact_parts/explain.txt create mode 100644 parser/testdata/02319_no_columns_in_row_level_filter/explain.txt create mode 100644 parser/testdata/02319_quantile_interpolated_weighted/explain.txt create mode 100644 parser/testdata/02319_sql_standard_create_drop_index/explain.txt create mode 100644 parser/testdata/02319_timeslots_dt64/explain.txt create mode 100644 parser/testdata/02320_alter_columns_with_dots/explain.txt create mode 100644 parser/testdata/02320_mapped_array_witn_const_nullable/explain.txt create mode 100644 parser/testdata/02321_nested_short_circuit_functions/explain.txt create mode 100644 parser/testdata/02322_sql_insert_format/explain.txt create mode 100644 parser/testdata/02323_null_modifier_in_table_function/explain.txt create mode 100644 parser/testdata/02324_map_combinator_bug/explain.txt create mode 100644 parser/testdata/02325_compatibility_setting_2/explain.txt create mode 100644 parser/testdata/02325_dates_schema_inference/explain.txt create mode 100644 parser/testdata/02326_numbers_from_json_strings_schema_inference/explain.txt create mode 100644 parser/testdata/02326_settings_changes_system_table/explain.txt create mode 100644 parser/testdata/02327_try_infer_integers_schema_inference/explain.txt create mode 100644 parser/testdata/02336_sparse_columns_s3/explain.txt create mode 100644 parser/testdata/02337_analyzer_columns_basic/explain.txt create mode 100644 parser/testdata/02337_base58/explain.txt create mode 100644 parser/testdata/02337_check_translate_qualified_names_matcher/explain.txt create mode 100644 parser/testdata/02337_multiple_joins_original_names/explain.txt create mode 100644 parser/testdata/02338_analyzer_constants_basic/explain.txt create mode 100644 parser/testdata/02339_analyzer_matcher_basic/explain.txt create mode 100644 parser/testdata/02340_analyzer_functions/explain.txt create mode 100644 parser/testdata/02340_union_header/explain.txt create mode 100644 parser/testdata/02341_analyzer_aliases_basics/explain.txt create mode 100644 parser/testdata/02341_global_join_cte/explain.txt create mode 100644 parser/testdata/02342_analyzer_compound_types/explain.txt create mode 100644 parser/testdata/02343_aggregation_pipeline/explain.txt create mode 100644 parser/testdata/02343_analyzer_column_transformers_strict/explain.txt create mode 100644 parser/testdata/02343_analyzer_lambdas/explain.txt create mode 100644 parser/testdata/02343_analyzer_lambdas_issue_28083/explain.txt create mode 100644 parser/testdata/02343_analyzer_lambdas_issue_36677/explain.txt create mode 100644 parser/testdata/02343_create_empty_as_select/explain.txt create mode 100644 parser/testdata/02343_group_by_use_nulls/explain.txt create mode 100644 parser/testdata/02343_group_by_use_nulls_distributed/explain.txt create mode 100644 parser/testdata/02343_read_from_s3_compressed_blocks/explain.txt create mode 100644 parser/testdata/02344_analyzer_multiple_aliases_for_expression/explain.txt create mode 100644 parser/testdata/02344_distinct_limit_distiributed/explain.txt create mode 100644 parser/testdata/02344_insert_profile_events_stress/explain.txt create mode 100644 parser/testdata/02345_analyzer_subqueries/explain.txt create mode 100644 parser/testdata/02345_create_table_allow_trailing_comma/explain.txt create mode 100644 parser/testdata/02345_implicit_transaction/explain.txt create mode 100644 parser/testdata/02345_partial_sort_transform_optimization/explain.txt create mode 100644 parser/testdata/02346_additional_filters/explain.txt create mode 100644 parser/testdata/02346_additional_filters_distr/explain.txt create mode 100644 parser/testdata/02346_additional_filters_index/explain.txt create mode 100644 parser/testdata/02346_exclude_materialize_skip_indexes_on_insert/explain.txt create mode 100644 parser/testdata/02346_exclude_materialize_skip_indexes_on_merge/explain.txt create mode 100644 parser/testdata/02346_non_negative_derivative/explain.txt create mode 100644 parser/testdata/02346_position_countsubstrings_zero_byte/explain.txt create mode 100644 parser/testdata/02346_text_index_array_support/explain.txt create mode 100644 parser/testdata/02346_text_index_bug47393/explain.txt create mode 100644 parser/testdata/02346_text_index_bug54541/explain.txt create mode 100644 parser/testdata/02346_text_index_bug59039/explain.txt create mode 100644 parser/testdata/02346_text_index_bug62681/explain.txt create mode 100644 parser/testdata/02346_text_index_bug84805/explain.txt create mode 100644 parser/testdata/02346_text_index_bug87887/explain.txt create mode 100644 parser/testdata/02346_text_index_bug88080/explain.txt create mode 100644 parser/testdata/02346_text_index_bug89605/explain.txt create mode 100644 parser/testdata/02346_text_index_coalescingmergetree/explain.txt create mode 100644 parser/testdata/02346_text_index_collapsingmergetree/explain.txt create mode 100644 parser/testdata/02346_text_index_creation/explain.txt create mode 100644 parser/testdata/02346_text_index_default_granularity/explain.txt create mode 100644 parser/testdata/02346_text_index_detach_attach/explain.txt create mode 100644 parser/testdata/02346_text_index_dictionary_cache/explain.txt create mode 100644 parser/testdata/02346_text_index_dictionary_frontcoding/explain.txt create mode 100644 parser/testdata/02346_text_index_direct_read/explain.txt create mode 100644 parser/testdata/02346_text_index_direct_read_crash/explain.txt create mode 100644 parser/testdata/02346_text_index_direct_read_with_query_condition_cache/explain.txt create mode 100644 parser/testdata/02346_text_index_experimental_flag/explain.txt create mode 100644 parser/testdata/02346_text_index_function_hasAnyAllTokens/explain.txt create mode 100644 parser/testdata/02346_text_index_function_hasAnyAllTokens_partially_materialized/explain.txt create mode 100644 parser/testdata/02346_text_index_functions_with_empty_needle/explain.txt create mode 100644 parser/testdata/02346_text_index_header_cache/explain.txt create mode 100644 parser/testdata/02346_text_index_hits/explain.txt create mode 100644 parser/testdata/02346_text_index_map_support/explain.txt create mode 100644 parser/testdata/02346_text_index_match_predicate/explain.txt create mode 100644 parser/testdata/02346_text_index_on_lower_column/explain.txt create mode 100644 parser/testdata/02346_text_index_parallel_replicas/explain.txt create mode 100644 parser/testdata/02346_text_index_part_format/explain.txt create mode 100644 parser/testdata/02346_text_index_postings_cache/explain.txt create mode 100644 parser/testdata/02346_text_index_prefetch/explain.txt create mode 100644 parser/testdata/02346_text_index_preprocessor/explain.txt create mode 100644 parser/testdata/02346_text_index_queries/explain.txt create mode 100644 parser/testdata/02346_text_index_replacingmergetree/explain.txt create mode 100644 parser/testdata/02346_text_index_summingmergetree/explain.txt create mode 100644 parser/testdata/02346_to_hour_monotonicity_fix/explain.txt create mode 100644 parser/testdata/02346_to_hour_monotonicity_fix_2/explain.txt create mode 100644 parser/testdata/02347_rank_corr_nan/explain.txt create mode 100644 parser/testdata/02347_rank_corr_size_overflow/explain.txt create mode 100644 parser/testdata/02350_views_max_insert_threads/explain.txt create mode 100644 parser/testdata/02351_Map_combinator_dist/explain.txt create mode 100644 parser/testdata/02352_grouby_shadows_arg/explain.txt create mode 100644 parser/testdata/02352_lightweight_delete/explain.txt create mode 100644 parser/testdata/02352_lightweight_delete_in_partition/explain.txt create mode 100644 parser/testdata/02352_lightweight_delete_on_replicated_merge_tree/explain.txt create mode 100644 parser/testdata/02353_ascii/explain.txt create mode 100644 parser/testdata/02353_explain_ast_optimize/explain.txt create mode 100644 parser/testdata/02353_isnullable/explain.txt create mode 100644 parser/testdata/02353_partition_prune_nullable_key/explain.txt create mode 100644 parser/testdata/02353_simdjson_buffer_overflow/explain.txt create mode 100644 parser/testdata/02353_translate/explain.txt create mode 100644 parser/testdata/02354_array_lowcardinality/explain.txt create mode 100644 parser/testdata/02354_distributed_with_external_aggregation_memory_usage/explain.txt create mode 100644 parser/testdata/02354_numeric_literals_with_underscores/explain.txt create mode 100644 parser/testdata/02354_parse_timedelta/explain.txt create mode 100644 parser/testdata/02354_read_in_order_prewhere/explain.txt create mode 100644 parser/testdata/02354_tuple_element_with_default/explain.txt create mode 100644 parser/testdata/02354_tuple_lowcardinality/explain.txt create mode 100644 parser/testdata/02354_vector_search_adaptive_index_granularity/explain.txt create mode 100644 parser/testdata/02354_vector_search_and_other_skipping_indexes/explain.txt create mode 100644 parser/testdata/02354_vector_search_binary_quantization/explain.txt create mode 100644 parser/testdata/02354_vector_search_choose_correct_index/explain.txt create mode 100644 parser/testdata/02354_vector_search_default_granularity/explain.txt create mode 100644 parser/testdata/02354_vector_search_detach_attach/explain.txt create mode 100644 parser/testdata/02354_vector_search_different_array_sizes/explain.txt create mode 100644 parser/testdata/02354_vector_search_drop_table_clear_cache/explain.txt create mode 100644 parser/testdata/02354_vector_search_empty_arrays_or_default_values/explain.txt create mode 100644 parser/testdata/02354_vector_search_expansion_search/explain.txt create mode 100644 parser/testdata/02354_vector_search_index_creation_negative/explain.txt create mode 100644 parser/testdata/02354_vector_search_multiple_indexes/explain.txt create mode 100644 parser/testdata/02354_vector_search_multiple_marks/explain.txt create mode 100644 parser/testdata/02354_vector_search_part_format/explain.txt create mode 100644 parser/testdata/02354_vector_search_postfiltering_bug/explain.txt create mode 100644 parser/testdata/02354_vector_search_pre_and_post_filtering/explain.txt create mode 100644 parser/testdata/02354_vector_search_queries/explain.txt create mode 100644 parser/testdata/02354_vector_search_reference_vector_types/explain.txt create mode 100644 parser/testdata/02354_vector_search_rescoring/explain.txt create mode 100644 parser/testdata/02354_vector_search_rescoring_and_prewhere/explain.txt create mode 100644 parser/testdata/02354_vector_search_rescoring_distance_in_select_list/explain.txt create mode 100644 parser/testdata/02354_vector_search_subquery/explain.txt create mode 100644 parser/testdata/02354_vector_search_unquoted_index_parameters/explain.txt create mode 100644 parser/testdata/02354_vector_search_vector_similarity_index_cache/explain.txt create mode 100644 parser/testdata/02354_vector_search_with_huge_dimension/explain.txt create mode 100644 parser/testdata/02354_with_statement_non_exist_column/explain.txt create mode 100644 parser/testdata/02355_column_type_name_lc/explain.txt create mode 100644 parser/testdata/02355_control_block_size_in_aggregator/explain.txt create mode 100644 parser/testdata/02355_control_block_size_in_array_join/explain.txt create mode 100644 parser/testdata/02356_insert_query_log_metrics/explain.txt create mode 100644 parser/testdata/02356_trivial_count_with_empty_set/explain.txt create mode 100644 parser/testdata/02357_file_default_value/explain.txt create mode 100644 parser/testdata/02360_small_notation_h_for_hour_interval/explain.txt create mode 100644 parser/testdata/02363_mapupdate_improve/explain.txt create mode 100644 parser/testdata/02364_dictionary_datetime_64_attribute_crash/explain.txt create mode 100644 parser/testdata/02364_multiSearch_function_family/explain.txt create mode 100644 parser/testdata/02364_setting_cross_to_inner_rewrite/explain.txt create mode 100644 parser/testdata/02364_window_case/explain.txt create mode 100644 parser/testdata/02365_multisearch_random_tests/explain.txt create mode 100644 parser/testdata/02366_asof_optimize_predicate_bug_37813/explain.txt create mode 100644 parser/testdata/02366_direct_dictionary_dict_has/explain.txt create mode 100644 parser/testdata/02366_explain_query_tree/explain.txt create mode 100644 parser/testdata/02366_kql_create_table/explain.txt create mode 100644 parser/testdata/02366_kql_datatype/explain.txt create mode 100644 parser/testdata/02366_kql_distinct/explain.txt create mode 100644 parser/testdata/02366_kql_extend/explain.txt create mode 100644 parser/testdata/02366_kql_func_binary/explain.txt create mode 100644 parser/testdata/02366_kql_func_datetime/explain.txt create mode 100644 parser/testdata/02366_kql_func_dynamic/explain.txt create mode 100644 parser/testdata/02366_kql_func_ip/explain.txt create mode 100644 parser/testdata/02366_kql_func_math/explain.txt create mode 100644 parser/testdata/02366_kql_func_scalar/explain.txt create mode 100644 parser/testdata/02366_kql_func_string/explain.txt create mode 100644 parser/testdata/02366_kql_mvexpand/explain.txt create mode 100644 parser/testdata/02366_kql_operator_in_sql/explain.txt create mode 100644 parser/testdata/02366_kql_summarize/explain.txt create mode 100644 parser/testdata/02366_kql_tabular/explain.txt create mode 100644 parser/testdata/02366_normalize_aggregate_function_types_and_states/explain.txt create mode 100644 parser/testdata/02366_union_decimal_conversion/explain.txt create mode 100644 parser/testdata/02366_window_function_order_by/explain.txt create mode 100644 parser/testdata/02366_with_fill_date/explain.txt create mode 100644 parser/testdata/02367_analyzer_table_alias_columns/explain.txt create mode 100644 parser/testdata/02367_optimize_trivial_count_with_array_join/explain.txt create mode 100644 parser/testdata/02368_analyzer_table_functions/explain.txt create mode 100644 parser/testdata/02369_analyzer_array_join_function/explain.txt create mode 100644 parser/testdata/02370_analyzer_in_function/explain.txt create mode 100644 parser/testdata/02371_analyzer_join_cross/explain.txt create mode 100644 parser/testdata/02371_create_temporary_table_as_with_columns_list/explain.txt create mode 100644 parser/testdata/02371_select_projection_normal_agg/explain.txt create mode 100644 parser/testdata/02372_nowInBlock/explain.txt create mode 100644 parser/testdata/02373_analyzer_join_use_nulls/explain.txt create mode 100644 parser/testdata/02374_analyzer_array_join/explain.txt create mode 100644 parser/testdata/02374_combine_multi_if_and_count_if_opt/explain.txt create mode 100644 parser/testdata/02374_in_tuple_index/explain.txt create mode 100644 parser/testdata/02374_regexp_replace/explain.txt create mode 100644 parser/testdata/02375_double_escaping_json/explain.txt create mode 100644 parser/testdata/02375_scalar_lc_cte/explain.txt create mode 100644 parser/testdata/02376_analyzer_in_function_subquery/explain.txt create mode 100644 parser/testdata/02376_arrow_dict_with_string/explain.txt create mode 100644 parser/testdata/02377_analyzer_in_function_set/explain.txt create mode 100644 parser/testdata/02377_executable_function_settings/explain.txt create mode 100644 parser/testdata/02377_fix_file_virtual_column/explain.txt create mode 100644 parser/testdata/02377_majority_insert_quorum_zookeeper_long/explain.txt create mode 100644 parser/testdata/02377_modify_column_from_lc/explain.txt create mode 100644 parser/testdata/02377_modify_column_from_nested/explain.txt create mode 100644 parser/testdata/02377_optimize_sorting_by_input_stream_properties/explain.txt create mode 100644 parser/testdata/02377_optimize_sorting_by_input_stream_properties_2/explain.txt create mode 100644 parser/testdata/02378_analyzer_projection_names/explain.txt create mode 100644 parser/testdata/02378_part_log_profile_events_replicated/explain.txt create mode 100644 parser/testdata/02379_analyzer_subquery_depth/explain.txt create mode 100644 parser/testdata/02380_analyzer_join_sample/explain.txt create mode 100644 parser/testdata/02381_analyzer_join_final/explain.txt create mode 100644 parser/testdata/02381_compress_marks_and_primary_key/explain.txt create mode 100644 parser/testdata/02381_parseDateTime64BestEffortUS/explain.txt create mode 100644 parser/testdata/02381_parse_array_of_tuples/explain.txt create mode 100644 parser/testdata/02381_setting_value_auto/explain.txt create mode 100644 parser/testdata/02382_analyzer_matcher_join_using/explain.txt create mode 100644 parser/testdata/02382_join_and_filtering_set/explain.txt create mode 100644 parser/testdata/02383_analyzer_merge_tree_self_join/explain.txt create mode 100644 parser/testdata/02383_array_signed_const_positive_index/explain.txt create mode 100644 parser/testdata/02383_schema_inference_hints/explain.txt create mode 100644 parser/testdata/02384_analyzer_dict_get_join_get/explain.txt create mode 100644 parser/testdata/02384_decrypt_bad_arguments/explain.txt create mode 100644 parser/testdata/02384_nullable_low_cardinality_as_dict_in_arrow/explain.txt create mode 100644 parser/testdata/02385_analyzer_aliases_compound_expression/explain.txt create mode 100644 parser/testdata/02385_profile_events_overflow/explain.txt create mode 100644 parser/testdata/02386_analyzer_in_function_nested_subqueries/explain.txt create mode 100644 parser/testdata/02386_set_columns_order/explain.txt create mode 100644 parser/testdata/02387_analyzer_cte/explain.txt create mode 100644 parser/testdata/02387_parse_date_as_datetime/explain.txt create mode 100644 parser/testdata/02388_analyzer_recursive_lambda/explain.txt create mode 100644 parser/testdata/02388_conversion_from_string_with_datetime64_to_date_and_date32/explain.txt create mode 100644 parser/testdata/02389_analyzer_nested_lambda/explain.txt create mode 100644 parser/testdata/02391_hashed_dictionary_shards/explain.txt create mode 100644 parser/testdata/02391_recursive_buffer/explain.txt create mode 100644 parser/testdata/02392_every_setting_must_have_documentation/explain.txt create mode 100644 parser/testdata/02393_every_metric_must_have_documentation/explain.txt create mode 100644 parser/testdata/02394_every_profile_event_must_have_documentation/explain.txt create mode 100644 parser/testdata/02395_every_merge_tree_setting_must_have_documentation/explain.txt create mode 100644 parser/testdata/02398_subquery_where_pushdown_and_limit_offset/explain.txt create mode 100644 parser/testdata/02399_merge_tree_mutate_in_partition/explain.txt create mode 100644 parser/testdata/02400_create_table_on_cluster_normalization/explain.txt create mode 100644 parser/testdata/02400_memory_accounting_on_error/explain.txt create mode 100644 parser/testdata/02401_merge_tree_old_tmp_dirs_cleanup/explain.txt create mode 100644 parser/testdata/02402_external_disk_metrics/explain.txt create mode 100644 parser/testdata/02402_merge_engine_with_view/explain.txt create mode 100644 parser/testdata/02403_ttl_column_multiple_times/explain.txt create mode 100644 parser/testdata/02404_lightweight_delete_vertical_merge/explain.txt create mode 100644 parser/testdata/02404_memory_bound_merging/explain.txt create mode 100644 parser/testdata/02405_avro_read_nested/explain.txt create mode 100644 parser/testdata/02405_pmj_issue_40335/explain.txt create mode 100644 parser/testdata/02406_minmax_behaviour/explain.txt create mode 100644 parser/testdata/02406_try_read_datetime64_bug/explain.txt create mode 100644 parser/testdata/02407_array_element_from_map_wrong_type/explain.txt create mode 100644 parser/testdata/02408_to_fixed_string_short_circuit/explain.txt create mode 100644 parser/testdata/02409_url_format_detection/explain.txt create mode 100644 parser/testdata/02410_csv_empty_fields_inference/explain.txt create mode 100644 parser/testdata/02410_to_decimal_or_default/explain.txt create mode 100644 parser/testdata/02411_legacy_geobase/explain.txt create mode 100644 parser/testdata/02412_nlp/explain.txt create mode 100644 parser/testdata/02414_all_new_table_functions_must_be_documented/explain.txt create mode 100644 parser/testdata/02415_all_new_functions_must_be_documented/explain.txt create mode 100644 parser/testdata/02415_all_new_functions_must_have_version_information/explain.txt create mode 100644 parser/testdata/02416_grouping_function_compatibility/explain.txt create mode 100644 parser/testdata/02416_in_set_same_ast_diff_columns/explain.txt create mode 100644 parser/testdata/02416_input_json_formats/explain.txt create mode 100644 parser/testdata/02416_json_tuple_to_array_schema_inference/explain.txt create mode 100644 parser/testdata/02416_keeper_map/explain.txt create mode 100644 parser/testdata/02416_rocksdb_delete_update/explain.txt create mode 100644 parser/testdata/02416_row_policy_always_false_index/explain.txt create mode 100644 parser/testdata/02417_from_select_syntax/explain.txt create mode 100644 parser/testdata/02417_json_object_each_row_format/explain.txt create mode 100644 parser/testdata/02417_keeper_map_create_drop/explain.txt create mode 100644 parser/testdata/02417_null_variadic_behaviour/explain.txt create mode 100644 parser/testdata/02418_aggregate_combinators/explain.txt create mode 100644 parser/testdata/02418_keeper_map_keys_limit/explain.txt create mode 100644 parser/testdata/02418_tautological_if_index/explain.txt create mode 100644 parser/testdata/02419_contingency_array_nullable/explain.txt create mode 100644 parser/testdata/02420_final_setting/explain.txt create mode 100644 parser/testdata/02420_final_setting_analyzer/explain.txt create mode 100644 parser/testdata/02420_key_condition_actions_dag_bug_40599/explain.txt create mode 100644 parser/testdata/02421_decimal_in_precision_issue_41125/explain.txt create mode 100644 parser/testdata/02421_exponential_join_rewrite_21557/explain.txt create mode 100644 parser/testdata/02421_json_decimals_as_strings/explain.txt create mode 100644 parser/testdata/02422_insert_different_granularity/explain.txt create mode 100644 parser/testdata/02422_msgpack_uuid_wrong_column/explain.txt create mode 100644 parser/testdata/02422_read_numbers_as_strings/explain.txt create mode 100644 parser/testdata/02423_json_quote_float64/explain.txt create mode 100644 parser/testdata/02423_multidimensional_array_get_data_at/explain.txt create mode 100644 parser/testdata/02424_pod_array_overflow/explain.txt create mode 100644 parser/testdata/02425_categorical_information_value_properties/explain.txt create mode 100644 parser/testdata/02426_create_suspicious_fixed_string/explain.txt create mode 100644 parser/testdata/02426_pod_array_overflow_2/explain.txt create mode 100644 parser/testdata/02426_pod_array_overflow_3/explain.txt create mode 100644 parser/testdata/02426_to_string_nullable_fixedstring/explain.txt create mode 100644 parser/testdata/02427_column_nullable_ubsan/explain.txt create mode 100644 parser/testdata/02427_msan_group_array_resample/explain.txt create mode 100644 parser/testdata/02427_mutate_and_zero_copy_replication_zookeeper/explain.txt create mode 100644 parser/testdata/02428_combinators_with_over_statement/explain.txt create mode 100644 parser/testdata/02428_decimal_in_floating_point_literal/explain.txt create mode 100644 parser/testdata/02428_delete_with_settings/explain.txt create mode 100644 parser/testdata/02428_index_analysis_with_null_literal/explain.txt create mode 100644 parser/testdata/02428_partial_sort_optimization_bug/explain.txt create mode 100644 parser/testdata/02429_combinators_in_array_reduce/explain.txt create mode 100644 parser/testdata/02429_groupBitmap_chain_state/explain.txt create mode 100644 parser/testdata/02429_offset_pipeline_stuck_bug/explain.txt create mode 100644 parser/testdata/02430_bitmap_transform_exception_code/explain.txt create mode 100644 parser/testdata/02430_initialize_aggregation_with_combinators/explain.txt create mode 100644 parser/testdata/02431_single_value_or_null_empty/explain.txt create mode 100644 parser/testdata/02433_default_expression_operator_in/explain.txt create mode 100644 parser/testdata/02436_system_zookeeper_context/explain.txt create mode 100644 parser/testdata/02438_sync_replica_lightweight/explain.txt create mode 100644 parser/testdata/02439_merge_selecting_partitions/explain.txt create mode 100644 parser/testdata/02440_mutations_finalization/explain.txt create mode 100644 parser/testdata/02441_alter_delete_and_drop_column/explain.txt create mode 100644 parser/testdata/02442_auxiliary_zookeeper_endpoint_id/explain.txt create mode 100644 parser/testdata/02448_clone_replica_lost_part/explain.txt create mode 100644 parser/testdata/02449_check_dependencies_and_table_shutdown/explain.txt create mode 100644 parser/testdata/02451_variadic_null_garbage_data/explain.txt create mode 100644 parser/testdata/02452_check_low_cardinality/explain.txt create mode 100644 parser/testdata/02452_json_utf8_validation/explain.txt create mode 100644 parser/testdata/02453_check_path_in_errors_logger/explain.txt create mode 100644 parser/testdata/02454_compressed_marks_in_compact_part/explain.txt create mode 100644 parser/testdata/02454_disable_mergetree_with_lightweight_delete_column/explain.txt create mode 100644 parser/testdata/02454_json_object_each_row_column_for_object_name/explain.txt create mode 100644 parser/testdata/02455_count_state_asterisk/explain.txt create mode 100644 parser/testdata/02455_duplicate_column_names_in_schema_inference/explain.txt create mode 100644 parser/testdata/02455_extract_fixed_string_from_nested_json/explain.txt create mode 100644 parser/testdata/02455_improve_feedback_when_replacing_partition_with_different_primary_key/explain.txt create mode 100644 parser/testdata/02456_BLAKE3_hash_function_test/explain.txt create mode 100644 parser/testdata/02456_aggregate_state_conversion/explain.txt create mode 100644 parser/testdata/02456_alter-nullable-column-bag-2/explain.txt create mode 100644 parser/testdata/02456_alter-nullable-column-bag/explain.txt create mode 100644 parser/testdata/02456_datetime_schema_inference/explain.txt create mode 100644 parser/testdata/02456_keeper_retries_during_insert/explain.txt create mode 100644 parser/testdata/02456_summing_mt_lc/explain.txt create mode 100644 parser/testdata/02457_datediff_via_unix_epoch/explain.txt create mode 100644 parser/testdata/02457_filesystem_function/explain.txt create mode 100644 parser/testdata/02457_key_condition_with_types_that_cannot_be_nullable/explain.txt create mode 100644 parser/testdata/02457_morton_coding/explain.txt create mode 100644 parser/testdata/02457_morton_coding_with_mask/explain.txt create mode 100644 parser/testdata/02457_parse_date_time_best_effort/explain.txt create mode 100644 parser/testdata/02457_s3_cluster_schema_inference/explain.txt create mode 100644 parser/testdata/02457_tuple_of_intervals/explain.txt create mode 100644 parser/testdata/02458_datediff_date32/explain.txt create mode 100644 parser/testdata/02458_default_setting/explain.txt create mode 100644 parser/testdata/02458_key_condition_not_like_prefix/explain.txt create mode 100644 parser/testdata/02458_relax_too_many_parts/explain.txt create mode 100644 parser/testdata/02458_use_structure_from_insertion_table/explain.txt create mode 100644 parser/testdata/02459_group_by_all/explain.txt create mode 100644 parser/testdata/02459_low_cardinality_uint128_aggregator/explain.txt create mode 100644 parser/testdata/02459_materialized_view_default_value/explain.txt create mode 100644 parser/testdata/02459_read_in_order_bufer/explain.txt create mode 100644 parser/testdata/02460_prewhere_row_level_policy/explain.txt create mode 100644 parser/testdata/02461_alter_update_respect_part_column_type_bug/explain.txt create mode 100644 parser/testdata/02461_join_lc_issue_42380/explain.txt create mode 100644 parser/testdata/02461_mullable_pk_monotonicity_bug/explain.txt create mode 100644 parser/testdata/02461_welch_t_test_fuzz/explain.txt create mode 100644 parser/testdata/02462_match_regexp_pk/explain.txt create mode 100644 parser/testdata/02462_number_to_datetype/explain.txt create mode 100644 parser/testdata/02463_julian_day_ubsan/explain.txt create mode 100644 parser/testdata/02464_decimal_scale_buffer_overflow/explain.txt create mode 100644 parser/testdata/02465_limit_trivial_max_rows_to_read/explain.txt create mode 100644 parser/testdata/02467_cross_join_three_table_functions/explain.txt create mode 100644 parser/testdata/02467_set_with_lowcardinality_type/explain.txt create mode 100644 parser/testdata/02468_has_any_tuple/explain.txt create mode 100644 parser/testdata/02469_fix_aliases_parser/explain.txt create mode 100644 parser/testdata/02469_interval_msan/explain.txt create mode 100644 parser/testdata/02470_suspicious_low_cardinality_msan/explain.txt create mode 100644 parser/testdata/02471_wrong_date_monotonicity/explain.txt create mode 100644 parser/testdata/02472_segfault_expression_parser/explain.txt create mode 100644 parser/testdata/02473_extract_low_cardinality_from_json/explain.txt create mode 100644 parser/testdata/02473_map_element_nullable/explain.txt create mode 100644 parser/testdata/02473_prewhere_with_bigint/explain.txt create mode 100644 parser/testdata/02474_analyzer_subqueries_table_expression_modifiers/explain.txt create mode 100644 parser/testdata/02474_create_user_query_fuzzer_bug/explain.txt create mode 100644 parser/testdata/02474_extract_fixedstring_from_json/explain.txt create mode 100644 parser/testdata/02474_fix_function_parser_bug/explain.txt create mode 100644 parser/testdata/02474_timeDiff_UTCTimestamp/explain.txt create mode 100644 parser/testdata/02474_unhex_in_fix_string/explain.txt create mode 100644 parser/testdata/02475_analysis_of_variance/explain.txt create mode 100644 parser/testdata/02475_analyzer_join_tree_subquery/explain.txt create mode 100644 parser/testdata/02475_analyzer_subquery_compound_expression/explain.txt create mode 100644 parser/testdata/02475_bad_cast_low_cardinality_to_string_bug/explain.txt create mode 100644 parser/testdata/02475_date_time_schema_inference_bug/explain.txt create mode 100644 parser/testdata/02475_join_bug_42832/explain.txt create mode 100644 parser/testdata/02475_or_function_alias_and_const_where/explain.txt create mode 100644 parser/testdata/02475_positive_modulo/explain.txt create mode 100644 parser/testdata/02475_precise_decimal_arithmetics/explain.txt create mode 100644 parser/testdata/02475_split_with_max_substrings/explain.txt create mode 100644 parser/testdata/02476_analyzer_join_with_unused_columns/explain.txt create mode 100644 parser/testdata/02476_fix_cast_parser_bug/explain.txt create mode 100644 parser/testdata/02476_fuse_sum_count/explain.txt create mode 100644 parser/testdata/02476_query_parameters_insert/explain.txt create mode 100644 parser/testdata/02476_query_parameters_without_serialisation/explain.txt create mode 100644 parser/testdata/02477_age/explain.txt create mode 100644 parser/testdata/02477_age_date32/explain.txt create mode 100644 parser/testdata/02477_age_datetime64/explain.txt create mode 100644 parser/testdata/02477_analyzer_array_join_with_join/explain.txt create mode 100644 parser/testdata/02477_analyzer_ast_key_condition_crash/explain.txt create mode 100644 parser/testdata/02477_exists_fuzz_43478/explain.txt create mode 100644 parser/testdata/02477_fuse_quantiles/explain.txt create mode 100644 parser/testdata/02477_invalid_reads/explain.txt create mode 100644 parser/testdata/02477_is_null_parser/explain.txt create mode 100644 parser/testdata/02477_logical_expressions_optimizer_issue_89803/explain.txt create mode 100644 parser/testdata/02477_logical_expressions_optimizer_low_cardinality/explain.txt create mode 100644 parser/testdata/02477_single_value_data_string_regression/explain.txt create mode 100644 parser/testdata/02478_analyzer_table_expression_aliases/explain.txt create mode 100644 parser/testdata/02478_factorial/explain.txt create mode 100644 parser/testdata/02478_projection_and_alter_low_cardinality/explain.txt create mode 100644 parser/testdata/02478_projection_with_group_by_alter/explain.txt create mode 100644 parser/testdata/02479_analyzer_aggregation_crash/explain.txt create mode 100644 parser/testdata/02479_analyzer_aggregation_totals_rollup_crash_fix/explain.txt create mode 100644 parser/testdata/02479_analyzer_join_with_constants/explain.txt create mode 100644 parser/testdata/02479_if_with_null_and_cullable_const/explain.txt create mode 100644 parser/testdata/02479_mysql_connect_to_self/explain.txt create mode 100644 parser/testdata/02479_nullable_primary_key_non_first_column/explain.txt create mode 100644 parser/testdata/02480_analyzer_alias_nullptr/explain.txt create mode 100644 parser/testdata/02480_every_asynchronous_metric_must_have_documentation/explain.txt create mode 100644 parser/testdata/02480_interval_casting_and_subquery/explain.txt create mode 100644 parser/testdata/02480_max_map_null_totals/explain.txt create mode 100644 parser/testdata/02480_parse_date_time_best_effort_math_overflow/explain.txt create mode 100644 parser/testdata/02480_s3_support_wildcard/explain.txt create mode 100644 parser/testdata/02480_suspicious_lowcard_in_key/explain.txt create mode 100644 parser/testdata/02480_tlp_nan/explain.txt create mode 100644 parser/testdata/02481_aggregation_in_order_plan/explain.txt create mode 100644 parser/testdata/02481_analyzer_join_alias_unknown_identifier_crash/explain.txt create mode 100644 parser/testdata/02481_analyzer_optimize_aggregation_arithmetics/explain.txt create mode 100644 parser/testdata/02481_analyzer_optimize_grouping_sets_keys/explain.txt create mode 100644 parser/testdata/02481_array_join_with_map/explain.txt create mode 100644 parser/testdata/02481_default_value_used_in_row_level_filter/explain.txt create mode 100644 parser/testdata/02481_fix_parameters_parsing/explain.txt create mode 100644 parser/testdata/02481_inject_random_order_for_select_without_order_by/explain.txt create mode 100644 parser/testdata/02481_low_cardinality_with_short_circuit_functins/explain.txt create mode 100644 parser/testdata/02481_low_cardinality_with_short_circuit_functins_mutations/explain.txt create mode 100644 parser/testdata/02481_merge_array_join_sample_by/explain.txt create mode 100644 parser/testdata/02481_pk_analysis_with_enum_to_string/explain.txt create mode 100644 parser/testdata/02481_prewhere_filtered_rows_div_by_zero/explain.txt create mode 100644 parser/testdata/02481_s3_throw_if_mismatch_files/explain.txt create mode 100644 parser/testdata/02481_xxh3_hash_function/explain.txt create mode 100644 parser/testdata/02482_execute_functions_before_sorting_bug/explain.txt create mode 100644 parser/testdata/02482_if_with_nothing_argument/explain.txt create mode 100644 parser/testdata/02482_insert_into_dist_race/explain.txt create mode 100644 parser/testdata/02482_value_block_assert/explain.txt create mode 100644 parser/testdata/02483_check_virtuals_shile_using_structure_from_insertion_table/explain.txt create mode 100644 parser/testdata/02483_cuturlparameter_with_arrays/explain.txt create mode 100644 parser/testdata/02483_substitute_udf_create/explain.txt create mode 100644 parser/testdata/02484_substitute_udf_storage_args/explain.txt create mode 100644 parser/testdata/02486_truncate_and_unexpected_parts/explain.txt create mode 100644 parser/testdata/02487_create_index_normalize_functions/explain.txt create mode 100644 parser/testdata/02489_analyzer_indexes/explain.txt create mode 100644 parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain.txt create mode 100644 parser/testdata/02490_replacing_merge_tree_is_deleted_column_transform_opt/explain.txt create mode 100644 parser/testdata/02491_part_log_has_table_uuid/explain.txt create mode 100644 parser/testdata/02493_analyzer_sum_if_to_count_if/explain.txt create mode 100644 parser/testdata/02493_analyzer_table_functions_untuple/explain.txt create mode 100644 parser/testdata/02493_analyzer_uniq_injective_functions_elimination/explain.txt create mode 100644 parser/testdata/02493_do_not_assume_that_the_original_query_was_valid_when_transforming_joins/explain.txt create mode 100644 parser/testdata/02493_max_streams_for_merge_tree_reading/explain.txt create mode 100644 parser/testdata/02493_numeric_literals_with_underscores/explain.txt create mode 100644 parser/testdata/02494_analyzer_compound_expression_crash_fix/explain.txt create mode 100644 parser/testdata/02494_array_function_range/explain.txt create mode 100644 parser/testdata/02494_combinators_with_null_argument/explain.txt create mode 100644 parser/testdata/02494_optimize_group_by_function_keys_and_alias_columns/explain.txt create mode 100644 parser/testdata/02494_parser_string_binary_literal/explain.txt create mode 100644 parser/testdata/02494_query_cache_bugs/explain.txt create mode 100644 parser/testdata/02494_query_cache_case_agnostic_matching/explain.txt create mode 100644 parser/testdata/02494_query_cache_compression/explain.txt create mode 100644 parser/testdata/02494_query_cache_drop_cache/explain.txt create mode 100644 parser/testdata/02494_query_cache_eligible_queries/explain.txt create mode 100644 parser/testdata/02494_query_cache_empty_tuple/explain.txt create mode 100644 parser/testdata/02494_query_cache_events/explain.txt create mode 100644 parser/testdata/02494_query_cache_exception_handling/explain.txt create mode 100644 parser/testdata/02494_query_cache_explain/explain.txt create mode 100644 parser/testdata/02494_query_cache_ignore_output_settings/explain.txt create mode 100644 parser/testdata/02494_query_cache_key/explain.txt create mode 100644 parser/testdata/02494_query_cache_log_comment/explain.txt create mode 100644 parser/testdata/02494_query_cache_metrics/explain.txt create mode 100644 parser/testdata/02494_query_cache_min_query_duration/explain.txt create mode 100644 parser/testdata/02494_query_cache_min_query_runs/explain.txt create mode 100644 parser/testdata/02494_query_cache_nondeterministic_functions/explain.txt create mode 100644 parser/testdata/02494_query_cache_normalize_ast/explain.txt create mode 100644 parser/testdata/02494_query_cache_passive_usage/explain.txt create mode 100644 parser/testdata/02494_query_cache_query_log/explain.txt create mode 100644 parser/testdata/02494_query_cache_secrets/explain.txt create mode 100644 parser/testdata/02494_query_cache_sparse_columns/explain.txt create mode 100644 parser/testdata/02494_query_cache_squash_partial_results/explain.txt create mode 100644 parser/testdata/02494_query_cache_system_tables/explain.txt create mode 100644 parser/testdata/02494_query_cache_tag/explain.txt create mode 100644 parser/testdata/02494_query_cache_totals_extremes/explain.txt create mode 100644 parser/testdata/02494_query_cache_ttl_long/explain.txt create mode 100644 parser/testdata/02494_query_cache_udf_sql/explain.txt create mode 100644 parser/testdata/02494_query_cache_user_quotas/explain.txt create mode 100644 parser/testdata/02494_query_cache_user_quotas_after_drop/explain.txt create mode 100644 parser/testdata/02495_analyzer_storage_join/explain.txt create mode 100644 parser/testdata/02495_concat_with_separator/explain.txt create mode 100644 parser/testdata/02495_s3_filter_by_file/explain.txt create mode 100644 parser/testdata/02495_sum_if_to_count_if_bug/explain.txt create mode 100644 parser/testdata/02496_format_datetime_in_joda_syntax/explain.txt create mode 100644 parser/testdata/02496_from_unixtime_in_joda_syntax/explain.txt create mode 100644 parser/testdata/02496_storage_s3_profile_events/explain.txt create mode 100644 parser/testdata/02497_analyzer_sum_if_count_if_pass_crash_fix/explain.txt create mode 100644 parser/testdata/02497_having_without_actual_aggregation_bug/explain.txt create mode 100644 parser/testdata/02497_if_transform_strings_to_enum/explain.txt create mode 100644 parser/testdata/02497_remote_disk_fat_column/explain.txt create mode 100644 parser/testdata/02497_schema_inference_nulls/explain.txt create mode 100644 parser/testdata/02497_source_part_is_intact_when_mutation/explain.txt create mode 100644 parser/testdata/02497_storage_join_right_assert/explain.txt create mode 100644 parser/testdata/02498_analyzer_aggregate_functions_arithmetic_operations_pass_fix/explain.txt create mode 100644 parser/testdata/02498_analyzer_settings_push_down/explain.txt create mode 100644 parser/testdata/02498_storage_join_key_positions/explain.txt create mode 100644 parser/testdata/02499_analyzer_aggregate_function_lambda_crash_fix/explain.txt create mode 100644 parser/testdata/02499_analyzer_set_index/explain.txt create mode 100644 parser/testdata/02499_escaped_quote_schema_inference/explain.txt create mode 100644 parser/testdata/02499_quantile_nan_ubsan_msan/explain.txt create mode 100644 parser/testdata/02499_read_json_objects_as_strings/explain.txt create mode 100644 parser/testdata/02500_analyzer_storage_view_crash_fix/explain.txt create mode 100644 parser/testdata/02500_prevent_drop_nested_if_empty_part/explain.txt create mode 100644 parser/testdata/02501_analyzer_expired_context_crash_fix/explain.txt create mode 100644 parser/testdata/02501_limits_on_result_for_view/explain.txt create mode 100644 parser/testdata/02502_analyzer_insert_select_crash_fix/explain.txt create mode 100644 parser/testdata/02502_bad_values_schema_inference/explain.txt create mode 100644 parser/testdata/02502_fuzz_bad_cast_to_ast_literal/explain.txt create mode 100644 parser/testdata/02503_bad_compatibility_setting/explain.txt create mode 100644 parser/testdata/02503_in_lc_const_args_bug/explain.txt create mode 100644 parser/testdata/02503_join_switch_alias_fuzz/explain.txt create mode 100644 parser/testdata/02503_mysql_compat_utc_timestamp/explain.txt create mode 100644 parser/testdata/02504_disallow_arrayjoin_in_mutations/explain.txt create mode 100644 parser/testdata/02504_parse_datetime_best_effort_calebeaires/explain.txt create mode 100644 parser/testdata/02504_regexp_dictionary_table_source/explain.txt create mode 100644 parser/testdata/02505_forbid_paths_in_datetime_timezone/explain.txt create mode 100644 parser/testdata/02506_date_time64_floating_point_negative_value/explain.txt create mode 100644 parser/testdata/02507_to_unix_timestamp_overflow/explain.txt create mode 100644 parser/testdata/02508_bad_graphite/explain.txt create mode 100644 parser/testdata/02508_index_analysis_to_date_timezone/explain.txt create mode 100644 parser/testdata/02509_h3_arguments/explain.txt create mode 100644 parser/testdata/02510_group_by_prewhere_null/explain.txt create mode 100644 parser/testdata/02511_complex_literals_as_aggregate_function_parameters/explain.txt create mode 100644 parser/testdata/02512_array_join_name_resolution/explain.txt create mode 100644 parser/testdata/02513_analyzer_duplicate_alias_crash_fix/explain.txt create mode 100644 parser/testdata/02513_analyzer_sort_msan/explain.txt create mode 100644 parser/testdata/02513_broken_datetime64_init_on_mac/explain.txt create mode 100644 parser/testdata/02513_prewhere_combine_step_filters/explain.txt create mode 100644 parser/testdata/02513_validate_data_types/explain.txt create mode 100644 parser/testdata/02514_analyzer_drop_join_on/explain.txt create mode 100644 parser/testdata/02514_bad_index_granularity/explain.txt create mode 100644 parser/testdata/02514_if_with_lazy_low_cardinality/explain.txt create mode 100644 parser/testdata/02514_null_dictionary_source/explain.txt create mode 100644 parser/testdata/02514_tsv_zero_started_number/explain.txt create mode 100644 parser/testdata/02515_aggregate_functions_statistics/explain.txt create mode 100644 parser/testdata/02515_analyzer_null_for_empty/explain.txt create mode 100644 parser/testdata/02515_and_or_if_multiif_not_return_lc/explain.txt create mode 100644 parser/testdata/02515_distinct_zero_size_key_bug_44831/explain.txt create mode 100644 parser/testdata/02515_generate_ulid/explain.txt create mode 100644 parser/testdata/02515_projections_with_totals/explain.txt create mode 100644 parser/testdata/02515_tuple_lambda_parsing/explain.txt create mode 100644 parser/testdata/02516_projections_and_context/explain.txt create mode 100644 parser/testdata/02516_projections_with_rollup/explain.txt create mode 100644 parser/testdata/02517_executable_pool_bad_input_query/explain.txt create mode 100644 parser/testdata/02517_union_columns_order/explain.txt create mode 100644 parser/testdata/02517_uuid_parsing/explain.txt create mode 100644 parser/testdata/02517_wrong_total_structure_crash/explain.txt create mode 100644 parser/testdata/02518_delete_on_materialized_view/explain.txt create mode 100644 parser/testdata/02518_merge_engine_nullable_43324/explain.txt create mode 100644 parser/testdata/02518_qualified_asterisks_alias_table_name/explain.txt create mode 100644 parser/testdata/02518_rewrite_aggregate_function_with_if/explain.txt create mode 100644 parser/testdata/02519_monotonicity_fuzz/explain.txt create mode 100644 parser/testdata/02520_group_array_last/explain.txt create mode 100644 parser/testdata/02521_aggregation_by_partitions/explain.txt create mode 100644 parser/testdata/02521_analyzer_aggregation_without_column/explain.txt create mode 100644 parser/testdata/02521_analyzer_array_join_crash/explain.txt create mode 100644 parser/testdata/02521_cannot_find_column_in_projection/explain.txt create mode 100644 parser/testdata/02521_grouping_sets_plus_memory_efficient_aggr/explain.txt create mode 100644 parser/testdata/02521_lightweight_delete_and_ttl/explain.txt create mode 100644 parser/testdata/02521_to_custom_day_of_week/explain.txt create mode 100644 parser/testdata/02522_different_types_in_storage_merge/explain.txt create mode 100644 parser/testdata/02523_array_shuffle/explain.txt create mode 100644 parser/testdata/02524_fuzz_and_fuss/explain.txt create mode 100644 parser/testdata/02524_fuzz_and_fuss_2/explain.txt create mode 100644 parser/testdata/02525_analyzer_function_in_crash_fix/explain.txt create mode 100644 parser/testdata/02525_different_engines_in_temporary_tables/explain.txt create mode 100644 parser/testdata/02525_jit_logical_functions_nan/explain.txt create mode 100644 parser/testdata/02525_range_hashed_dictionary_update_field/explain.txt create mode 100644 parser/testdata/02526_kv_engine_different_filter_type/explain.txt create mode 100644 parser/testdata/02526_merge_join_int_decimal/explain.txt create mode 100644 parser/testdata/02527_storage_merge_prewhere_different_type/explain.txt create mode 100644 parser/testdata/02530_ip_part_id/explain.txt create mode 100644 parser/testdata/02531_ipv4_arithmetic/explain.txt create mode 100644 parser/testdata/02531_semi_join_null_const_bug/explain.txt create mode 100644 parser/testdata/02531_storage_join_null_44940/explain.txt create mode 100644 parser/testdata/02532_analyzer_aggregation_with_rollup/explain.txt create mode 100644 parser/testdata/02532_profileevents_server_startup_time/explain.txt create mode 100644 parser/testdata/02533_generate_random_schema_inference/explain.txt create mode 100644 parser/testdata/02534_analyzer_grouping_function/explain.txt create mode 100644 parser/testdata/02534_default_granularity/explain.txt create mode 100644 parser/testdata/02534_join_prewhere_bug/explain.txt create mode 100644 parser/testdata/02534_s3_cluster_insert_select_schema_inference/explain.txt create mode 100644 parser/testdata/02534_s3_heap_use_after_free/explain.txt create mode 100644 parser/testdata/02535_analyzer_group_by_use_nulls/explain.txt create mode 100644 parser/testdata/02535_analyzer_limit_offset/explain.txt create mode 100644 parser/testdata/02535_ip_parser_not_whole/explain.txt create mode 100644 parser/testdata/02536_date_from_number_inference_fix/explain.txt create mode 100644 parser/testdata/02536_delta_gorilla_corruption/explain.txt create mode 100644 parser/testdata/02536_distributed_detach_table/explain.txt create mode 100644 parser/testdata/02536_replace_with_nonconst_needle_and_replacement/explain.txt create mode 100644 parser/testdata/02536_system_sync_file_cache/explain.txt create mode 100644 parser/testdata/02537_system_formats/explain.txt create mode 100644 parser/testdata/02538_alter_rename_sequence/explain.txt create mode 100644 parser/testdata/02538_analyzer_create_table_as_select/explain.txt create mode 100644 parser/testdata/02538_ngram_bf_index_with_null/explain.txt create mode 100644 parser/testdata/02538_nullable_array_tuple_timeseries/explain.txt create mode 100644 parser/testdata/02539_generate_random_ip/explain.txt create mode 100644 parser/testdata/02539_generate_random_low_cardinality/explain.txt create mode 100644 parser/testdata/02539_generate_random_map/explain.txt create mode 100644 parser/testdata/02539_vertical_merge_compact_parts/explain.txt create mode 100644 parser/testdata/02540_analyzer_matcher_alias_materialized_columns/explain.txt create mode 100644 parser/testdata/02540_date_column_consistent_insert_behaviour/explain.txt create mode 100644 parser/testdata/02540_duplicate_primary_key/explain.txt create mode 100644 parser/testdata/02540_duplicate_primary_key2/explain.txt create mode 100644 parser/testdata/02541_analyzer_grouping_sets_crash_fix/explain.txt create mode 100644 parser/testdata/02541_empty_function_support_ip/explain.txt create mode 100644 parser/testdata/02541_lightweight_delete_on_cluster/explain.txt create mode 100644 parser/testdata/02541_multiple_ignore_with_nested_select/explain.txt create mode 100644 parser/testdata/02541_tuple_element_with_null/explain.txt create mode 100644 parser/testdata/02542_case_no_else/explain.txt create mode 100644 parser/testdata/02542_transform_new/explain.txt create mode 100644 parser/testdata/02542_transform_old/explain.txt create mode 100644 parser/testdata/02551_ipv4_implicit_uint64/explain.txt create mode 100644 parser/testdata/02552_analyzer_optimize_group_by_function_keys_crash/explain.txt create mode 100644 parser/testdata/02552_check_referential_table_dependencies/explain.txt create mode 100644 parser/testdata/02552_client_format_settings/explain.txt create mode 100644 parser/testdata/02552_inner_join_with_where_true/explain.txt create mode 100644 parser/testdata/02552_regression_crash/explain.txt create mode 100644 parser/testdata/02552_sparse_columns_intersect/explain.txt create mode 100644 parser/testdata/02553_new_type_json_attach_partition/explain.txt create mode 100644 parser/testdata/02554_fix_grouping_sets_predicate_push_down/explain.txt create mode 100644 parser/testdata/02554_format_json_columns_for_empty/explain.txt create mode 100644 parser/testdata/02554_invalid_create_view_syntax/explain.txt create mode 100644 parser/testdata/02554_log_faminy_support_storage_policy/explain.txt create mode 100644 parser/testdata/02554_rewrite_count_distinct_if_with_count_distinct_implementation/explain.txt create mode 100644 parser/testdata/02559_add_parts/explain.txt create mode 100644 parser/testdata/02559_ip_types_bloom/explain.txt create mode 100644 parser/testdata/02559_multiple_read_steps_in_prewhere/explain.txt create mode 100644 parser/testdata/02559_multiple_read_steps_in_prewhere_fuzz/explain.txt create mode 100644 parser/testdata/02559_multiple_read_steps_in_prewhere_missing_columns/explain.txt create mode 100644 parser/testdata/02559_multiple_read_steps_in_prewhere_missing_columns_2/explain.txt create mode 100644 parser/testdata/02559_multiple_read_steps_in_prewhere_reuse_computation/explain.txt create mode 100644 parser/testdata/02559_nested_multiple_levels_default/explain.txt create mode 100644 parser/testdata/02560_agg_state_deserialization_hash_table_crash/explain.txt create mode 100644 parser/testdata/02560_analyzer_materialized_view/explain.txt create mode 100644 parser/testdata/02560_count_digits/explain.txt create mode 100644 parser/testdata/02560_null_as_default/explain.txt create mode 100644 parser/testdata/02560_quantile_min_max/explain.txt create mode 100644 parser/testdata/02560_regexp_denial_of_service/explain.txt create mode 100644 parser/testdata/02560_vertical_merge_memory_usage/explain.txt create mode 100644 parser/testdata/02560_window_ntile/explain.txt create mode 100644 parser/testdata/02560_with_fill_int256_int/explain.txt create mode 100644 parser/testdata/02561_sorting_constants_and_distinct_crash/explain.txt create mode 100644 parser/testdata/02561_with_fill_date_datetime_incompatible/explain.txt create mode 100644 parser/testdata/02562_regexp_extract/explain.txt create mode 100644 parser/testdata/02562_with_fill_nullable/explain.txt create mode 100644 parser/testdata/02563_analyzer_merge/explain.txt create mode 100644 parser/testdata/02564_analyzer_cross_to_inner/explain.txt create mode 100644 parser/testdata/02564_analyzer_ssb_cross_to_inner/explain.txt create mode 100644 parser/testdata/02564_date_format/explain.txt create mode 100644 parser/testdata/02564_read_in_order_final_desc/explain.txt create mode 100644 parser/testdata/02565_analyzer_limit_settings/explain.txt create mode 100644 parser/testdata/02565_update_empty_nested/explain.txt create mode 100644 parser/testdata/02566_analyzer_limit_settings_distributed/explain.txt create mode 100644 parser/testdata/02567_and_consistency/explain.txt create mode 100644 parser/testdata/02568_and_consistency/explain.txt create mode 100644 parser/testdata/02568_array_map_const_low_cardinality/explain.txt create mode 100644 parser/testdata/02568_json_array_length/explain.txt create mode 100644 parser/testdata/02569_order_by_aggregation_result/explain.txt create mode 100644 parser/testdata/02572_materialized_views_ignore_errors/explain.txt create mode 100644 parser/testdata/02572_max_intersections/explain.txt create mode 100644 parser/testdata/02572_system_logs_materialized_views_ignore_errors/explain.txt create mode 100644 parser/testdata/02573_insert_null_as_default_null_as_empty_nested/explain.txt create mode 100644 parser/testdata/02573_quantile_fuse_msan/explain.txt create mode 100644 parser/testdata/02574_suspicious_low_cardinality_msan/explain.txt create mode 100644 parser/testdata/02575_map_hashing_msan/explain.txt create mode 100644 parser/testdata/02575_merge_prewhere_default_expression/explain.txt create mode 100644 parser/testdata/02575_merge_prewhere_different_default_kind/explain.txt create mode 100644 parser/testdata/02575_merge_prewhere_ephemeral/explain.txt create mode 100644 parser/testdata/02575_merge_prewhere_materialized/explain.txt create mode 100644 parser/testdata/02576_predicate_push_down_sorting_fix/explain.txt create mode 100644 parser/testdata/02576_rewrite_array_exists_to_has/explain.txt create mode 100644 parser/testdata/02577_analyzer_array_join_calc_twice/explain.txt create mode 100644 parser/testdata/02577_keepermap_delete_update/explain.txt create mode 100644 parser/testdata/02578_ipv4_codec_t64/explain.txt create mode 100644 parser/testdata/02578_parameterized_rename_queries/explain.txt create mode 100644 parser/testdata/02579_fill_empty_chunk/explain.txt create mode 100644 parser/testdata/02579_fill_empty_chunk_analyzer/explain.txt create mode 100644 parser/testdata/02579_parameterized_replace/explain.txt create mode 100644 parser/testdata/02580_like_substring_search_bug/explain.txt create mode 100644 parser/testdata/02581_share_big_sets_between_multiple_mutations_tasks_long/explain.txt create mode 100644 parser/testdata/02581_share_big_sets_between_mutation_tasks/explain.txt create mode 100644 parser/testdata/02581_share_big_sets_between_mutation_tasks_long/explain.txt create mode 100644 parser/testdata/02581_share_big_sets_between_mutation_tasks_with_storage_set/explain.txt create mode 100644 parser/testdata/02581_width_bucket/explain.txt create mode 100644 parser/testdata/02582_analyzer_join_subquery_empty_column_list/explain.txt create mode 100644 parser/testdata/02582_async_reading_with_small_limit/explain.txt create mode 100644 parser/testdata/02583_map_literal_cast/explain.txt create mode 100644 parser/testdata/02584_range_ipv4/explain.txt create mode 100644 parser/testdata/02586_generate_random_structure/explain.txt create mode 100644 parser/testdata/02587_csv_big_numbers_inference/explain.txt create mode 100644 parser/testdata/02589_bson_invalid_document_size/explain.txt create mode 100644 parser/testdata/02590_bson_duplicate_column/explain.txt create mode 100644 parser/testdata/02591_bson_long_tuple/explain.txt create mode 100644 parser/testdata/02596_build_set_and_remote/explain.txt create mode 100644 parser/testdata/02597_column_update_tricky_expression_and_replication/explain.txt create mode 100644 parser/testdata/02661_quantile_approx/explain.txt create mode 100644 parser/testdata/02662_first_last_value/explain.txt create mode 100644 parser/testdata/02662_sparse_columns_mutations_1/explain.txt create mode 100644 parser/testdata/02662_sparse_columns_mutations_2/explain.txt create mode 100644 parser/testdata/02662_sparse_columns_mutations_3/explain.txt create mode 100644 parser/testdata/02662_sparse_columns_mutations_4/explain.txt create mode 100644 parser/testdata/02662_sparse_columns_mutations_5/explain.txt create mode 100644 parser/testdata/02668_column_block_number/explain.txt create mode 100644 parser/testdata/02668_column_block_number_vertical_merge/explain.txt create mode 100644 parser/testdata/02668_column_block_number_with_projections/explain.txt create mode 100644 parser/testdata/02668_logical_optimizer_removing_redundant_checks/explain.txt create mode 100644 parser/testdata/02668_parse_datetime/explain.txt create mode 100644 parser/testdata/02668_parse_datetime_in_joda_syntax/explain.txt create mode 100644 parser/testdata/02668_ulid_decoding/explain.txt create mode 100644 parser/testdata/02669_alter_modify_to_nullable/explain.txt create mode 100644 parser/testdata/02670_constant_skip_index/explain.txt create mode 100644 parser/testdata/02674_and_consistency/explain.txt create mode 100644 parser/testdata/02674_date_int_string_json_inference/explain.txt create mode 100644 parser/testdata/02674_null_default_structure/explain.txt create mode 100644 parser/testdata/02674_trivial_count_analyzer/explain.txt create mode 100644 parser/testdata/02675_is_ipv6_function_fix/explain.txt create mode 100644 parser/testdata/02675_predicate_push_down_filled_join_fix/explain.txt create mode 100644 parser/testdata/02675_sparse_columns_clear_column/explain.txt create mode 100644 parser/testdata/02676_analyzer_limit_offset/explain.txt create mode 100644 parser/testdata/02676_distinct_reading_in_order_analyzer/explain.txt create mode 100644 parser/testdata/02676_kafka_murmur_hash/explain.txt create mode 100644 parser/testdata/02676_to_decimal_string/explain.txt create mode 100644 parser/testdata/02676_trailing_commas/explain.txt create mode 100644 parser/testdata/02677_analyzer_compound_expressions/explain.txt create mode 100644 parser/testdata/02677_get_subcolumn_array_of_tuples/explain.txt create mode 100644 parser/testdata/02677_grace_hash_limit_race/explain.txt create mode 100644 parser/testdata/02678_explain_pipeline_graph_with_projection/explain.txt create mode 100644 parser/testdata/02679_explain_merge_tree_prewhere_row_policy/explain.txt create mode 100644 parser/testdata/02679_query_parameters_dangling_pointer/explain.txt create mode 100644 parser/testdata/02680_datetime64_monotonic_check/explain.txt create mode 100644 parser/testdata/02680_default_star/explain.txt create mode 100644 parser/testdata/02680_illegal_type_of_filter_projection/explain.txt create mode 100644 parser/testdata/02680_instr_alias_for_position_case_insensitive/explain.txt create mode 100644 parser/testdata/02680_lc_null_as_default/explain.txt create mode 100644 parser/testdata/02680_mysql_ast_logical_err/explain.txt create mode 100644 parser/testdata/02681_aggregation_by_partitions_bug/explain.txt create mode 100644 parser/testdata/02681_comparsion_tuple_elimination_ast/explain.txt create mode 100644 parser/testdata/02681_undrop_query/explain.txt create mode 100644 parser/testdata/02685_decimal256_various/explain.txt create mode 100644 parser/testdata/02688_aggregate_states/explain.txt create mode 100644 parser/testdata/02688_long_aggregate_function_names/explain.txt create mode 100644 parser/testdata/02689_meaningless_data_types/explain.txt create mode 100644 parser/testdata/02690_subquery_identifiers/explain.txt create mode 100644 parser/testdata/02691_drop_column_with_projections_replicated/explain.txt create mode 100644 parser/testdata/02691_multiple_joins_backtick_identifiers/explain.txt create mode 100644 parser/testdata/02692_multiple_joins_unicode/explain.txt create mode 100644 parser/testdata/02693_multiple_joins_in/explain.txt create mode 100644 parser/testdata/02694_wrong_identifier_shouldnt_be_accepted/explain.txt create mode 100644 parser/testdata/02695_logical_optimizer_alias_bug/explain.txt create mode 100644 parser/testdata/02695_storage_join_insert_select_deadlock/explain.txt create mode 100644 parser/testdata/02696_ignore_inacc_tables_mat_view_atttach/explain.txt create mode 100644 parser/testdata/02697_alter_dependencies/explain.txt create mode 100644 parser/testdata/02698_marked_dropped_tables/explain.txt create mode 100644 parser/testdata/02699_polygons_sym_difference_rollup/explain.txt create mode 100644 parser/testdata/02699_polygons_sym_difference_total_analyzer/explain.txt create mode 100644 parser/testdata/02700_regexp_operator/explain.txt create mode 100644 parser/testdata/02701_invalid_having_NOT_AN_AGGREGATE/explain.txt create mode 100644 parser/testdata/02701_non_parametric_function/explain.txt create mode 100644 parser/testdata/02702_logical_optimizer_with_nulls/explain.txt create mode 100644 parser/testdata/02704_storage_merge_explain_graph_crash/explain.txt create mode 100644 parser/testdata/02705_grouping_keys_equal_keys/explain.txt create mode 100644 parser/testdata/02705_projection_and_ast_optimizations_bug/explain.txt create mode 100644 parser/testdata/02705_settings_check_changed_flag/explain.txt create mode 100644 parser/testdata/02706_array_map_tuples/explain.txt create mode 100644 parser/testdata/02706_keeper_map_insert_strict/explain.txt create mode 100644 parser/testdata/02706_kolmogorov_smirnov_test/explain.txt create mode 100644 parser/testdata/02706_show_columns/explain.txt create mode 100644 parser/testdata/02707_keeper_map_delete_update_strict/explain.txt create mode 100644 parser/testdata/02707_skip_index_with_in/explain.txt create mode 100644 parser/testdata/02708_dotProduct/explain.txt create mode 100644 parser/testdata/02708_parallel_replicas_not_found_column/explain.txt create mode 100644 parser/testdata/02709_generate_random_valid_decimals_and_bools/explain.txt create mode 100644 parser/testdata/02709_storage_memory_compressed/explain.txt create mode 100644 parser/testdata/02710_aggregation_nested_map_ip_uuid/explain.txt create mode 100644 parser/testdata/02710_allow_suspicious_indices/explain.txt create mode 100644 parser/testdata/02710_date_diff_aliases/explain.txt create mode 100644 parser/testdata/02710_default_replicated_parameters/explain.txt create mode 100644 parser/testdata/02710_show_table/explain.txt create mode 100644 parser/testdata/02710_topk_with_empty_array/explain.txt create mode 100644 parser/testdata/02711_server_uuid_macro/explain.txt create mode 100644 parser/testdata/02711_soundex_function/explain.txt create mode 100644 parser/testdata/02711_trim_aliases/explain.txt create mode 100644 parser/testdata/02713_array_low_cardinality_string/explain.txt create mode 100644 parser/testdata/02713_sequence_match_serialization_fix/explain.txt create mode 100644 parser/testdata/02714_date_date32_in/explain.txt create mode 100644 parser/testdata/02714_read_bytes_aggregateFunction/explain.txt create mode 100644 parser/testdata/02715_bit_operations_float/explain.txt create mode 100644 parser/testdata/02715_or_null/explain.txt create mode 100644 parser/testdata/02716_create_direct_dict_with_lifetime_throws/explain.txt create mode 100644 parser/testdata/02716_drop_if_empty/explain.txt create mode 100644 parser/testdata/02716_int256_arrayfunc/explain.txt create mode 100644 parser/testdata/02717_pretty_json/explain.txt create mode 100644 parser/testdata/02718_array_fold/explain.txt create mode 100644 parser/testdata/02718_insert_meet_hardware_error/explain.txt create mode 100644 parser/testdata/02719_aggregate_with_empty_string_key/explain.txt create mode 100644 parser/testdata/02720_row_policy_column_with_dots/explain.txt create mode 100644 parser/testdata/02721_url_cluster/explain.txt create mode 100644 parser/testdata/02722_log_profile_events/explain.txt create mode 100644 parser/testdata/02723_jit_aggregation_bug_48120/explain.txt create mode 100644 parser/testdata/02723_parallelize_output_setting/explain.txt create mode 100644 parser/testdata/02723_zookeeper_name/explain.txt create mode 100644 parser/testdata/02724_function_in_left_table_clause_asof_join/explain.txt create mode 100644 parser/testdata/02724_jit_logical_functions/explain.txt create mode 100644 parser/testdata/02724_mutliple_storage_join/explain.txt create mode 100644 parser/testdata/02724_persist_interval_type/explain.txt create mode 100644 parser/testdata/02724_show_indexes/explain.txt create mode 100644 parser/testdata/02725_agg_projection_respect_PK/explain.txt create mode 100644 parser/testdata/02725_alias_columns_should_not_allow_compression_codec/explain.txt create mode 100644 parser/testdata/02725_alias_with_restricted_keywords/explain.txt create mode 100644 parser/testdata/02725_any_join_single_row/explain.txt create mode 100644 parser/testdata/02725_cnf_large_check/explain.txt create mode 100644 parser/testdata/02725_memory-for-merges/explain.txt create mode 100644 parser/testdata/02725_null_group_key_with_rollup/explain.txt create mode 100644 parser/testdata/02725_sleep_max_time/explain.txt create mode 100644 parser/testdata/02725_url_support_virtual_column/explain.txt create mode 100644 parser/testdata/02726_async_insert_flush_queue/explain.txt create mode 100644 parser/testdata/02730_dictionary_hashed_load_factor_element_count/explain.txt create mode 100644 parser/testdata/02730_with_fill_by_sorting_prefix/explain.txt create mode 100644 parser/testdata/02731_auto_convert_dictionary_layout_to_complex_by_complex_keys/explain.txt create mode 100644 parser/testdata/02731_formats_s3/explain.txt create mode 100644 parser/testdata/02731_in_operator_with_one_size_tuple/explain.txt create mode 100644 parser/testdata/02731_nothing_deserialization/explain.txt create mode 100644 parser/testdata/02731_parallel_replicas_join_subquery/explain.txt create mode 100644 parser/testdata/02731_replace_partition_from_temporary_table/explain.txt create mode 100644 parser/testdata/02732_transform_fuzz/explain.txt create mode 100644 parser/testdata/02733_distinct/explain.txt create mode 100644 parser/testdata/02733_fix_distinct_in_order_bug_49622/explain.txt create mode 100644 parser/testdata/02733_sparse_columns_reload/explain.txt create mode 100644 parser/testdata/02734_optimize_group_by/explain.txt create mode 100644 parser/testdata/02734_sparse_columns_mutation/explain.txt create mode 100644 parser/testdata/02734_sparse_columns_short_circuit/explain.txt create mode 100644 parser/testdata/02735_array_map_array_of_tuples/explain.txt create mode 100644 parser/testdata/02735_asof_join_right_null/explain.txt create mode 100644 parser/testdata/02735_parquet_encoder/explain.txt create mode 100644 parser/testdata/02735_system_zookeeper_auxiliary/explain.txt create mode 100644 parser/testdata/02735_system_zookeeper_connection/explain.txt create mode 100644 parser/testdata/02736_bit_count_big_int/explain.txt create mode 100644 parser/testdata/02737_arrayJaccardIndex/explain.txt create mode 100644 parser/testdata/02737_session_timezone/explain.txt create mode 100644 parser/testdata/02737_sql_auto_is_null/explain.txt create mode 100644 parser/testdata/02740_hashed_dictionary_load_factor_smoke/explain.txt create mode 100644 parser/testdata/02746_index_analysis_binary_operator_with_null/explain.txt create mode 100644 parser/testdata/02751_match_constant_needle/explain.txt create mode 100644 parser/testdata/02751_multiif_to_if_crash/explain.txt create mode 100644 parser/testdata/02751_parallel_replicas_bug_chunkinfo_not_set/explain.txt create mode 100644 parser/testdata/02751_query_log_test_partitions/explain.txt create mode 100644 parser/testdata/02752_custom_separated_ignore_spaces_bug/explain.txt create mode 100644 parser/testdata/02752_forbidden_headers/explain.txt create mode 100644 parser/testdata/02752_is_null_priority/explain.txt create mode 100644 parser/testdata/02752_space_function/explain.txt create mode 100644 parser/testdata/02762_replicated_database_no_args/explain.txt create mode 100644 parser/testdata/02763_jit_compare_functions_nan/explain.txt create mode 100644 parser/testdata/02763_mutate_compact_part_with_skip_indices_and_projections/explain.txt create mode 100644 parser/testdata/02764_index_analysis_fix/explain.txt create mode 100644 parser/testdata/02764_parallel_replicas_plain_merge_tree/explain.txt create mode 100644 parser/testdata/02765_parallel_replicas_final_modifier/explain.txt create mode 100644 parser/testdata/02766_bitshift_with_const_arguments/explain.txt create mode 100644 parser/testdata/02768_cse_nested_distributed/explain.txt create mode 100644 parser/testdata/02769_compare_functions_nan/explain.txt create mode 100644 parser/testdata/02769_parallel_replicas_unavailable_shards/explain.txt create mode 100644 parser/testdata/02770_jit_aggregation_nullable_key_fix/explain.txt create mode 100644 parser/testdata/02771_if_constant_folding/explain.txt create mode 100644 parser/testdata/02771_ignore_data_skipping_indices/explain.txt create mode 100644 parser/testdata/02771_jit_functions_comparison_crash/explain.txt create mode 100644 parser/testdata/02771_log_faminy_truncate_count/explain.txt create mode 100644 parser/testdata/02771_parallel_replicas_analyzer/explain.txt create mode 100644 parser/testdata/02771_resolve_compound_identifier/explain.txt create mode 100644 parser/testdata/02771_tsv_csv_custom_skip_trailing_empty_lines/explain.txt create mode 100644 parser/testdata/02772_jit_date_time_add/explain.txt create mode 100644 parser/testdata/02772_s3_crash/explain.txt create mode 100644 parser/testdata/02775_show_columns_called_from_clickhouse/explain.txt create mode 100644 parser/testdata/02780_final_streams_data_skipping_index/explain.txt create mode 100644 parser/testdata/02781_data_skipping_index_merge_tree_min_for_seek/explain.txt create mode 100644 parser/testdata/02782_inconsistent_formatting_and_constant_folding/explain.txt create mode 100644 parser/testdata/02782_values_null_to_lc_nullable/explain.txt create mode 100644 parser/testdata/02783_date_predicate_optimizations/explain.txt create mode 100644 parser/testdata/02783_max_bytes_to_read_in_schema_inference/explain.txt create mode 100644 parser/testdata/02783_parsedatetimebesteffort_syslog/explain.txt create mode 100644 parser/testdata/02784_move_all_conditions_to_prewhere_analyzer_asan/explain.txt create mode 100644 parser/testdata/02784_projections_read_in_order_bug/explain.txt create mode 100644 parser/testdata/02784_schema_inference_null_as_default/explain.txt create mode 100644 parser/testdata/02785_date_predicate_optimizations_ast_query_tree_rewrite/explain.txt create mode 100644 parser/testdata/02785_global_join_too_many_columns/explain.txt create mode 100644 parser/testdata/02785_left_anti_join_bug/explain.txt create mode 100644 parser/testdata/02785_summing_merge_tree_datetime64/explain.txt create mode 100644 parser/testdata/02786_max_execution_time_leaf/explain.txt create mode 100644 parser/testdata/02786_transform_float/explain.txt create mode 100644 parser/testdata/02787_transform_null/explain.txt create mode 100644 parser/testdata/02788_current_schemas_function/explain.txt create mode 100644 parser/testdata/02788_fix_logical_error_in_sorting/explain.txt create mode 100644 parser/testdata/02789_describe_table_settings/explain.txt create mode 100644 parser/testdata/02789_functions_after_sorting_and_columns_with_same_names_bug/explain.txt create mode 100644 parser/testdata/02789_set_index_nullable_condition_bug/explain.txt create mode 100644 parser/testdata/02790_fix_coredump_when_compile_expression/explain.txt create mode 100644 parser/testdata/02790_keyed_hash_bug/explain.txt create mode 100644 parser/testdata/02790_optimize_skip_unused_shards_join/explain.txt create mode 100644 parser/testdata/02790_sql_standard_fetch/explain.txt create mode 100644 parser/testdata/02790_url_multiple_tsv_files/explain.txt create mode 100644 parser/testdata/02791_final_block_structure_mismatch_bug/explain.txt create mode 100644 parser/testdata/02792_alter_table_modify_comment/explain.txt create mode 100644 parser/testdata/02792_drop_projection_lwd/explain.txt create mode 100644 parser/testdata/02794_pushdown_invalid_get/explain.txt create mode 100644 parser/testdata/02795_full_join_assert_cast/explain.txt create mode 100644 parser/testdata/02796_calculate_text_stack_trace/explain.txt create mode 100644 parser/testdata/02796_projection_date_filter_on_view/explain.txt create mode 100644 parser/testdata/02797_aggregator_huge_mem_usage_bug/explain.txt create mode 100644 parser/testdata/02797_range_nullable/explain.txt create mode 100644 parser/testdata/02797_transform_narrow_types/explain.txt create mode 100644 parser/testdata/02798_explain_settings_not_applied_bug/explain.txt create mode 100644 parser/testdata/02798_generic_transform/explain.txt create mode 100644 parser/testdata/02798_substring_index/explain.txt create mode 100644 parser/testdata/02799_transform_empty_arrays/explain.txt create mode 100644 parser/testdata/02800_transform_alter/explain.txt create mode 100644 parser/testdata/02801_transform_nullable/explain.txt create mode 100644 parser/testdata/02802_with_cube_with_totals/explain.txt create mode 100644 parser/testdata/02803_remote_cannot_clone_block/explain.txt create mode 100644 parser/testdata/02804_clusterAllReplicas_insert/explain.txt create mode 100644 parser/testdata/02804_intersect_bad_cast/explain.txt create mode 100644 parser/testdata/02805_distributed_queries_timeouts/explain.txt create mode 100644 parser/testdata/02806_cte_block_cannot_be_empty/explain.txt create mode 100644 parser/testdata/02807_lower_utf8_msan/explain.txt create mode 100644 parser/testdata/02807_math_unary_crash/explain.txt create mode 100644 parser/testdata/02809_has_subsequence/explain.txt create mode 100644 parser/testdata/02809_has_token/explain.txt create mode 100644 parser/testdata/02809_prewhere_and_in/explain.txt create mode 100644 parser/testdata/02809_storage_set_analysis_bug/explain.txt create mode 100644 parser/testdata/02810_convert_uuid_to_uint128/explain.txt create mode 100644 parser/testdata/02810_fix_remove_dedundant_distinct_view/explain.txt create mode 100644 parser/testdata/02810_initcap/explain.txt create mode 100644 parser/testdata/02810_row_binary_with_defaults/explain.txt create mode 100644 parser/testdata/02811_insert_schema_inference/explain.txt create mode 100644 parser/testdata/02811_invalid_embedded_rocksdb_create/explain.txt create mode 100644 parser/testdata/02811_parallel_replicas_prewhere_count/explain.txt create mode 100644 parser/testdata/02811_primary_key_in_columns/explain.txt create mode 100644 parser/testdata/02811_read_in_order_and_array_join_bug/explain.txt create mode 100644 parser/testdata/02812_bug_with_unused_join_columns/explain.txt create mode 100644 parser/testdata/02812_csv_date_time_with_comma/explain.txt create mode 100644 parser/testdata/02812_from_to_utc_timestamp/explain.txt create mode 100644 parser/testdata/02812_large_varints/explain.txt create mode 100644 parser/testdata/02812_pointwise_array_operations/explain.txt create mode 100644 parser/testdata/02812_subquery_operators/explain.txt create mode 100644 parser/testdata/02813_any_value/explain.txt create mode 100644 parser/testdata/02813_array_agg/explain.txt create mode 100644 parser/testdata/02813_array_concat_agg/explain.txt create mode 100644 parser/testdata/02813_create_index_noop/explain.txt create mode 100644 parser/testdata/02813_func_now_and_alias/explain.txt create mode 100644 parser/testdata/02813_func_today_and_alias/explain.txt create mode 100644 parser/testdata/02813_optimize_lazy_materialization/explain.txt create mode 100644 parser/testdata/02813_seriesDecomposeSTL/explain.txt create mode 100644 parser/testdata/02813_seriesOutliersDetectTukey/explain.txt create mode 100644 parser/testdata/02813_series_period_detect/explain.txt create mode 100644 parser/testdata/02813_starting_in_text_log/explain.txt create mode 100644 parser/testdata/02813_system_licenses_base/explain.txt create mode 100644 parser/testdata/02814_ReplacingMergeTree_fix_select_final_on_single_partition/explain.txt create mode 100644 parser/testdata/02814_age_datediff/explain.txt create mode 100644 parser/testdata/02814_create_index_uniq_noop/explain.txt create mode 100644 parser/testdata/02814_currentDatabase_for_table_functions/explain.txt create mode 100644 parser/testdata/02814_order_by_tuple_window_function/explain.txt create mode 100644 parser/testdata/02815_alias_to_length/explain.txt create mode 100644 parser/testdata/02815_analyzer_aggregate_functions_of_group_by_keys/explain.txt create mode 100644 parser/testdata/02815_first_line/explain.txt create mode 100644 parser/testdata/02815_fix_not_found_constants_col_in_block/explain.txt create mode 100644 parser/testdata/02815_join_algorithm_setting/explain.txt create mode 100644 parser/testdata/02815_logical_error_cannot_get_column_name_of_set/explain.txt create mode 100644 parser/testdata/02815_range_dict_no_direct_join/explain.txt create mode 100644 parser/testdata/02816_check_projection_metadata/explain.txt create mode 100644 parser/testdata/02816_has_token_empty/explain.txt create mode 100644 parser/testdata/02816_s2_invalid_point/explain.txt create mode 100644 parser/testdata/02817_group_array_moving_zero_window_size/explain.txt create mode 100644 parser/testdata/02828_create_as_table_function_rename/explain.txt create mode 100644 parser/testdata/02830_insert_values_time_interval/explain.txt create mode 100644 parser/testdata/02831_regexp_analyze_recursion/explain.txt create mode 100644 parser/testdata/02831_trash/explain.txt create mode 100644 parser/testdata/02832_alter_delete_indexes_projections/explain.txt create mode 100644 parser/testdata/02832_integer_type_inference/explain.txt create mode 100644 parser/testdata/02832_transform_fixed_string_no_default/explain.txt create mode 100644 parser/testdata/02833_array_join_columns/explain.txt create mode 100644 parser/testdata/02833_multiprewhere_extra_column/explain.txt create mode 100644 parser/testdata/02833_sparse_columns_tuple_function/explain.txt create mode 100644 parser/testdata/02833_starts_ends_with_utf8/explain.txt create mode 100644 parser/testdata/02833_std_alias/explain.txt create mode 100644 parser/testdata/02833_tuple_concat/explain.txt create mode 100644 parser/testdata/02833_window_func_range_offset/explain.txt create mode 100644 parser/testdata/02834_add_sub_date_functions/explain.txt create mode 100644 parser/testdata/02834_alter_exception/explain.txt create mode 100644 parser/testdata/02834_analyzer_with_statement_references/explain.txt create mode 100644 parser/testdata/02834_apache_arrow_abort/explain.txt create mode 100644 parser/testdata/02834_array_exists_segfault/explain.txt create mode 100644 parser/testdata/02834_formats_with_variable_number_of_columns/explain.txt create mode 100644 parser/testdata/02834_nulls_first_sort/explain.txt create mode 100644 parser/testdata/02834_sparse_columns_sort_with_limit/explain.txt create mode 100644 parser/testdata/02834_timestamp_function/explain.txt create mode 100644 parser/testdata/02835_fuzz_remove_redundant_sorting/explain.txt create mode 100644 parser/testdata/02835_join_step_explain/explain.txt create mode 100644 parser/testdata/02835_nested_array_lowcardinality/explain.txt create mode 100644 parser/testdata/02835_parallel_replicas_over_distributed/explain.txt create mode 100644 parser/testdata/02840_grace_hash_join_structure_mismatch/explain.txt create mode 100644 parser/testdata/02841_group_array_sorted/explain.txt create mode 100644 parser/testdata/02841_join_filter_set_sparse/explain.txt create mode 100644 parser/testdata/02841_not_ready_set_constraints/explain.txt create mode 100644 parser/testdata/02841_not_ready_set_join_on/explain.txt create mode 100644 parser/testdata/02841_parallel_final_wrong_columns_order/explain.txt create mode 100644 parser/testdata/02841_parquet_filter_pushdown/explain.txt create mode 100644 parser/testdata/02841_remote_parameter_parsing_error/explain.txt create mode 100644 parser/testdata/02841_tuple_modulo/explain.txt create mode 100644 parser/testdata/02841_with_clause_resolve/explain.txt create mode 100644 parser/testdata/02842_filesystem_cache_validate_path/explain.txt create mode 100644 parser/testdata/02842_largestTriangleThreeBuckets_aggregate_function/explain.txt create mode 100644 parser/testdata/02842_move_pk_to_end_of_prewhere/explain.txt create mode 100644 parser/testdata/02842_mutations_replace_non_deterministic/explain.txt create mode 100644 parser/testdata/02842_truncate_database/explain.txt create mode 100644 parser/testdata/02842_vertical_merge_after_add_drop_column/explain.txt create mode 100644 parser/testdata/02843_context_has_expired/explain.txt create mode 100644 parser/testdata/02844_distributed_virtual_columns/explain.txt create mode 100644 parser/testdata/02844_subquery_timeout_with_break/explain.txt create mode 100644 parser/testdata/02845_arrayShiftRotate/explain.txt create mode 100644 parser/testdata/02845_domain_rfc_support_ipv6/explain.txt create mode 100644 parser/testdata/02845_group_by_constant_keys/explain.txt create mode 100644 parser/testdata/02845_join_on_cond_sparse/explain.txt create mode 100644 parser/testdata/02845_prewhere_preserve_column/explain.txt create mode 100644 parser/testdata/02860_distributed_flush_on_detach/explain.txt create mode 100644 parser/testdata/02861_filter_pushdown_const_bug/explain.txt create mode 100644 parser/testdata/02861_index_set_incorrect_args/explain.txt create mode 100644 parser/testdata/02861_interpolate_alias_precedence/explain.txt create mode 100644 parser/testdata/02861_replacing_merge_tree_with_cleanup/explain.txt create mode 100644 parser/testdata/02861_uuid_format_serialization/explain.txt create mode 100644 parser/testdata/02862_sorted_distinct_sparse_fix/explain.txt create mode 100644 parser/testdata/02862_uuid_reinterpret_as_numeric/explain.txt create mode 100644 parser/testdata/02863_decode_html_component/explain.txt create mode 100644 parser/testdata/02863_delayed_source_with_totals_and_extremes/explain.txt create mode 100644 parser/testdata/02863_ignore_foreign_keys_in_tables_definition/explain.txt create mode 100644 parser/testdata/02863_interpolate_subquery/explain.txt create mode 100644 parser/testdata/02863_mutation_where_in_set_result_cache_pipeline_stuck_bug/explain.txt create mode 100644 parser/testdata/02863_non_const_timezone_check/explain.txt create mode 100644 parser/testdata/02864_filtered_url_with_globs/explain.txt create mode 100644 parser/testdata/02864_profile_event_part_lock/explain.txt create mode 100644 parser/testdata/02864_replace_regexp_string_fallback/explain.txt create mode 100644 parser/testdata/02864_statistics_bug_67742/explain.txt create mode 100644 parser/testdata/02864_statistics_bug_69589/explain.txt create mode 100644 parser/testdata/02864_statistics_create_materialize_drop/explain.txt create mode 100644 parser/testdata/02864_statistics_ddl/explain.txt create mode 100644 parser/testdata/02864_statistics_delayed_materialization_in_merge/explain.txt create mode 100644 parser/testdata/02864_statistics_predicates/explain.txt create mode 100644 parser/testdata/02864_statistics_usage/explain.txt create mode 100644 parser/testdata/02864_test_ipv4_type_mismatch/explain.txt create mode 100644 parser/testdata/02865_array_join_with_max_block_size/explain.txt create mode 100644 parser/testdata/02866_size_of_marks_skip_idx_explain/explain.txt create mode 100644 parser/testdata/02867_create_user_ssh/explain.txt create mode 100644 parser/testdata/02867_null_lc_in_bug/explain.txt create mode 100644 parser/testdata/02867_nullable_primary_key_final/explain.txt create mode 100644 parser/testdata/02868_distinct_to_count_optimization/explain.txt create mode 100644 parser/testdata/02868_operator_is_not_distinct_from_priority/explain.txt create mode 100644 parser/testdata/02868_select_support_from_keywords/explain.txt create mode 100644 parser/testdata/02869_insert_filenames_collisions/explain.txt create mode 100644 parser/testdata/02869_parallel_replicas_read_from_several/explain.txt create mode 100644 parser/testdata/02869_unicode_minus/explain.txt create mode 100644 parser/testdata/02870_move_partition_to_volume_io_throttling/explain.txt create mode 100644 parser/testdata/02870_per_column_settings/explain.txt create mode 100644 parser/testdata/02871_join_on_system_errors/explain.txt create mode 100644 parser/testdata/02872_gcd_codec/explain.txt create mode 100644 parser/testdata/02872_prewhere_filter/explain.txt create mode 100644 parser/testdata/02873_s3_presigned_url_and_url_with_special_characters/explain.txt create mode 100644 parser/testdata/02874_analysis_of_variance_overflow/explain.txt create mode 100644 parser/testdata/02874_infer_objects_as_named_tuples/explain.txt create mode 100644 parser/testdata/02874_json_merge_patch_function_test/explain.txt create mode 100644 parser/testdata/02874_parse_json_as_json_each_row_on_no_metadata/explain.txt create mode 100644 parser/testdata/02874_toDaysSinceYearZero/explain.txt create mode 100644 parser/testdata/02875_final_invalid_read_ranges_bug/explain.txt create mode 100644 parser/testdata/02875_fix_column_decimal_serialization/explain.txt create mode 100644 parser/testdata/02875_json_array_as_string/explain.txt create mode 100644 parser/testdata/02875_parallel_replicas_cluster_all_replicas/explain.txt create mode 100644 parser/testdata/02875_parallel_replicas_remote/explain.txt create mode 100644 parser/testdata/02876_json_incomplete_types_as_strings_inference/explain.txt create mode 100644 parser/testdata/02876_s3_cluster_schema_inference_names_with_spaces/explain.txt create mode 100644 parser/testdata/02876_sort_union_of_sorted/explain.txt create mode 100644 parser/testdata/02876_yyyymmddhhmmsstodatetime/explain.txt create mode 100644 parser/testdata/02876_yyyymmddtodate/explain.txt create mode 100644 parser/testdata/02880_indexHint__partition_id/explain.txt create mode 100644 parser/testdata/02882_formatQuery/explain.txt create mode 100644 parser/testdata/02882_primary_key_index_in_function_different_types/explain.txt create mode 100644 parser/testdata/02882_replicated_fetch_checksums_doesnt_match/explain.txt create mode 100644 parser/testdata/02883_array_scalar_mult_div_modulo/explain.txt create mode 100644 parser/testdata/02883_read_in_reverse_order_virtual_column/explain.txt create mode 100644 parser/testdata/02884_async_insert_skip_settings/explain.txt create mode 100644 parser/testdata/02884_duplicate_index_name/explain.txt create mode 100644 parser/testdata/02884_interval_operator_support_plural_literal/explain.txt create mode 100644 parser/testdata/02884_parallel_window_functions/explain.txt create mode 100644 parser/testdata/02884_parallel_window_functions_bug/explain.txt create mode 100644 parser/testdata/02884_string_distance_function/explain.txt create mode 100644 parser/testdata/02884_virtual_column_order_by/explain.txt create mode 100644 parser/testdata/02885_arg_min_max_combinator/explain.txt create mode 100644 parser/testdata/02885_create_distributed_table_without_as/explain.txt create mode 100644 parser/testdata/02886_binary_like/explain.txt create mode 100644 parser/testdata/02887_byteswap/explain.txt create mode 100644 parser/testdata/02887_tuple_element_distributed/explain.txt create mode 100644 parser/testdata/02888_integer_type_inference_in_if_function/explain.txt create mode 100644 parser/testdata/02888_obsolete_settings/explain.txt create mode 100644 parser/testdata/02889_datetime64_from_string/explain.txt create mode 100644 parser/testdata/02889_parts_columns_filenames/explain.txt create mode 100644 parser/testdata/02889_print_pretty_type_names/explain.txt create mode 100644 parser/testdata/02889_system_drop_format_schema/explain.txt create mode 100644 parser/testdata/02890_describe_table_options/explain.txt create mode 100644 parser/testdata/02890_named_tuple_functions/explain.txt create mode 100644 parser/testdata/02890_partition_prune_in_extra_columns/explain.txt create mode 100644 parser/testdata/02890_untuple_column_names/explain.txt create mode 100644 parser/testdata/02891_alter_update_adaptive_granularity/explain.txt create mode 100644 parser/testdata/02891_array_shingles/explain.txt create mode 100644 parser/testdata/02891_empty_tuple/explain.txt create mode 100644 parser/testdata/02891_functions_over_sparse_columns/explain.txt create mode 100644 parser/testdata/02892_SummingMergeTree_Nested/explain.txt create mode 100644 parser/testdata/02892_orc_filter_pushdown/explain.txt create mode 100644 parser/testdata/02892_rocksdb_trivial_count/explain.txt create mode 100644 parser/testdata/02893_array_enum_has_hasAny/explain.txt create mode 100644 parser/testdata/02893_bad_sample_view/explain.txt create mode 100644 parser/testdata/02893_system_drop_schema_cache_format/explain.txt create mode 100644 parser/testdata/02893_trash_optimization/explain.txt create mode 100644 parser/testdata/02893_vertical_final_bugs/explain.txt create mode 100644 parser/testdata/02895_cast_operator_bug/explain.txt create mode 100644 parser/testdata/02896_cyclic_aliases_crash/explain.txt create mode 100644 parser/testdata/02896_illegal_sampling/explain.txt create mode 100644 parser/testdata/02896_leading_zeroes_no_octal/explain.txt create mode 100644 parser/testdata/02896_max_execution_time_with_break_overflow_mode/explain.txt create mode 100644 parser/testdata/02896_multiple_OR/explain.txt create mode 100644 parser/testdata/02896_optimize_array_exists_to_has_with_date/explain.txt create mode 100644 parser/testdata/02897_alter_partition_parameters/explain.txt create mode 100644 parser/testdata/02898_parallel_replicas_custom_key_final/explain.txt create mode 100644 parser/testdata/02898_parallel_replicas_progress_bar/explain.txt create mode 100644 parser/testdata/02899_indexing_by_space_filling_curves/explain.txt create mode 100644 parser/testdata/02900_add_subtract_interval_with_string_date/explain.txt create mode 100644 parser/testdata/02900_date_time_check_overflow/explain.txt create mode 100644 parser/testdata/02900_decimal_sort_with_multiple_columns/explain.txt create mode 100644 parser/testdata/02900_issue_55858/explain.txt create mode 100644 parser/testdata/02900_window_function_with_sparse_column/explain.txt create mode 100644 parser/testdata/02901_analyzer_recursive_window/explain.txt create mode 100644 parser/testdata/02901_predicate_pushdown_cte_stateful/explain.txt create mode 100644 parser/testdata/02901_remove_nullable_crash_analyzer/explain.txt create mode 100644 parser/testdata/02902_add_scalar_in_all_case/explain.txt create mode 100644 parser/testdata/02902_diable_apply_deleted_mask/explain.txt create mode 100644 parser/testdata/02902_json_skip_null_values/explain.txt create mode 100644 parser/testdata/02902_select_subcolumns_from_engine_null/explain.txt create mode 100644 parser/testdata/02902_show_databases_limit/explain.txt create mode 100644 parser/testdata/02903_bug_43644/explain.txt create mode 100644 parser/testdata/02905_show_setting_query/explain.txt create mode 100644 parser/testdata/02905_system_logs_hostname/explain.txt create mode 100644 parser/testdata/02906_flatten_only_true_nested/explain.txt create mode 100644 parser/testdata/02906_force_optimize_projection_name/explain.txt create mode 100644 parser/testdata/02906_interval_comparison/explain.txt create mode 100644 parser/testdata/02906_orc_tuple_field_prune/explain.txt create mode 100644 parser/testdata/02907_filter_pushdown_crash/explain.txt create mode 100644 parser/testdata/02907_fromDaysSinceYearZero/explain.txt create mode 100644 parser/testdata/02907_read_buffer_content_is_cached_multiple_blobs/explain.txt create mode 100644 parser/testdata/02908_empty_named_collection/explain.txt create mode 100644 parser/testdata/02908_filesystem_cache_as_collection/explain.txt create mode 100644 parser/testdata/02910_nullable_enum_cast/explain.txt create mode 100644 parser/testdata/02910_prefetch_unexpceted_exception/explain.txt create mode 100644 parser/testdata/02910_replicated_merge_parameters_must_consistent/explain.txt create mode 100644 parser/testdata/02910_rocksdb_optimize/explain.txt create mode 100644 parser/testdata/02911_add_index_and_materialize_index/explain.txt create mode 100644 parser/testdata/02911_analyzer_explain_estimate/explain.txt create mode 100644 parser/testdata/02911_analyzer_order_by_read_in_order_query_plan/explain.txt create mode 100644 parser/testdata/02911_analyzer_remove_unused_projection_columns/explain.txt create mode 100644 parser/testdata/02911_cte_invalid_query_analysis/explain.txt create mode 100644 parser/testdata/02911_join_on_nullsafe_optimization/explain.txt create mode 100644 parser/testdata/02911_row_policy_on_cluster/explain.txt create mode 100644 parser/testdata/02911_support_alias_column_in_indices/explain.txt create mode 100644 parser/testdata/02911_system_symbols/explain.txt create mode 100644 parser/testdata/02912_group_array_sample/explain.txt create mode 100644 parser/testdata/02912_ingestion_mv_deduplication/explain.txt create mode 100644 parser/testdata/02913_sum_map_state/explain.txt create mode 100644 parser/testdata/02915_analyzer_fuzz_1/explain.txt create mode 100644 parser/testdata/02915_analyzer_fuzz_2/explain.txt create mode 100644 parser/testdata/02915_analyzer_fuzz_5/explain.txt create mode 100644 parser/testdata/02915_analyzer_fuzz_6/explain.txt create mode 100644 parser/testdata/02915_move_partition_inactive_replica/explain.txt create mode 100644 parser/testdata/02915_sleep_large_uint/explain.txt create mode 100644 parser/testdata/02916_addcolumn_nested/explain.txt create mode 100644 parser/testdata/02916_analyzer_set_in_join/explain.txt create mode 100644 parser/testdata/02916_another_move_partition_inactive_replica/explain.txt create mode 100644 parser/testdata/02916_csv_infer_numbers_from_strings/explain.txt create mode 100644 parser/testdata/02916_date_text_parsing/explain.txt create mode 100644 parser/testdata/02916_distributed_skip_unavailable_shards/explain.txt create mode 100644 parser/testdata/02916_glogal_in_cancel/explain.txt create mode 100644 parser/testdata/02916_replication_protocol_wait_for_part/explain.txt create mode 100644 parser/testdata/02916_set_formatting/explain.txt create mode 100644 parser/testdata/02916_to_start_of_interval_with_origin/explain.txt create mode 100644 parser/testdata/02917_transform_tsan/explain.txt create mode 100644 parser/testdata/02918_alter_temporary_table/explain.txt create mode 100644 parser/testdata/02918_fuzzjson_table_function/explain.txt create mode 100644 parser/testdata/02918_join_pm_lc_crash/explain.txt create mode 100644 parser/testdata/02918_optimize_count_for_merge_tables/explain.txt create mode 100644 parser/testdata/02918_parallel_replicas_custom_key_unavailable_replica/explain.txt create mode 100644 parser/testdata/02918_wrong_dictionary_source/explain.txt create mode 100644 parser/testdata/02919_alter_temporary_table_with_nondefault_engine/explain.txt create mode 100644 parser/testdata/02919_ddsketch_quantile/explain.txt create mode 100644 parser/testdata/02919_insert_meet_eternal_hardware_error/explain.txt create mode 100644 parser/testdata/02919_segfault_nullable_materialized_update/explain.txt create mode 100644 parser/testdata/02919_storage_fuzzjson/explain.txt create mode 100644 parser/testdata/02920_alter_column_of_projections/explain.txt create mode 100644 parser/testdata/02920_fix_json_merge_patch/explain.txt create mode 100644 parser/testdata/02920_rename_column_of_skip_indices/explain.txt create mode 100644 parser/testdata/02920_unary_operators_functions/explain.txt create mode 100644 parser/testdata/02921_bit_hamming_distance_big_int/explain.txt create mode 100644 parser/testdata/02921_database_filesystem_path_check/explain.txt create mode 100644 parser/testdata/02921_fuzzbits_with_array_join/explain.txt create mode 100644 parser/testdata/02921_parameterized_view_except_queries/explain.txt create mode 100644 parser/testdata/02922_analyzer_aggregate_nothing_type/explain.txt create mode 100644 parser/testdata/02922_respect_nulls_extensive/explain.txt create mode 100644 parser/testdata/02922_respect_nulls_parser/explain.txt create mode 100644 parser/testdata/02922_respect_nulls_states/explain.txt create mode 100644 parser/testdata/02923_cte_equality_disjunction/explain.txt create mode 100644 parser/testdata/02923_explain_expired_context/explain.txt create mode 100644 parser/testdata/02931_alter_materialized_view_query_inconsistent/explain.txt create mode 100644 parser/testdata/02931_max_num_to_warn/explain.txt create mode 100644 parser/testdata/02931_rewrite_sum_column_and_constant/explain.txt create mode 100644 parser/testdata/02931_ubsan_error_arena_aligned_alloc/explain.txt create mode 100644 parser/testdata/02932_analyzer_rewrite_sum_column_and_constant/explain.txt create mode 100644 parser/testdata/02932_apply_deleted_mask/explain.txt create mode 100644 parser/testdata/02932_group_by_null_fuzzer/explain.txt create mode 100644 parser/testdata/02932_idna/explain.txt create mode 100644 parser/testdata/02932_lwd_and_mutations/explain.txt create mode 100644 parser/testdata/02932_materialized_view_with_dropped_target_table_no_exception/explain.txt create mode 100644 parser/testdata/02932_non_ready_set_stuck/explain.txt create mode 100644 parser/testdata/02932_parallel_replicas_fuzzer/explain.txt create mode 100644 parser/testdata/02932_punycode/explain.txt create mode 100644 parser/testdata/02932_query_settings_max_size_drop/explain.txt create mode 100644 parser/testdata/02932_query_settings_max_size_drop_rmt/explain.txt create mode 100644 parser/testdata/02932_set_ttl_where/explain.txt create mode 100644 parser/testdata/02933_compare_with_bool_as_string/explain.txt create mode 100644 parser/testdata/02933_ephemeral_mv/explain.txt create mode 100644 parser/testdata/02933_paste_join/explain.txt create mode 100644 parser/testdata/02933_sqid/explain.txt create mode 100644 parser/testdata/02934_merge_tree_max_projections/explain.txt create mode 100644 parser/testdata/02935_date_trunc_case_unsensitiveness/explain.txt create mode 100644 parser/testdata/02935_format_with_arbitrary_types/explain.txt create mode 100644 parser/testdata/02935_ipv6_from_uint128_equality/explain.txt create mode 100644 parser/testdata/02935_ipv6_from_uint128_one/explain.txt create mode 100644 parser/testdata/02935_ipv6_from_uint128_two/explain.txt create mode 100644 parser/testdata/02935_ipv6_from_uint128_with_bit_and/explain.txt create mode 100644 parser/testdata/02935_ipv6_to_and_from_uint128/explain.txt create mode 100644 parser/testdata/02935_parallel_replicas_settings/explain.txt create mode 100644 parser/testdata/02940_json_array_of_unnamed_tuples_inference/explain.txt create mode 100644 parser/testdata/02940_variant_text_deserialization/explain.txt create mode 100644 parser/testdata/02941_any_RESPECT_NULL_sparse_column/explain.txt create mode 100644 parser/testdata/02941_projections_external_aggregation/explain.txt create mode 100644 parser/testdata/02942_variant_cast/explain.txt create mode 100644 parser/testdata/02943_create_query_interpreter_sample_block_fix/explain.txt create mode 100644 parser/testdata/02943_exprs_order_in_group_by_with_rollup/explain.txt create mode 100644 parser/testdata/02943_order_by_all/explain.txt create mode 100644 parser/testdata/02943_positional_arguments_bugs/explain.txt create mode 100644 parser/testdata/02943_tokenbf_and_ngrambf_indexes_support_match_function/explain.txt create mode 100644 parser/testdata/02943_use_full_text_skip_index_with_has_any/explain.txt create mode 100644 parser/testdata/02943_variant_element/explain.txt create mode 100644 parser/testdata/02944_variant_as_common_type_analyzer/explain.txt create mode 100644 parser/testdata/02945_blake3_msan/explain.txt create mode 100644 parser/testdata/02946_literal_alias_misclassification/explain.txt create mode 100644 parser/testdata/02946_materialize_column_must_not_override_past_values/explain.txt create mode 100644 parser/testdata/02946_merge_tree_final_split_ranges_by_primary_key/explain.txt create mode 100644 parser/testdata/02946_parallel_replicas_distributed/explain.txt create mode 100644 parser/testdata/02946_parallel_replicas_force_primary_key/explain.txt create mode 100644 parser/testdata/02947_dropped_tables_parts/explain.txt create mode 100644 parser/testdata/02947_merge_tree_index_table_1/explain.txt create mode 100644 parser/testdata/02947_merge_tree_index_table_2/explain.txt create mode 100644 parser/testdata/02947_merge_tree_index_table_4/explain.txt create mode 100644 parser/testdata/02947_parallel_replicas_remote/explain.txt create mode 100644 parser/testdata/02949_parallel_replicas_in_subquery/explain.txt create mode 100644 parser/testdata/02949_parallel_replicas_scalar_subquery_big_integer/explain.txt create mode 100644 parser/testdata/02949_ttl_group_by_bug/explain.txt create mode 100644 parser/testdata/02950_dictionary_short_circuit/explain.txt create mode 100644 parser/testdata/02950_parallel_replicas_used_count/explain.txt create mode 100644 parser/testdata/02950_part_offset_as_primary_key/explain.txt create mode 100644 parser/testdata/02950_reading_array_tuple_subcolumns/explain.txt create mode 100644 parser/testdata/02952_conjunction_optimization/explain.txt create mode 100644 parser/testdata/02953_slow_create_view/explain.txt create mode 100644 parser/testdata/02955_avro_format_zstd_encode_support/explain.txt create mode 100644 parser/testdata/02955_sparkBar_alias_sparkbar/explain.txt create mode 100644 parser/testdata/02956_fix_to_start_of_milli_microsecond/explain.txt create mode 100644 parser/testdata/02956_format_constexpr/explain.txt create mode 100644 parser/testdata/02956_rocksdb_with_ttl/explain.txt create mode 100644 parser/testdata/02958_transform_enum/explain.txt create mode 100644 parser/testdata/02959_system_database_engines/explain.txt create mode 100644 parser/testdata/02960_alter_table_part_query_parameter/explain.txt create mode 100644 parser/testdata/02960_partition_by_udf/explain.txt create mode 100644 parser/testdata/02960_validate_database_engines/explain.txt create mode 100644 parser/testdata/02961_analyzer_low_cardinality_fuzzer/explain.txt create mode 100644 parser/testdata/02961_drop_tables/explain.txt create mode 100644 parser/testdata/02961_higher_order_constant_expressions/explain.txt create mode 100644 parser/testdata/02961_read_bool_as_string_json/explain.txt create mode 100644 parser/testdata/02961_sumMapFiltered_keepKey/explain.txt create mode 100644 parser/testdata/02962_analyzer_const_in_count_distinct/explain.txt create mode 100644 parser/testdata/02962_analyzer_constant_set/explain.txt create mode 100644 parser/testdata/02962_analyzer_resolve_group_by_on_shards/explain.txt create mode 100644 parser/testdata/02962_indexHint_rpn_construction/explain.txt create mode 100644 parser/testdata/02962_join_using_bug_57894/explain.txt create mode 100644 parser/testdata/02962_max_joined_block_rows/explain.txt create mode 100644 parser/testdata/02962_parallel_window_functions_different_partitioning/explain.txt create mode 100644 parser/testdata/02963_invalid_identifier/explain.txt create mode 100644 parser/testdata/02963_msan_agg_addBatchLookupTable8/explain.txt create mode 100644 parser/testdata/02963_single_value_destructor/explain.txt create mode 100644 parser/testdata/02963_test_flexible_disk_configuration/explain.txt create mode 100644 parser/testdata/02965_projection_with_partition_pruning/explain.txt create mode 100644 parser/testdata/02966_float32_promotion/explain.txt create mode 100644 parser/testdata/02967_fuzz_bad_cast/explain.txt create mode 100644 parser/testdata/02967_index_hint_crash/explain.txt create mode 100644 parser/testdata/02968_adaptive_async_insert_timeout/explain.txt create mode 100644 parser/testdata/02968_analyzer_join_column_not_found/explain.txt create mode 100644 parser/testdata/02968_full_sorting_join_fuzz/explain.txt create mode 100644 parser/testdata/02968_projection_merge/explain.txt create mode 100644 parser/testdata/02968_sumMap_with_nan/explain.txt create mode 100644 parser/testdata/02968_url_args/explain.txt create mode 100644 parser/testdata/02969_analyzer_eliminate_injective_functions/explain.txt create mode 100644 parser/testdata/02969_functions_to_subcolumns_if_null/explain.txt create mode 100644 parser/testdata/02969_mysql_cast_type_aliases/explain.txt create mode 100644 parser/testdata/02970_generate_series/explain.txt create mode 100644 parser/testdata/02970_visible_width_behavior/explain.txt create mode 100644 parser/testdata/02971_functions_to_subcolumns_column_names/explain.txt create mode 100644 parser/testdata/02971_functions_to_subcolumns_map/explain.txt create mode 100644 parser/testdata/02971_functions_to_subcolumns_variant/explain.txt create mode 100644 parser/testdata/02971_limit_by_distributed/explain.txt create mode 100644 parser/testdata/02972_insert_deduplication_token_hierarchical_inserts/explain.txt create mode 100644 parser/testdata/02972_insert_deduplication_token_hierarchical_inserts_views/explain.txt create mode 100644 parser/testdata/02972_parallel_replicas_cte/explain.txt create mode 100644 parser/testdata/02972_to_string_nullable_timezone/explain.txt create mode 100644 parser/testdata/02973_analyzer_join_use_nulls_column_not_found/explain.txt create mode 100644 parser/testdata/02973_block_number_sparse_serialization_and_mutation/explain.txt create mode 100644 parser/testdata/02973_dictionary_table_exception_fix/explain.txt create mode 100644 parser/testdata/02974_analyzer_array_join_subcolumn/explain.txt create mode 100644 parser/testdata/02974_if_with_map/explain.txt create mode 100644 parser/testdata/02975_intdiv_with_decimal/explain.txt create mode 100644 parser/testdata/02975_system_zookeeper_retries/explain.txt create mode 100644 parser/testdata/02976_system_zookeeper_filters/explain.txt create mode 100644 parser/testdata/02977_csv_format_support_tuple/explain.txt create mode 100644 parser/testdata/02981_nested_bad_types/explain.txt create mode 100644 parser/testdata/02981_translate_fixedstring/explain.txt create mode 100644 parser/testdata/02981_variant_type_function/explain.txt create mode 100644 parser/testdata/02981_vertical_merges_memory_usage/explain.txt create mode 100644 parser/testdata/02982_changeDate/explain.txt create mode 100644 parser/testdata/02982_create_mv_inner_extra/explain.txt create mode 100644 parser/testdata/02982_dont_infer_exponent_floats/explain.txt create mode 100644 parser/testdata/02982_minmax_nan_null_order/explain.txt create mode 100644 parser/testdata/02982_parallel_replicas_unexpected_cluster/explain.txt create mode 100644 parser/testdata/02982_unambiguous_alter_commands/explain.txt create mode 100644 parser/testdata/02983_const_sharding_key/explain.txt create mode 100644 parser/testdata/02983_empty_map/explain.txt create mode 100644 parser/testdata/02983_empty_map_hasToken/explain.txt create mode 100644 parser/testdata/02984_topk_empty_merge/explain.txt create mode 100644 parser/testdata/02985_dialects_with_distributed_tables/explain.txt create mode 100644 parser/testdata/02985_if_over_big_int_decimal/explain.txt create mode 100644 parser/testdata/02985_minmax_index_aggregate_function/explain.txt create mode 100644 parser/testdata/02985_shard_query_start_time/explain.txt create mode 100644 parser/testdata/02986_leftpad_fixedstring/explain.txt create mode 100644 parser/testdata/02987_group_array_intersect/explain.txt create mode 100644 parser/testdata/02987_logical_optimizer_pass_lowcardinality/explain.txt create mode 100644 parser/testdata/02988_join_using_prewhere_pushdown/explain.txt create mode 100644 parser/testdata/02988_ordinary_database_warning/explain.txt create mode 100644 parser/testdata/02989_group_by_tuple/explain.txt create mode 100644 parser/testdata/02989_join_using_parent_scope/explain.txt create mode 100644 parser/testdata/02989_replicated_merge_tree_invalid_metadata_version/explain.txt create mode 100644 parser/testdata/02989_system_tables_metadata_version/explain.txt create mode 100644 parser/testdata/02989_variant_comparison/explain.txt create mode 100644 parser/testdata/02990_arrayFold_nullable_lc/explain.txt create mode 100644 parser/testdata/02990_format_not_precedence/explain.txt create mode 100644 parser/testdata/02990_optimize_uniq_to_count_alias/explain.txt create mode 100644 parser/testdata/02990_parts_splitter_invalid_ranges/explain.txt create mode 100644 parser/testdata/02990_rmt_replica_path_uuid/explain.txt create mode 100644 parser/testdata/02990_variant_where_cond/explain.txt create mode 100644 parser/testdata/02991_count_rewrite_analyzer/explain.txt create mode 100644 parser/testdata/02992_all_columns_should_have_comment/explain.txt create mode 100644 parser/testdata/02992_analyzer_group_by_const/explain.txt create mode 100644 parser/testdata/02992_settings_overflow/explain.txt create mode 100644 parser/testdata/02993_lazy_index_loading/explain.txt create mode 100644 parser/testdata/02993_values_escape_quote/explain.txt create mode 100644 parser/testdata/02994_cosineDistanceNullable/explain.txt create mode 100644 parser/testdata/02994_inconsistent_formatting/explain.txt create mode 100644 parser/testdata/02994_sanity_check_settings/explain.txt create mode 100644 parser/testdata/02995_bad_formatting_union_intersect/explain.txt create mode 100644 parser/testdata/02995_preliminary_filters_duplicated_columns/explain.txt create mode 100644 parser/testdata/02995_preliminary_filters_duplicated_columns_SimpleAggregateFunction/explain.txt create mode 100644 parser/testdata/02996_analyzer_prewhere_projection/explain.txt create mode 100644 parser/testdata/02996_index_compaction_counterexample/explain.txt create mode 100644 parser/testdata/02996_nullable_arrayReduce/explain.txt create mode 100644 parser/testdata/02997_fix_datetime64_scale_conversion/explain.txt create mode 100644 parser/testdata/02997_projections_formatting/explain.txt create mode 100644 parser/testdata/02998_analyzer_prewhere_report/explain.txt create mode 100644 parser/testdata/02998_analyzer_secret_args_tree_node/explain.txt create mode 100644 parser/testdata/02998_ipv6_hashing/explain.txt create mode 100644 parser/testdata/02998_operator_respect_nulls/explain.txt create mode 100644 parser/testdata/02998_pretty_format_print_readable_number_on_single_value/explain.txt create mode 100644 parser/testdata/02998_primary_key_skip_columns/explain.txt create mode 100644 parser/testdata/02998_projection_after_attach_partition/explain.txt create mode 100644 parser/testdata/02998_system_dns_cache_table/explain.txt create mode 100644 parser/testdata/02998_to_milliseconds/explain.txt create mode 100644 parser/testdata/02999_analyzer_preimage_null/explain.txt create mode 100644 parser/testdata/02999_scalar_subqueries_bug_1/explain.txt create mode 100644 parser/testdata/02999_scalar_subqueries_bug_2/explain.txt create mode 100644 parser/testdata/02999_ulid_short_circuit/explain.txt create mode 100644 parser/testdata/02999_variant_suspicious_types/explain.txt create mode 100644 parser/testdata/03000_minmax_index_first/explain.txt create mode 100644 parser/testdata/03000_too_big_max_execution_time_setting/explain.txt create mode 100644 parser/testdata/03000_traverse_shadow_system_data_paths/explain.txt create mode 100644 parser/testdata/03000_virtual_columns_in_prewhere/explain.txt create mode 100644 parser/testdata/03001_block_offset_column_2/explain.txt create mode 100644 parser/testdata/03001_consider_lwd_when_merge/explain.txt create mode 100644 parser/testdata/03001_data_version_column/explain.txt create mode 100644 parser/testdata/03001_insert_threads_deduplication/explain.txt create mode 100644 parser/testdata/03001_max_parallel_replicas_zero_value/explain.txt create mode 100644 parser/testdata/03002_analyzer_prewhere/explain.txt create mode 100644 parser/testdata/03002_filter_skip_virtual_columns_with_non_deterministic_functions/explain.txt create mode 100644 parser/testdata/03002_int_div_decimal_with_date_bug/explain.txt create mode 100644 parser/testdata/03002_map_array_functions_with_low_cardinality/explain.txt create mode 100644 parser/testdata/03002_modify_query_cte/explain.txt create mode 100644 parser/testdata/03002_sample_factor_where/explain.txt create mode 100644 parser/testdata/03003_analyzer_setting/explain.txt create mode 100644 parser/testdata/03003_arrayEnumerate_crash/explain.txt create mode 100644 parser/testdata/03003_compatibility_setting_bad_value/explain.txt create mode 100644 parser/testdata/03003_count_asterisk_filter/explain.txt create mode 100644 parser/testdata/03003_enum_and_string_compatible/explain.txt create mode 100644 parser/testdata/03003_functions_to_subcolumns_final/explain.txt create mode 100644 parser/testdata/03003_sql_json_nonsense/explain.txt create mode 100644 parser/testdata/03004_force_null_for_omitted/explain.txt create mode 100644 parser/testdata/03004_json_named_tuples_inference_ambiguous_paths_as_string/explain.txt create mode 100644 parser/testdata/03005_input_function_in_join/explain.txt create mode 100644 parser/testdata/03006_buffer_overflow_join/explain.txt create mode 100644 parser/testdata/03006_mv_deduplication_throw_if_async_insert/explain.txt create mode 100644 parser/testdata/03006_parallel_replicas_cte_explain_syntax_crash/explain.txt create mode 100644 parser/testdata/03006_parallel_replicas_prewhere/explain.txt create mode 100644 parser/testdata/03007_column_nullable_uninitialzed_value/explain.txt create mode 100644 parser/testdata/03008_deduplication_cases_from_docs/explain.txt create mode 100644 parser/testdata/03008_deduplication_insert_into_partitioned_table/explain.txt create mode 100644 parser/testdata/03008_deduplication_remote_insert_select/explain.txt create mode 100644 parser/testdata/03008_deduplication_wrong_mv/explain.txt create mode 100644 parser/testdata/03008_filter_projections_non_deterministoc_functions/explain.txt create mode 100644 parser/testdata/03008_index_small/explain.txt create mode 100644 parser/testdata/03008_optimize_equal_ranges/explain.txt create mode 100644 parser/testdata/03008_uniq_exact_equal_ranges/explain.txt create mode 100644 parser/testdata/03009_consecutive_keys_nullable/explain.txt create mode 100644 parser/testdata/03009_range_dict_get_or_default/explain.txt create mode 100644 parser/testdata/03009_storage_memory_circ_buffer_usage/explain.txt create mode 100644 parser/testdata/03010_file_log_large_poll_batch_size/explain.txt create mode 100644 parser/testdata/03010_read_system_parts_table_test/explain.txt create mode 100644 parser/testdata/03010_sum_to_to_count_if_nullable/explain.txt create mode 100644 parser/testdata/03010_view_prewhere_in/explain.txt create mode 100644 parser/testdata/03010_virtual_memory_mappings_asynchronous_metrics/explain.txt create mode 100644 parser/testdata/03011_adaptative_timeout_compatibility/explain.txt create mode 100644 parser/testdata/03011_definitive_guide_to_cast/explain.txt create mode 100644 parser/testdata/03012_prewhere_merge_distributed/explain.txt create mode 100644 parser/testdata/03013_addDays_with_timezone/explain.txt create mode 100644 parser/testdata/03013_fuzz_arrayPartialReverseSort/explain.txt create mode 100644 parser/testdata/03013_group_by_use_nulls_with_materialize_and_analyzer/explain.txt create mode 100644 parser/testdata/03013_ignore_drop_queries_probability/explain.txt create mode 100644 parser/testdata/03013_position_const_start_pos/explain.txt create mode 100644 parser/testdata/03013_repeat_with_nonnative_integers/explain.txt create mode 100644 parser/testdata/03013_test_part_level_is_reset_attach_from_disk_mt/explain.txt create mode 100644 parser/testdata/03014_analyzer_group_by_use_nulls/explain.txt create mode 100644 parser/testdata/03014_async_with_dedup_part_log_rmt/explain.txt create mode 100644 parser/testdata/03014_group_by_use_nulls_injective_functions_and_analyzer/explain.txt create mode 100644 parser/testdata/03014_msan_parse_date_time/explain.txt create mode 100644 parser/testdata/03015_aggregator_empty_data_multiple_blocks/explain.txt create mode 100644 parser/testdata/03015_analyzer_groupby_fuzz_60772/explain.txt create mode 100644 parser/testdata/03015_peder1001/explain.txt create mode 100644 parser/testdata/03015_with_fill_invalid_expression/explain.txt create mode 100644 parser/testdata/03017_analyzer_groupby_fuzz_61600/explain.txt create mode 100644 parser/testdata/03018_analyzer_distributed_query_with_positional_arguments/explain.txt create mode 100644 parser/testdata/03019_numbers_pretty/explain.txt create mode 100644 parser/testdata/03020_order_by_SimpleAggregateFunction/explain.txt create mode 100644 parser/testdata/03022_alter_materialized_view_query_has_inner_table/explain.txt create mode 100644 parser/testdata/03022_highlight_digit_groups/explain.txt create mode 100644 parser/testdata/03023_analyzer_optimize_group_by_function_keys_with_nulls/explain.txt create mode 100644 parser/testdata/03023_group_by_use_nulls_analyzer_crashes/explain.txt create mode 100644 parser/testdata/03023_remove_unused_column_distinct/explain.txt create mode 100644 parser/testdata/03024_total_rows_approx_is_set_for_system_zeros_and_generate_random/explain.txt create mode 100644 parser/testdata/03030_system_flush_distributed_settings/explain.txt create mode 100644 parser/testdata/03031_distinguish_bool_and_int_in_settings/explain.txt create mode 100644 parser/testdata/03031_filter_float64_logical_error/explain.txt create mode 100644 parser/testdata/03031_input_format_allow_errors_num_bad_escape_sequence/explain.txt create mode 100644 parser/testdata/03031_low_cardinality_logical_error/explain.txt create mode 100644 parser/testdata/03031_read_in_order_optimization_with_virtual_row/explain.txt create mode 100644 parser/testdata/03031_read_in_order_optimization_with_virtual_row_explain/explain.txt create mode 100644 parser/testdata/03031_read_in_order_optimization_with_virtual_row_special/explain.txt create mode 100644 parser/testdata/03031_table_function_fuzzquery/explain.txt create mode 100644 parser/testdata/03031_tuple_elimination_analyzer/explain.txt create mode 100644 parser/testdata/03032_multi_search_const_low_cardinality/explain.txt create mode 100644 parser/testdata/03032_numbers_zeros/explain.txt create mode 100644 parser/testdata/03032_redundant_equals/explain.txt create mode 100644 parser/testdata/03032_rmt_create_columns_from_replica/explain.txt create mode 100644 parser/testdata/03032_save_bad_json_escape_sequences/explain.txt create mode 100644 parser/testdata/03032_scalars_create_as_select/explain.txt create mode 100644 parser/testdata/03032_storage_memory_modify_settings/explain.txt create mode 100644 parser/testdata/03032_string_to_variant_cast/explain.txt create mode 100644 parser/testdata/03032_variant_bool_number_not_suspicious/explain.txt create mode 100644 parser/testdata/03033_analyzer_merge_engine_filter_push_down/explain.txt create mode 100644 parser/testdata/03033_analyzer_parametrized_view_alias/explain.txt create mode 100644 parser/testdata/03033_analyzer_resolve_from_parent_scope/explain.txt create mode 100644 parser/testdata/03033_create_as_copies_comment/explain.txt create mode 100644 parser/testdata/03033_cte_numbers_memory/explain.txt create mode 100644 parser/testdata/03033_dist_settings.optimize_skip_unused_shards_rewrite_in_composite_sharding_key/explain.txt create mode 100644 parser/testdata/03033_distinct_transform_const_columns/explain.txt create mode 100644 parser/testdata/03033_dynamic_text_serialization/explain.txt create mode 100644 parser/testdata/03033_final_undefined_last_mark/explain.txt create mode 100644 parser/testdata/03033_from_unixtimestamp_joda_by_int64/explain.txt create mode 100644 parser/testdata/03033_index_definition_sql_udf_bug/explain.txt create mode 100644 parser/testdata/03033_lightweight_deletes_sync/explain.txt create mode 100644 parser/testdata/03033_parts_splitter_bug_and_index_loading/explain.txt create mode 100644 parser/testdata/03033_recursive_cte_basic/explain.txt create mode 100644 parser/testdata/03033_scalars_context_data_race/explain.txt create mode 100644 parser/testdata/03033_set_index_in/explain.txt create mode 100644 parser/testdata/03033_tupleIntXYZ_and_tupleModulo/explain.txt create mode 100644 parser/testdata/03033_virtual_column_override/explain.txt create mode 100644 parser/testdata/03033_with_fill_interpolate/explain.txt create mode 100644 parser/testdata/03034_ddls_and_merges_with_unusual_maps/explain.txt create mode 100644 parser/testdata/03034_dynamic_conversions/explain.txt create mode 100644 parser/testdata/03034_json_extract_variant/explain.txt create mode 100644 parser/testdata/03034_normalized_ast/explain.txt create mode 100644 parser/testdata/03034_recursive_cte_tree/explain.txt create mode 100644 parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/explain.txt create mode 100644 parser/testdata/03034_recursive_cte_tree_merge_tree/explain.txt create mode 100644 parser/testdata/03035_alias_column_bug_distributed/explain.txt create mode 100644 parser/testdata/03035_argMinMax_numeric_non_extreme_bug/explain.txt create mode 100644 parser/testdata/03035_dynamic_sorting/explain.txt create mode 100644 parser/testdata/03035_internal_functions_direct_call/explain.txt create mode 100644 parser/testdata/03035_materialized_primary_key/explain.txt create mode 100644 parser/testdata/03035_morton_encode_no_rows/explain.txt create mode 100644 parser/testdata/03036_clamp/explain.txt create mode 100644 parser/testdata/03036_dynamic_read_shared_subcolumns_compact_merge_tree/explain.txt create mode 100644 parser/testdata/03036_dynamic_read_shared_subcolumns_memory/explain.txt create mode 100644 parser/testdata/03036_dynamic_read_shared_subcolumns_wide_merge_tree/explain.txt create mode 100644 parser/testdata/03036_dynamic_read_subcolumns_compact_merge_tree/explain.txt create mode 100644 parser/testdata/03036_dynamic_read_subcolumns_memory/explain.txt create mode 100644 parser/testdata/03036_dynamic_read_subcolumns_wide_merge_tree/explain.txt create mode 100644 parser/testdata/03036_join_filter_push_down_equivalent_sets/explain.txt create mode 100644 parser/testdata/03036_prewhere_lambda_function/explain.txt create mode 100644 parser/testdata/03036_reading_s3_archives/explain.txt create mode 100644 parser/testdata/03036_reading_s3_cluster_archives/explain.txt create mode 100644 parser/testdata/03036_schema_inference_cache_s3_archives/explain.txt create mode 100644 parser/testdata/03036_with_numbers/explain.txt create mode 100644 parser/testdata/03037_dot_product_overflow/explain.txt create mode 100644 parser/testdata/03037_dynamic_merges_1_horizontal_compact_merge_tree/explain.txt create mode 100644 parser/testdata/03037_dynamic_merges_1_horizontal_compact_wide_tree/explain.txt create mode 100644 parser/testdata/03037_dynamic_merges_1_vertical_compact_merge_tree/explain.txt create mode 100644 parser/testdata/03037_dynamic_merges_1_vertical_wide_merge_tree/explain.txt create mode 100644 parser/testdata/03037_dynamic_merges_2_horizontal_compact_merge_tree/explain.txt create mode 100644 parser/testdata/03037_dynamic_merges_2_horizontal_wide_merge_tree/explain.txt create mode 100644 parser/testdata/03037_dynamic_merges_2_vertical_compact_merge_tree/explain.txt create mode 100644 parser/testdata/03037_dynamic_merges_2_vertical_wide_merge_tree/explain.txt create mode 100644 parser/testdata/03037_precent_rank/explain.txt create mode 100644 parser/testdata/03037_s3_write_to_globbed_partitioned_path/explain.txt create mode 100644 parser/testdata/03037_union_view/explain.txt create mode 100644 parser/testdata/03037_zero_step_in_numbers_table_function/explain.txt create mode 100644 parser/testdata/03038_ambiguous_column/explain.txt create mode 100644 parser/testdata/03038_move_partition_to_oneself_deadlock/explain.txt create mode 100644 parser/testdata/03038_nested_dynamic_merges_compact_horizontal/explain.txt create mode 100644 parser/testdata/03038_nested_dynamic_merges_compact_vertical/explain.txt create mode 100644 parser/testdata/03038_nested_dynamic_merges_wide_horizontal/explain.txt create mode 100644 parser/testdata/03038_nested_dynamic_merges_wide_vertical/explain.txt create mode 100644 parser/testdata/03039_unknown_identifier_window_function/explain.txt create mode 100644 parser/testdata/03040_alias_column_join/explain.txt create mode 100644 parser/testdata/03040_array_sum_and_join/explain.txt create mode 100644 parser/testdata/03040_dynamic_type_alters_1_compact_merge_tree/explain.txt create mode 100644 parser/testdata/03040_dynamic_type_alters_1_memory/explain.txt create mode 100644 parser/testdata/03040_dynamic_type_alters_1_wide_merge_tree/explain.txt create mode 100644 parser/testdata/03040_dynamic_type_alters_2_compact_merge_tree/explain.txt create mode 100644 parser/testdata/03040_dynamic_type_alters_2_wide_merge_tree/explain.txt create mode 100644 parser/testdata/03041_analyzer_gigachad_join/explain.txt create mode 100644 parser/testdata/03041_select_with_query_result/explain.txt create mode 100644 parser/testdata/03042_analyzer_alias_join/explain.txt create mode 100644 parser/testdata/03042_not_found_column_c1/explain.txt create mode 100644 parser/testdata/03043_group_array_result_is_expected/explain.txt create mode 100644 parser/testdata/03044_analyzer_alias_join/explain.txt create mode 100644 parser/testdata/03044_array_join_columns_in_nested_table/explain.txt create mode 100644 parser/testdata/03045_analyzer_alias_join_with_if/explain.txt create mode 100644 parser/testdata/03045_unknown_identifier_alias_substitution/explain.txt create mode 100644 parser/testdata/03046_column_in_block_array_join/explain.txt create mode 100644 parser/testdata/03047_analyzer_alias_join/explain.txt create mode 100644 parser/testdata/03047_group_by_field_identified_aggregation/explain.txt create mode 100644 parser/testdata/03047_on_fly_mutations_events/explain.txt create mode 100644 parser/testdata/03047_on_fly_mutations_materialized/explain.txt create mode 100644 parser/testdata/03047_on_fly_mutations_multiple_updates/explain.txt create mode 100644 parser/testdata/03047_on_fly_mutations_multiple_updates_rmt/explain.txt create mode 100644 parser/testdata/03047_on_fly_mutations_non_deterministic/explain.txt create mode 100644 parser/testdata/03047_on_fly_mutations_non_deterministic_replace/explain.txt create mode 100644 parser/testdata/03047_on_fly_mutations_prewhere/explain.txt create mode 100644 parser/testdata/03047_on_fly_mutations_projections/explain.txt create mode 100644 parser/testdata/03047_on_fly_mutations_skip_index/explain.txt create mode 100644 parser/testdata/03047_on_fly_update_delete/explain.txt create mode 100644 parser/testdata/03048_not_found_column_xxx_in_block/explain.txt create mode 100644 parser/testdata/03049_analyzer_group_by_alias/explain.txt create mode 100644 parser/testdata/03049_unknown_identifier_materialized_column/explain.txt create mode 100644 parser/testdata/03050_select_one_one_one/explain.txt create mode 100644 parser/testdata/03051_many_ctes/explain.txt create mode 100644 parser/testdata/03052_query_hash_includes_aliases/explain.txt create mode 100644 parser/testdata/03053_analyzer_join_alias/explain.txt create mode 100644 parser/testdata/03054_analyzer_join_alias/explain.txt create mode 100644 parser/testdata/03055_analyzer_subquery_group_array/explain.txt create mode 100644 parser/testdata/03057_analyzer_subquery_alias_join/explain.txt create mode 100644 parser/testdata/03058_analyzer_ambiguous_columns/explain.txt create mode 100644 parser/testdata/03059_analyzer_join_engine_missing_column/explain.txt create mode 100644 parser/testdata/03060_analyzer_regular_view_alias/explain.txt create mode 100644 parser/testdata/03061_analyzer_alias_as_right_key_in_join/explain.txt create mode 100644 parser/testdata/03062_analyzer_join_engine_missing_column/explain.txt create mode 100644 parser/testdata/03063_analyzer_multi_join_wrong_table_specifier/explain.txt create mode 100644 parser/testdata/03064_analyzer_named_subqueries/explain.txt create mode 100644 parser/testdata/03065_analyzer_cross_join_and_array_join/explain.txt create mode 100644 parser/testdata/03066_analyzer_global_with_statement/explain.txt create mode 100644 parser/testdata/03067_analyzer_complex_alias_join/explain.txt create mode 100644 parser/testdata/03068_analyzer_distributed_join/explain.txt create mode 100644 parser/testdata/03069_analyzer_with_alias_in_array_join/explain.txt create mode 100644 parser/testdata/03070_analyzer_CTE_scalar_as_numbers/explain.txt create mode 100644 parser/testdata/03071_analyzer_array_join_forbid_non_existing_columns/explain.txt create mode 100644 parser/testdata/03071_fix_short_circuit_logic/explain.txt create mode 100644 parser/testdata/03072_analyzer_missing_columns_from_subquery/explain.txt create mode 100644 parser/testdata/03073_analyzer_alias_as_column_name/explain.txt create mode 100644 parser/testdata/03074_analyzer_alias_column_in_view/explain.txt create mode 100644 parser/testdata/03075_analyzer_subquery_alias/explain.txt create mode 100644 parser/testdata/03076_analyzer_multiple_joins_alias/explain.txt create mode 100644 parser/testdata/03077_analyzer_multi_scalar_subquery_aliases/explain.txt create mode 100644 parser/testdata/03078_analyzer_multi_scalar_subquery_aliases/explain.txt create mode 100644 parser/testdata/03079_analyzer_numeric_literals_as_column_names/explain.txt create mode 100644 parser/testdata/03080_analyzer_prefer_column_name_to_alias__virtual_columns/explain.txt create mode 100644 parser/testdata/03080_incorrect_join_with_merge/explain.txt create mode 100644 parser/testdata/03081_analyzer_agg_func_CTE/explain.txt create mode 100644 parser/testdata/03082_analyzer_left_join_correct_column/explain.txt create mode 100644 parser/testdata/03084_analyzer_join_column_alias/explain.txt create mode 100644 parser/testdata/03085_analyzer_alias_column_group_by/explain.txt create mode 100644 parser/testdata/03086_analyzer_window_func_part_of_group_by/explain.txt create mode 100644 parser/testdata/03087_analyzer_subquery_with_alias/explain.txt create mode 100644 parser/testdata/03088_analyzer_ambiguous_column_multi_call/explain.txt create mode 100644 parser/testdata/03089_analyzer_alias_replacement/explain.txt create mode 100644 parser/testdata/03090_analyzer_multiple_using_statements/explain.txt create mode 100644 parser/testdata/03091_analyzer_same_table_name_in_different_databases/explain.txt create mode 100644 parser/testdata/03092_analyzer_same_table_name_in_different_databases/explain.txt create mode 100644 parser/testdata/03093_analyzer_column_alias/explain.txt create mode 100644 parser/testdata/03093_analyzer_miel_test/explain.txt create mode 100644 parser/testdata/03093_bug_gcd_codec/explain.txt create mode 100644 parser/testdata/03093_reading_bug_with_parallel_replicas/explain.txt create mode 100644 parser/testdata/03093_special_column_errors/explain.txt create mode 100644 parser/testdata/03093_virtual_column_override_group_by/explain.txt create mode 100644 parser/testdata/03093_with_fill_support_constant_expression/explain.txt create mode 100644 parser/testdata/03094_analyzer_fiddle_multiif/explain.txt create mode 100644 parser/testdata/03094_grouparraysorted_memory/explain.txt create mode 100644 parser/testdata/03094_one_thousand_joins/explain.txt create mode 100644 parser/testdata/03094_transform_return_first/explain.txt create mode 100644 parser/testdata/03094_virtual_column_table_name/explain.txt create mode 100644 parser/testdata/03095_group_by_server_constants_bug/explain.txt create mode 100644 parser/testdata/03095_join_filter_push_down_right_stream_filled/explain.txt create mode 100644 parser/testdata/03095_merge_and_buffer_tables/explain.txt create mode 100644 parser/testdata/03095_msan_uuid_string_to_num/explain.txt create mode 100644 parser/testdata/03095_window_functions_qualify/explain.txt create mode 100644 parser/testdata/03096_largest_triangle_3b_crash/explain.txt create mode 100644 parser/testdata/03096_order_by_system_tables/explain.txt create mode 100644 parser/testdata/03096_update_non_indexed_columns/explain.txt create mode 100644 parser/testdata/03097_query_log_join_processes/explain.txt create mode 100644 parser/testdata/03098_prefer_column_to_alias_subquery/explain.txt create mode 100644 parser/testdata/03099_analyzer_multi_join/explain.txt create mode 100644 parser/testdata/03100_analyzer_constants_in_multiif/explain.txt create mode 100644 parser/testdata/03100_lwu_01_basics/explain.txt create mode 100644 parser/testdata/03100_lwu_02_basics/explain.txt create mode 100644 parser/testdata/03100_lwu_03_join/explain.txt create mode 100644 parser/testdata/03100_lwu_04_prewhere/explain.txt create mode 100644 parser/testdata/03100_lwu_05_basics/explain.txt create mode 100644 parser/testdata/03100_lwu_06_apply_patches/explain.txt create mode 100644 parser/testdata/03100_lwu_07_merge_patches/explain.txt create mode 100644 parser/testdata/03100_lwu_08_multiple_blocks/explain.txt create mode 100644 parser/testdata/03100_lwu_09_different_structure/explain.txt create mode 100644 parser/testdata/03100_lwu_10_apply_on_merges/explain.txt create mode 100644 parser/testdata/03100_lwu_12_sequential_consistency/explain.txt create mode 100644 parser/testdata/03100_lwu_18_sequence/explain.txt create mode 100644 parser/testdata/03100_lwu_19_nullable/explain.txt create mode 100644 parser/testdata/03100_lwu_20_different_structure/explain.txt create mode 100644 parser/testdata/03100_lwu_22_detach_attach_patches/explain.txt create mode 100644 parser/testdata/03100_lwu_23_apply_patches/explain.txt create mode 100644 parser/testdata/03100_lwu_26_subcolumns/explain.txt create mode 100644 parser/testdata/03100_lwu_27_update_after_on_fly_mutations/explain.txt create mode 100644 parser/testdata/03100_lwu_30_join_cache/explain.txt create mode 100644 parser/testdata/03100_lwu_31_merge_memory_usage/explain.txt create mode 100644 parser/testdata/03100_lwu_32_on_fly_filter/explain.txt create mode 100644 parser/testdata/03100_lwu_33_add_column/explain.txt create mode 100644 parser/testdata/03100_lwu_34_multistep_prewhere/explain.txt create mode 100644 parser/testdata/03100_lwu_35_lock_profile_events/explain.txt create mode 100644 parser/testdata/03100_lwu_36_json_skip_indexes/explain.txt create mode 100644 parser/testdata/03100_lwu_37_update_all_columns/explain.txt create mode 100644 parser/testdata/03100_lwu_38_replacing/explain.txt create mode 100644 parser/testdata/03100_lwu_39_after_replace_partition/explain.txt create mode 100644 parser/testdata/03100_lwu_41_bytes_limits/explain.txt create mode 100644 parser/testdata/03100_lwu_43_subquery_from_rmt/explain.txt create mode 100644 parser/testdata/03100_lwu_44_missing_default/explain.txt create mode 100644 parser/testdata/03100_lwu_45_query_condition_cache/explain.txt create mode 100644 parser/testdata/03100_lwu_46_deletes_skip_indexes/explain.txt create mode 100644 parser/testdata/03100_lwu_deletes_1/explain.txt create mode 100644 parser/testdata/03100_lwu_deletes_2/explain.txt create mode 100644 parser/testdata/03100_lwu_deletes_3/explain.txt create mode 100644 parser/testdata/03100_lwu_deletes_4_index/explain.txt create mode 100644 parser/testdata/03100_lwu_deletes_5_vertical_merge/explain.txt create mode 100644 parser/testdata/03101_analyzer_identifiers_1/explain.txt create mode 100644 parser/testdata/03101_analyzer_identifiers_2/explain.txt create mode 100644 parser/testdata/03101_analyzer_identifiers_3/explain.txt create mode 100644 parser/testdata/03101_analyzer_identifiers_4/explain.txt create mode 100644 parser/testdata/03101_analyzer_invalid_join_on/explain.txt create mode 100644 parser/testdata/03102_prefer_column_name_to_alias/explain.txt create mode 100644 parser/testdata/03103_positional_arguments/explain.txt create mode 100644 parser/testdata/03104_create_view_join/explain.txt create mode 100644 parser/testdata/03105_table_aliases_in_mv/explain.txt create mode 100644 parser/testdata/03107_ill_formed_select_in_materialized_view/explain.txt create mode 100644 parser/testdata/03108_describe_union_all/explain.txt create mode 100644 parser/testdata/03109_ast_too_big/explain.txt create mode 100644 parser/testdata/03110_unicode_alias/explain.txt create mode 100644 parser/testdata/03111_inner_join_group_by/explain.txt create mode 100644 parser/testdata/03112_analyzer_not_found_column_in_block/explain.txt create mode 100644 parser/testdata/03113_analyzer_not_found_column_in_block_2/explain.txt create mode 100644 parser/testdata/03114_analyzer_cte_with_join/explain.txt create mode 100644 parser/testdata/03115_alias_exists_column/explain.txt create mode 100644 parser/testdata/03116_analyzer_explicit_alias_as_column_name/explain.txt create mode 100644 parser/testdata/03117_analyzer_same_column_name_as_func/explain.txt create mode 100644 parser/testdata/03118_analyzer_multi_join_prewhere/explain.txt create mode 100644 parser/testdata/03119_analyzer_window_function_in_CTE_alias/explain.txt create mode 100644 parser/testdata/03120_analyzer_dist_join/explain.txt create mode 100644 parser/testdata/03120_analyzer_param_in_CTE_alias/explain.txt create mode 100644 parser/testdata/03121_analyzer_filed_redefenition_in_subquery/explain.txt create mode 100644 parser/testdata/03122_analyzer_collate_in_window_function/explain.txt create mode 100644 parser/testdata/03123_analyzer_dist_join_CTE/explain.txt create mode 100644 parser/testdata/03124_analyzer_nested_CTE_dist_in/explain.txt create mode 100644 parser/testdata/03125_analyzer_CTE_two_joins/explain.txt create mode 100644 parser/testdata/03126_column_not_under_group_by/explain.txt create mode 100644 parser/testdata/03127_argMin_combinator_state/explain.txt create mode 100644 parser/testdata/03127_system_unload_primary_key_table/explain.txt create mode 100644 parser/testdata/03127_window_functions_uint16/explain.txt create mode 100644 parser/testdata/03128_argMin_combinator_projection/explain.txt create mode 100644 parser/testdata/03128_merge_tree_index_lazy_load/explain.txt create mode 100644 parser/testdata/03128_system_unload_primary_key/explain.txt create mode 100644 parser/testdata/03129_cte_with_final/explain.txt create mode 100644 parser/testdata/03129_low_cardinality_nullable_non_first_primary_key/explain.txt create mode 100644 parser/testdata/03129_serial_test_zookeeper/explain.txt create mode 100644 parser/testdata/03129_update_nested_materialized_column_check/explain.txt create mode 100644 parser/testdata/03130_abs_in_key_condition_bug/explain.txt create mode 100644 parser/testdata/03130_analyzer_array_join_prefer_column/explain.txt create mode 100644 parser/testdata/03130_analyzer_self_join_group_by/explain.txt create mode 100644 parser/testdata/03130_convert_outer_join_to_inner_join/explain.txt create mode 100644 parser/testdata/03130_generateSnowflakeId/explain.txt create mode 100644 parser/testdata/03131_deprecated_functions/explain.txt create mode 100644 parser/testdata/03131_hilbert_coding/explain.txt create mode 100644 parser/testdata/03131_rewrite_sum_if_nullable/explain.txt create mode 100644 parser/testdata/03132_jit_sort_description_crash_fix/explain.txt create mode 100644 parser/testdata/03132_rewrite_aggregate_function_with_if_implicit_cast/explain.txt create mode 100644 parser/testdata/03132_sqlancer_union_all/explain.txt create mode 100644 parser/testdata/03141_fetches_errors_stress/explain.txt create mode 100644 parser/testdata/03141_wildcard_grants/explain.txt create mode 100644 parser/testdata/03142_alter_comment_parameterized_view/explain.txt create mode 100644 parser/testdata/03142_skip_ANSI_in_UTF8_compute_width/explain.txt create mode 100644 parser/testdata/03142_untuple_crash/explain.txt create mode 100644 parser/testdata/03142_window_function_limit_by/explain.txt create mode 100644 parser/testdata/03143_asof_join_ddb_long/explain.txt create mode 100644 parser/testdata/03143_cte_scope/explain.txt create mode 100644 parser/testdata/03143_group_by_constant_secondary/explain.txt create mode 100644 parser/testdata/03143_join_filter_push_down_filled_join_fix/explain.txt create mode 100644 parser/testdata/03143_parallel_replicas_mat_view_bug/explain.txt create mode 100644 parser/testdata/03143_ttl_in_system_parts_columns_table/explain.txt create mode 100644 parser/testdata/03143_window_functions_qualify_validation/explain.txt create mode 100644 parser/testdata/03144_aggregate_states_with_different_types/explain.txt create mode 100644 parser/testdata/03144_alter_column_and_read/explain.txt create mode 100644 parser/testdata/03144_asof_join_ddb_doubles/explain.txt create mode 100644 parser/testdata/03144_fuzz_quoted_type_name/explain.txt create mode 100644 parser/testdata/03144_invalid_filter/explain.txt create mode 100644 parser/testdata/03145_asof_join_ddb_inequalities/explain.txt create mode 100644 parser/testdata/03145_unicode_quotes/explain.txt create mode 100644 parser/testdata/03146_bug47862/explain.txt create mode 100644 parser/testdata/03146_create_index_compatibility/explain.txt create mode 100644 parser/testdata/03146_parameterized_view_with_date/explain.txt create mode 100644 parser/testdata/03146_tpc_ds_grouping/explain.txt create mode 100644 parser/testdata/03147_asof_join_ddb_missing/explain.txt create mode 100644 parser/testdata/03147_datetime64_constant_index_analysis/explain.txt create mode 100644 parser/testdata/03147_parquet_memory_tracking/explain.txt create mode 100644 parser/testdata/03147_rows_before_limit_fix/explain.txt create mode 100644 parser/testdata/03147_table_function_loop/explain.txt create mode 100644 parser/testdata/03147_table_function_loop_remote_storage/explain.txt create mode 100644 parser/testdata/03148_asof_join_ddb_subquery/explain.txt create mode 100644 parser/testdata/03148_mutations_virtual_columns/explain.txt create mode 100644 parser/testdata/03148_query_log_used_dictionaries/explain.txt create mode 100644 parser/testdata/03148_setting_max_streams_to_max_threads_ratio_overflow/explain.txt create mode 100644 parser/testdata/03149_analyzer_join_projection_name/explain.txt create mode 100644 parser/testdata/03149_analyzer_join_projection_name_2/explain.txt create mode 100644 parser/testdata/03149_analyzer_window_redefinition/explain.txt create mode 100644 parser/testdata/03149_asof_join_ddb_timestamps/explain.txt create mode 100644 parser/testdata/03149_variant_pop_back_typo/explain.txt create mode 100644 parser/testdata/03150_dynamic_type_mv_insert/explain.txt create mode 100644 parser/testdata/03150_grouping_sets_use_nulls_pushdown/explain.txt create mode 100644 parser/testdata/03150_infer_type_variant/explain.txt create mode 100644 parser/testdata/03150_trace_log_add_build_id/explain.txt create mode 100644 parser/testdata/03150_url_hash_non_constant_level/explain.txt create mode 100644 parser/testdata/03151_analyzer_view_read_only_necessary_columns/explain.txt create mode 100644 parser/testdata/03151_dynamic_type_scale_max_types/explain.txt create mode 100644 parser/testdata/03151_external_cross_join/explain.txt create mode 100644 parser/testdata/03151_pmj_join_non_procssed_clash/explain.txt create mode 100644 parser/testdata/03151_redundant_distinct_with_window/explain.txt create mode 100644 parser/testdata/03152_analyzer_columns_list/explain.txt create mode 100644 parser/testdata/03152_dynamic_type_simple/explain.txt create mode 100644 parser/testdata/03152_join_filter_push_down_equivalent_columns/explain.txt create mode 100644 parser/testdata/03152_trailing_comma_in_columns_list_in_insert/explain.txt create mode 100644 parser/testdata/03153_dynamic_type_empty/explain.txt create mode 100644 parser/testdata/03153_trailing_comma_in_values_list_in_insert/explain.txt create mode 100644 parser/testdata/03154_recursive_cte_distributed/explain.txt create mode 100644 parser/testdata/03155_analyzer_interpolate/explain.txt create mode 100644 parser/testdata/03155_datasketches_ubsan/explain.txt create mode 100644 parser/testdata/03155_explain_current_transaction/explain.txt create mode 100644 parser/testdata/03155_in_nested_subselects/explain.txt create mode 100644 parser/testdata/03156_analyzer_array_join_distributed/explain.txt create mode 100644 parser/testdata/03156_group_concat/explain.txt create mode 100644 parser/testdata/03156_nullable_number_tips/explain.txt create mode 100644 parser/testdata/03156_tuple_map_low_cardinality/explain.txt create mode 100644 parser/testdata/03157_dynamic_type_json/explain.txt create mode 100644 parser/testdata/03157_negative_positional_arguments_ubsan/explain.txt create mode 100644 parser/testdata/03158_dynamic_type_from_variant/explain.txt create mode 100644 parser/testdata/03159_dynamic_type_all_types/explain.txt create mode 100644 parser/testdata/03160_dynamic_type_agg/explain.txt create mode 100644 parser/testdata/03161_cnf_reduction/explain.txt create mode 100644 parser/testdata/03161_create_table_as_mv/explain.txt create mode 100644 parser/testdata/03161_decimal_binary_math/explain.txt create mode 100644 parser/testdata/03161_ipv4_ipv6_equality/explain.txt create mode 100644 parser/testdata/03161_lightweight_delete_projection/explain.txt create mode 100644 parser/testdata/03162_dynamic_type_nested/explain.txt create mode 100644 parser/testdata/03163_dynamic_as_supertype/explain.txt create mode 100644 parser/testdata/03164_adapting_parquet_reader_output_size/explain.txt create mode 100644 parser/testdata/03164_analyzer_global_in_alias/explain.txt create mode 100644 parser/testdata/03164_analyzer_rewrite_aggregate_function_with_if/explain.txt create mode 100644 parser/testdata/03164_analyzer_validate_tree_size/explain.txt create mode 100644 parser/testdata/03164_create_as_default/explain.txt create mode 100644 parser/testdata/03164_early_constant_folding_analyzer/explain.txt create mode 100644 parser/testdata/03164_linestring_geometry/explain.txt create mode 100644 parser/testdata/03164_materialize_skip_index/explain.txt create mode 100644 parser/testdata/03164_materialize_skip_index_on_merge/explain.txt create mode 100644 parser/testdata/03164_optimize_read_in_order_nullable/explain.txt create mode 100644 parser/testdata/03164_orc_signedness/explain.txt create mode 100644 parser/testdata/03164_parallel_replicas_range_filter_min_max/explain.txt create mode 100644 parser/testdata/03164_s3_settings_for_queries_and_merges/explain.txt create mode 100644 parser/testdata/03165_distinct_with_window_func_crash/explain.txt create mode 100644 parser/testdata/03165_order_by_duplicate/explain.txt create mode 100644 parser/testdata/03165_parseReadableSize/explain.txt create mode 100644 parser/testdata/03165_round_scale_as_column/explain.txt create mode 100644 parser/testdata/03165_storage_merge_view_prewhere/explain.txt create mode 100644 parser/testdata/03165_string_functions_with_token_text_indexes/explain.txt create mode 100644 parser/testdata/03166_mv_prewhere_duplicating_name_bug/explain.txt create mode 100644 parser/testdata/03166_optimize_row_order_during_insert/explain.txt create mode 100644 parser/testdata/03166_skip_indexes_vertical_merge_1/explain.txt create mode 100644 parser/testdata/03166_skip_indexes_vertical_merge_2/explain.txt create mode 100644 parser/testdata/03167_base64_url_functions/explain.txt create mode 100644 parser/testdata/03167_empty_tuple_concat/explain.txt create mode 100644 parser/testdata/03167_fancy_quotes_off_by_one/explain.txt create mode 100644 parser/testdata/03167_parametrized_view_with_cte/explain.txt create mode 100644 parser/testdata/03167_transactions_are_really_disabled/explain.txt create mode 100644 parser/testdata/03168_attach_as_replicated_materialized_view/explain.txt create mode 100644 parser/testdata/03168_cld2_tsan/explain.txt create mode 100644 parser/testdata/03168_inconsistent_ast_formatting/explain.txt create mode 100644 parser/testdata/03168_loop_engine_with_parallel_replicas/explain.txt create mode 100644 parser/testdata/03168_read_in_order_buffering_1/explain.txt create mode 100644 parser/testdata/03168_read_in_order_buffering_2/explain.txt create mode 100644 parser/testdata/03169_cache_complex_dict_short_circuit_bug/explain.txt create mode 100644 parser/testdata/03169_display_column_names_in_footer/explain.txt create mode 100644 parser/testdata/03169_modify_column_data_loss/explain.txt create mode 100644 parser/testdata/03169_optimize_injective_functions_inside_uniq_crash/explain.txt create mode 100644 parser/testdata/03170_part_offset_as_table_column/explain.txt create mode 100644 parser/testdata/03171_condition_pushdown/explain.txt create mode 100644 parser/testdata/03171_direct_dict_short_circuit_bug/explain.txt create mode 100644 parser/testdata/03171_function_to_subcolumns_fuzzer/explain.txt create mode 100644 parser/testdata/03171_hashed_dictionary_short_circuit_bug_fix/explain.txt create mode 100644 parser/testdata/03171_indexing_by_hilbert_curve/explain.txt create mode 100644 parser/testdata/03172_bcrypt_validation/explain.txt create mode 100644 parser/testdata/03172_format_settings_clauses/explain.txt create mode 100644 parser/testdata/03172_system_detached_tables_no_loop/explain.txt create mode 100644 parser/testdata/03173_check_cyclic_dependencies_on_create_and_rename/explain.txt create mode 100644 parser/testdata/03173_distinct_combinator_alignment/explain.txt create mode 100644 parser/testdata/03173_forbid_qualify/explain.txt create mode 100644 parser/testdata/03173_set_transformed_partition_pruning/explain.txt create mode 100644 parser/testdata/03174_exact_rows_before_aggregation/explain.txt create mode 100644 parser/testdata/03174_least_greatest_ignore_null_input_values/explain.txt create mode 100644 parser/testdata/03174_merge_join_bug/explain.txt create mode 100644 parser/testdata/03174_multiple_authentication_methods_show_create/explain.txt create mode 100644 parser/testdata/03174_projection_deduplicate/explain.txt create mode 100644 parser/testdata/03174_split_parts_ranges_into_intersecting_and_non_intersecting_final_and_read-in-order_bug/explain.txt create mode 100644 parser/testdata/03175_sparse_and_skip_index/explain.txt create mode 100644 parser/testdata/03176_check_timeout_in_index_analysis/explain.txt create mode 100644 parser/testdata/03195_group_concat_deserialization_fix/explain.txt create mode 100644 parser/testdata/03196_max_intersections_arena_crash/explain.txt create mode 100644 parser/testdata/03197_fix_parse_mysql_iso_date/explain.txt create mode 100644 parser/testdata/03197_storage_join_strictness_type_restriction/explain.txt create mode 100644 parser/testdata/03198_bit_shift_throws_error_for_out_of_bounds/explain.txt create mode 100644 parser/testdata/03198_dynamic_read_subcolumns/explain.txt create mode 100644 parser/testdata/03198_group_array_intersect/explain.txt create mode 100644 parser/testdata/03198_h3_polygon_to_cells/explain.txt create mode 100644 parser/testdata/03198_json_extract_more_types/explain.txt create mode 100644 parser/testdata/03198_table_function_directory_path/explain.txt create mode 100644 parser/testdata/03199_fix_auc_tie_handling/explain.txt create mode 100644 parser/testdata/03199_has_lc_fixed_string/explain.txt create mode 100644 parser/testdata/03199_join_with_materialized_column/explain.txt create mode 100644 parser/testdata/03199_json_extract_dynamic/explain.txt create mode 100644 parser/testdata/03199_merge_filters_bug/explain.txt create mode 100644 parser/testdata/03199_queries_with_new_analyzer/explain.txt create mode 100644 parser/testdata/03200_memory_engine_alter_dynamic/explain.txt create mode 100644 parser/testdata/03200_subcolumns_join_use_nulls/explain.txt create mode 100644 parser/testdata/03201_analyzer_resolve_in_parent_scope/explain.txt create mode 100644 parser/testdata/03201_sumIf_to_countIf_return_type/explain.txt create mode 100644 parser/testdata/03202_enum_json_cast/explain.txt create mode 100644 parser/testdata/03202_system_load_primary_key/explain.txt create mode 100644 parser/testdata/03203_count_with_non_deterministic_function/explain.txt create mode 100644 parser/testdata/03203_drop_detached_partition_all/explain.txt create mode 100644 parser/testdata/03203_fill_missed_subcolumns/explain.txt create mode 100644 parser/testdata/03203_function_printf/explain.txt create mode 100644 parser/testdata/03203_multiif_and_where_2_conditions_old_analyzer_bug/explain.txt create mode 100644 parser/testdata/03203_optimize_disjunctions_chain_to_in/explain.txt create mode 100644 parser/testdata/03203_system_numbers_limit_and_offset_simple/explain.txt create mode 100644 parser/testdata/03203_variant_convert_field_to_type_bug/explain.txt create mode 100644 parser/testdata/03204_distributed_with_scalar_subquery/explain.txt create mode 100644 parser/testdata/03204_index_hint_fuzzer/explain.txt create mode 100644 parser/testdata/03204_storage_join_optimize/explain.txt create mode 100644 parser/testdata/03205_column_type_check/explain.txt create mode 100644 parser/testdata/03205_hashing_empty_tuples/explain.txt create mode 100644 parser/testdata/03205_json_cast_from_string/explain.txt create mode 100644 parser/testdata/03205_json_syntax/explain.txt create mode 100644 parser/testdata/03205_overlay/explain.txt create mode 100644 parser/testdata/03205_parallel_replicas_alter_select_ubsan/explain.txt create mode 100644 parser/testdata/03205_parallel_window_finctions_and_column_sparse_bug/explain.txt create mode 100644 parser/testdata/03205_system_sync_replica_format/explain.txt create mode 100644 parser/testdata/03206_is_null_constant_result_old_analyzer_bug/explain.txt create mode 100644 parser/testdata/03206_projection_merge_special_mergetree/explain.txt create mode 100644 parser/testdata/03206_projection_merge_special_mergetree_ignore/explain.txt create mode 100644 parser/testdata/03206_replication_lag_metric/explain.txt create mode 100644 parser/testdata/03207_composite_expressions_lambda_consistent_formatting/explain.txt create mode 100644 parser/testdata/03207_json_read_subcolumns_1_memory/explain.txt create mode 100644 parser/testdata/03207_json_read_subcolumns_2_memory/explain.txt create mode 100644 parser/testdata/03208_array_of_json_read_subcolumns_2_memory/explain.txt create mode 100644 parser/testdata/03208_buffer_over_distributed_type_mismatch/explain.txt create mode 100644 parser/testdata/03208_groupArrayIntersect_serialization/explain.txt create mode 100644 parser/testdata/03208_multiple_joins_with_storage_join/explain.txt create mode 100644 parser/testdata/03208_numbers_total_rows_approx/explain.txt create mode 100644 parser/testdata/03208_uniq_with_empty_tuple/explain.txt create mode 100644 parser/testdata/03209_functions_json_msan_fuzzer_issue/explain.txt create mode 100644 parser/testdata/03209_parallel_replicas_lost_decimal_conversion/explain.txt create mode 100644 parser/testdata/03209_parallel_replicas_order_by_all/explain.txt create mode 100644 parser/testdata/03209_parameterized_view_with_non_literal_params/explain.txt create mode 100644 parser/testdata/03210_convert_outer_join_to_inner_join_any_join/explain.txt create mode 100644 parser/testdata/03210_dynamic_squashing/explain.txt create mode 100644 parser/testdata/03210_empty_tuple_lhs_of_in/explain.txt create mode 100644 parser/testdata/03210_lag_lead_inframe_types/explain.txt create mode 100644 parser/testdata/03210_nested_short_circuit_functions_bug/explain.txt create mode 100644 parser/testdata/03210_optimize_rewrite_aggregate_function_with_if_return_type_bug/explain.txt create mode 100644 parser/testdata/03210_variant_with_aggregate_function_type/explain.txt create mode 100644 parser/testdata/03211_convert_outer_join_to_inner_join_anti_join/explain.txt create mode 100644 parser/testdata/03212_optimize_with_constraints_logical_error/explain.txt create mode 100644 parser/testdata/03212_variant_dynamic_cast_or_default/explain.txt create mode 100644 parser/testdata/03213_array_element_msan/explain.txt create mode 100644 parser/testdata/03213_deep_json/explain.txt create mode 100644 parser/testdata/03213_denseRank_percentRank_alias/explain.txt create mode 100644 parser/testdata/03213_distributed_analyzer/explain.txt create mode 100644 parser/testdata/03213_rand_dos/explain.txt create mode 100644 parser/testdata/03214_bitslice_argument_evaluation/explain.txt create mode 100644 parser/testdata/03214_count_distinct_null_key_memory_leak/explain.txt create mode 100644 parser/testdata/03214_join_on_tuple_comparison_elimination_bug/explain.txt create mode 100644 parser/testdata/03214_json_typed_dynamic_path/explain.txt create mode 100644 parser/testdata/03215_analyzer_materialized_constants_bug/explain.txt create mode 100644 parser/testdata/03215_analyzer_replace_with_dummy_tables/explain.txt create mode 100644 parser/testdata/03215_fix_get_index_in_tuple/explain.txt create mode 100644 parser/testdata/03215_key_condition_bug/explain.txt create mode 100644 parser/testdata/03215_multilinestring_geometry/explain.txt create mode 100644 parser/testdata/03215_parquet_index/explain.txt create mode 100644 parser/testdata/03215_parsing_archive_name_s3/explain.txt create mode 100644 parser/testdata/03215_partition_in_tuple/explain.txt create mode 100644 parser/testdata/03215_toStartOfWeek_with_dateTime64_fix/explain.txt create mode 100644 parser/testdata/03215_udf_with_union/explain.txt create mode 100644 parser/testdata/03215_validate_type_in_alter_add_modify_column/explain.txt create mode 100644 parser/testdata/03215_varian_as_common_type_integers/explain.txt create mode 100644 parser/testdata/03215_varian_as_common_type_tuple_map/explain.txt create mode 100644 parser/testdata/03215_view_with_recursive/explain.txt create mode 100644 parser/testdata/03216_arrayWithConstant_limits/explain.txt create mode 100644 parser/testdata/03217_datetime64_constant_to_ast/explain.txt create mode 100644 parser/testdata/03217_filtering_in_storage_merge/explain.txt create mode 100644 parser/testdata/03217_filtering_in_system_tables/explain.txt create mode 100644 parser/testdata/03217_fliter_pushdown_no_keys/explain.txt create mode 100644 parser/testdata/03217_json_merge_patch_stack_overflow/explain.txt create mode 100644 parser/testdata/03217_primary_index_memory_leak/explain.txt create mode 100644 parser/testdata/03218_materialize_msan/explain.txt create mode 100644 parser/testdata/03221_create_if_not_exists_setting/explain.txt create mode 100644 parser/testdata/03221_incomplete_utf8_sequence/explain.txt create mode 100644 parser/testdata/03221_key_condition_bug/explain.txt create mode 100644 parser/testdata/03221_merge_profile_events/explain.txt create mode 100644 parser/testdata/03221_variant_logical_error/explain.txt create mode 100644 parser/testdata/03222_create_timeseries_table/explain.txt create mode 100644 parser/testdata/03222_date_time_inference/explain.txt create mode 100644 parser/testdata/03222_datetime64_small_value_const/explain.txt create mode 100644 parser/testdata/03222_json_empty_as_default/explain.txt create mode 100644 parser/testdata/03222_json_squashing/explain.txt create mode 100644 parser/testdata/03222_parallel_replicas_final_in_subquery/explain.txt create mode 100644 parser/testdata/03222_parallel_replicas_min_marks_to_read_overflow/explain.txt create mode 100644 parser/testdata/03222_pr_asan_index_granularity/explain.txt create mode 100644 parser/testdata/03223_analyzer_with_cube_fuzz/explain.txt create mode 100644 parser/testdata/03223_interval_data_type_comparison/explain.txt create mode 100644 parser/testdata/03223_nested_json_in_shared_data_merges/explain.txt create mode 100644 parser/testdata/03223_system_tables_set_not_ready/explain.txt create mode 100644 parser/testdata/03224_arrayUnion/explain.txt create mode 100644 parser/testdata/03224_invalid_alter/explain.txt create mode 100644 parser/testdata/03224_json_merges_new_type_in_shared_data/explain.txt create mode 100644 parser/testdata/03224_nested_json_merges_new_type_in_shared_data/explain.txt create mode 100644 parser/testdata/03224_trim_empty_string/explain.txt create mode 100644 parser/testdata/03224_tuple_element_identifier/explain.txt create mode 100644 parser/testdata/03225_const_prewhere_non_ataptive/explain.txt create mode 100644 parser/testdata/03227_distinct_dynamic_types_json_paths/explain.txt create mode 100644 parser/testdata/03227_dynamic_subcolumns_enumerate_streams/explain.txt create mode 100644 parser/testdata/03227_implicit_select/explain.txt create mode 100644 parser/testdata/03227_json_invalid_regexp/explain.txt create mode 100644 parser/testdata/03227_proper_parsing_of_cast_operator/explain.txt create mode 100644 parser/testdata/03227_test_sample_n/explain.txt create mode 100644 parser/testdata/03228_async_insert_query_params_bad_type/explain.txt create mode 100644 parser/testdata/03228_dynamic_serializations_uninitialized_value/explain.txt create mode 100644 parser/testdata/03228_dynamic_subcolumns_from_subquery/explain.txt create mode 100644 parser/testdata/03228_join_to_rerange_right_table/explain.txt create mode 100644 parser/testdata/03228_pr_subquery_view_order_by/explain.txt create mode 100644 parser/testdata/03228_url_engine_response_headers/explain.txt create mode 100644 parser/testdata/03228_variant_permutation_issue/explain.txt create mode 100644 parser/testdata/03228_virtual_column_merge_dist/explain.txt create mode 100644 parser/testdata/03229_async_insert_alter/explain.txt create mode 100644 parser/testdata/03229_empty_tuple_in_array/explain.txt create mode 100644 parser/testdata/03229_json_null_as_default_for_tuple/explain.txt create mode 100644 parser/testdata/03229_json_structure_comparison/explain.txt create mode 100644 parser/testdata/03229_query_condition_cache_drop_cache/explain.txt create mode 100644 parser/testdata/03229_query_condition_cache_final/explain.txt create mode 100644 parser/testdata/03229_query_condition_cache_in_operator/explain.txt create mode 100644 parser/testdata/03229_query_condition_cache_nondeterministic_functions/explain.txt create mode 100644 parser/testdata/03229_query_condition_cache_plaintext_condition/explain.txt create mode 100644 parser/testdata/03229_query_condition_cache_profile_events/explain.txt create mode 100644 parser/testdata/03229_query_condition_cache_recursive_cte/explain.txt create mode 100644 parser/testdata/03229_query_condition_cache_system_table/explain.txt create mode 100644 parser/testdata/03230_alter_with_mixed_mutations_and_remove_materialized/explain.txt create mode 100644 parser/testdata/03230_anyHeavy_merge/explain.txt create mode 100644 parser/testdata/03230_array_zip_unaligned/explain.txt create mode 100644 parser/testdata/03230_date_trunc_and_to_start_of_interval_on_date32/explain.txt create mode 100644 parser/testdata/03230_show_create_query_identifier_quoting_style/explain.txt create mode 100644 parser/testdata/03230_subcolumns_mv/explain.txt create mode 100644 parser/testdata/03230_system_projections/explain.txt create mode 100644 parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain.txt create mode 100644 parser/testdata/03231_create_with_clone_as/explain.txt create mode 100644 parser/testdata/03231_csv_dont_infer_bool_from_string/explain.txt create mode 100644 parser/testdata/03231_dynamic_incomplete_type_insert_bug/explain.txt create mode 100644 parser/testdata/03231_dynamic_uniq_group_by/explain.txt create mode 100644 parser/testdata/03231_dynamic_variant_in_order_by_group_by/explain.txt create mode 100644 parser/testdata/03231_pr_duplicate_announcement/explain.txt create mode 100644 parser/testdata/03231_pr_duplicate_announcement_2/explain.txt create mode 100644 parser/testdata/03231_pr_reverse_in_order/explain.txt create mode 100644 parser/testdata/03231_prewhere_conditions_order/explain.txt create mode 100644 parser/testdata/03231_values_respect_format_settings_in_fields_conversion/explain.txt create mode 100644 parser/testdata/03232_json_uniq_group_by/explain.txt create mode 100644 parser/testdata/03232_pr_not_ready_set/explain.txt create mode 100644 parser/testdata/03232_workload_create_and_drop/explain.txt create mode 100644 parser/testdata/03232_workloads_and_resources/explain.txt create mode 100644 parser/testdata/03233_dynamic_in_functions/explain.txt create mode 100644 parser/testdata/03234_enable_secure_identifiers/explain.txt create mode 100644 parser/testdata/03234_evaluate_constant_analyzer/explain.txt create mode 100644 parser/testdata/03234_get_setting_or_default/explain.txt create mode 100644 parser/testdata/03235_groupArray_string_consistency/explain.txt create mode 100644 parser/testdata/03236_create_query_ttl_where/explain.txt create mode 100644 parser/testdata/03236_keeper_map_engine_parameters/explain.txt create mode 100644 parser/testdata/03236_squashing_high_memory/explain.txt create mode 100644 parser/testdata/03236_test_zero_field_decimal/explain.txt create mode 100644 parser/testdata/03237_create_table_select_as_with_recursive/explain.txt create mode 100644 parser/testdata/03237_get_subcolumn_low_cardinality_column/explain.txt create mode 100644 parser/testdata/03237_max_map_state_decimal_serialization/explain.txt create mode 100644 parser/testdata/03238_analyzer_unknown_function/explain.txt create mode 100644 parser/testdata/03239_if_constant_folding/explain.txt create mode 100644 parser/testdata/03239_nan_with_fill/explain.txt create mode 100644 parser/testdata/03240_array_element_or_null/explain.txt create mode 100644 parser/testdata/03240_array_element_or_null_for_map/explain.txt create mode 100644 parser/testdata/03240_cte_in_subquery/explain.txt create mode 100644 parser/testdata/03240_insert_select_named_tuple/explain.txt create mode 100644 parser/testdata/03240_quantile_exact_weighted_interpolated/explain.txt create mode 100644 parser/testdata/03241_orc_dictionary_encode/explain.txt create mode 100644 parser/testdata/03241_view_block_structure/explain.txt create mode 100644 parser/testdata/03242_view_block_structure/explain.txt create mode 100644 parser/testdata/03243_array_join_lambda/explain.txt create mode 100644 parser/testdata/03243_check_for_nullable_nothing_in_alter/explain.txt create mode 100644 parser/testdata/03243_cluster_not_found_column/explain.txt create mode 100644 parser/testdata/03243_compatibility_setting_with_alias/explain.txt create mode 100644 parser/testdata/03243_create_or_replace_view_dependency_check/explain.txt create mode 100644 parser/testdata/03243_lower_utf8_msan/explain.txt create mode 100644 parser/testdata/03243_to_start_of_interval_aliases/explain.txt create mode 100644 parser/testdata/03244_skip_index_in_final_query_with_pk_rescan/explain.txt create mode 100644 parser/testdata/03244_skip_index_in_final_query_with_pk_rescan_basic/explain.txt create mode 100644 parser/testdata/03244_skip_index_in_final_query_with_pk_rescan_extremes/explain.txt create mode 100644 parser/testdata/03244_skip_index_in_final_query_with_pk_rescan_no_final_mark/explain.txt create mode 100644 parser/testdata/03245_ripemd160/explain.txt create mode 100644 parser/testdata/03245_views_and_filter_push_down_bug/explain.txt create mode 100644 parser/testdata/03246_alter_update_dynamic_hung/explain.txt create mode 100644 parser/testdata/03246_join_on_asterisk/explain.txt create mode 100644 parser/testdata/03246_json_subcolumn_correct_type/explain.txt create mode 100644 parser/testdata/03246_json_tuple_decompress_race/explain.txt create mode 100644 parser/testdata/03246_range_literal_replacement_works/explain.txt create mode 100644 parser/testdata/03246_toStartOfInterval_date_timezone_bug/explain.txt create mode 100644 parser/testdata/03247_generic_arrayMin_arrayMax_fixes/explain.txt create mode 100644 parser/testdata/03247_json_extract_lc_nullable/explain.txt create mode 100644 parser/testdata/03247_materialized_view_select_intersect/explain.txt create mode 100644 parser/testdata/03247_object_column_copy/explain.txt create mode 100644 parser/testdata/03247_pr_local_plan_non_constant_in_source/explain.txt create mode 100644 parser/testdata/03248_invalid_where/explain.txt create mode 100644 parser/testdata/03248_max_parts_to_move/explain.txt create mode 100644 parser/testdata/03248_with_fill_string_crash/explain.txt create mode 100644 parser/testdata/03248_with_insert/explain.txt create mode 100644 parser/testdata/03249_dynamic_alter_consistency/explain.txt create mode 100644 parser/testdata/03250_avoid_prefetch_empty_parts/explain.txt create mode 100644 parser/testdata/03250_ephemeral_comment/explain.txt create mode 100644 parser/testdata/03250_json_group_by_sub_object_subcolumn/explain.txt create mode 100644 parser/testdata/03251_unaligned_window_function_state/explain.txt create mode 100644 parser/testdata/03252_check_number_of_arguments_for_dynamic/explain.txt create mode 100644 parser/testdata/03252_fill_missed_arrays/explain.txt create mode 100644 parser/testdata/03252_merge_tree_min_bytes_to_seek/explain.txt create mode 100644 parser/testdata/03253_getMaxTableNameLength/explain.txt create mode 100644 parser/testdata/03253_group_by_cube_too_many_keys/explain.txt create mode 100644 parser/testdata/03254_attach_part_order/explain.txt create mode 100644 parser/testdata/03254_last_2_samples_aggregate_function/explain.txt create mode 100644 parser/testdata/03254_last_2_samples_aggregate_function_simple/explain.txt create mode 100644 parser/testdata/03254_merge_source_parts/explain.txt create mode 100644 parser/testdata/03254_normalize_aggregate_states_with_named_tuple_args/explain.txt create mode 100644 parser/testdata/03254_part_log_partition_column_is_set/explain.txt create mode 100644 parser/testdata/03254_pr_join_on_dups/explain.txt create mode 100644 parser/testdata/03254_prewarm_mark_cache_columns/explain.txt create mode 100644 parser/testdata/03254_prewarm_mark_cache_rmt/explain.txt create mode 100644 parser/testdata/03254_project_lwd_respects_row_exists/explain.txt create mode 100644 parser/testdata/03254_system_prewarm_mark_cache/explain.txt create mode 100644 parser/testdata/03254_test_alter_user_no_changes/explain.txt create mode 100644 parser/testdata/03254_timeseries_functions/explain.txt create mode 100644 parser/testdata/03254_timeseries_functions_various_arguments/explain.txt create mode 100644 parser/testdata/03254_timeseries_group_array/explain.txt create mode 100644 parser/testdata/03254_timeseries_instant_value_aggregate_functions/explain.txt create mode 100644 parser/testdata/03254_timeseries_range/explain.txt create mode 100644 parser/testdata/03254_timeseries_to_grid_aggregate_function/explain.txt create mode 100644 parser/testdata/03254_timeseries_to_grid_aggregate_function_sparse/explain.txt create mode 100644 parser/testdata/03254_uniq_exact_two_level_negative_zero/explain.txt create mode 100644 parser/testdata/03255_merge_mutation_start_entry_in_the_part_log/explain.txt create mode 100644 parser/testdata/03256_invalid_mutation_query/explain.txt create mode 100644 parser/testdata/03257_json_escape_file_names/explain.txt create mode 100644 parser/testdata/03257_reverse_sorting_key/explain.txt create mode 100644 parser/testdata/03257_reverse_sorting_key_simple/explain.txt create mode 100644 parser/testdata/03257_reverse_sorting_key_zookeeper/explain.txt create mode 100644 parser/testdata/03257_setting_tiers/explain.txt create mode 100644 parser/testdata/03258_dynamic_in_functions_weak_ptr_exception/explain.txt create mode 100644 parser/testdata/03258_multiple_array_joins/explain.txt create mode 100644 parser/testdata/03258_quantile_exact_weighted_issue/explain.txt create mode 100644 parser/testdata/03259_grouping_sets_aliases/explain.txt create mode 100644 parser/testdata/03259_join_condition_executed_block_bug/explain.txt create mode 100644 parser/testdata/03259_negate_key_overflow/explain.txt create mode 100644 parser/testdata/03259_orc_date_out_of_range/explain.txt create mode 100644 parser/testdata/03260_dynamic_low_cardinality_dict_bug/explain.txt create mode 100644 parser/testdata/03261_any_respect_camelCase_aliases/explain.txt create mode 100644 parser/testdata/03261_delayed_streams_memory/explain.txt create mode 100644 parser/testdata/03261_json_hints_types_check/explain.txt create mode 100644 parser/testdata/03261_low_cardinality_nullable_to_dynamic_cast/explain.txt create mode 100644 parser/testdata/03261_minmax_indices_by_default/explain.txt create mode 100644 parser/testdata/03261_minmax_indices_by_default_table_copy/explain.txt create mode 100644 parser/testdata/03261_mongodb_argumetns_crash/explain.txt create mode 100644 parser/testdata/03261_optimize_rewrite_array_exists_to_has_crash/explain.txt create mode 100644 parser/testdata/03261_pr_semi_anti_join/explain.txt create mode 100644 parser/testdata/03261_sort_cursor_crash/explain.txt create mode 100644 parser/testdata/03261_tuple_map_to_json_cast/explain.txt create mode 100644 parser/testdata/03261_variant_permutation_bug/explain.txt create mode 100644 parser/testdata/03262_analyzer_materialized_view_in_with_cte/explain.txt create mode 100644 parser/testdata/03262_column_sizes_with_dynamic_structure/explain.txt create mode 100644 parser/testdata/03262_common_expression_optimization/explain.txt create mode 100644 parser/testdata/03262_const_adaptive_index_granularity/explain.txt create mode 100644 parser/testdata/03262_filter_push_down_view/explain.txt create mode 100644 parser/testdata/03262_system_functions_should_not_fill_query_log_functions/explain.txt create mode 100644 parser/testdata/03263_analyzer_materialized_view_cte_nested/explain.txt create mode 100644 parser/testdata/03263_forbid_materialize_sort_key/explain.txt create mode 100644 parser/testdata/03263_parquet_write_bloom_filter/explain.txt create mode 100644 parser/testdata/03266_lowcardinality_string_monotonicity/explain.txt create mode 100644 parser/testdata/03266_with_fill_staleness/explain.txt create mode 100644 parser/testdata/03266_with_fill_staleness_cases/explain.txt create mode 100644 parser/testdata/03266_with_fill_staleness_errors/explain.txt create mode 100644 parser/testdata/03267_join_swap_bug/explain.txt create mode 100644 parser/testdata/03268_empty_tuple_update/explain.txt create mode 100644 parser/testdata/03268_nested_analyzer/explain.txt create mode 100644 parser/testdata/03268_system_parts_index_granularity/explain.txt create mode 100644 parser/testdata/03268_vertical_pretty_numbers/explain.txt create mode 100644 parser/testdata/03269_partition_key_not_in_set/explain.txt create mode 100644 parser/testdata/03270_empty_tuple_in_array_intersect/explain.txt create mode 100644 parser/testdata/03270_fix_column_modifier_write_order/explain.txt create mode 100644 parser/testdata/03270_max_bytes_ratio_before_external_group_by/explain.txt create mode 100644 parser/testdata/03271_date_to_datetime_saturation/explain.txt create mode 100644 parser/testdata/03271_decimal_monotonic_day_of_week/explain.txt create mode 100644 parser/testdata/03271_dynamic_variant_in_min_max/explain.txt create mode 100644 parser/testdata/03271_max_bytes_ratio_before_external_order_by/explain.txt create mode 100644 parser/testdata/03271_s3_table_function_asterisk_glob/explain.txt create mode 100644 parser/testdata/03271_sqllancer_having_issue/explain.txt create mode 100644 parser/testdata/03272_arrayAUCPR/explain.txt create mode 100644 parser/testdata/03272_bad_aggregate_function/explain.txt create mode 100644 parser/testdata/03272_bitmapTransform_error_counter/explain.txt create mode 100644 parser/testdata/03272_json_to_json_cast_1/explain.txt create mode 100644 parser/testdata/03272_json_to_json_cast_2/explain.txt create mode 100644 parser/testdata/03272_json_to_json_cast_3/explain.txt create mode 100644 parser/testdata/03272_json_to_json_cast_4/explain.txt create mode 100644 parser/testdata/03272_json_to_json_cast_5/explain.txt create mode 100644 parser/testdata/03272_json_to_json_cast_6/explain.txt create mode 100644 parser/testdata/03272_parallel_replicas_read_in_order/explain.txt create mode 100644 parser/testdata/03272_partition_pruning_monotonic_func_bug/explain.txt create mode 100644 parser/testdata/03272_prewarm_mark_cache_add_column/explain.txt create mode 100644 parser/testdata/03273_better_json_subcolumns_parsing/explain.txt create mode 100644 parser/testdata/03273_dynamic_pretty_json_serialization/explain.txt create mode 100644 parser/testdata/03273_format_inference_create_query_s3_url/explain.txt create mode 100644 parser/testdata/03273_group_by_in_order_still_used_when_group_by_key_doesnt_match_order_by_key/explain.txt create mode 100644 parser/testdata/03273_primary_index_cache/explain.txt create mode 100644 parser/testdata/03273_primary_index_cache_low_cardinality/explain.txt create mode 100644 parser/testdata/03273_select_from_explain_ast_non_select/explain.txt create mode 100644 parser/testdata/03274_aliases_in_udf/explain.txt create mode 100644 parser/testdata/03274_dynamic_column_data_race_with_concurrent_hj/explain.txt create mode 100644 parser/testdata/03274_dynamic_column_sizes_vertical_merge/explain.txt create mode 100644 parser/testdata/03274_grace_hash_max_joined_block_size_rows_bug/explain.txt create mode 100644 parser/testdata/03274_join_algorithm_default/explain.txt create mode 100644 parser/testdata/03274_json_pretty_output/explain.txt create mode 100644 parser/testdata/03274_json_to_json_alter_nested_json/explain.txt create mode 100644 parser/testdata/03274_philipzucker/explain.txt create mode 100644 parser/testdata/03274_prewarm_primary_index_cache/explain.txt create mode 100644 parser/testdata/03274_squashing_transform_sparse_bug/explain.txt create mode 100644 parser/testdata/03275_auto_cluster_functions_with_parallel_replicas/explain.txt create mode 100644 parser/testdata/03275_block_number_mutation/explain.txt create mode 100644 parser/testdata/03275_block_number_update/explain.txt create mode 100644 parser/testdata/03275_count_digits_argument_evaluation/explain.txt create mode 100644 parser/testdata/03275_matview_with_union/explain.txt create mode 100644 parser/testdata/03275_pr_any_join/explain.txt create mode 100644 parser/testdata/03275_subcolumns_in_primary_key_bug/explain.txt create mode 100644 parser/testdata/03276_database_backup_merge_tree_table_file_engine/explain.txt create mode 100644 parser/testdata/03276_empty_variant_type/explain.txt create mode 100644 parser/testdata/03276_functions_to_subcolumns_lc/explain.txt create mode 100644 parser/testdata/03276_index_empty_part/explain.txt create mode 100644 parser/testdata/03276_index_of_assume_sorted/explain.txt create mode 100644 parser/testdata/03276_merge_tree_index_lazy_load/explain.txt create mode 100644 parser/testdata/03276_parquet_output_compression_level/explain.txt create mode 100644 parser/testdata/03277_analyzer_array_join_fix/explain.txt create mode 100644 parser/testdata/03277_dead_letter_queue_unsupported/explain.txt create mode 100644 parser/testdata/03277_join_adaptive_spill/explain.txt create mode 100644 parser/testdata/03277_join_adaptive_spill_oom/explain.txt create mode 100644 parser/testdata/03277_logging_elapsed_ns/explain.txt create mode 100644 parser/testdata/03278_database_backup_merge_tree_table_disk_engine/explain.txt create mode 100644 parser/testdata/03278_dateTime64_in_dateTime64_bug/explain.txt create mode 100644 parser/testdata/03278_enum_in_unknown_value/explain.txt create mode 100644 parser/testdata/03278_enum_string_functions/explain.txt create mode 100644 parser/testdata/03279_array_normalized_gini/explain.txt create mode 100644 parser/testdata/03279_database_backup_database_disk_engine/explain.txt create mode 100644 parser/testdata/03279_join_choose_build_table/explain.txt create mode 100644 parser/testdata/03279_join_choose_build_table_auto_statistics/explain.txt create mode 100644 parser/testdata/03279_join_choose_build_table_statistics/explain.txt create mode 100644 parser/testdata/03279_not_empty_json/explain.txt create mode 100644 parser/testdata/03280_aliases_for_selects_and_views/explain.txt create mode 100644 parser/testdata/03280_dynamic_if_null/explain.txt create mode 100644 parser/testdata/03281_dynamic_coalesce/explain.txt create mode 100644 parser/testdata/03282_block_number_otehr_mutations/explain.txt create mode 100644 parser/testdata/03282_dynamic_in_functions_convert/explain.txt create mode 100644 parser/testdata/03282_highlight_trailing_whitespace_pretty/explain.txt create mode 100644 parser/testdata/03282_join_distributed_no_columns/explain.txt create mode 100644 parser/testdata/03282_json_equal_comparison/explain.txt create mode 100644 parser/testdata/03282_materialized_views_ignore_errors/explain.txt create mode 100644 parser/testdata/03282_memory_transaction_crash/explain.txt create mode 100644 parser/testdata/03283_json_binary_serialization_use_default_setttings/explain.txt create mode 100644 parser/testdata/03283_optimize_on_insert_level/explain.txt create mode 100644 parser/testdata/03284_json_object_as_tuple_duplicate_keys/explain.txt create mode 100644 parser/testdata/03285_analyzer_array_join_nested/explain.txt create mode 100644 parser/testdata/03285_analyzer_extract_common_expr_bug/explain.txt create mode 100644 parser/testdata/03285_analyzer_optimize_disjunctions/explain.txt create mode 100644 parser/testdata/03285_default_engine_with_settings/explain.txt create mode 100644 parser/testdata/03285_materialize_ttl_only_drop_parts/explain.txt create mode 100644 parser/testdata/03285_parallel_replicas_one_replica/explain.txt create mode 100644 parser/testdata/03286_backup_to_memory/explain.txt create mode 100644 parser/testdata/03286_backup_to_null/explain.txt create mode 100644 parser/testdata/03286_collation_locale_with_modifier/explain.txt create mode 100644 parser/testdata/03286_format_datetime_timezones/explain.txt create mode 100644 parser/testdata/03286_parallel_replicas_cross_join_bug/explain.txt create mode 100644 parser/testdata/03286_reverse_sorting_key_final/explain.txt create mode 100644 parser/testdata/03286_reverse_sorting_key_final2/explain.txt create mode 100644 parser/testdata/03286_serialization_hint_system_columns/explain.txt create mode 100644 parser/testdata/03287_dynamic_and_json_squashing_fix/explain.txt create mode 100644 parser/testdata/03287_format_datetime_mysqlfraction/explain.txt create mode 100644 parser/testdata/03287_not_comparable_types_in_order_by_and_comparison_functions/explain.txt create mode 100644 parser/testdata/03289_explain_syntax_statistics/explain.txt create mode 100644 parser/testdata/03289_tuple_element_to_subcolumn/explain.txt create mode 100644 parser/testdata/03290_final_collapsing/explain.txt create mode 100644 parser/testdata/03290_final_replacing/explain.txt create mode 100644 parser/testdata/03290_final_sample/explain.txt create mode 100644 parser/testdata/03290_force_normal_projection/explain.txt create mode 100644 parser/testdata/03290_limit_by_segv/explain.txt create mode 100644 parser/testdata/03290_mix_engine_and_query_settings/explain.txt create mode 100644 parser/testdata/03290_pr_non_replicated_in_subquery/explain.txt create mode 100644 parser/testdata/03291_collapsing_invalid_sign/explain.txt create mode 100644 parser/testdata/03291_json_big_structure_deserialization/explain.txt create mode 100644 parser/testdata/03291_low_cardinality_uuid/explain.txt create mode 100644 parser/testdata/03292_nullable_json_schema_inference/explain.txt create mode 100644 parser/testdata/03293_forbid_cluster_table_engine/explain.txt create mode 100644 parser/testdata/03296_bfloat16_ubsan/explain.txt create mode 100644 parser/testdata/03297_cut_column_name/explain.txt create mode 100644 parser/testdata/03298_analyzer_group_by_all_fix/explain.txt create mode 100644 parser/testdata/03298_server_client_native_settings/explain.txt create mode 100644 parser/testdata/03298_triger_local_error_format/explain.txt create mode 100644 parser/testdata/03298_vertical_columns/explain.txt create mode 100644 parser/testdata/03299_deep_nested_map_creation/explain.txt create mode 100644 parser/testdata/03299_map_named_tuple/explain.txt create mode 100644 parser/testdata/03299_pretty_squash/explain.txt create mode 100644 parser/testdata/03300_generate_random_const_expr_params/explain.txt create mode 100644 parser/testdata/03300_nested_json_empty_keys/explain.txt create mode 100644 parser/testdata/03300_pretty_vertical_cut/explain.txt create mode 100644 parser/testdata/03301_is_ipv4_string/explain.txt create mode 100644 parser/testdata/03301_subcolumns_in_mv/explain.txt create mode 100644 parser/testdata/03302_analyzer_distributed_filter_push_down/explain.txt create mode 100644 parser/testdata/03302_analyzer_join_filter_push_down_bug/explain.txt create mode 100644 parser/testdata/03302_any_enum_aggregation/explain.txt create mode 100644 parser/testdata/03302_merge_table_structure_unification/explain.txt create mode 100644 parser/testdata/03303_alias_inverse_order/explain.txt create mode 100644 parser/testdata/03303_distributed_explain/explain.txt create mode 100644 parser/testdata/03303_dynamic_in_not_xor/explain.txt create mode 100644 parser/testdata/03303_pretty_multiline/explain.txt create mode 100644 parser/testdata/03304_compare_substrings/explain.txt create mode 100644 parser/testdata/03304_fill_virtual_columns/explain.txt create mode 100644 parser/testdata/03304_pretty_fallback_to_vertical/explain.txt create mode 100644 parser/testdata/03305_compressed_memory_eng_crash_reading_subcolumn/explain.txt create mode 100644 parser/testdata/03305_fix_kafka_table_with_kw_arguments/explain.txt create mode 100644 parser/testdata/03305_log_unsupported_types/explain.txt create mode 100644 parser/testdata/03305_mergine_aggregated_filter_push_down/explain.txt create mode 100644 parser/testdata/03305_parallel_with/explain.txt create mode 100644 parser/testdata/03306_materialized_vew_prewhere_supported_columns/explain.txt create mode 100644 parser/testdata/03306_optimize_table_force_keyword/explain.txt create mode 100644 parser/testdata/03307_forbid_loop_table_function_as_engine/explain.txt create mode 100644 parser/testdata/03307_parallel_hash_max_joined_rows/explain.txt create mode 100644 parser/testdata/03310_aggregate_projection_count_nullable/explain.txt create mode 100644 parser/testdata/03310_index_hints_read_columns/explain.txt create mode 100644 parser/testdata/03310_materialized_view_with_bad_select/explain.txt create mode 100644 parser/testdata/03311_constantnode/explain.txt create mode 100644 parser/testdata/03311_issue_72265/explain.txt create mode 100644 parser/testdata/03311_min_max_count_projection_with_constant_partition_expr/explain.txt create mode 100644 parser/testdata/03311_subcolumns_in_default_and_materialized_expressions/explain.txt create mode 100644 parser/testdata/03312_analyzer_unused_projection_fix/explain.txt create mode 100644 parser/testdata/03312_explain_syntax_analyzer/explain.txt create mode 100644 parser/testdata/03312_issue_74299/explain.txt create mode 100644 parser/testdata/03312_json_literal_remote/explain.txt create mode 100644 parser/testdata/03312_line_numbers/explain.txt create mode 100644 parser/testdata/03312_sparse_column_tuple/explain.txt create mode 100644 parser/testdata/03312_squashing_with_low_card_mem_usage/explain.txt create mode 100644 parser/testdata/03312_system_errors_last_error/explain.txt create mode 100644 parser/testdata/03313_case_insensitive_json_type_declaration/explain.txt create mode 100644 parser/testdata/03313_h3togeo_result_order/explain.txt create mode 100644 parser/testdata/03314_analyzer_resolve_in_parent_scope_2/explain.txt create mode 100644 parser/testdata/03314_analyzer_resolve_in_parent_scope_3/explain.txt create mode 100644 parser/testdata/03314_analyzer_resolve_in_parent_scope_4/explain.txt create mode 100644 parser/testdata/03314_divide_decimal_short_circuit/explain.txt create mode 100644 parser/testdata/03314_empty_tuple_in_protobuf_format/explain.txt create mode 100644 parser/testdata/03314_grace_hash_join_buckets/explain.txt create mode 100644 parser/testdata/03314_has_column_in_table_alias_column/explain.txt create mode 100644 parser/testdata/03314_nullable_key_no_optimize_functions_to_subcolumns/explain.txt create mode 100644 parser/testdata/03314_summing_merge_tree_final_not_found_column_in_block/explain.txt create mode 100644 parser/testdata/03314_variant_rowbinary_file/explain.txt create mode 100644 parser/testdata/03315_analyzer_correlated_subqueries/explain.txt create mode 100644 parser/testdata/03315_join_on_optimize_pass_alias/explain.txt create mode 100644 parser/testdata/03315_join_temporary_table_names/explain.txt create mode 100644 parser/testdata/03315_quantile_bfloat16_ubsan/explain.txt create mode 100644 parser/testdata/03315_trim_two_args/explain.txt create mode 100644 parser/testdata/03316_analyzer_unique_table_aliases_dist/explain.txt create mode 100644 parser/testdata/03317_index_hint_prewhere/explain.txt create mode 100644 parser/testdata/03317_pretty_fallback_to_vertical_consistent/explain.txt create mode 100644 parser/testdata/03318_ubsan_resample_arguments_count/explain.txt create mode 100644 parser/testdata/03319_concurrent_hash_join_double_preallocation_bug/explain.txt create mode 100644 parser/testdata/03321_functions_to_subcolumns_skip_index/explain.txt create mode 100644 parser/testdata/03321_inner_materialized_view_nested/explain.txt create mode 100644 parser/testdata/03321_join_on_is_null_lowcardinality/explain.txt create mode 100644 parser/testdata/03321_system_tables_parametrized_view_params/explain.txt create mode 100644 parser/testdata/03322_bugfix_of_with_insert/explain.txt create mode 100644 parser/testdata/03322_check_count_for_parquet_in_s3/explain.txt create mode 100644 parser/testdata/03322_initial_query_start_time_check/explain.txt create mode 100644 parser/testdata/03322_materialized_view_ignore_errors_url/explain.txt create mode 100644 parser/testdata/03322_view_over_parameterized_view/explain.txt create mode 100644 parser/testdata/03323_bfloat16_least_supertype/explain.txt create mode 100644 parser/testdata/03324_aggregating_merge_tree_final_extremes/explain.txt create mode 100644 parser/testdata/03325_alter_ast_format/explain.txt create mode 100644 parser/testdata/03325_alter_modify_projection_primary_key_column/explain.txt create mode 100644 parser/testdata/03325_count_summing_merge_tree_order_by_tuple/explain.txt create mode 100644 parser/testdata/03325_distributed_join_json_array_subcolumns/explain.txt create mode 100644 parser/testdata/03326_parallel_replicas_out_of_range/explain.txt create mode 100644 parser/testdata/03326_toStartOfNanosecond_ubsan/explain.txt create mode 100644 parser/testdata/03327_alias_column_constant/explain.txt create mode 100644 parser/testdata/03327_hypothesis_index_sanity/explain.txt create mode 100644 parser/testdata/03328_formatting_assignment_expression/explain.txt create mode 100644 parser/testdata/03333_merge_table_total_rows_no_database_system_tables_exception/explain.txt create mode 100644 parser/testdata/03334_aliases_function_infinite_loop/explain.txt create mode 100644 parser/testdata/03339_native_reader_exact_rows/explain.txt create mode 100644 parser/testdata/03340_projections_formatting/explain.txt create mode 100644 parser/testdata/03340_transform_logical_error_fix/explain.txt create mode 100644 parser/testdata/03350_alter_table_fetch_partition_thread_pool/explain.txt create mode 100644 parser/testdata/03351_client_insert_bad_connection_state/explain.txt create mode 100644 parser/testdata/03352_allow_suspicious_ttl/explain.txt create mode 100644 parser/testdata/03352_distinct_sorted_bug/explain.txt create mode 100644 parser/testdata/03352_lazy_column_filter_by_uint8/explain.txt create mode 100644 parser/testdata/03353_codec_zstd_doubledelta_data_corruption/explain.txt create mode 100644 parser/testdata/03354_translate_crap/explain.txt create mode 100644 parser/testdata/03355_array_join_subcolumns/explain.txt create mode 100644 parser/testdata/03355_issue_31183/explain.txt create mode 100644 parser/testdata/03355_issue_32743/explain.txt create mode 100644 parser/testdata/03355_join_to_in_optimization/explain.txt create mode 100644 parser/testdata/03355_mergetree_table_disk/explain.txt create mode 100644 parser/testdata/03356_analyzer_qualified_matcher_error/explain.txt create mode 100644 parser/testdata/03356_analyzer_unused_scalar_subquery/explain.txt create mode 100644 parser/testdata/03356_array_join_subcolumns_indexes/explain.txt create mode 100644 parser/testdata/03356_postgresql_mysql_endpoint_parsing/explain.txt create mode 100644 parser/testdata/03356_pull_entry_before_detach_part/explain.txt create mode 100644 parser/testdata/03356_tables_with_binary_identifiers_invalid_utf8/explain.txt create mode 100644 parser/testdata/03356_threshold_for_parallel_hash/explain.txt create mode 100644 parser/testdata/03357_analyzer_insert_view/explain.txt create mode 100644 parser/testdata/03357_arraySymmetricDifference/explain.txt create mode 100644 parser/testdata/03357_block_structure_union_step/explain.txt create mode 100644 parser/testdata/03357_check_contraints_null_syntax/explain.txt create mode 100644 parser/testdata/03357_jit_strikes_again/explain.txt create mode 100644 parser/testdata/03357_join_pk_sharding/explain.txt create mode 100644 parser/testdata/03357_recursive_cte_no_logical_error/explain.txt create mode 100644 parser/testdata/03357_storage_join_mv_context/explain.txt create mode 100644 parser/testdata/03357_with_cube_with_totals_assertion/explain.txt create mode 100644 parser/testdata/03358_block_structure_match/explain.txt create mode 100644 parser/testdata/03358_lambda_resolution_segfault_analyzer/explain.txt create mode 100644 parser/testdata/03359_analyzer_rewrite_view_query/explain.txt create mode 100644 parser/testdata/03359_point_in_polygon_index/explain.txt create mode 100644 parser/testdata/03359_ub_merging_aggregated_transform/explain.txt create mode 100644 parser/testdata/03360_any_join_parallel_hash_bug/explain.txt create mode 100644 parser/testdata/03360_bool_remote/explain.txt create mode 100644 parser/testdata/03362_default_profiles_context/explain.txt create mode 100644 parser/testdata/03362_filter_transform_profile_events/explain.txt create mode 100644 parser/testdata/03362_iceberg_table_with_confusing_name/explain.txt create mode 100644 parser/testdata/03362_join_on_filterpushdown/explain.txt create mode 100644 parser/testdata/03362_join_where_false_76670/explain.txt create mode 100644 parser/testdata/03362_optimize_using_constraints_type_mismatch/explain.txt create mode 100644 parser/testdata/03362_reverse_sorting_key_explicit_primary_key/explain.txt create mode 100644 parser/testdata/03363_constant_nullable_key/explain.txt create mode 100644 parser/testdata/03363_estimate_compression_ratio_validation/explain.txt create mode 100644 parser/testdata/03363_function_keccak256/explain.txt create mode 100644 parser/testdata/03363_hive_style_partition/explain.txt create mode 100644 parser/testdata/03363_qbit_create_insert_select/explain.txt create mode 100644 parser/testdata/03363_read_json_and_subcolumns_from_view/explain.txt create mode 100644 parser/testdata/03364_gorilla_codec_parameters/explain.txt create mode 100644 parser/testdata/03364_pretty_json_bool/explain.txt create mode 100644 parser/testdata/03364_qbit_negative/explain.txt create mode 100644 parser/testdata/03364_s3_globbed_path_in_bucket_portion/explain.txt create mode 100644 parser/testdata/03364_ttl_should_recalculate_minmax_index/explain.txt create mode 100644 parser/testdata/03364_with_fill_select_from_cluster_view/explain.txt create mode 100644 parser/testdata/03365_bind_host/explain.txt create mode 100644 parser/testdata/03365_csv_time_deserialization_bug/explain.txt create mode 100644 parser/testdata/03365_dynamic_column_datetime/explain.txt create mode 100644 parser/testdata/03365_if_time_time64/explain.txt create mode 100644 parser/testdata/03365_json_with_variant_subcolumn/explain.txt create mode 100644 parser/testdata/03365_parsing_time_time64_short/explain.txt create mode 100644 parser/testdata/03365_qbit_casts_as_from_array/explain.txt create mode 100644 parser/testdata/03365_read_negative_time_implicitly/explain.txt create mode 100644 parser/testdata/03365_time64_casts/explain.txt create mode 100644 parser/testdata/03365_time64_from_datetime_timezone_respect/explain.txt create mode 100644 parser/testdata/03365_time_implicit_conversion/explain.txt create mode 100644 parser/testdata/03365_time_in_json/explain.txt create mode 100644 parser/testdata/03365_time_parsing_msan_issue/explain.txt create mode 100644 parser/testdata/03365_time_prewhere_supertype_bug/explain.txt create mode 100644 parser/testdata/03365_time_time64_aggregate_functions/explain.txt create mode 100644 parser/testdata/03365_time_time64_as_primary_key/explain.txt create mode 100644 parser/testdata/03365_time_time64_best_effort_parsing/explain.txt create mode 100644 parser/testdata/03365_time_time64_cap_max_time/explain.txt create mode 100644 parser/testdata/03365_time_time64_comparison/explain.txt create mode 100644 parser/testdata/03365_time_time64_conversions/explain.txt create mode 100644 parser/testdata/03365_time_time64_extreme_values/explain.txt create mode 100644 parser/testdata/03365_time_time64_insertion_bug/explain.txt create mode 100644 parser/testdata/03365_time_time64_operations/explain.txt create mode 100644 parser/testdata/03365_time_time64_parsing/explain.txt create mode 100644 parser/testdata/03365_time_time64_supertype/explain.txt create mode 100644 parser/testdata/03365_time_time64_without_timezone/explain.txt create mode 100644 parser/testdata/03365_time_timezone_issue/explain.txt create mode 100644 parser/testdata/03365_time_to_time64_conv_bug/explain.txt create mode 100644 parser/testdata/03365_use_legacy_to_time/explain.txt create mode 100644 parser/testdata/03365_variant_bool_parsing/explain.txt create mode 100644 parser/testdata/03366_qbit_array_map_populate/explain.txt create mode 100644 parser/testdata/03366_with_fill_dag/explain.txt create mode 100644 parser/testdata/03367_bfloat16_tuple_final/explain.txt create mode 100644 parser/testdata/03368_bfloat16_merge_join/explain.txt create mode 100644 parser/testdata/03368_qbit_subcolumns/explain.txt create mode 100644 parser/testdata/03369_bfloat16_map/explain.txt create mode 100644 parser/testdata/03369_function_arrayLevenshtein/explain.txt create mode 100644 parser/testdata/03369_l2_distance_transposed_variadic/explain.txt create mode 100644 parser/testdata/03369_predicate_pushdown_enforce_literal_type/explain.txt create mode 100644 parser/testdata/03369_values_template_types_mismatch/explain.txt create mode 100644 parser/testdata/03369_variant_escape_filename_merge_tree/explain.txt create mode 100644 parser/testdata/03370_join_identifiers/explain.txt create mode 100644 parser/testdata/03370_rocks_db_engine_subcolumn_in_pk/explain.txt create mode 100644 parser/testdata/03371_analyzer_filter_pushdown_distributed/explain.txt create mode 100644 parser/testdata/03371_bfloat16_special_values/explain.txt create mode 100644 parser/testdata/03371_constant_alias_columns/explain.txt create mode 100644 parser/testdata/03371_nullable_tuple_string_comparison/explain.txt create mode 100644 parser/testdata/03372_get_subcolumn_null/explain.txt create mode 100644 parser/testdata/03372_qbit_mergetree_1/explain.txt create mode 100644 parser/testdata/03372_qbit_mergetree_2/explain.txt create mode 100644 parser/testdata/03373_qbit_dynamic/explain.txt create mode 100644 parser/testdata/03374_date_trunc_with_negatives/explain.txt create mode 100644 parser/testdata/03374_indexes_with_literals/explain.txt create mode 100644 parser/testdata/03374_indexes_with_trivial_cast/explain.txt create mode 100644 parser/testdata/03374_qbit_nullable/explain.txt create mode 100644 parser/testdata/03375_bloom_filter_array_equals/explain.txt create mode 100644 parser/testdata/03375_bloom_filter_has_hasAny_const_array/explain.txt create mode 100644 parser/testdata/03375_bloom_filter_ngram_has_hasAny_const_array/explain.txt create mode 100644 parser/testdata/03375_bloom_filter_token_has_hasAny_const_array/explain.txt create mode 100644 parser/testdata/03375_bool_partition/explain.txt create mode 100644 parser/testdata/03375_l2_distance_transposed_partial_reads_pass/explain.txt create mode 100644 parser/testdata/03376_forbid_nan_inf_for_float_settings/explain.txt create mode 100644 parser/testdata/03376_iceberg_truncate/explain.txt create mode 100644 parser/testdata/03376_json_comparison/explain.txt create mode 100644 parser/testdata/03376_l2_distance_transposed_type_mismatch/explain.txt create mode 100644 parser/testdata/03377_json_order_by_bug/explain.txt create mode 100644 parser/testdata/03377_qbit_parameters/explain.txt create mode 100644 parser/testdata/03380_input_async_insert/explain.txt create mode 100644 parser/testdata/03381_lazy_materialization_limit_offset/explain.txt create mode 100644 parser/testdata/03381_remote_constants/explain.txt create mode 100644 parser/testdata/03382_dynamic_serialization_default_settings/explain.txt create mode 100644 parser/testdata/03390_non_constant_case/explain.txt create mode 100644 parser/testdata/03391_logical_error_sort_column/explain.txt create mode 100644 parser/testdata/03392_crash_group_by_use_nulls/explain.txt create mode 100644 parser/testdata/03392_inconsistent_formatting_of_lambda/explain.txt create mode 100644 parser/testdata/03393_ASTTableIdentifier_fuzzer/explain.txt create mode 100644 parser/testdata/03393_join_bug_77848/explain.txt create mode 100644 parser/testdata/03393_max_merge_delayed_streams_for_parallel_write/explain.txt create mode 100644 parser/testdata/03393_max_read_buffer_size_non_zero/explain.txt create mode 100644 parser/testdata/03393_non_constant_second_argument_for_in/explain.txt create mode 100644 parser/testdata/03393_smallest_index_floating_point/explain.txt create mode 100644 parser/testdata/03393_validate_storage_buffer_args/explain.txt create mode 100644 parser/testdata/03394_fix_to_start_of_interval_for_zero_origin_argument/explain.txt create mode 100644 parser/testdata/03394_naive_bayes_classifier_negative/explain.txt create mode 100644 parser/testdata/03394_pr_insert_select/explain.txt create mode 100644 parser/testdata/03394_pr_insert_select_local_pipeline/explain.txt create mode 100644 parser/testdata/03394_pr_insert_select_threads/explain.txt create mode 100644 parser/testdata/03395_global_join_supported_kind/explain.txt create mode 100644 parser/testdata/03397_information_schema_tables_index_length/explain.txt create mode 100644 parser/testdata/03398_group_array_zero_max_elements/explain.txt create mode 100644 parser/testdata/03399_advanced_expr_contains_sharding_key/explain.txt create mode 100644 parser/testdata/03399_analyzer_correlated_subquery/explain.txt create mode 100644 parser/testdata/03399_divide_zero_or_null/explain.txt create mode 100644 parser/testdata/03399_mapContains_functions/explain.txt create mode 100644 parser/testdata/03399_sparse_grams/explain.txt create mode 100644 parser/testdata/03400_analyzer_correlated_subquery_unused_column/explain.txt create mode 100644 parser/testdata/03400_distributed_final/explain.txt create mode 100644 parser/testdata/03400_explain_distributed_bug/explain.txt create mode 100644 parser/testdata/03401_normal_projection_with_part_offset/explain.txt create mode 100644 parser/testdata/03401_normal_projection_with_part_offset_no_sorting/explain.txt create mode 100644 parser/testdata/03401_remote_bool/explain.txt create mode 100644 parser/testdata/03401_several_iceberg_tables_in_one_dir/explain.txt create mode 100644 parser/testdata/03402_adding_projection_to_temporary_table/explain.txt create mode 100644 parser/testdata/03402_cluster_table_functions_settings_parsing/explain.txt create mode 100644 parser/testdata/03402_concurrent_right_full_join/explain.txt create mode 100644 parser/testdata/03402_cyclic_alter_dependencies/explain.txt create mode 100644 parser/testdata/03402_join_using_alias/explain.txt create mode 100644 parser/testdata/03402_materialized_tuple_element/explain.txt create mode 100644 parser/testdata/03402_secondary_indexes_analyzer_bugs/explain.txt create mode 100644 parser/testdata/03402_zero_streams_after_max_streams_to_max_threads_ratio/explain.txt create mode 100644 parser/testdata/03403_distributed_merge_two_level_aggregation/explain.txt create mode 100644 parser/testdata/03403_function_tokens/explain.txt create mode 100644 parser/testdata/03403_parallel_blocks_marshalling_for_distributed/explain.txt create mode 100644 parser/testdata/03403_read_in_order_streams_memory_usage/explain.txt create mode 100644 parser/testdata/03403_toInterval/explain.txt create mode 100644 parser/testdata/03403_truncate_all_tables_like/explain.txt create mode 100644 parser/testdata/03404_bfloat16_insert_values/explain.txt create mode 100644 parser/testdata/03404_dynamic_in_interval_bug/explain.txt create mode 100644 parser/testdata/03404_geotoh3_input_order/explain.txt create mode 100644 parser/testdata/03404_json_tables/explain.txt create mode 100644 parser/testdata/03404_lazy_materialization_distributed/explain.txt create mode 100644 parser/testdata/03404_ubsan_distinct_join_const_column/explain.txt create mode 100644 parser/testdata/03405_bool_array_to_fixed_strings/explain.txt create mode 100644 parser/testdata/03405_join_using_alias_constant/explain.txt create mode 100644 parser/testdata/03405_json_parsing_error_bug/explain.txt create mode 100644 parser/testdata/03405_merge_filter_into_join/explain.txt create mode 100644 parser/testdata/03405_naive_bayes_classifier_token/explain.txt create mode 100644 parser/testdata/03405_non_zero_batch_mode/explain.txt create mode 100644 parser/testdata/03405_ssd_cache_incorrect_min_max_lifetimes_and_block_size/explain.txt create mode 100644 parser/testdata/03406_dictionary_incorrect_min_max_lifetimes/explain.txt create mode 100644 parser/testdata/03407_csv_bad_date_time_parsing/explain.txt create mode 100644 parser/testdata/03407_parse_date_time_best_effort_unix_timestamp_with_fraction/explain.txt create mode 100644 parser/testdata/03408_analyzer_correlated_subquery_simple/explain.txt create mode 100644 parser/testdata/03408_cte_self_reference/explain.txt create mode 100644 parser/testdata/03408_current_database_on_cluster_constraint/explain.txt create mode 100644 parser/testdata/03408_hash_functions_on_null/explain.txt create mode 100644 parser/testdata/03408_implicit_table/explain.txt create mode 100644 parser/testdata/03408_limit_by_rows_before_limit/explain.txt create mode 100644 parser/testdata/03408_limit_by_rows_before_limit_dist/explain.txt create mode 100644 parser/testdata/03408_limit_by_rows_before_limit_mem/explain.txt create mode 100644 parser/testdata/03409_coalescing_merge_tree/explain.txt create mode 100644 parser/testdata/03409_coalescing_replicated_merge_tree/explain.txt create mode 100644 parser/testdata/03409_variant_type_values_format_field_conversion/explain.txt create mode 100644 parser/testdata/03410_polygons_intersects/explain.txt create mode 100644 parser/testdata/03411_analyzer_scalar_correlated_subquery/explain.txt create mode 100644 parser/testdata/03411_iceberg_bucket/explain.txt create mode 100644 parser/testdata/03411_summing_merge_tree_dynamic_values/explain.txt create mode 100644 parser/testdata/03411_variant_basic_discriminators_deserialization_bug/explain.txt create mode 100644 parser/testdata/03412_analyzer_correlated_subquery_bug/explain.txt create mode 100644 parser/testdata/03412_dynamic_in_arg_min_max/explain.txt create mode 100644 parser/testdata/03412_materialized_view_to_distributed_different_headers/explain.txt create mode 100644 parser/testdata/03412_merge_final_prewhere/explain.txt create mode 100644 parser/testdata/03413_analyzer_correlated_subqueries_bug_2/explain.txt create mode 100644 parser/testdata/03413_dynamic_in_in/explain.txt create mode 100644 parser/testdata/03413_experimental_settings_cannot_be_enabled_by_default/explain.txt create mode 100644 parser/testdata/03413_group_by_all_in_subquery/explain.txt create mode 100644 parser/testdata/03414_analyzer_correlated_subqueries_in_function/explain.txt create mode 100644 parser/testdata/03414_formatDateTime_compound_formatter_after_varsize_formatter/explain.txt create mode 100644 parser/testdata/03415_dont_highlight_probable_hashes/explain.txt create mode 100644 parser/testdata/03416_glue_chunks/explain.txt create mode 100644 parser/testdata/03432_input_format_parquet_max_block_size_validation/explain.txt create mode 100644 parser/testdata/03440_no_glue_totals/explain.txt create mode 100644 parser/testdata/03441_deltalake_clickhouse_public_datasets/explain.txt create mode 100644 parser/testdata/03441_deltalake_clickhouse_virtual_columns/explain.txt create mode 100644 parser/testdata/03442_alter_delete_empty_part/explain.txt create mode 100644 parser/testdata/03442_alter_delete_empty_part_rmt/explain.txt create mode 100644 parser/testdata/03442_json_duplicate_path/explain.txt create mode 100644 parser/testdata/03442_lightweight_deletes_on_fly/explain.txt create mode 100644 parser/testdata/03442_string_bytes_functions/explain.txt create mode 100644 parser/testdata/03443_alias_with_asterisk/explain.txt create mode 100644 parser/testdata/03443_index_match_alternatives/explain.txt create mode 100644 parser/testdata/03443_part_starting_offset/explain.txt create mode 100644 parser/testdata/03443_pr_lazy_materialization/explain.txt create mode 100644 parser/testdata/03443_projection_sparse/explain.txt create mode 100644 parser/testdata/03444_case_with_expression_exception/explain.txt create mode 100644 parser/testdata/03444_explain_asterisk/explain.txt create mode 100644 parser/testdata/03444_flip_coordinates/explain.txt create mode 100644 parser/testdata/03444_lm_block_mismatch/explain.txt create mode 100644 parser/testdata/03445_subcolumns_prewhere_pushdown/explain.txt create mode 100644 parser/testdata/03447_base32_encode_decode/explain.txt create mode 100644 parser/testdata/03447_float_nan_order/explain.txt create mode 100644 parser/testdata/03447_function_reverse_for_tuple/explain.txt create mode 100644 parser/testdata/03447_grouping_sets_analyzer_const_columns/explain.txt create mode 100644 parser/testdata/03447_order_by_json_and_other_column/explain.txt create mode 100644 parser/testdata/03447_storage_join_unsupported_keys/explain.txt create mode 100644 parser/testdata/03447_window_functions_distinct/explain.txt create mode 100644 parser/testdata/03448_analyzer_array_join_alias_in_join_using_bug/explain.txt create mode 100644 parser/testdata/03448_analyzer_correlated_subquery_in_projection/explain.txt create mode 100644 parser/testdata/03448_analyzer_skip_index_and_lambdas/explain.txt create mode 100644 parser/testdata/03448_in_select_tuple/explain.txt create mode 100644 parser/testdata/03448_topk_merging/explain.txt create mode 100644 parser/testdata/03448_trivial_count_single_threaded_merge/explain.txt create mode 100644 parser/testdata/03448_window_functions_distinct_distributed/explain.txt create mode 100644 parser/testdata/03449_join_using_allow_alias/explain.txt create mode 100644 parser/testdata/03449_window_cannot_find_column/explain.txt create mode 100644 parser/testdata/03450_parameterized_view_forward/explain.txt create mode 100644 parser/testdata/03451_parameterized_views_without_alias/explain.txt create mode 100644 parser/testdata/03453_group_by_all_grouping/explain.txt create mode 100644 parser/testdata/03453_parameterized_view_array_of_points/explain.txt create mode 100644 parser/testdata/03454_global_join_index_subqueries/explain.txt create mode 100644 parser/testdata/03454_parameterized_view_constant_identifier/explain.txt create mode 100644 parser/testdata/03454_parameterized_views_null/explain.txt create mode 100644 parser/testdata/03455_direct_io_read_array_values/explain.txt create mode 100644 parser/testdata/03456_match_index_prefix_extraction/explain.txt create mode 100644 parser/testdata/03457_bitmapContains_nullable/explain.txt create mode 100644 parser/testdata/03457_bug79403_marks_compress_block_is_zero/explain.txt create mode 100644 parser/testdata/03457_inconsistent_formatting_except/explain.txt create mode 100644 parser/testdata/03457_merge_engine_subcolumns/explain.txt create mode 100644 parser/testdata/03457_move_global_in_to_prewhere/explain.txt create mode 100644 parser/testdata/03457_numeric_indexed_vector_build/explain.txt create mode 100644 parser/testdata/03458_numeric_indexed_vector_operations_bit_promote/explain.txt create mode 100644 parser/testdata/03458_numeric_indexed_vector_operations_i8f64/explain.txt create mode 100644 parser/testdata/03458_numeric_indexed_vector_operations_u16f64/explain.txt create mode 100644 parser/testdata/03458_numeric_indexed_vector_operations_u32f32/explain.txt create mode 100644 parser/testdata/03458_numeric_indexed_vector_operations_u32f64/explain.txt create mode 100644 parser/testdata/03458_numeric_indexed_vector_operations_u32i16/explain.txt create mode 100644 parser/testdata/03458_numeric_indexed_vector_operations_u32i32/explain.txt create mode 100644 parser/testdata/03458_numeric_indexed_vector_operations_u32i64/explain.txt create mode 100644 parser/testdata/03458_numeric_indexed_vector_operations_u32i8/explain.txt create mode 100644 parser/testdata/03458_numeric_indexed_vector_operations_u32u16/explain.txt create mode 100644 parser/testdata/03458_numeric_indexed_vector_operations_u32u32/explain.txt create mode 100644 parser/testdata/03458_numeric_indexed_vector_operations_u32u64/explain.txt create mode 100644 parser/testdata/03458_numeric_indexed_vector_operations_u32u8/explain.txt create mode 100644 parser/testdata/03458_wkb_function/explain.txt create mode 100644 parser/testdata/03459-reverse-sorting-key-stable-result/explain.txt create mode 100644 parser/testdata/03459_join_cannot_add_column/explain.txt create mode 100644 parser/testdata/03459_numeric_indexed_vector_decode/explain.txt create mode 100644 parser/testdata/03459_socket_asynchronous_metrics/explain.txt create mode 100644 parser/testdata/03460_alter_materialized_view_on_cluster/explain.txt create mode 100644 parser/testdata/03460_normal_projection_index/explain.txt create mode 100644 parser/testdata/03460_normal_projection_index_bug_race_conditions/explain.txt create mode 100644 parser/testdata/03460_numeric_indexed_vector_to_value_map/explain.txt create mode 100644 parser/testdata/03460_projection_part_filtering_and_introspection/explain.txt create mode 100644 parser/testdata/03460_query_condition_cache_with_projections/explain.txt create mode 100644 parser/testdata/03461_pk_prefix_trivial_count/explain.txt create mode 100644 parser/testdata/03461_string_to_date_time_cast_modes/explain.txt create mode 100644 parser/testdata/03462_numeric_indexed_vector_serialization/explain.txt create mode 100644 parser/testdata/03463_numeric_indexed_vector_overflow/explain.txt create mode 100644 parser/testdata/03464_projections_with_subcolumns/explain.txt create mode 100644 parser/testdata/03509_stripe_log_compatible_types/explain.txt create mode 100644 parser/testdata/03511_formatDateTime_e_space_padding/explain.txt create mode 100644 parser/testdata/03512_bech32_functions/explain.txt create mode 100644 parser/testdata/03512_cast_logical_error/explain.txt create mode 100644 parser/testdata/03512_settings_max_block_size/explain.txt create mode 100644 parser/testdata/03513_filter_push_down_rand_bug/explain.txt create mode 100644 parser/testdata/03513_fix_shard_num_column_to_function_pass_with_nulls/explain.txt create mode 100644 parser/testdata/03513_lazy_materialization_projections_fix/explain.txt create mode 100644 parser/testdata/03513_nullsafe_join_storage/explain.txt create mode 100644 parser/testdata/03513_read_in_order_nullable/explain.txt create mode 100644 parser/testdata/03513_simple_aggregate_function_any_respect_nulls_in_aggregating_merge_tree/explain.txt create mode 100644 parser/testdata/03513_simple_aggregate_function_any_respect_nulls_in_summing_merge_tree/explain.txt create mode 100644 parser/testdata/03514_grace_hash_join_logical_error/explain.txt create mode 100644 parser/testdata/03515_array_join_different_sizes/explain.txt create mode 100644 parser/testdata/03516_comparison_pk_bug/explain.txt create mode 100644 parser/testdata/03516_int_exp2_join/explain.txt create mode 100644 parser/testdata/03517_logical_join_predicate_push_down_with_pre_expression_bug/explain.txt create mode 100644 parser/testdata/03517_s3_plain_rewritable_encrypted_empty_path/explain.txt create mode 100644 parser/testdata/03518_bad_sql_udf/explain.txt create mode 100644 parser/testdata/03518_left_to_cross_incorrect/explain.txt create mode 100644 parser/testdata/03518_table_function_remote_no_replicas/explain.txt create mode 100644 parser/testdata/03519_analyzer_tuple_cast/explain.txt create mode 100644 parser/testdata/03519_cte_allow_push_predicate_ast_for_distributed_subqueries_bug/explain.txt create mode 100644 parser/testdata/03519_left_to_cross_incorrect/explain.txt create mode 100644 parser/testdata/03519_merge_engine_read_column_existing_in_subset_of_tables/explain.txt create mode 100644 parser/testdata/03519_merge_tree_part_info_coverage/explain.txt create mode 100644 parser/testdata/03519_merge_tree_part_info_unpack/explain.txt create mode 100644 parser/testdata/03519_multiple_join_using/explain.txt create mode 100644 parser/testdata/03519_ttl_extended_data_types/explain.txt create mode 100644 parser/testdata/03519_zero_filesystem_prefetch_max_memory_usage/explain.txt create mode 100644 parser/testdata/03520_analyzer_distributed_in_cte_bug/explain.txt create mode 100644 parser/testdata/03520_left_to_cross_incorrect/explain.txt create mode 100644 parser/testdata/03520_pr_distinct_in_order/explain.txt create mode 100644 parser/testdata/03520_pr_read_in_order/explain.txt create mode 100644 parser/testdata/03521_bitNot_String_NUL_terminated/explain.txt create mode 100644 parser/testdata/03521_long_partition_column_name/explain.txt create mode 100644 parser/testdata/03521_long_statistics_name/explain.txt create mode 100644 parser/testdata/03521_system_unicode/explain.txt create mode 100644 parser/testdata/03521_tuple_of_dynamic_with_string_comparison/explain.txt create mode 100644 parser/testdata/03522_alter_modify_column_and_materialize_projection/explain.txt create mode 100644 parser/testdata/03522_analyzer_check_correlated_columns/explain.txt create mode 100644 parser/testdata/03522_function_first_non_default/explain.txt create mode 100644 parser/testdata/03522_join_resolve_matcher_recursive_bug/explain.txt create mode 100644 parser/testdata/03522_join_using_bug_78907/explain.txt create mode 100644 parser/testdata/03522_nullable_partition_key/explain.txt create mode 100644 parser/testdata/03522_window_table_arg/explain.txt create mode 100644 parser/testdata/03524_nullable_extremes/explain.txt create mode 100644 parser/testdata/03525_distributed_product_mode_local_IN_cross_replication_analyzer_bug/explain.txt create mode 100644 parser/testdata/03525_json_extract_datetime64_from_numbers/explain.txt create mode 100644 parser/testdata/03525_json_infer_array_of_dynamic_from_array_of_different_types/explain.txt create mode 100644 parser/testdata/03525_timezoneof_illegal_type/explain.txt create mode 100644 parser/testdata/03525_transform_null_in_subqeury_with_not_nullable_type/explain.txt create mode 100644 parser/testdata/03526_columns_substreams_in_wide_parts/explain.txt create mode 100644 parser/testdata/03529_quantile_deterministic_ubsan/explain.txt create mode 100644 parser/testdata/03530_insert_into_distributed_different_types_sparseness/explain.txt create mode 100644 parser/testdata/03531_check_count_for_parquet/explain.txt create mode 100644 parser/testdata/03531_insert_removing_sparse_transform/explain.txt create mode 100644 parser/testdata/03532_create_user_query_on_wrong_parametric_grantees/explain.txt create mode 100644 parser/testdata/03532_divideOrNull_jit_crash/explain.txt create mode 100644 parser/testdata/03532_dynamic_flattened_serialization_bug/explain.txt create mode 100644 parser/testdata/03532_json_dynamic_updates/explain.txt create mode 100644 parser/testdata/03532_pr_unused_query_cancelling_with_limit/explain.txt create mode 100644 parser/testdata/03532_redis_empty_variant_key/explain.txt create mode 100644 parser/testdata/03532_use_database_syntax/explain.txt create mode 100644 parser/testdata/03532_window_function_and_null_source_max_threads/explain.txt create mode 100644 parser/testdata/03533_analyzer_correlated_column_check/explain.txt create mode 100644 parser/testdata/03533_named_tuple_supertype/explain.txt create mode 100644 parser/testdata/03533_skip_index_on_data_reading/explain.txt create mode 100644 parser/testdata/03533_xirr/explain.txt create mode 100644 parser/testdata/03534_npy_output_to_url/explain.txt create mode 100644 parser/testdata/03534_skip_index_bug89691/explain.txt create mode 100644 parser/testdata/03535_system_formats/explain.txt create mode 100644 parser/testdata/03537_kusto_ubsan/explain.txt create mode 100644 parser/testdata/03538_analyzer_correlated_query_collect_columns_fix/explain.txt create mode 100644 parser/testdata/03538_analyzer_filter_analysis_alias_columns/explain.txt create mode 100644 parser/testdata/03538_analyzer_lag_lead_functions/explain.txt create mode 100644 parser/testdata/03538_analyzer_scalar_correlated_subquery_fix/explain.txt create mode 100644 parser/testdata/03538_array_except/explain.txt create mode 100644 parser/testdata/03538_crash_in_parallel_hash_with_empty_using/explain.txt create mode 100644 parser/testdata/03538_higher_order_functions_null_filter/explain.txt create mode 100644 parser/testdata/03538_optimize_rewrite_regexp_functions/explain.txt create mode 100644 parser/testdata/03538_validate_setting_merge_max_block_size/explain.txt create mode 100644 parser/testdata/03539_kusto_output_format_trash/explain.txt create mode 100644 parser/testdata/03540_date_trunc_old_behaviour/explain.txt create mode 100644 parser/testdata/03541_rename_column_start/explain.txt create mode 100644 parser/testdata/03541_table_without_insertable_columns/explain.txt create mode 100644 parser/testdata/03542_TTL_dict/explain.txt create mode 100644 parser/testdata/03545_analyzer_correlated_subqueries_use_equivalence_classes/explain.txt create mode 100644 parser/testdata/03545_analyzer_correlated_subqueries_use_equivalence_classes_2/explain.txt create mode 100644 parser/testdata/03545_analyzer_correlated_subquery_exists_asterisk/explain.txt create mode 100644 parser/testdata/03545_array_join_index_set_bug/explain.txt create mode 100644 parser/testdata/03545_map_contains_bloom_index_bug/explain.txt create mode 100644 parser/testdata/03545_number_of_rows_in_ttltransform/explain.txt create mode 100644 parser/testdata/03545_union_allow_column_with_no_common_type/explain.txt create mode 100644 parser/testdata/03546_03545_analyzer_correlated_subquery_exists_asterisk_crash/explain.txt create mode 100644 parser/testdata/03546_add_distinct_to_in_clause/explain.txt create mode 100644 parser/testdata/03546_join_key_value_storage_with_casted_key/explain.txt create mode 100644 parser/testdata/03546_merge_tree_projection_shared_snapshot/explain.txt create mode 100644 parser/testdata/03546_multiple_join_use_nulls_matcher/explain.txt create mode 100644 parser/testdata/03546_paimon_all_supported_type/explain.txt create mode 100644 parser/testdata/03546_part_granule_offset/explain.txt create mode 100644 parser/testdata/03547_analyzer_correlated_columns_check_bug/explain.txt create mode 100644 parser/testdata/03547_analyzer_correlated_subqueries/explain.txt create mode 100644 parser/testdata/03547_equals_optimizer_lowcardinality/explain.txt create mode 100644 parser/testdata/03547_reinterpret_to_array/explain.txt create mode 100644 parser/testdata/03548_analyzer_indentifier_resolution_invariant/explain.txt create mode 100644 parser/testdata/03548_array_group_last_serialization/explain.txt create mode 100644 parser/testdata/03548_optimize_syntax_fuse_functions_clash/explain.txt create mode 100644 parser/testdata/03549_aggregate_arithmetic_logical_error/explain.txt create mode 100644 parser/testdata/03549_analyzer_fix_filter_removal/explain.txt create mode 100644 parser/testdata/03549_conv_function/explain.txt create mode 100644 parser/testdata/03549_keeper_map_column_comments/explain.txt create mode 100644 parser/testdata/03549_system_dimensional_metrics/explain.txt create mode 100644 parser/testdata/03549_window_collation/explain.txt create mode 100644 parser/testdata/03549_wkb_function/explain.txt create mode 100644 parser/testdata/03550_analyzer_remote_view_columns/explain.txt create mode 100644 parser/testdata/03550_projection_with_part_offset_ttl/explain.txt create mode 100644 parser/testdata/03550_s3queue_no_settings/explain.txt create mode 100644 parser/testdata/03550_union_intersect_except_default_mode_rewrite_exception_safety/explain.txt create mode 100644 parser/testdata/03550_variant_extend_union/explain.txt create mode 100644 parser/testdata/03551_cast_decimal_to_float/explain.txt create mode 100644 parser/testdata/03551_no_alter_for_columns_to_sum/explain.txt create mode 100644 parser/testdata/03552_inconsistent_formatting_operator_as_table_function/explain.txt create mode 100644 parser/testdata/03553_inconsistent_formatting_of_dictionary/explain.txt create mode 100644 parser/testdata/03553_json_shared_data_advanced_serialization/explain.txt create mode 100644 parser/testdata/03553_json_shared_data_map_serialization/explain.txt create mode 100644 parser/testdata/03553_json_shared_data_map_with_buckets_serialization/explain.txt create mode 100644 parser/testdata/03554_json_shared_data_advanced_serialization_compact_part_big/explain.txt create mode 100644 parser/testdata/03554_json_shared_data_advanced_serialization_wide_part_big/explain.txt create mode 100644 parser/testdata/03554_json_shared_data_map_serialization_compact_part_big/explain.txt create mode 100644 parser/testdata/03554_json_shared_data_map_serialization_wide_part_big/explain.txt create mode 100644 parser/testdata/03554_json_shared_data_map_with_buckets_serialization_compact_part_big/explain.txt create mode 100644 parser/testdata/03554_json_shared_data_map_with_buckets_serialization_wide_part_big/explain.txt create mode 100644 parser/testdata/03554_json_shared_data_tuple_advanced_serialization_compact_part_big/explain.txt create mode 100644 parser/testdata/03554_json_shared_data_tuple_advanced_serialization_wide_part_big/explain.txt create mode 100644 parser/testdata/03554_json_shared_data_tuple_map_with_buckets_serialization_compact_part_big/explain.txt create mode 100644 parser/testdata/03554_json_shared_data_tuple_map_with_buckets_serialization_wide_part_big/explain.txt create mode 100644 parser/testdata/03555_inconsistent_formatting_ttl/explain.txt create mode 100644 parser/testdata/03555_json_shared_data_advanced_paths_indexes_1/explain.txt create mode 100644 parser/testdata/03555_json_shared_data_advanced_paths_indexes_2/explain.txt create mode 100644 parser/testdata/03555_json_shared_data_advanced_paths_indexes_3/explain.txt create mode 100644 parser/testdata/03558_no_alias_in_single_expressions/explain.txt create mode 100644 parser/testdata/03559_explain_ast_in_subquery/explain.txt create mode 100644 parser/testdata/03560_low_cardinality_keys_filter/explain.txt create mode 100644 parser/testdata/03560_new_analyzer_default_expression/explain.txt create mode 100644 parser/testdata/03560_parallel_replicas_external_aggregation/explain.txt create mode 100644 parser/testdata/03560_parallel_replicas_memory_bound_merging_projection/explain.txt create mode 100644 parser/testdata/03560_parallel_replicas_projection/explain.txt create mode 100644 parser/testdata/03560_validate_max_insert_block_size/explain.txt create mode 100644 parser/testdata/03561_analyzer_cte_cycle_resolve_bug/explain.txt create mode 100644 parser/testdata/03561_colorSRGBToOKLCH/explain.txt create mode 100644 parser/testdata/03561_materialized_subcolumns_materialized_view/explain.txt create mode 100644 parser/testdata/03561_two_mvs_bad_select/explain.txt create mode 100644 parser/testdata/03562_colorOKLCHToSRGB/explain.txt create mode 100644 parser/testdata/03562_geometry_type/explain.txt create mode 100644 parser/testdata/03562_json_date_as_integer/explain.txt create mode 100644 parser/testdata/03562_parallel_replicas_remote_with_cluster/explain.txt create mode 100644 parser/testdata/03562_parallel_replicas_subquery_has_final/explain.txt create mode 100644 parser/testdata/03562_system_database_replicas/explain.txt create mode 100644 parser/testdata/03563_coarser_minmax_indexes_first/explain.txt create mode 100644 parser/testdata/03565_clickhouse_smaller_indexes_first/explain.txt create mode 100644 parser/testdata/03565_iceberg_field_ids_table/explain.txt create mode 100644 parser/testdata/03565_union_all_nullptr/explain.txt create mode 100644 parser/testdata/03566_analyzer_single_with_scope/explain.txt create mode 100644 parser/testdata/03566_inconsistent_formatting_functions_codecs/explain.txt create mode 100644 parser/testdata/03566_low_cardinality_nan_unique/explain.txt create mode 100644 parser/testdata/03566_one_row_summing_merge_tree/explain.txt create mode 100644 parser/testdata/03566_system_completions_table/explain.txt create mode 100644 parser/testdata/03567_analyzer_single_with_scope_cycle/explain.txt create mode 100644 parser/testdata/03567_finalize_write_buffer_valid_utf8/explain.txt create mode 100644 parser/testdata/03567_join_using_projection_distributed/explain.txt create mode 100644 parser/testdata/03567_json_extract_case_insensitive_edge_cases/explain.txt create mode 100644 parser/testdata/03567_nowInBlock64/explain.txt create mode 100644 parser/testdata/03568_json_extract_case_insensitive/explain.txt create mode 100644 parser/testdata/03568_mutation_affected_rows_counter/explain.txt create mode 100644 parser/testdata/03568_udf_memory_tracking/explain.txt create mode 100644 parser/testdata/03569_max_joined_block_size_rows_bug/explain.txt create mode 100644 parser/testdata/03570_dateTimeToUUIDv7/explain.txt create mode 100644 parser/testdata/03570_date_to_datetime64_overflow/explain.txt create mode 100644 parser/testdata/03570_insert_into_simple_alias/explain.txt create mode 100644 parser/testdata/03570_limit_by_all/explain.txt create mode 100644 parser/testdata/03571_join_inequality_constants/explain.txt create mode 100644 parser/testdata/03571_limit_by_all_old_planner/explain.txt create mode 100644 parser/testdata/03571_lwd_and_projections/explain.txt create mode 100644 parser/testdata/03571_nullable_format_digit_groups/explain.txt create mode 100644 parser/testdata/03571_trying_to_get_name_of_not_a_column_asterisk/explain.txt create mode 100644 parser/testdata/03572_empty_tuple_in_nested_type/explain.txt create mode 100644 parser/testdata/03572_planner_merge_filter_into_join_bug/explain.txt create mode 100644 parser/testdata/03572_pr_remote_in_subquery/explain.txt create mode 100644 parser/testdata/03573_concurrent_hash_scatter_bug/explain.txt create mode 100644 parser/testdata/03573_create_query_parameters_in_to_in_materialized_view/explain.txt create mode 100644 parser/testdata/03573_json_keys_with_dots/explain.txt create mode 100644 parser/testdata/03573_linear_regression_timeseries_functions/explain.txt create mode 100644 parser/testdata/03573_linear_regression_timeseries_functions_various_arguments/explain.txt create mode 100644 parser/testdata/03573_planner_merge_filter_into_join_bug_2/explain.txt create mode 100644 parser/testdata/03574_analyzer_merge_filter_into_join_bug/explain.txt create mode 100644 parser/testdata/03574_parallel_replicas_last_right_join/explain.txt create mode 100644 parser/testdata/03575_analyzer_merge_filter_into_join_bug_2/explain.txt create mode 100644 parser/testdata/03576_analyzer_distributed_correlated_subquery/explain.txt create mode 100644 parser/testdata/03576_analyzer_recursive_window/explain.txt create mode 100644 parser/testdata/03577_assert_on_estimated_block_size_bytes/explain.txt create mode 100644 parser/testdata/03577_dynamic_json_update_issue/explain.txt create mode 100644 parser/testdata/03577_hash_output_format/explain.txt create mode 100644 parser/testdata/03577_server_constant_folding/explain.txt create mode 100644 parser/testdata/03577_temporary_table_as/explain.txt create mode 100644 parser/testdata/03577_ub_max_column_in_block_size_bytes/explain.txt create mode 100644 parser/testdata/03577_vairant_lazy_materialization_bug/explain.txt create mode 100644 parser/testdata/03578_distributed_kv_global_in/explain.txt create mode 100644 parser/testdata/03578_kv_in_type_casts/explain.txt create mode 100644 parser/testdata/03578_ttl_column_in_order_by_validation/explain.txt create mode 100644 parser/testdata/03579_mergeTreeIndex_params/explain.txt create mode 100644 parser/testdata/03579_system_columns_column_alias/explain.txt create mode 100644 parser/testdata/03580_external_merge_sort_with_lazy_columns/explain.txt create mode 100644 parser/testdata/03580_heredoc_ambiguity/explain.txt create mode 100644 parser/testdata/03580_improve_prewhere/explain.txt create mode 100644 parser/testdata/03580_join_runtime_filter/explain.txt create mode 100644 parser/testdata/03580_join_runtime_filter_column_type/explain.txt create mode 100644 parser/testdata/03580_join_runtime_filter_prewhere/explain.txt create mode 100644 parser/testdata/03580_join_runtime_filter_pushdown/explain.txt create mode 100644 parser/testdata/03580_s3queue_settings_store/explain.txt create mode 100644 parser/testdata/03581_bool_literal_column_name/explain.txt create mode 100644 parser/testdata/03581_iceberg_struct_fields_ids/explain.txt create mode 100644 parser/testdata/03581_nested_storage_merge_distributed_order_by/explain.txt create mode 100644 parser/testdata/03581_parallel_replicas_task_size/explain.txt create mode 100644 parser/testdata/03581_read_in_order_use_virtual_row_WHERE/explain.txt create mode 100644 parser/testdata/03582_initcap_fixedstring/explain.txt create mode 100644 parser/testdata/03582_pr_read_in_order_hits/explain.txt create mode 100644 parser/testdata/03583_rewrite_in_to_join/explain.txt create mode 100644 parser/testdata/03591_optimize_prewhere_row_policy/explain.txt create mode 100644 parser/testdata/03592_dictionary_columns_trailing_comma/explain.txt create mode 100644 parser/testdata/03592_distributed_alter_check_sharding_key/explain.txt create mode 100644 parser/testdata/03592_s3queue_large_settings/explain.txt create mode 100644 parser/testdata/03593_allow_projection_with_parent_part_offset/explain.txt create mode 100644 parser/testdata/03593_any_join_swap_tables/explain.txt create mode 100644 parser/testdata/03593_backup_with_broken_projection/explain.txt create mode 100644 parser/testdata/03593_funcs_on_empty_string/explain.txt create mode 100644 parser/testdata/03593_remote_map_in/explain.txt create mode 100644 parser/testdata/03594_coalescing_merge_tree_segfault/explain.txt create mode 100644 parser/testdata/03594_constraint_subqery_logical_error/explain.txt create mode 100644 parser/testdata/03594_funcs_on_empty_arguments/explain.txt create mode 100644 parser/testdata/03594_is_valid_ascii/explain.txt create mode 100644 parser/testdata/03594_is_valid_ascii_errors/explain.txt create mode 100644 parser/testdata/03594_json_extract_decimal_precision/explain.txt create mode 100644 parser/testdata/03594_like_perfect_affix_rewrite_pass/explain.txt create mode 100644 parser/testdata/03594_system_grants_parameters/explain.txt create mode 100644 parser/testdata/03595_alter_drop_column_comment_if_exists/explain.txt create mode 100644 parser/testdata/03595_alter_if_exists_mixed_commands/explain.txt create mode 100644 parser/testdata/03595_alter_if_exists_runtime_check/explain.txt create mode 100644 parser/testdata/03595_analyzer_lateral_join/explain.txt create mode 100644 parser/testdata/03595_changes_timeseries_functions/explain.txt create mode 100644 parser/testdata/03595_changes_timeseries_functions_various_arguments/explain.txt create mode 100644 parser/testdata/03595_convert_any_join_to_semi_or_anti/explain.txt create mode 100644 parser/testdata/03595_equality_deletes_simple/explain.txt create mode 100644 parser/testdata/03595_exists_as_scalar_subquery/explain.txt create mode 100644 parser/testdata/03595_extract_url_parameters/explain.txt create mode 100644 parser/testdata/03595_funcs_on_zero/explain.txt create mode 100644 parser/testdata/03595_parallel_replicas_join_remote/explain.txt create mode 100644 parser/testdata/03595_pread_threadpool_direct_io/explain.txt create mode 100644 parser/testdata/03595_set_query_no_eq_set_to_one/explain.txt create mode 100644 parser/testdata/03596_alter_update_column_with_subcolumn_used_in_materialized_expression/explain.txt create mode 100644 parser/testdata/03596_parquet_prewhere_page_skip_bug/explain.txt create mode 100644 parser/testdata/03597_alter_column_with_subcolumn_in_key/explain.txt create mode 100644 parser/testdata/03598_json_enum_default_value_in_typed_path/explain.txt create mode 100644 parser/testdata/03599_bad_date_and_datetimes_inference/explain.txt create mode 100644 parser/testdata/03599_lightweight_delete_vertical_merge/explain.txt create mode 100644 parser/testdata/03600_analyzer_setting_bool/explain.txt create mode 100644 parser/testdata/03600_replace_fixed_string_bug/explain.txt create mode 100644 parser/testdata/03601_histogram_quantile/explain.txt create mode 100644 parser/testdata/03601_inconsistent_table_names/explain.txt create mode 100644 parser/testdata/03601_insert_squashing_remove_const/explain.txt create mode 100644 parser/testdata/03601_json_from_string_accurate_cast_or_null/explain.txt create mode 100644 parser/testdata/03601_replace_regex_fixedstring_empty_needle/explain.txt create mode 100644 parser/testdata/03601_temporary_views/explain.txt create mode 100644 parser/testdata/03602_alter_update_nullable_json/explain.txt create mode 100644 parser/testdata/03602_embeddedrock_path/explain.txt create mode 100644 parser/testdata/03602_query_system_tables_definer/explain.txt create mode 100644 parser/testdata/03603_getSubcolumnType_msan/explain.txt create mode 100644 parser/testdata/03603_ip_binary_operators/explain.txt create mode 100644 parser/testdata/03603_reading_s3_cluster_all_nodes_unavailable/explain.txt create mode 100644 parser/testdata/03604_and_join_use_nulls_bug_83977/explain.txt create mode 100644 parser/testdata/03604_dynamic_key_in_join/explain.txt create mode 100644 parser/testdata/03604_functions_to_subcolumns_outer_join/explain.txt create mode 100644 parser/testdata/03604_join_reorder_pinned_bug/explain.txt create mode 100644 parser/testdata/03604_key_condition_set_tuple_bug/explain.txt create mode 100644 parser/testdata/03604_parallel_with_query_lock/explain.txt create mode 100644 parser/testdata/03604_plan_step_description_limit/explain.txt create mode 100644 parser/testdata/03604_string_with_size_stream/explain.txt create mode 100644 parser/testdata/03604_test_merge_tree_min_read_task_size_is_zero/explain.txt create mode 100644 parser/testdata/03604_to_date_casts/explain.txt create mode 100644 parser/testdata/03605_dynamic_to_nullable_low_cardinality_bug/explain.txt create mode 100644 parser/testdata/03606_nullable_json_group_by/explain.txt create mode 100644 parser/testdata/03610_disjunctions_pushdown_optimization/explain.txt create mode 100644 parser/testdata/03610_remote_queries_with_describe_compact_output/explain.txt create mode 100644 parser/testdata/03611_cte_deterministic/explain.txt create mode 100644 parser/testdata/03611_null_safe_comparsion/explain.txt create mode 100644 parser/testdata/03611_point_in_polygon_key_condition_bug/explain.txt create mode 100644 parser/testdata/03611_pr_global_join/explain.txt create mode 100644 parser/testdata/03611_uniqExact_bug/explain.txt create mode 100644 parser/testdata/03611_verify_exception_in_iceberg_iterator/explain.txt create mode 100644 parser/testdata/03611_window_definition_parsing/explain.txt create mode 100644 parser/testdata/03612_explain_indexes_bugs/explain.txt create mode 100644 parser/testdata/03612_storage_cluster_dynamic_subcolumns/explain.txt create mode 100644 parser/testdata/03613_empty_tuple_permute_with_limit/explain.txt create mode 100644 parser/testdata/03620_json_advanced_shared_data_seek_bug/explain.txt create mode 100644 parser/testdata/03622_generic_aggregate_functions__state_compatibility/explain.txt create mode 100644 parser/testdata/03622_ttl_infos_where/explain.txt create mode 100644 parser/testdata/03623_convert_any_join_to_semi_or_anti_2/explain.txt create mode 100644 parser/testdata/03623_datetime64_preepoch_fractional_precision/explain.txt create mode 100644 parser/testdata/03623_lazy_materialization_array_sizes_bug/explain.txt create mode 100644 parser/testdata/03623_parquet_bool/explain.txt create mode 100644 parser/testdata/03623_pr_join_with_group_by_subquery/explain.txt create mode 100644 parser/testdata/03623_setting_boolean_shorthand_err_test/explain.txt create mode 100644 parser/testdata/03624_csv_empty_array_from_empty_string/explain.txt create mode 100644 parser/testdata/03624_parquet_row_number/explain.txt create mode 100644 parser/testdata/03624_pr_lefl_right_joins_chain/explain.txt create mode 100644 parser/testdata/03624_resource_exhaustion_window_function/explain.txt create mode 100644 parser/testdata/03625_auto_statistics/explain.txt create mode 100644 parser/testdata/03625_auto_statistics_alter/explain.txt create mode 100644 parser/testdata/03625_auto_statistics_alter_rmt/explain.txt create mode 100644 parser/testdata/03625_auto_statistics_rmt/explain.txt create mode 100644 parser/testdata/03625_auto_statistics_validation/explain.txt create mode 100644 parser/testdata/03625_case_without_condition_non_constant_branches/explain.txt create mode 100644 parser/testdata/03625_prewhere-and-default-bug/explain.txt create mode 100644 parser/testdata/03625_upper_lower_utf8_different_number_of_code_points/explain.txt create mode 100644 parser/testdata/03626_case_function_with_dynamic_argument/explain.txt create mode 100644 parser/testdata/03627_non_constant_replacement_in_replace_regexp/explain.txt create mode 100644 parser/testdata/03628_named_tuple_element_in_order_by_key/explain.txt create mode 100644 parser/testdata/03628_parse_date_time_short_circuit/explain.txt create mode 100644 parser/testdata/03628_subcolumns_of_columns_with_dot_in_name/explain.txt create mode 100644 parser/testdata/03629_duplicate_partition_keys_crash/explain.txt create mode 100644 parser/testdata/03629_starts_endswith_caseinsensitive/explain.txt create mode 100644 parser/testdata/03629_storage_s3_disallow_index_alter/explain.txt create mode 100644 parser/testdata/03630_hash_join_max_block_size/explain.txt create mode 100644 parser/testdata/03630_parquet_bool_bug/explain.txt create mode 100644 parser/testdata/03631_array_of_empty_tuples/explain.txt create mode 100644 parser/testdata/03631_select_replace_comprehensive/explain.txt create mode 100644 parser/testdata/03632_default_minmax_indices_alter/explain.txt create mode 100644 parser/testdata/03632_insert_select_cte_bug/explain.txt create mode 100644 parser/testdata/03632_join_logical_assert_85403/explain.txt create mode 100644 parser/testdata/03632_lowcard_join/explain.txt create mode 100644 parser/testdata/03632_temporary_table_not_allowed_columns/explain.txt create mode 100644 parser/testdata/03633_keeepr_host_server_setting/explain.txt create mode 100644 parser/testdata/03633_mv_squash_parallel_inserts/explain.txt create mode 100644 parser/testdata/03633_set_index_bulk_filtering/explain.txt create mode 100644 parser/testdata/03634_subcolumns_in_temporary_table_parallel_replicas/explain.txt create mode 100644 parser/testdata/03635_in_function_different_types_many_columns/explain.txt create mode 100644 parser/testdata/03636_empty_projection_block/explain.txt create mode 100644 parser/testdata/03636_index_analysis_with_session_tz/explain.txt create mode 100644 parser/testdata/03636_storage_alias_basic/explain.txt create mode 100644 parser/testdata/03636_storage_alias_syntax/explain.txt create mode 100644 parser/testdata/03638_merge_max_dynamic_subcolumns_in_wide_part/explain.txt create mode 100644 parser/testdata/03639_hash_of_dynamic_column/explain.txt create mode 100644 parser/testdata/03639_hash_of_json_column/explain.txt create mode 100644 parser/testdata/03640_alter_table_rewrite_parts/explain.txt create mode 100644 parser/testdata/03640_load_marks_synchronously/explain.txt create mode 100644 parser/testdata/03640_multiple_mutations_with_error_with_rewrite_parts/explain.txt create mode 100644 parser/testdata/03640_multiple_mutations_with_rewrite_parts/explain.txt create mode 100644 parser/testdata/03640_skip_indexes_data_types_with_or/explain.txt create mode 100644 parser/testdata/03640_skip_indexes_with_or/explain.txt create mode 100644 parser/testdata/03640_variant_array_null_map_subcolumn/explain.txt create mode 100644 parser/testdata/03641_analyzer_issue_85834/explain.txt create mode 100644 parser/testdata/03641_group_by_injective_functoon_bad_arguments/explain.txt create mode 100644 parser/testdata/03641_json_array_of_float_and_bool/explain.txt create mode 100644 parser/testdata/03642_column_ttl_sparse/explain.txt create mode 100644 parser/testdata/03642_system_instrument_symbols/explain.txt create mode 100644 parser/testdata/03643_paste_join_disable_filter_pushdown/explain.txt create mode 100644 parser/testdata/03644_join_order_mixed_comma_and_left/explain.txt create mode 100644 parser/testdata/03644_min_level_for_wide_part/explain.txt create mode 100644 parser/testdata/03644_object_storage_correlated_subqueries/explain.txt create mode 100644 parser/testdata/03644_rows_before_aggregation_in_order/explain.txt create mode 100644 parser/testdata/03646_array_join_empty/explain.txt create mode 100644 parser/testdata/03647_morton_encode_empty_tuple/explain.txt create mode 100644 parser/testdata/03651_merge_tree_compact_read_string_size_subcolumn/explain.txt create mode 100644 parser/testdata/03651_positional_argument_agg_projection/explain.txt create mode 100644 parser/testdata/03652_coalescing_merge_tree_fix_empty_tuple/explain.txt create mode 100644 parser/testdata/03652_explain_input_header/explain.txt create mode 100644 parser/testdata/03652_generate_serial_id_non_constant_zookeeper/explain.txt create mode 100644 parser/testdata/03652_join_using_legacy_step/explain.txt create mode 100644 parser/testdata/03653_keeper_histogram_metrics/explain.txt create mode 100644 parser/testdata/03653_updating_minmax_idx_after_mutation/explain.txt create mode 100644 parser/testdata/03654_case_non_constant_null/explain.txt create mode 100644 parser/testdata/03654_grouping_sets_any_min_max/explain.txt create mode 100644 parser/testdata/03655_keeper_map_alter_comment/explain.txt create mode 100644 parser/testdata/03655_system_databases_is_external/explain.txt create mode 100644 parser/testdata/03656_nan_comparison/explain.txt create mode 100644 parser/testdata/03657_gby_overflow_any_sparse/explain.txt create mode 100644 parser/testdata/03657_hash_vs_full_sorting_merge_join/explain.txt create mode 100644 parser/testdata/03657_merge_tree_disk_support_transaction/explain.txt create mode 100644 parser/testdata/03657_rollup_constant/explain.txt create mode 100644 parser/testdata/03658_joined_block_split_single_row_bytes/explain.txt create mode 100644 parser/testdata/03660_udf_subquery/explain.txt create mode 100644 parser/testdata/03663_parameterized_views_formatting_of_substitutions_excessive_backticks/explain.txt create mode 100644 parser/testdata/03664_parameterized_view_restart/explain.txt create mode 100644 parser/testdata/03666_count_matches_complexity/explain.txt create mode 100644 parser/testdata/03667_accurate_cast_datetime_overflow/explain.txt create mode 100644 parser/testdata/03667_drop_inner_table_size_limits/explain.txt create mode 100644 parser/testdata/03667_insert_columns_description/explain.txt create mode 100644 parser/testdata/03667_pr_join_with_cross_join_on_left/explain.txt create mode 100644 parser/testdata/03667_text_index_validation/explain.txt create mode 100644 parser/testdata/03668_shard_join_in_reverse_order/explain.txt create mode 100644 parser/testdata/03669_min_max_projection_with_reverse_order_key/explain.txt create mode 100644 parser/testdata/03671_dict_in_subquery_in_index_analysis_context_expired/explain.txt create mode 100644 parser/testdata/03671_pk_in_subquery_context_expired/explain.txt create mode 100644 parser/testdata/03672_columns_same_as_subcolumns/explain.txt create mode 100644 parser/testdata/03672_nested_array_nested_tuple/explain.txt create mode 100644 parser/testdata/03673_columns_description_cache/explain.txt create mode 100644 parser/testdata/03680_mergetree_shrink_const_from_prewhere/explain.txt create mode 100644 parser/testdata/03681_lazy_materialization_with_read_in_order/explain.txt create mode 100644 parser/testdata/03699_reverse_utf8/explain.txt create mode 100644 parser/testdata/03700_vertical_format_pretty_print_json/explain.txt create mode 100644 parser/testdata/03701_analyzer_correlated_subquery_plan_reference/explain.txt create mode 100644 parser/testdata/03701_column_ttl_fully_expired/explain.txt create mode 100644 parser/testdata/03701_create_or_replace_temporary_table/explain.txt create mode 100644 parser/testdata/03701_distinct_but_no_group_by_projection_table_use_check/explain.txt create mode 100644 parser/testdata/03701_json_duplicate_path_insert_select/explain.txt create mode 100644 parser/testdata/03701_limit_by_in_order/explain.txt create mode 100644 parser/testdata/03701_optimize_inverse_dictionary_lookup_basic/explain.txt create mode 100644 parser/testdata/03701_parallel_replicas_in_shard_scope/explain.txt create mode 100644 parser/testdata/03701_replicated_column_short_circuit_filter/explain.txt create mode 100644 parser/testdata/03701_temporary_files_buffer_size/explain.txt create mode 100644 parser/testdata/03702_alter_codec_index/explain.txt create mode 100644 parser/testdata/03702_alter_codec_pk/explain.txt create mode 100644 parser/testdata/03702_alter_column_modify_secondary_index_general/explain.txt create mode 100644 parser/testdata/03702_alter_column_update_and_delete_secondary_index_general/explain.txt create mode 100644 parser/testdata/03702_encode_decode_memory_usage/explain.txt create mode 100644 parser/testdata/03702_function_dict_get_keys_basic/explain.txt create mode 100644 parser/testdata/03702_geometry_functions/explain.txt create mode 100644 parser/testdata/03702_inject_random_orderby_doesnt_change_limit/explain.txt create mode 100644 parser/testdata/03702_json_datetime_format_settings/explain.txt create mode 100644 parser/testdata/03702_optimize_inverse_dictionary_lookup_composite_and_layouts/explain.txt create mode 100644 parser/testdata/03702_text_index_hint_basics/explain.txt create mode 100644 parser/testdata/03702_text_index_hint_events/explain.txt create mode 100644 parser/testdata/03702_text_index_hint_low_cardinality/explain.txt create mode 100644 parser/testdata/03703_function_dict_get_keys_large/explain.txt create mode 100644 parser/testdata/03703_optimize_inverse_dictionary_lookup_dictget_family/explain.txt create mode 100644 parser/testdata/03703_statistics_low_cardinality/explain.txt create mode 100644 parser/testdata/03704_default_empty_order_by/explain.txt create mode 100644 parser/testdata/03704_fractional_limit_with_ties/explain.txt create mode 100644 parser/testdata/03704_function_dict_get_keys_cache_type/explain.txt create mode 100644 parser/testdata/03705_count_if_asterisk/explain.txt create mode 100644 parser/testdata/03705_fix_compression_T64_unaligned/explain.txt create mode 100644 parser/testdata/03705_function_dict_get_keys_multiple_dict_and_no_caching/explain.txt create mode 100644 parser/testdata/03707_analyzer_convert_outer_any_to_inner/explain.txt create mode 100644 parser/testdata/03707_empty_parts_with_non_empty_projections_merge/explain.txt create mode 100644 parser/testdata/03707_function_array_remove/explain.txt create mode 100644 parser/testdata/03707_statistics_cache/explain.txt create mode 100644 parser/testdata/03708_analyzer_convert_any_outer_to_inner_2/explain.txt create mode 100644 parser/testdata/03708_exact_rows_before_limit_in/explain.txt create mode 100644 parser/testdata/03708_flush_async_insert_queue_for_table/explain.txt create mode 100644 parser/testdata/03708_join_or_to_right_any_bug/explain.txt create mode 100644 parser/testdata/03708_low_cardinality_aggregate_state_compatibility/explain.txt create mode 100644 parser/testdata/03708_statistics_estimator_cast_type/explain.txt create mode 100644 parser/testdata/03709_anti_join_runtime_filters/explain.txt create mode 100644 parser/testdata/03709_coalescing_final/explain.txt create mode 100644 parser/testdata/03709_parallel_replicas_right_join_with_distributed/explain.txt create mode 100644 parser/testdata/03709_replicated_columns_right_join/explain.txt create mode 100644 parser/testdata/03710_analyzer_limit_by_aggregate_validation/explain.txt create mode 100644 parser/testdata/03710_argAndMinMax/explain.txt create mode 100644 parser/testdata/03710_array_join_in_map_bug/explain.txt create mode 100644 parser/testdata/03710_empty_tuple_lhs_in_function/explain.txt create mode 100644 parser/testdata/03710_midpoint/explain.txt create mode 100644 parser/testdata/03710_pr_insert_into_mv_with_join/explain.txt create mode 100644 parser/testdata/03710_pr_join_with_mv/explain.txt create mode 100644 parser/testdata/03711_deduplication_blocks_part_log/explain.txt create mode 100644 parser/testdata/03711_json_skip_invalid_fields/explain.txt create mode 100644 parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain.txt create mode 100644 parser/testdata/03711_top_k_by_dynamic_filter/explain.txt create mode 100644 parser/testdata/03711_top_k_by_skip_index/explain.txt create mode 100644 parser/testdata/03711_top_k_by_skip_index_dynamic/explain.txt create mode 100644 parser/testdata/03712_json_advanced_shared_data_bug/explain.txt create mode 100644 parser/testdata/03713_data_types_binary_deserialization_stack_overflow/explain.txt create mode 100644 parser/testdata/03713_optimize_inverse_dictionary_lookup_setting_rewrite_in_to_join/explain.txt create mode 100644 parser/testdata/03713_replicated_columns_in_external_data_bug/explain.txt create mode 100644 parser/testdata/03714_base32_base58_short_string/explain.txt create mode 100644 parser/testdata/03714_empty_tuple_reverse_function/explain.txt create mode 100644 parser/testdata/03714_queries_escaping_1/explain.txt create mode 100644 parser/testdata/03714_queries_escaping_2/explain.txt create mode 100644 parser/testdata/03715_empty_tuple_functions_conversion/explain.txt create mode 100644 parser/testdata/03716_anti_join_runtime_filters_2/explain.txt create mode 100644 parser/testdata/03716_bson_each_row_empty_tuple_column/explain.txt create mode 100644 parser/testdata/03716_join_duplicate_columns_89411/explain.txt create mode 100644 parser/testdata/03716_join_right_side_sorting/explain.txt create mode 100644 parser/testdata/03716_multiple_joins_using_top_level_identifier/explain.txt create mode 100644 parser/testdata/03716_text_index_drop_caches/explain.txt create mode 100644 parser/testdata/03716_topk_bad_data/explain.txt create mode 100644 parser/testdata/03717_msgpack_empty_tuple_column/explain.txt create mode 100644 parser/testdata/03717_system_unicode_enums/explain.txt create mode 100644 parser/testdata/03719_generic_hash_over_constant_and_non_constant/explain.txt create mode 100644 parser/testdata/03719_ntile_no_partition_by_check/explain.txt create mode 100644 parser/testdata/03720_const_limit_to_scalar/explain.txt create mode 100644 parser/testdata/03720_datetime64_bad_inference/explain.txt create mode 100644 parser/testdata/03720_file_engine_second_crash/explain.txt create mode 100644 parser/testdata/03720_numbers_table_function_with_step_edge_cases/explain.txt create mode 100644 parser/testdata/03721_aggregate_projection_actions_dag/explain.txt create mode 100644 parser/testdata/03721_concurrent_right_join_flags_per_row_bug/explain.txt create mode 100644 parser/testdata/03721_insert_replicated_array_nested_sizes_check/explain.txt create mode 100644 parser/testdata/03721_join_residual_condition_bug_88635/explain.txt create mode 100644 parser/testdata/03721_right_join_logical_step/explain.txt create mode 100644 parser/testdata/03721_statistics_alter_type_bug/explain.txt create mode 100644 parser/testdata/03722_function_trim_ltrim_rtrim_alias/explain.txt create mode 100644 parser/testdata/03722_json_compact_part_substreams_cache_bug/explain.txt create mode 100644 parser/testdata/03722_random_utf8_bug/explain.txt create mode 100644 parser/testdata/03723_incorrect_implicit_projection/explain.txt create mode 100644 parser/testdata/03724_filter_assume_not_null_materialize/explain.txt create mode 100644 parser/testdata/03724_parallel_replicas_duplicate_requests/explain.txt create mode 100644 parser/testdata/03724_to_date_time_or_null_negative_arg_bug/explain.txt create mode 100644 parser/testdata/03725_empty_tuple_some_limit_with_ties_distinct/explain.txt create mode 100644 parser/testdata/03725_json_dynamic_subcolumn_prewhere_zero_index_granularity_bytes/explain.txt create mode 100644 parser/testdata/03725_variant_element_null_map_subcolumn_prewhere_zero_index_granularity_bytes/explain.txt create mode 100644 parser/testdata/03726_array_union_with_dynamic_argument/explain.txt create mode 100644 parser/testdata/03727_alter_with_localhost_remote/explain.txt create mode 100644 parser/testdata/03727_block_structure_mismatch_after_filter_push_down/explain.txt create mode 100644 parser/testdata/03727_concat_with_separator_subquery/explain.txt create mode 100644 parser/testdata/03727_ipv4_parsing_bug/explain.txt create mode 100644 parser/testdata/03727_rename_nested_and_modify_in_one_later/explain.txt create mode 100644 parser/testdata/03727_tolowcardinality_nullable_cast/explain.txt create mode 100644 parser/testdata/03728_analyzer_identifier_resolution_join/explain.txt create mode 100644 parser/testdata/03728_explain_column_structure/explain.txt create mode 100644 parser/testdata/03730_qbit_in_order_by_and_comparison_functions/explain.txt create mode 100644 parser/testdata/03731_null_parts_in_storage_snapshot_with_only_analyze/explain.txt create mode 100644 parser/testdata/03732_join_on_exists_bug/explain.txt create mode 100644 parser/testdata/03732_json_duplicated_path_in_dynamic_paths_and_shared_data_bug/explain.txt create mode 100644 parser/testdata/03732_json_duplicated_path_in_dynamic_paths_and_shared_data_compact_part_bug/explain.txt create mode 100644 parser/testdata/03733_anti_join_runtime_filter_3/explain.txt create mode 100644 parser/testdata/03733_base58_decode_bug/explain.txt create mode 100644 parser/testdata/03733_join_order_dp/explain.txt create mode 100644 parser/testdata/03733_summing_merge_tree_nested_low_cardinality/explain.txt create mode 100644 parser/testdata/03735_excessive_buffer_flush/explain.txt create mode 100644 parser/testdata/03740_alter_modify_query_dict_name_in_cse/explain.txt create mode 100644 parser/testdata/03741_adaptive_write_buffer_initial_size_zero/explain.txt create mode 100644 parser/testdata/03741_dict_get_in_cte_with_no_arguments_old_analyzer/explain.txt create mode 100644 parser/testdata/03741_insert_select_subquery_from_file/explain.txt create mode 100644 parser/testdata/03741_subcolumns_of_materialized_columns_in_mutation/explain.txt create mode 100644 parser/testdata/03742_array_filter_is_null_empty_array/explain.txt create mode 100644 parser/testdata/03742_array_join_empty_tuple/explain.txt create mode 100644 parser/testdata/03742_lazy_materialization_of_array_after_alter_add_column/explain.txt create mode 100644 parser/testdata/03742_test_flattened_crash/explain.txt create mode 100644 parser/testdata/03743_fix_estimator_crash/explain.txt create mode 100644 parser/testdata/03743_summing_and_aggregating_merge_tree_with_json_merge/explain.txt create mode 100644 parser/testdata/03745_fix_dynamic_structure_in_compact_part/explain.txt create mode 100644 parser/testdata/03747_float_parsing_subnormal/explain.txt create mode 100644 parser/testdata/03747_optimize_functions_to_subcolumns_columns_as_substreams/explain.txt create mode 100644 parser/testdata/03748_coalescing_merge_tree_tuple_low_cardinality_and_dynamic/explain.txt create mode 100644 parser/testdata/03748_default_minmax_indices_alter/explain.txt create mode 100644 parser/testdata/03748_tuple_of_sparse_elements_bug/explain.txt create mode 100644 parser/testdata/03749_implicit_index_ephemeral_alias/explain.txt create mode 100644 parser/testdata/03749_in_function_rewrite_lambda_lhs_non_const_rhs/explain.txt create mode 100644 parser/testdata/03749_materialized_view_not_supports_parallel_write/explain.txt create mode 100644 parser/testdata/03749_table_function_argument_asterisk/explain.txt create mode 100644 parser/testdata/03751_summing_coalescing_merge_tree_sparse_columns_in_header/explain.txt create mode 100644 parser/testdata/03752_constant_expression_with_untuple/explain.txt create mode 100644 parser/testdata/03752_join_part/explain.txt create mode 100644 parser/testdata/03753_merge_selector_amm/explain.txt create mode 100644 parser/testdata/03753_replacing_empty_order_by/explain.txt create mode 100644 parser/testdata/03753_segfault_with_empty_callback/explain.txt create mode 100644 parser/testdata/03755_circular_dictionary/explain.txt create mode 100644 parser/testdata/03755_enable_sparse_nullable_consistently/explain.txt create mode 100644 parser/testdata/03755_final_prewhere_duplicate_columns/explain.txt create mode 100644 parser/testdata/03755_nested_recursive_cte/explain.txt create mode 100644 parser/testdata/03755_pr_join_with_view/explain.txt create mode 100644 parser/testdata/03756_capn_proto_message_size_limit/explain.txt create mode 100644 parser/testdata/03756_mongodb_secret_arguments/explain.txt create mode 100644 parser/testdata/03756_update_query_formatting/explain.txt create mode 100644 parser/testdata/03757_optimize_skip_unused_shards_with_type_cast/explain.txt create mode 100644 parser/testdata/03758_positional_argument_agg_projection/explain.txt create mode 100644 parser/testdata/03759_marks_cache_events/explain.txt create mode 100755 scripts/generate_explain.sh diff --git a/parser/testdata/00001_count_hits/explain.txt b/parser/testdata/00001_count_hits/explain.txt new file mode 100644 index 000000000..81aba63a1 --- /dev/null +++ b/parser/testdata/00001_count_hits/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.hits diff --git a/parser/testdata/00002_count_visits/explain.txt b/parser/testdata/00002_count_visits/explain.txt new file mode 100644 index 000000000..d60fa589a --- /dev/null +++ b/parser/testdata/00002_count_visits/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function sum (children 1) + ExpressionList (children 1) + Identifier Sign + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.visits diff --git a/parser/testdata/00002_system_numbers/explain.txt b/parser/testdata/00002_system_numbers/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00002_system_numbers/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00003_reinterpret_as_string/explain.txt b/parser/testdata/00003_reinterpret_as_string/explain.txt new file mode 100644 index 000000000..fa28810b9 --- /dev/null +++ b/parser/testdata/00003_reinterpret_as_string/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Function equals (children 1) + ExpressionList (children 2) + Function reinterpretAsString (children 1) + ExpressionList (children 1) + Identifier number + Literal \'Ð\' + Literal UInt64_1 diff --git a/parser/testdata/00004_shard_format_ast_and_remote_table/explain.txt b/parser/testdata/00004_shard_format_ast_and_remote_table/explain.txt new file mode 100644 index 000000000..433c5a4b4 --- /dev/null +++ b/parser/testdata/00004_shard_format_ast_and_remote_table/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function minus (children 1) + ExpressionList (children 2) + Identifier dummy (alias x) + Literal UInt64_1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 3) + Literal \'127.0.0.{2,3}\' + Identifier system + Identifier one diff --git a/parser/testdata/00004_top_counters/explain.txt b/parser/testdata/00004_top_counters/explain.txt new file mode 100644 index 000000000..e5f4c6f6b --- /dev/null +++ b/parser/testdata/00004_top_counters/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 2) + Identifier CounterID + Function count (alias c) (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.hits + ExpressionList (children 1) + Identifier CounterID + ExpressionList (children 1) + OrderByElement (children 1) + Identifier c + Literal UInt64_10 diff --git a/parser/testdata/00005_filtering/explain.txt b/parser/testdata/00005_filtering/explain.txt new file mode 100644 index 000000000..ae881d9c7 --- /dev/null +++ b/parser/testdata/00005_filtering/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.hits + Function notEquals (children 1) + ExpressionList (children 2) + Identifier AdvEngineID + Literal UInt64_0 diff --git a/parser/testdata/00005_shard_format_ast_and_remote_table_lambda/explain.txt b/parser/testdata/00005_shard_format_ast_and_remote_table_lambda/explain.txt new file mode 100644 index 000000000..c9137e80c --- /dev/null +++ b/parser/testdata/00005_shard_format_ast_and_remote_table_lambda/explain.txt @@ -0,0 +1,26 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 3) + Literal \'127.0.0.{2,3}\' + Identifier system + Identifier one + Function arrayExists (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function equals (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_1 + Literal Array_[UInt64_1, UInt64_2, UInt64_3] diff --git a/parser/testdata/00006_agregates/explain.txt b/parser/testdata/00006_agregates/explain.txt new file mode 100644 index 000000000..e814441ac --- /dev/null +++ b/parser/testdata/00006_agregates/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 3) + Function sum (children 1) + ExpressionList (children 1) + Identifier AdvEngineID + Function count (children 1) + ExpressionList + Function avg (children 1) + ExpressionList (children 1) + Identifier ResolutionWidth + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.hits diff --git a/parser/testdata/00006_extremes_and_subquery_from/explain.txt b/parser/testdata/00006_extremes_and_subquery_from/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00006_extremes_and_subquery_from/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00007_array/explain.txt b/parser/testdata/00007_array/explain.txt new file mode 100644 index 000000000..c2b7fb37e --- /dev/null +++ b/parser/testdata/00007_array/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal Array_[\'Hello\', \'Goodbye\'] diff --git a/parser/testdata/00007_uniq/explain.txt b/parser/testdata/00007_uniq/explain.txt new file mode 100644 index 000000000..203d57c07 --- /dev/null +++ b/parser/testdata/00007_uniq/explain.txt @@ -0,0 +1,24 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 2) + Identifier RegionID + Function uniq (alias u) (children 1) + ExpressionList (children 1) + Identifier UserID + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.hits + Function equals (children 1) + ExpressionList (children 2) + Identifier CounterID + Literal UInt64_800784 + ExpressionList (children 1) + Identifier RegionID + ExpressionList (children 2) + OrderByElement (children 1) + Identifier u + OrderByElement (children 1) + Identifier RegionID + Literal UInt64_10 diff --git a/parser/testdata/00008_array_join/explain.txt b/parser/testdata/00008_array_join/explain.txt new file mode 100644 index 000000000..56eb163a2 --- /dev/null +++ b/parser/testdata/00008_array_join/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayJoin (children 1) + ExpressionList (children 1) + Literal Array_[\'Hello\', \'Goodbye\'] diff --git a/parser/testdata/00008_uniq/explain.txt b/parser/testdata/00008_uniq/explain.txt new file mode 100644 index 000000000..8b4ad230a --- /dev/null +++ b/parser/testdata/00008_uniq/explain.txt @@ -0,0 +1,25 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 3) + Function uniq (children 1) + ExpressionList (children 1) + Identifier UserID + Function uniqIf (children 1) + ExpressionList (children 2) + Identifier UserID + Function equals (children 1) + ExpressionList (children 2) + Identifier CounterID + Literal UInt64_800784 + Function uniqIf (children 1) + ExpressionList (children 2) + Identifier FUniqID + Function equals (children 1) + ExpressionList (children 2) + Identifier RegionID + Literal UInt64_213 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.hits diff --git a/parser/testdata/00009_array_join_subquery/explain.txt b/parser/testdata/00009_array_join_subquery/explain.txt new file mode 100644 index 000000000..07342d52f --- /dev/null +++ b/parser/testdata/00009_array_join_subquery/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier x + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayJoin (alias x) (children 1) + ExpressionList (children 1) + Literal Array_[\'Hello\', \'Goodbye\'] diff --git a/parser/testdata/00009_uniq_distributed/explain.txt b/parser/testdata/00009_uniq_distributed/explain.txt new file mode 100644 index 000000000..adf613e32 --- /dev/null +++ b/parser/testdata/00009_uniq_distributed/explain.txt @@ -0,0 +1,29 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 3) + Function uniq (children 1) + ExpressionList (children 1) + Identifier UserID + Function uniqIf (children 1) + ExpressionList (children 2) + Identifier UserID + Function equals (children 1) + ExpressionList (children 2) + Identifier CounterID + Literal UInt64_800784 + Function uniqIf (children 1) + ExpressionList (children 2) + Identifier FUniqID + Function equals (children 1) + ExpressionList (children 2) + Identifier RegionID + Literal UInt64_213 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 3) + Literal \'127.0.0.{1,2}\' + Identifier test + Identifier hits diff --git a/parser/testdata/00010_big_array_join/explain.txt b/parser/testdata/00010_big_array_join/explain.txt new file mode 100644 index 000000000..c116a0b53 --- /dev/null +++ b/parser/testdata/00010_big_array_join/explain.txt @@ -0,0 +1,21 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier x + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function arrayJoin (alias x) (children 1) + ExpressionList (children 1) + Literal Array_[\'Hello\', \'Goodbye\'] + Literal Array_[UInt64_1, UInt64_2, UInt64_3] (alias arr) + TablesInSelectQueryElement (children 1) + ArrayJoin (children 1) + ExpressionList (children 1) + Identifier arr diff --git a/parser/testdata/00010_quantiles_segfault/explain.txt b/parser/testdata/00010_quantiles_segfault/explain.txt new file mode 100644 index 000000000..10b51264f --- /dev/null +++ b/parser/testdata/00010_quantiles_segfault/explain.txt @@ -0,0 +1,103 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 8) + ExpressionList (children 3) + Identifier URL (alias ym:ah:URL) + Function sum (children 1) + ExpressionList (children 1) + Function and (children 1) + ExpressionList (children 2) + Function not (children 1) + ExpressionList (children 1) + Identifier DontCountHits + Function not (children 1) + ExpressionList (children 1) + Identifier Refresh + Function quantilesTimingIf (alias t) (children 2) + ExpressionList (children 2) + Function plus (children 1) + ExpressionList (children 2) + Identifier DOMCompleteTiming + Identifier LoadEventEndTiming + Function and (children 1) + ExpressionList (children 2) + Function notEquals (children 1) + ExpressionList (children 2) + Identifier DOMCompleteTiming + Literal Int64_-1 + Function notEquals (children 1) + ExpressionList (children 2) + Identifier LoadEventEndTiming + Literal Int64_-1 + ExpressionList (children 3) + Literal Float64_0.1 + Literal Float64_0.5 + Literal Float64_0.9 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 3) + Literal \'127.0.0.{1,2}\' + Identifier test + Identifier hits + Function and (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier CounterID + Literal UInt64_800784 + Function and (children 1) + ExpressionList (children 2) + Function or (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier DontCountHits + Literal UInt64_0 + Function equals (children 1) + ExpressionList (children 2) + Identifier IsNotBounce + Literal UInt64_1 + Function notEquals (children 1) + ExpressionList (children 2) + Identifier URL + Literal \'\' + ExpressionList (children 1) + Identifier ym:ah:URL + Function and (children 1) + ExpressionList (children 2) + Function greater (children 1) + ExpressionList (children 2) + Function sum (children 1) + ExpressionList (children 1) + Function and (children 1) + ExpressionList (children 2) + Function not (children 1) + ExpressionList (children 1) + Identifier DontCountHits + Function not (children 1) + ExpressionList (children 1) + Identifier Refresh + Literal UInt64_0 + Function greater (children 1) + ExpressionList (children 2) + Function count (children 1) + ExpressionList + Literal UInt64_0 + ExpressionList (children 2) + OrderByElement (children 1) + Function sum (children 1) + ExpressionList (children 1) + Function and (children 1) + ExpressionList (children 2) + Function not (children 1) + ExpressionList (children 1) + Identifier DontCountHits + Function not (children 1) + ExpressionList (children 1) + Identifier Refresh + OrderByElement (children 1) + Identifier URL + Literal UInt64_0 + Literal UInt64_1 diff --git a/parser/testdata/00011_array_join_alias/explain.txt b/parser/testdata/00011_array_join_alias/explain.txt new file mode 100644 index 000000000..d301367fc --- /dev/null +++ b/parser/testdata/00011_array_join_alias/explain.txt @@ -0,0 +1,22 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Identifier x + Identifier a + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function arrayJoin (alias x) (children 1) + ExpressionList (children 1) + Literal Array_[\'Hello\', \'Goodbye\'] + Literal Array_[UInt64_1, UInt64_2, UInt64_3] (alias arr) + TablesInSelectQueryElement (children 1) + ArrayJoin (children 1) + ExpressionList +The query succeeded but the server error '42' was expected (query: EXPLAIN AST SELECT x, a FROM (SELECT arrayJoin(['Hello', 'Goodbye']) AS x, [1, 2, 3] AS arr) ARRAY JOIN; -- { serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH }). diff --git a/parser/testdata/00011_sorting/explain.txt b/parser/testdata/00011_sorting/explain.txt new file mode 100644 index 000000000..1e3148237 --- /dev/null +++ b/parser/testdata/00011_sorting/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Identifier EventTime + Literal \'DateTime(\\\'Asia/Dubai\\\')\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.hits + ExpressionList (children 1) + OrderByElement (children 1) + Identifier EventTime + Literal UInt64_10 diff --git a/parser/testdata/00012_array_join_alias_2/explain.txt b/parser/testdata/00012_array_join_alias_2/explain.txt new file mode 100644 index 000000000..fe732698e --- /dev/null +++ b/parser/testdata/00012_array_join_alias_2/explain.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 3) + Identifier x + Identifier a + Identifier arr + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function arrayJoin (alias x) (children 1) + ExpressionList (children 1) + Literal Array_[\'Hello\', \'Goodbye\'] + Literal Array_[UInt64_1, UInt64_2, UInt64_3] (alias arr) + TablesInSelectQueryElement (children 1) + ArrayJoin (children 1) + ExpressionList (children 1) + Identifier arr (alias a) diff --git a/parser/testdata/00012_sorting_distributed/explain.txt b/parser/testdata/00012_sorting_distributed/explain.txt new file mode 100644 index 000000000..1a8a749e6 --- /dev/null +++ b/parser/testdata/00012_sorting_distributed/explain.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Identifier EventTime + Literal \'DateTime(\\\'Asia/Dubai\\\')\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 3) + Literal \'127.0.0.{1,2}\' + Identifier test + Identifier hits + ExpressionList (children 1) + OrderByElement (children 1) + Identifier EventTime + Literal UInt64_10 diff --git a/parser/testdata/00013_create_table_with_arrays/explain.txt b/parser/testdata/00013_create_table_with_arrays/explain.txt new file mode 100644 index 000000000..5e49c2b64 --- /dev/null +++ b/parser/testdata/00013_create_table_with_arrays/explain.txt @@ -0,0 +1,2 @@ +DropQuery arrays_test (children 1) + Identifier arrays_test diff --git a/parser/testdata/00013_sorting_of_nested/explain.txt b/parser/testdata/00013_sorting_of_nested/explain.txt new file mode 100644 index 000000000..125e1e516 --- /dev/null +++ b/parser/testdata/00013_sorting_of_nested/explain.txt @@ -0,0 +1,22 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 1) + Identifier ParsedParams.Key1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.visits + Function and (children 1) + ExpressionList (children 2) + Function notEquals (children 1) + ExpressionList (children 2) + Identifier VisitID + Literal UInt64_0 + Function notEmpty (children 1) + ExpressionList (children 1) + Identifier ParsedParams.Key1 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier VisitID + Literal UInt64_10 diff --git a/parser/testdata/00014_filtering_arrays/explain.txt b/parser/testdata/00014_filtering_arrays/explain.txt new file mode 100644 index 000000000..40cf5d810 --- /dev/null +++ b/parser/testdata/00014_filtering_arrays/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 1) + Identifier GeneralInterests + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.hits + Function notEquals (children 1) + ExpressionList (children 2) + Identifier AdvEngineID + Literal UInt64_0 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier GeneralInterests + Literal UInt64_10 diff --git a/parser/testdata/00014_select_from_table_with_nested/explain.txt b/parser/testdata/00014_select_from_table_with_nested/explain.txt new file mode 100644 index 000000000..01a622df6 --- /dev/null +++ b/parser/testdata/00014_select_from_table_with_nested/explain.txt @@ -0,0 +1,2 @@ +DropQuery nested_test (children 1) + Identifier nested_test diff --git a/parser/testdata/00015_totals_and_no_aggregate_functions/explain.txt b/parser/testdata/00015_totals_and_no_aggregate_functions/explain.txt new file mode 100644 index 000000000..4e449d315 --- /dev/null +++ b/parser/testdata/00015_totals_and_no_aggregate_functions/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Identifier AdvEngineID + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.hits + ExpressionList (children 1) + Identifier AdvEngineID + ExpressionList (children 1) + OrderByElement (children 1) + Identifier AdvEngineID diff --git a/parser/testdata/00015_totals_having_constants/explain.txt b/parser/testdata/00015_totals_having_constants/explain.txt new file mode 100644 index 000000000..59257ea31 --- /dev/null +++ b/parser/testdata/00015_totals_having_constants/explain.txt @@ -0,0 +1,34 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 2) + Identifier number + Function divide (children 1) + ExpressionList (children 2) + Function count (children 1) + ExpressionList + Literal Float64_0.1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_10 + ExpressionList (children 1) + Identifier number + Function greater (children 1) + ExpressionList (children 2) + Function count (children 1) + ExpressionList + Literal Float64_0.1 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier number diff --git a/parser/testdata/00016_any_if_distributed_cond_always_false/explain.txt b/parser/testdata/00016_any_if_distributed_cond_always_false/explain.txt new file mode 100644 index 000000000..4ca5beaa6 --- /dev/null +++ b/parser/testdata/00016_any_if_distributed_cond_always_false/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function anyIf (children 1) + ExpressionList (children 2) + Identifier SearchPhrase + Function equals (children 1) + ExpressionList (children 2) + Identifier CounterID + Literal Int64_-1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 3) + Literal \'127.0.0.{1,2}:9000\' + Identifier test + Identifier hits diff --git a/parser/testdata/00016_totals_having_constants/explain.txt b/parser/testdata/00016_totals_having_constants/explain.txt new file mode 100644 index 000000000..3c15153f1 --- /dev/null +++ b/parser/testdata/00016_totals_having_constants/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Identifier dummy + Function divide (children 1) + ExpressionList (children 2) + Function count (children 1) + ExpressionList + Literal Float64_0.1 + ExpressionList (children 1) + Identifier dummy + Function greater (children 1) + ExpressionList (children 2) + Function count (children 1) + ExpressionList + Literal Float64_0.1 diff --git a/parser/testdata/00017_aggregation_uninitialized_memory/explain.txt b/parser/testdata/00017_aggregation_uninitialized_memory/explain.txt new file mode 100644 index 000000000..65d4fac90 --- /dev/null +++ b/parser/testdata/00017_aggregation_uninitialized_memory/explain.txt @@ -0,0 +1,22 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 2) + Function arrayElement (alias q) (children 1) + ExpressionList (children 2) + Function URLHierarchy (children 1) + ExpressionList (children 1) + Identifier URL + Literal UInt64_1 + Literal \'x\' (alias w) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.hits + Function equals (children 1) + ExpressionList (children 2) + Identifier CounterID + Literal UInt64_14917930 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier URL diff --git a/parser/testdata/00017_in_subquery_with_empty_result/explain.txt b/parser/testdata/00017_in_subquery_with_empty_result/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00017_in_subquery_with_empty_result/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00018_distinct_in_subquery/explain.txt b/parser/testdata/00018_distinct_in_subquery/explain.txt new file mode 100644 index 000000000..89ab10980 --- /dev/null +++ b/parser/testdata/00018_distinct_in_subquery/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier x + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_1 (alias x) + Function arrayJoin (alias y) (children 1) + ExpressionList (children 1) + Literal Array_[UInt64_1, UInt64_2] diff --git a/parser/testdata/00019_shard_quantiles_totals_distributed/explain.txt b/parser/testdata/00019_shard_quantiles_totals_distributed/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00019_shard_quantiles_totals_distributed/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00020_distinct_order_by_distributed/explain.txt b/parser/testdata/00020_distinct_order_by_distributed/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00020_distinct_order_by_distributed/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00020_sorting_arrays/explain.txt b/parser/testdata/00020_sorting_arrays/explain.txt new file mode 100644 index 000000000..d1c5b9967 --- /dev/null +++ b/parser/testdata/00020_sorting_arrays/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function arrayJoin (alias x) (children 1) + ExpressionList (children 1) + Literal Array_[Array_[UInt64_3, UInt64_4, UInt64_5], Array_[UInt64_6, UInt64_7], Array_[UInt64_2], Array_[UInt64_1, UInt64_1]] + ExpressionList (children 1) + OrderByElement (children 1) + Identifier x diff --git a/parser/testdata/00021_1_select_with_in/explain.txt b/parser/testdata/00021_1_select_with_in/explain.txt new file mode 100644 index 000000000..1e2563939 --- /dev/null +++ b/parser/testdata/00021_1_select_with_in/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function sum (children 1) + ExpressionList (children 1) + Identifier Sign + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.visits + Function in (children 1) + ExpressionList (children 2) + Identifier CounterID + Literal UInt64_942285 diff --git a/parser/testdata/00021_2_select_with_in/explain.txt b/parser/testdata/00021_2_select_with_in/explain.txt new file mode 100644 index 000000000..1d8facaa1 --- /dev/null +++ b/parser/testdata/00021_2_select_with_in/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function sum (children 1) + ExpressionList (children 1) + Identifier Sign + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.visits + Function in (children 1) + ExpressionList (children 2) + Identifier CounterID + Literal Tuple_(UInt64_942285, UInt64_577322) diff --git a/parser/testdata/00021_3_select_with_in/explain.txt b/parser/testdata/00021_3_select_with_in/explain.txt new file mode 100644 index 000000000..d10ad95eb --- /dev/null +++ b/parser/testdata/00021_3_select_with_in/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function in (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal Tuple_(UInt64_1, UInt64_2, UInt64_3) diff --git a/parser/testdata/00021_sorting_arrays/explain.txt b/parser/testdata/00021_sorting_arrays/explain.txt new file mode 100644 index 000000000..d1c5b9967 --- /dev/null +++ b/parser/testdata/00021_sorting_arrays/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function arrayJoin (alias x) (children 1) + ExpressionList (children 1) + Literal Array_[Array_[UInt64_3, UInt64_4, UInt64_5], Array_[UInt64_6, UInt64_7], Array_[UInt64_2], Array_[UInt64_1, UInt64_1]] + ExpressionList (children 1) + OrderByElement (children 1) + Identifier x diff --git a/parser/testdata/00022_func_higher_order_and_constants/explain.txt b/parser/testdata/00022_func_higher_order_and_constants/explain.txt new file mode 100644 index 000000000..d7a44211d --- /dev/null +++ b/parser/testdata/00022_func_higher_order_and_constants/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayExists (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function greater (children 1) + ExpressionList (children 2) + Function position (children 1) + ExpressionList (children 2) + Identifier x + Literal \'a\' + Literal UInt64_0 + Literal Array_[\'a\'] diff --git a/parser/testdata/00022_merge_prewhere/explain.txt b/parser/testdata/00022_merge_prewhere/explain.txt new file mode 100644 index 000000000..70be55cd9 --- /dev/null +++ b/parser/testdata/00022_merge_prewhere/explain.txt @@ -0,0 +1,2 @@ +DropQuery merge_hits (children 1) + Identifier merge_hits diff --git a/parser/testdata/00023_agg_select_agg_subquery/explain.txt b/parser/testdata/00023_agg_select_agg_subquery/explain.txt new file mode 100644 index 000000000..4538842e5 --- /dev/null +++ b/parser/testdata/00023_agg_select_agg_subquery/explain.txt @@ -0,0 +1,24 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function sum (children 1) + ExpressionList (children 1) + Function materialize (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Function sum (children 1) + ExpressionList (children 1) + Function materialize (children 1) + ExpressionList (children 1) + Literal UInt64_2 diff --git a/parser/testdata/00023_totals_limit/explain.txt b/parser/testdata/00023_totals_limit/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00023_totals_limit/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00024_random_counters/explain.txt b/parser/testdata/00024_random_counters/explain.txt new file mode 100644 index 000000000..ad90e0776 --- /dev/null +++ b/parser/testdata/00024_random_counters/explain.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Function uniq (children 1) + ExpressionList (children 1) + Identifier UserID + Function sum (children 1) + ExpressionList (children 1) + Identifier Sign + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.visits + Function equals (children 1) + ExpressionList (children 2) + Identifier CounterID + Literal UInt64_32152608 diff --git a/parser/testdata/00024_unused_array_join_in_subquery/explain.txt b/parser/testdata/00024_unused_array_join_in_subquery/explain.txt new file mode 100644 index 000000000..0b9e806d8 --- /dev/null +++ b/parser/testdata/00024_unused_array_join_in_subquery/explain.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Function arrayJoin (children 1) + ExpressionList (children 1) + Literal Array_[UInt64_1, UInt64_2, UInt64_3] diff --git a/parser/testdata/00025_implicitly_used_subquery_column/explain.txt b/parser/testdata/00025_implicitly_used_subquery_column/explain.txt new file mode 100644 index 000000000..fe7108504 --- /dev/null +++ b/parser/testdata/00025_implicitly_used_subquery_column/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier y + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function materialize (alias x) (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Identifier x (alias y) diff --git a/parser/testdata/00026_shard_something_distributed/explain.txt b/parser/testdata/00026_shard_something_distributed/explain.txt new file mode 100644 index 000000000..e1a668ee9 --- /dev/null +++ b/parser/testdata/00026_shard_something_distributed/explain.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function not (children 1) + ExpressionList (children 1) + Identifier dummy + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 3) + Literal \'127.0.0.{2,3}\' + Identifier system + Identifier one + Function not (children 1) + ExpressionList (children 1) + Identifier dummy diff --git a/parser/testdata/00027_argMinMax/explain.txt b/parser/testdata/00027_argMinMax/explain.txt new file mode 100644 index 000000000..46ffcf473 --- /dev/null +++ b/parser/testdata/00027_argMinMax/explain.txt @@ -0,0 +1,45 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function argMin (children 1) + ExpressionList (children 2) + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_1 + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_2 + Function argMax (children 1) + ExpressionList (children 2) + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_1 + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_2 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function tuple (alias x) (children 1) + ExpressionList (children 2) + Identifier number + Function plus (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 diff --git a/parser/testdata/00027_distinct_and_order_by/explain.txt b/parser/testdata/00027_distinct_and_order_by/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00027_distinct_and_order_by/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00027_simple_argMinArray/explain.txt b/parser/testdata/00027_simple_argMinArray/explain.txt new file mode 100644 index 000000000..c22695038 --- /dev/null +++ b/parser/testdata/00027_simple_argMinArray/explain.txt @@ -0,0 +1,26 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function argMinArray (children 1) + ExpressionList (children 2) + Identifier id + Identifier num + Function argMaxArray (children 1) + ExpressionList (children 2) + Identifier id + Identifier num + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function arrayJoin (alias num) (children 1) + ExpressionList (children 1) + Literal Array_[Array_[UInt64_10, UInt64_4, UInt64_3], Array_[UInt64_7, UInt64_5, UInt64_6], Array_[UInt64_8, UInt64_8, UInt64_2]] + Function arrayJoin (alias id) (children 1) + ExpressionList (children 1) + Literal Array_[Array_[UInt64_1, UInt64_2, UInt64_4]] diff --git a/parser/testdata/00028_shard_big_agg_aj_distributed/explain.txt b/parser/testdata/00028_shard_big_agg_aj_distributed/explain.txt new file mode 100644 index 000000000..c16163a29 --- /dev/null +++ b/parser/testdata/00028_shard_big_agg_aj_distributed/explain.txt @@ -0,0 +1,2 @@ +DropQuery big_array (children 1) + Identifier big_array diff --git a/parser/testdata/00030_alter_table/explain.txt b/parser/testdata/00030_alter_table/explain.txt new file mode 100644 index 000000000..b5c973287 --- /dev/null +++ b/parser/testdata/00030_alter_table/explain.txt @@ -0,0 +1,2 @@ +DropQuery alter_test (children 1) + Identifier alter_test diff --git a/parser/testdata/00030_array_enumerate_uniq/explain.txt b/parser/testdata/00030_array_enumerate_uniq/explain.txt new file mode 100644 index 000000000..5e69dc9a6 --- /dev/null +++ b/parser/testdata/00030_array_enumerate_uniq/explain.txt @@ -0,0 +1,26 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function max (children 1) + ExpressionList (children 1) + Function arrayJoin (children 1) + ExpressionList (children 1) + Function arrayEnumerateUniq (children 1) + ExpressionList (children 1) + Function arrayMap (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function intDiv (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_10 + Identifier URLCategories + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.hits diff --git a/parser/testdata/00031_array_enumerate_uniq/explain.txt b/parser/testdata/00031_array_enumerate_uniq/explain.txt new file mode 100644 index 000000000..2d50cb788 --- /dev/null +++ b/parser/testdata/00031_array_enumerate_uniq/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Identifier UserID + Function arrayEnumerateUniq (alias arr) (children 1) + ExpressionList (children 1) + Function groupArray (children 1) + ExpressionList (children 1) + Identifier SearchPhrase diff --git a/parser/testdata/00031_parser_number/explain.txt b/parser/testdata/00031_parser_number/explain.txt new file mode 100644 index 000000000..18b3c138f --- /dev/null +++ b/parser/testdata/00031_parser_number/explain.txt @@ -0,0 +1,119 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 56) + Literal UInt64_0 (alias x1) + Literal UInt64_1 (alias x2) + Literal Int64_-1 (alias x3) + Literal UInt64_128 (alias x4) + Literal Int64_-127 (alias x5) + Literal Int64_-128 (alias x6) + Literal UInt64_255 (alias x7) + Literal Int64_-128 (alias x8) + Literal UInt64_377 (alias x9) + Literal Int64_-177 (alias x10) + Literal UInt64_65535 (alias x11) + Literal UInt64_4294967295 (alias x12) + Literal Float64_12300 (alias x13) + Literal Float64_4656 (alias x14) + Literal Float64_-0 (alias x15) + Literal Float64_-0 (alias x16) + Literal Float64_0 (alias x17) + Literal UInt64_18446744073709551615 (alias x18) + Literal Float64_20988295479420645000 (alias x19) + Literal Float64_-18446744073709552000 (alias x20) + Literal Int64_-9223372036854775807 (alias x21) + Literal Float64_-8.98846567431158e307 (alias x22) + Literal Float64_-2.2250738585072014e-308 (alias x23) + Literal Float64_inf (alias x24) + Literal Float64_-inf (alias x25) + Literal Float64_nan (alias x26) + Function divide (alias x27) (children 1) + ExpressionList (children 2) + Literal UInt64_0 + Literal UInt64_0 + Literal Float64_1e-302 (alias x28) + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier x1 + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier x2 + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier x3 + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier x4 + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier x5 + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier x6 + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier x7 + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier x8 + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier x9 + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier x10 + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier x11 + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier x12 + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier x13 + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier x14 + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier x15 + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier x16 + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier x17 + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier x18 + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier x19 + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier x20 + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier x21 + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier x22 + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier x23 + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier x24 + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier x25 + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier x26 + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier x27 + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier x28 diff --git a/parser/testdata/00032_aggregate_key64/explain.txt b/parser/testdata/00032_aggregate_key64/explain.txt new file mode 100644 index 000000000..89e00b8b1 --- /dev/null +++ b/parser/testdata/00032_aggregate_key64/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 2) + Identifier SearchEngineID (alias k1) + Function count (alias c) (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.hits + ExpressionList (children 1) + Identifier k1 + ExpressionList (children 2) + OrderByElement (children 1) + Identifier c + OrderByElement (children 1) + Identifier k1 + Literal UInt64_10 diff --git a/parser/testdata/00032_fixed_string_to_string/explain.txt b/parser/testdata/00032_fixed_string_to_string/explain.txt new file mode 100644 index 000000000..2e961c4aa --- /dev/null +++ b/parser/testdata/00032_fixed_string_to_string/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function toString (children 1) + ExpressionList (children 1) + Function toFixedString (children 1) + ExpressionList (children 2) + Function toString (children 1) + ExpressionList (children 1) + Identifier number + Literal UInt64_3 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_111 diff --git a/parser/testdata/00033_aggregate_key_string/explain.txt b/parser/testdata/00033_aggregate_key_string/explain.txt new file mode 100644 index 000000000..5ec7cfd13 --- /dev/null +++ b/parser/testdata/00033_aggregate_key_string/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 2) + Identifier SearchPhrase (alias k1) + Function count (alias c) (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.hits + ExpressionList (children 1) + Identifier k1 + ExpressionList (children 2) + OrderByElement (children 1) + Identifier c + OrderByElement (children 1) + Identifier k1 + Literal UInt64_10 diff --git a/parser/testdata/00033_fixed_string_to_string/explain.txt b/parser/testdata/00033_fixed_string_to_string/explain.txt new file mode 100644 index 000000000..a78d4ba6f --- /dev/null +++ b/parser/testdata/00033_fixed_string_to_string/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toString (children 1) + ExpressionList (children 1) + Function toFixedString (children 1) + ExpressionList (children 2) + Literal \'\' + Literal UInt64_10 diff --git a/parser/testdata/00034_aggregate_key_fixed_string/explain.txt b/parser/testdata/00034_aggregate_key_fixed_string/explain.txt new file mode 100644 index 000000000..c9b99787a --- /dev/null +++ b/parser/testdata/00034_aggregate_key_fixed_string/explain.txt @@ -0,0 +1,26 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 2) + Function toFixedString (alias k1) (children 1) + ExpressionList (children 2) + Function substring (children 1) + ExpressionList (children 3) + Identifier SearchPhrase + Literal UInt64_1 + Literal UInt64_17 + Literal UInt64_17 + Function count (alias c) (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.hits + ExpressionList (children 1) + Identifier k1 + ExpressionList (children 2) + OrderByElement (children 1) + Identifier c + OrderByElement (children 1) + Identifier k1 + Literal UInt64_10 diff --git a/parser/testdata/00034_fixed_string_to_number/explain.txt b/parser/testdata/00034_fixed_string_to_number/explain.txt new file mode 100644 index 000000000..a905f215b --- /dev/null +++ b/parser/testdata/00034_fixed_string_to_number/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function toUInt16 (children 1) + ExpressionList (children 1) + Function toFixedString (children 1) + ExpressionList (children 2) + Function toString (children 1) + ExpressionList (children 1) + Identifier number + Literal UInt64_3 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_111 diff --git a/parser/testdata/00035_aggregate_keys128/explain.txt b/parser/testdata/00035_aggregate_keys128/explain.txt new file mode 100644 index 000000000..857e1b9e4 --- /dev/null +++ b/parser/testdata/00035_aggregate_keys128/explain.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 3) + Identifier SearchEngineID (alias k1) + Identifier AdvEngineID (alias k2) + Function count (alias c) (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.hits + ExpressionList (children 2) + Identifier k1 + Identifier k2 + ExpressionList (children 3) + OrderByElement (children 1) + Identifier c + OrderByElement (children 1) + Identifier k1 + OrderByElement (children 1) + Identifier k2 + Literal UInt64_10 diff --git a/parser/testdata/00035_function_array_return_type/explain.txt b/parser/testdata/00035_function_array_return_type/explain.txt new file mode 100644 index 000000000..2bbfca65b --- /dev/null +++ b/parser/testdata/00035_function_array_return_type/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal Array_[UInt64_1] diff --git a/parser/testdata/00036_aggregate_hashed/explain.txt b/parser/testdata/00036_aggregate_hashed/explain.txt new file mode 100644 index 000000000..d84e511dc --- /dev/null +++ b/parser/testdata/00036_aggregate_hashed/explain.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 3) + Identifier SearchEngineID (alias k1) + Identifier SearchPhrase (alias k2) + Function count (alias c) (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.hits + ExpressionList (children 2) + Identifier k1 + Identifier k2 + ExpressionList (children 3) + OrderByElement (children 1) + Identifier c + OrderByElement (children 1) + Identifier k1 + OrderByElement (children 1) + Identifier k2 + Literal UInt64_10 diff --git a/parser/testdata/00036_array_element/explain.txt b/parser/testdata/00036_array_element/explain.txt new file mode 100644 index 000000000..dcb4a75a3 --- /dev/null +++ b/parser/testdata/00036_array_element/explain.txt @@ -0,0 +1,2 @@ +DropQuery array_element_test (children 1) + Identifier array_element_test diff --git a/parser/testdata/00037_totals_limit/explain.txt b/parser/testdata/00037_totals_limit/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00037_totals_limit/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00037_uniq_state_merge1/explain.txt b/parser/testdata/00037_uniq_state_merge1/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00037_uniq_state_merge1/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00038_totals_limit/explain.txt b/parser/testdata/00038_totals_limit/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00038_totals_limit/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00038_uniq_state_merge2/explain.txt b/parser/testdata/00038_uniq_state_merge2/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00038_uniq_state_merge2/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00039_primary_key/explain.txt b/parser/testdata/00039_primary_key/explain.txt new file mode 100644 index 000000000..ccf82a692 --- /dev/null +++ b/parser/testdata/00039_primary_key/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.hits + Function less (children 1) + ExpressionList (children 2) + Identifier CounterID + Literal UInt64_10000 diff --git a/parser/testdata/00040_aggregating_materialized_view/explain.txt b/parser/testdata/00040_aggregating_materialized_view/explain.txt new file mode 100644 index 000000000..619dffc26 --- /dev/null +++ b/parser/testdata/00040_aggregating_materialized_view/explain.txt @@ -0,0 +1,2 @@ +DropQuery basic_00040 (children 1) + Identifier basic_00040 diff --git a/parser/testdata/00040_array_enumerate_uniq/explain.txt b/parser/testdata/00040_array_enumerate_uniq/explain.txt new file mode 100644 index 000000000..91f53bafd --- /dev/null +++ b/parser/testdata/00040_array_enumerate_uniq/explain.txt @@ -0,0 +1,54 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function max (children 1) + ExpressionList (children 1) + Function arrayJoin (children 1) + ExpressionList (children 1) + Identifier arr + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function arrayEnumerateUniq (alias arr) (children 1) + ExpressionList (children 2) + Function groupArray (alias nums) (children 1) + ExpressionList (children 1) + Function intDiv (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_54321 + Function groupArray (children 1) + ExpressionList (children 1) + Function toString (children 1) + ExpressionList (children 1) + Function intDiv (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_98765 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_1000000 + ExpressionList (children 1) + Function modulo (children 1) + ExpressionList (children 2) + Function intHash32 (children 1) + ExpressionList (children 1) + Identifier number + Literal UInt64_100000 diff --git a/parser/testdata/00041_aggregating_materialized_view/explain.txt b/parser/testdata/00041_aggregating_materialized_view/explain.txt new file mode 100644 index 000000000..50bd6693c --- /dev/null +++ b/parser/testdata/00041_aggregating_materialized_view/explain.txt @@ -0,0 +1,2 @@ +DropQuery basic (children 1) + Identifier basic diff --git a/parser/testdata/00041_aggregation_remap/explain.txt b/parser/testdata/00041_aggregation_remap/explain.txt new file mode 100644 index 000000000..39405c356 --- /dev/null +++ b/parser/testdata/00041_aggregation_remap/explain.txt @@ -0,0 +1,30 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 2) + Identifier number + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_200000 + ExpressionList (children 1) + Identifier number + ExpressionList (children 2) + OrderByElement (children 1) + Function count (children 1) + ExpressionList + OrderByElement (children 1) + Identifier number + Literal UInt64_10 diff --git a/parser/testdata/00041_big_array_join/explain.txt b/parser/testdata/00041_big_array_join/explain.txt new file mode 100644 index 000000000..c16163a29 --- /dev/null +++ b/parser/testdata/00041_big_array_join/explain.txt @@ -0,0 +1,2 @@ +DropQuery big_array (children 1) + Identifier big_array diff --git a/parser/testdata/00042_any_left_join/metadata.json b/parser/testdata/00042_any_left_join/metadata.json index ef120d978..411deef79 100644 --- a/parser/testdata/00042_any_left_join/metadata.json +++ b/parser/testdata/00042_any_left_join/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false} diff --git a/parser/testdata/00042_set/explain.txt b/parser/testdata/00042_set/explain.txt new file mode 100644 index 000000000..457726f6d --- /dev/null +++ b/parser/testdata/00042_set/explain.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function in (children 1) + ExpressionList (children 2) + Function toUInt64 (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_1100000 diff --git a/parser/testdata/00043_any_left_join/metadata.json b/parser/testdata/00043_any_left_join/metadata.json index ef120d978..411deef79 100644 --- a/parser/testdata/00043_any_left_join/metadata.json +++ b/parser/testdata/00043_any_left_join/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false} diff --git a/parser/testdata/00043_summing_empty_part/explain.txt b/parser/testdata/00043_summing_empty_part/explain.txt new file mode 100644 index 000000000..2d935fd81 --- /dev/null +++ b/parser/testdata/00043_summing_empty_part/explain.txt @@ -0,0 +1,2 @@ +DropQuery empty_summing (children 1) + Identifier empty_summing diff --git a/parser/testdata/00044_any_left_join_string/metadata.json b/parser/testdata/00044_any_left_join_string/metadata.json index ef120d978..411deef79 100644 --- a/parser/testdata/00044_any_left_join_string/metadata.json +++ b/parser/testdata/00044_any_left_join_string/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false} diff --git a/parser/testdata/00044_sorting_by_string_descending/explain.txt b/parser/testdata/00044_sorting_by_string_descending/explain.txt new file mode 100644 index 000000000..3963f8ff5 --- /dev/null +++ b/parser/testdata/00044_sorting_by_string_descending/explain.txt @@ -0,0 +1,24 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier s + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function materialize (alias s) (children 1) + ExpressionList (children 1) + Literal \'abc\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_100 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier s diff --git a/parser/testdata/00045_sorting_by_fixed_string_descending/explain.txt b/parser/testdata/00045_sorting_by_fixed_string_descending/explain.txt new file mode 100644 index 000000000..eb3a0a64d --- /dev/null +++ b/parser/testdata/00045_sorting_by_fixed_string_descending/explain.txt @@ -0,0 +1,27 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier s + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function toFixedString (alias s) (children 1) + ExpressionList (children 2) + Function materialize (children 1) + ExpressionList (children 1) + Literal \'abc\' + Literal UInt64_3 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_100 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier s diff --git a/parser/testdata/00045_uniq_upto/explain.txt b/parser/testdata/00045_uniq_upto/explain.txt new file mode 100644 index 000000000..37394208b --- /dev/null +++ b/parser/testdata/00045_uniq_upto/explain.txt @@ -0,0 +1,29 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 3) + Identifier RegionID + Function uniqExact (alias u1) (children 1) + ExpressionList (children 1) + Identifier UserID + Function uniqUpTo (alias u2) (children 2) + ExpressionList (children 1) + Identifier UserID + ExpressionList (children 1) + Literal UInt64_10 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.visits + ExpressionList (children 1) + Identifier RegionID + Function and (children 1) + ExpressionList (children 2) + Function lessOrEquals (children 1) + ExpressionList (children 2) + Identifier u1 + Literal UInt64_11 + Function notEquals (children 1) + ExpressionList (children 2) + Identifier u1 + Identifier u2 diff --git a/parser/testdata/00046_stored_aggregates_simple/explain.txt b/parser/testdata/00046_stored_aggregates_simple/explain.txt new file mode 100644 index 000000000..69f30c7c8 --- /dev/null +++ b/parser/testdata/00046_stored_aggregates_simple/explain.txt @@ -0,0 +1,2 @@ +DropQuery stored_aggregates (children 1) + Identifier stored_aggregates diff --git a/parser/testdata/00046_uniq_upto_distributed/explain.txt b/parser/testdata/00046_uniq_upto_distributed/explain.txt new file mode 100644 index 000000000..bc045aa15 --- /dev/null +++ b/parser/testdata/00046_uniq_upto_distributed/explain.txt @@ -0,0 +1,33 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 3) + Identifier RegionID + Function uniqExact (alias u1) (children 1) + ExpressionList (children 1) + Identifier UserID + Function uniqUpTo (alias u2) (children 2) + ExpressionList (children 1) + Identifier UserID + ExpressionList (children 1) + Literal UInt64_10 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 3) + Literal \'127.0.0.{1,2}\' + Identifier test + Identifier visits + ExpressionList (children 1) + Identifier RegionID + Function and (children 1) + ExpressionList (children 2) + Function lessOrEquals (children 1) + ExpressionList (children 2) + Identifier u1 + Literal UInt64_11 + Function notEquals (children 1) + ExpressionList (children 2) + Identifier u1 + Identifier u2 diff --git a/parser/testdata/00047_bar/explain.txt b/parser/testdata/00047_bar/explain.txt new file mode 100644 index 000000000..160f29df2 --- /dev/null +++ b/parser/testdata/00047_bar/explain.txt @@ -0,0 +1,24 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 3) + Identifier CounterID + Function count (alias c) (children 1) + ExpressionList + Function bar (children 1) + ExpressionList (children 3) + Identifier c + Literal UInt64_0 + Literal UInt64_523264 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.hits + ExpressionList (children 1) + Identifier CounterID + ExpressionList (children 2) + OrderByElement (children 1) + Identifier c + OrderByElement (children 1) + Identifier CounterID + Literal UInt64_100 diff --git a/parser/testdata/00047_stored_aggregates_complex/explain.txt b/parser/testdata/00047_stored_aggregates_complex/explain.txt new file mode 100644 index 000000000..69f30c7c8 --- /dev/null +++ b/parser/testdata/00047_stored_aggregates_complex/explain.txt @@ -0,0 +1,2 @@ +DropQuery stored_aggregates (children 1) + Identifier stored_aggregates diff --git a/parser/testdata/00048_a_stored_aggregates_merge/explain.txt b/parser/testdata/00048_a_stored_aggregates_merge/explain.txt new file mode 100644 index 000000000..69f30c7c8 --- /dev/null +++ b/parser/testdata/00048_a_stored_aggregates_merge/explain.txt @@ -0,0 +1,2 @@ +DropQuery stored_aggregates (children 1) + Identifier stored_aggregates diff --git a/parser/testdata/00048_b_stored_aggregates_merge/explain.txt b/parser/testdata/00048_b_stored_aggregates_merge/explain.txt new file mode 100644 index 000000000..69f30c7c8 --- /dev/null +++ b/parser/testdata/00048_b_stored_aggregates_merge/explain.txt @@ -0,0 +1,2 @@ +DropQuery stored_aggregates (children 1) + Identifier stored_aggregates diff --git a/parser/testdata/00048_min_max/explain.txt b/parser/testdata/00048_min_max/explain.txt new file mode 100644 index 000000000..f1cf52e02 --- /dev/null +++ b/parser/testdata/00048_min_max/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function min (children 1) + ExpressionList (children 1) + Identifier EventDate + Function max (children 1) + ExpressionList (children 1) + Identifier EventDate + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.hits diff --git a/parser/testdata/00049_any_left_join/metadata.json b/parser/testdata/00049_any_left_join/metadata.json index ef120d978..411deef79 100644 --- a/parser/testdata/00049_any_left_join/metadata.json +++ b/parser/testdata/00049_any_left_join/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false} diff --git a/parser/testdata/00049_max_string_if/explain.txt b/parser/testdata/00049_max_string_if/explain.txt new file mode 100644 index 000000000..f2478b0d8 --- /dev/null +++ b/parser/testdata/00049_max_string_if/explain.txt @@ -0,0 +1,24 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 3) + Identifier CounterID + Function count (children 1) + ExpressionList + Function maxIf (children 1) + ExpressionList (children 2) + Identifier SearchPhrase + Function notEmpty (children 1) + ExpressionList (children 1) + Identifier SearchPhrase + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.hits + ExpressionList (children 1) + Identifier CounterID + ExpressionList (children 1) + OrderByElement (children 1) + Function count (children 1) + ExpressionList + Literal UInt64_20 diff --git a/parser/testdata/00050_any_left_join/metadata.json b/parser/testdata/00050_any_left_join/metadata.json index ef120d978..411deef79 100644 --- a/parser/testdata/00050_any_left_join/metadata.json +++ b/parser/testdata/00050_any_left_join/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false} diff --git a/parser/testdata/00050_min_max/explain.txt b/parser/testdata/00050_min_max/explain.txt new file mode 100644 index 000000000..0cef149c1 --- /dev/null +++ b/parser/testdata/00050_min_max/explain.txt @@ -0,0 +1,22 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 3) + Identifier CounterID + Function min (children 1) + ExpressionList (children 1) + Identifier WatchID + Function max (children 1) + ExpressionList (children 1) + Identifier WatchID + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.hits + ExpressionList (children 1) + Identifier CounterID + ExpressionList (children 1) + OrderByElement (children 1) + Function count (children 1) + ExpressionList + Literal UInt64_20 diff --git a/parser/testdata/00051_any_inner_join/explain.txt b/parser/testdata/00051_any_inner_join/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00051_any_inner_join/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00051_min_max_array/explain.txt b/parser/testdata/00051_min_max_array/explain.txt new file mode 100644 index 000000000..a2381ff9f --- /dev/null +++ b/parser/testdata/00051_min_max_array/explain.txt @@ -0,0 +1,30 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 5) + Identifier CounterID + Function count (children 1) + ExpressionList + Function max (children 1) + ExpressionList (children 1) + Identifier GoalsReached + Function min (children 1) + ExpressionList (children 1) + Identifier GoalsReached + Function minIf (children 1) + ExpressionList (children 2) + Identifier GoalsReached + Function notEmpty (children 1) + ExpressionList (children 1) + Identifier GoalsReached + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.hits + ExpressionList (children 1) + Identifier CounterID + ExpressionList (children 1) + OrderByElement (children 1) + Function count (children 1) + ExpressionList + Literal UInt64_20 diff --git a/parser/testdata/00052_all_left_join/metadata.json b/parser/testdata/00052_all_left_join/metadata.json index ef120d978..411deef79 100644 --- a/parser/testdata/00052_all_left_join/metadata.json +++ b/parser/testdata/00052_all_left_join/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false} diff --git a/parser/testdata/00052_group_by_in/explain.txt b/parser/testdata/00052_group_by_in/explain.txt new file mode 100644 index 000000000..da83f5975 --- /dev/null +++ b/parser/testdata/00052_group_by_in/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 3) + Identifier StartDate + Function if (alias traf_type) (children 1) + ExpressionList (children 3) + Function in (children 1) + ExpressionList (children 2) + Identifier TraficSourceID + Literal UInt64_0 + Literal \'type_in\' + Literal \'other\' + Function sum (children 1) + ExpressionList (children 1) + Identifier Sign diff --git a/parser/testdata/00053_all_inner_join/metadata.json b/parser/testdata/00053_all_inner_join/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00053_all_inner_join/metadata.json +++ b/parser/testdata/00053_all_inner_join/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00053_replicate_segfault/explain.txt b/parser/testdata/00053_replicate_segfault/explain.txt new file mode 100644 index 000000000..527162b4a --- /dev/null +++ b/parser/testdata/00053_replicate_segfault/explain.txt @@ -0,0 +1,42 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function greater (children 1) + ExpressionList (children 2) + Function count (children 1) + ExpressionList + Literal UInt64_0 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier ParsedParams.Key1 (alias p) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.visits + Function arrayAll (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier y + Function arrayExists (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function notEquals (children 1) + ExpressionList (children 2) + Identifier y + Identifier x + Identifier p + Identifier p diff --git a/parser/testdata/00054_join_string/metadata.json b/parser/testdata/00054_join_string/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00054_join_string/metadata.json +++ b/parser/testdata/00054_join_string/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00054_merge_tree_partitions/explain.txt b/parser/testdata/00054_merge_tree_partitions/explain.txt new file mode 100644 index 000000000..8f7001ae1 --- /dev/null +++ b/parser/testdata/00054_merge_tree_partitions/explain.txt @@ -0,0 +1,2 @@ +DropQuery partitions (children 1) + Identifier partitions diff --git a/parser/testdata/00055_index_and_not/explain.txt b/parser/testdata/00055_index_and_not/explain.txt new file mode 100644 index 000000000..aa2678c14 --- /dev/null +++ b/parser/testdata/00055_index_and_not/explain.txt @@ -0,0 +1,26 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.hits + Function not (children 1) + ExpressionList (children 1) + Function and (children 1) + ExpressionList (children 2) + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Identifier EventDate + Function toDate (children 1) + ExpressionList (children 1) + Literal \'2015-01-01\' + Function less (children 1) + ExpressionList (children 2) + Identifier EventDate + Function toDate (children 1) + ExpressionList (children 1) + Literal \'2015-02-01\' diff --git a/parser/testdata/00055_join_two_numbers/metadata.json b/parser/testdata/00055_join_two_numbers/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00055_join_two_numbers/metadata.json +++ b/parser/testdata/00055_join_two_numbers/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00056_join_number_string/metadata.json b/parser/testdata/00056_join_number_string/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00056_join_number_string/metadata.json +++ b/parser/testdata/00056_join_number_string/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00056_view/explain.txt b/parser/testdata/00056_view/explain.txt new file mode 100644 index 000000000..08c2e2e51 --- /dev/null +++ b/parser/testdata/00056_view/explain.txt @@ -0,0 +1,2 @@ +DropQuery view (children 1) + Identifier view diff --git a/parser/testdata/00057_join_aliases/explain.txt b/parser/testdata/00057_join_aliases/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00057_join_aliases/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00059_merge_sorting_empty_array_joined/explain.txt b/parser/testdata/00059_merge_sorting_empty_array_joined/explain.txt new file mode 100644 index 000000000..2dc62642b --- /dev/null +++ b/parser/testdata/00059_merge_sorting_empty_array_joined/explain.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Identifier CounterID + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.visits + TablesInSelectQueryElement (children 1) + ArrayJoin (children 1) + ExpressionList (children 1) + Identifier Goals.ID + Function equals (children 1) + ExpressionList (children 2) + Identifier CounterID + Literal UInt64_942285 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier CounterID diff --git a/parser/testdata/00059_shard_global_in/explain.txt b/parser/testdata/00059_shard_global_in/explain.txt new file mode 100644 index 000000000..e083ea354 --- /dev/null +++ b/parser/testdata/00059_shard_global_in/explain.txt @@ -0,0 +1,39 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 3) + Literal \'127.0.0.{2,3}\' + Identifier system + Identifier numbers + Function globalIn (children 1) + ExpressionList (children 2) + Identifier number + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 3) + Literal \'127.0.0.{2,3}\' + Identifier system + Identifier numbers + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + Literal UInt64_1 + Literal UInt64_10 + Literal UInt64_10 diff --git a/parser/testdata/00059_shard_global_in_mergetree/explain.txt b/parser/testdata/00059_shard_global_in_mergetree/explain.txt new file mode 100644 index 000000000..905c088e1 --- /dev/null +++ b/parser/testdata/00059_shard_global_in_mergetree/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_local (children 1) + Identifier test_local diff --git a/parser/testdata/00060_date_lut/explain.txt b/parser/testdata/00060_date_lut/explain.txt new file mode 100644 index 000000000..09ca820c4 --- /dev/null +++ b/parser/testdata/00060_date_lut/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toString (children 1) + ExpressionList (children 1) + Function toDateTime (children 1) + ExpressionList (children 1) + Literal \'1970-01-01 14:25:36\' diff --git a/parser/testdata/00060_move_to_prewhere_and_sets/explain.txt b/parser/testdata/00060_move_to_prewhere_and_sets/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00060_move_to_prewhere_and_sets/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00061_merge_tree_alter/explain.txt b/parser/testdata/00061_merge_tree_alter/explain.txt new file mode 100644 index 000000000..1449503e3 --- /dev/null +++ b/parser/testdata/00061_merge_tree_alter/explain.txt @@ -0,0 +1,2 @@ +DropQuery alter_00061 (children 1) + Identifier alter_00061 diff --git a/parser/testdata/00061_storage_buffer/explain.txt b/parser/testdata/00061_storage_buffer/explain.txt new file mode 100644 index 000000000..d550a6d71 --- /dev/null +++ b/parser/testdata/00061_storage_buffer/explain.txt @@ -0,0 +1,2 @@ +DropQuery hits_dst (children 1) + Identifier hits_dst diff --git a/parser/testdata/00062_loyalty/explain.txt b/parser/testdata/00062_loyalty/explain.txt new file mode 100644 index 000000000..fd4d47bda --- /dev/null +++ b/parser/testdata/00062_loyalty/explain.txt @@ -0,0 +1,111 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 3) + Identifier loyalty + Function count (alias c) (children 1) + ExpressionList + Function bar (children 1) + ExpressionList (children 4) + Function multiply (children 1) + ExpressionList (children 2) + Function log (children 1) + ExpressionList (children 1) + Function plus (children 1) + ExpressionList (children 2) + Identifier c + Literal UInt64_1 + Literal UInt64_1000 + Literal UInt64_0 + Function multiply (children 1) + ExpressionList (children 2) + Function log (children 1) + ExpressionList (children 1) + Literal UInt64_6000 + Literal UInt64_1000 + Literal UInt64_80 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Identifier UserID + Function toInt8 (alias loyalty) (children 1) + ExpressionList (children 1) + Function multiply (children 1) + ExpressionList (children 2) + Function if (children 1) + ExpressionList (children 3) + Function greater (children 1) + ExpressionList (children 2) + Identifier yandex + Identifier google + Function divide (children 1) + ExpressionList (children 2) + Identifier yandex + Function plus (children 1) + ExpressionList (children 2) + Identifier yandex + Identifier google + Function divide (children 1) + ExpressionList (children 2) + Function negate (children 1) + ExpressionList (children 1) + Identifier google + Function plus (children 1) + ExpressionList (children 2) + Identifier yandex + Identifier google + Literal UInt64_10 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 3) + Identifier UserID + Function sum (alias yandex) (children 1) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier SearchEngineID + Literal UInt64_2 + Function sum (alias google) (children 1) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier SearchEngineID + Literal UInt64_3 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.hits + Function or (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier SearchEngineID + Literal UInt64_2 + Function equals (children 1) + ExpressionList (children 2) + Identifier SearchEngineID + Literal UInt64_3 + ExpressionList (children 1) + Identifier UserID + Function greater (children 1) + ExpressionList (children 2) + Function plus (children 1) + ExpressionList (children 2) + Identifier yandex + Identifier google + Literal UInt64_10 + ExpressionList (children 1) + Identifier loyalty + ExpressionList (children 1) + OrderByElement (children 1) + Identifier loyalty diff --git a/parser/testdata/00062_replicated_merge_tree_alter_zookeeper_long/explain.txt b/parser/testdata/00062_replicated_merge_tree_alter_zookeeper_long/explain.txt new file mode 100644 index 000000000..4666a4e9c --- /dev/null +++ b/parser/testdata/00062_replicated_merge_tree_alter_zookeeper_long/explain.txt @@ -0,0 +1,2 @@ +DropQuery replicated_alter1 (children 1) + Identifier replicated_alter1 diff --git a/parser/testdata/00063_check_query/explain.txt b/parser/testdata/00063_check_query/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00063_check_query/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00063_loyalty_joins/explain.txt b/parser/testdata/00063_loyalty_joins/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00063_loyalty_joins/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00064_negate_bug/explain.txt b/parser/testdata/00064_negate_bug/explain.txt new file mode 100644 index 000000000..48c3c1d65 --- /dev/null +++ b/parser/testdata/00064_negate_bug/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function negate (alias x) (children 1) + ExpressionList (children 1) + Function toUInt32 (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Function toTypeName (alias t) (children 1) + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00065_loyalty_with_storage_join/explain.txt b/parser/testdata/00065_loyalty_with_storage_join/explain.txt new file mode 100644 index 000000000..6a9ce0e7b --- /dev/null +++ b/parser/testdata/00065_loyalty_with_storage_join/explain.txt @@ -0,0 +1,2 @@ +DropQuery join (children 1) + Identifier join diff --git a/parser/testdata/00065_shard_float_literals_formatting/explain.txt b/parser/testdata/00065_shard_float_literals_formatting/explain.txt new file mode 100644 index 000000000..181a3957d --- /dev/null +++ b/parser/testdata/00065_shard_float_literals_formatting/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function toTypeName (children 1) + ExpressionList (children 1) + Literal Float64_1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 3) + Literal \'127.0.0.{2,3}\' + Identifier system + Identifier one diff --git a/parser/testdata/00066_group_by_in/explain.txt b/parser/testdata/00066_group_by_in/explain.txt new file mode 100644 index 000000000..b4eb1df18 --- /dev/null +++ b/parser/testdata/00066_group_by_in/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function in (alias x) (children 1) + ExpressionList (children 2) + Identifier dummy + Literal UInt64_1 + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00066_sorting_distributed_many_replicas/explain.txt b/parser/testdata/00066_sorting_distributed_many_replicas/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00066_sorting_distributed_many_replicas/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00067_replicate_segfault/explain.txt b/parser/testdata/00067_replicate_segfault/explain.txt new file mode 100644 index 000000000..50e3ebd8e --- /dev/null +++ b/parser/testdata/00067_replicate_segfault/explain.txt @@ -0,0 +1,37 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function arrayFilter (alias p) (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function materialize (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function materialize (children 1) + ExpressionList (children 1) + Literal Array_[UInt64_0] + Function arrayAll (alias test) (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier y + Function arrayExists (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function notEquals (children 1) + ExpressionList (children 2) + Identifier y + Identifier x + Identifier p + Identifier p diff --git a/parser/testdata/00067_union_all/metadata.json b/parser/testdata/00067_union_all/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00067_union_all/metadata.json +++ b/parser/testdata/00067_union_all/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00068_empty_tiny_log/explain.txt b/parser/testdata/00068_empty_tiny_log/explain.txt new file mode 100644 index 000000000..c2f708200 --- /dev/null +++ b/parser/testdata/00068_empty_tiny_log/explain.txt @@ -0,0 +1,8 @@ +CreateQuery empty_tiny_log (children 3) + Identifier empty_tiny_log + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration A (children 1) + DataType UInt8 + Storage definition (children 1) + Function TinyLog diff --git a/parser/testdata/00068_subquery_in_prewhere/explain.txt b/parser/testdata/00068_subquery_in_prewhere/explain.txt new file mode 100644 index 000000000..6c8923c26 --- /dev/null +++ b/parser/testdata/00068_subquery_in_prewhere/explain.txt @@ -0,0 +1,27 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.hits + Function in (children 1) + ExpressionList (children 2) + Identifier UserID + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier UserID + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.hits + Function equals (children 1) + ExpressionList (children 2) + Identifier CounterID + Literal UInt64_800784 diff --git a/parser/testdata/00069_date_arithmetic/explain.txt b/parser/testdata/00069_date_arithmetic/explain.txt new file mode 100644 index 000000000..dcca224eb --- /dev/null +++ b/parser/testdata/00069_date_arithmetic/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Function toTypeName (children 1) + ExpressionList (children 1) + Function minus (children 1) + ExpressionList (children 2) + Function now (children 1) + ExpressionList + Function now (children 1) + ExpressionList + Literal \'Int32\' diff --git a/parser/testdata/00069_duplicate_aggregation_keys/explain.txt b/parser/testdata/00069_duplicate_aggregation_keys/explain.txt new file mode 100644 index 000000000..67828df60 --- /dev/null +++ b/parser/testdata/00069_duplicate_aggregation_keys/explain.txt @@ -0,0 +1,32 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 3) + Identifier URL + Identifier EventDate + Function max (children 1) + ExpressionList (children 1) + Identifier URL + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.hits + Function and (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier CounterID + Literal UInt64_1704509 + Function equals (children 1) + ExpressionList (children 2) + Identifier UserID + Literal UInt64_4322253409885123546 + ExpressionList (children 3) + Identifier URL + Identifier EventDate + Identifier EventDate + ExpressionList (children 2) + OrderByElement (children 1) + Identifier URL + OrderByElement (children 1) + Identifier EventDate diff --git a/parser/testdata/00071_insert_fewer_columns/explain.txt b/parser/testdata/00071_insert_fewer_columns/explain.txt new file mode 100644 index 000000000..329c02a72 --- /dev/null +++ b/parser/testdata/00071_insert_fewer_columns/explain.txt @@ -0,0 +1,2 @@ +DropQuery insert_fewer_columns (children 1) + Identifier insert_fewer_columns diff --git a/parser/testdata/00071_merge_tree_optimize_aio/explain.txt b/parser/testdata/00071_merge_tree_optimize_aio/explain.txt new file mode 100644 index 000000000..e60764a68 --- /dev/null +++ b/parser/testdata/00071_merge_tree_optimize_aio/explain.txt @@ -0,0 +1,2 @@ +DropQuery hits_snippet (children 1) + Identifier hits_snippet diff --git a/parser/testdata/00072_compare_date_and_string_index/explain.txt b/parser/testdata/00072_compare_date_and_string_index/explain.txt new file mode 100644 index 000000000..05c69dbba --- /dev/null +++ b/parser/testdata/00072_compare_date_and_string_index/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.hits + Function equals (children 1) + ExpressionList (children 2) + Identifier EventDate + Literal \'2014-03-18\' diff --git a/parser/testdata/00072_in_types/metadata.json b/parser/testdata/00072_in_types/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00072_in_types/metadata.json +++ b/parser/testdata/00072_in_types/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00073_merge_sorting_empty_array_joined/explain.txt b/parser/testdata/00073_merge_sorting_empty_array_joined/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00073_merge_sorting_empty_array_joined/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00073_uniq_array/explain.txt b/parser/testdata/00073_uniq_array/explain.txt new file mode 100644 index 000000000..c8e3f4131 --- /dev/null +++ b/parser/testdata/00073_uniq_array/explain.txt @@ -0,0 +1,31 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 4) + Identifier EventDate + Function uniqExact (children 1) + ExpressionList (children 1) + Identifier UserID + Function length (children 1) + ExpressionList (children 1) + Function groupUniqArray (children 1) + ExpressionList (children 1) + Identifier UserID + Function arrayUniq (children 1) + ExpressionList (children 1) + Function groupArray (children 1) + ExpressionList (children 1) + Identifier UserID + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.hits + Function equals (children 1) + ExpressionList (children 2) + Identifier CounterID + Literal UInt64_1704509 + ExpressionList (children 1) + Identifier EventDate + ExpressionList (children 1) + OrderByElement (children 1) + Identifier EventDate diff --git a/parser/testdata/00074_full_join/explain.txt b/parser/testdata/00074_full_join/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00074_full_join/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00075_left_array_join/explain.txt b/parser/testdata/00075_left_array_join/explain.txt new file mode 100644 index 000000000..0fbbefbda --- /dev/null +++ b/parser/testdata/00075_left_array_join/explain.txt @@ -0,0 +1,34 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 5) + Identifier UserID + Function CAST (children 1) + ExpressionList (children 2) + Identifier EventTime + Literal \'DateTime(\\\'Asia/Dubai\\\')\' + Identifier pp.Key1 + Identifier pp.Key2 + Identifier ParsedParams.Key1 + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.hits + TablesInSelectQueryElement (children 1) + ArrayJoin (children 1) + ExpressionList (children 1) + Identifier ParsedParams (alias pp) + Function equals (children 1) + ExpressionList (children 2) + Identifier CounterID + Literal UInt64_1704509 + ExpressionList (children 4) + OrderByElement (children 1) + Identifier UserID + OrderByElement (children 1) + Identifier EventTime + OrderByElement (children 1) + Identifier pp.Key1 + OrderByElement (children 1) + Identifier pp.Key2 + Literal UInt64_100 diff --git a/parser/testdata/00075_shard_formatting_negate_of_negative_literal/explain.txt b/parser/testdata/00075_shard_formatting_negate_of_negative_literal/explain.txt new file mode 100644 index 000000000..b920b3955 --- /dev/null +++ b/parser/testdata/00075_shard_formatting_negate_of_negative_literal/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function negate (children 1) + ExpressionList (children 1) + Literal Int64_-1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 3) + Literal \'127.0.0.{2,3}\' + Identifier system + Identifier one diff --git a/parser/testdata/00076_ip_coding_functions/explain.txt b/parser/testdata/00076_ip_coding_functions/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00076_ip_coding_functions/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00076_system_columns_bytes/metadata.json b/parser/testdata/00076_system_columns_bytes/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00076_system_columns_bytes/metadata.json +++ b/parser/testdata/00076_system_columns_bytes/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00077_log_tinylog_stripelog/explain.txt b/parser/testdata/00077_log_tinylog_stripelog/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00077_log_tinylog_stripelog/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00077_set_keys_fit_128_bits_many_blocks/explain.txt b/parser/testdata/00077_set_keys_fit_128_bits_many_blocks/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00077_set_keys_fit_128_bits_many_blocks/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00078_group_by_arrays/explain.txt b/parser/testdata/00078_group_by_arrays/explain.txt new file mode 100644 index 000000000..c59287de4 --- /dev/null +++ b/parser/testdata/00078_group_by_arrays/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 2) + Identifier GoalsReached (alias k) + Function count (alias c) (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.hits + ExpressionList (children 1) + Identifier k + ExpressionList (children 1) + OrderByElement (children 1) + Identifier c + Literal UInt64_10 diff --git a/parser/testdata/00078_string_concat/explain.txt b/parser/testdata/00078_string_concat/explain.txt new file mode 100644 index 000000000..bcf14303b --- /dev/null +++ b/parser/testdata/00078_string_concat/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Literal \'{ key: fn, value: concat }\' + Function concat (children 1) + ExpressionList (children 5) + Literal \'{ key: \' + Function toFixedString (children 1) + ExpressionList (children 2) + Literal \'fn\' + Literal UInt64_2 + Literal \', value: \' + Literal \'concat\' + Literal \' }\' diff --git a/parser/testdata/00079_array_join_not_used_joined_column/explain.txt b/parser/testdata/00079_array_join_not_used_joined_column/explain.txt new file mode 100644 index 000000000..64c2dfb9e --- /dev/null +++ b/parser/testdata/00079_array_join_not_used_joined_column/explain.txt @@ -0,0 +1,40 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 7) + ExpressionList (children 2) + Identifier PP.Key1 (alias ym:s:paramsLevel1) + Function sum (alias ym:s:visits) (children 1) + ExpressionList (children 1) + Function arrayAll (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x_1 + Function equals (children 1) + ExpressionList (children 2) + Identifier x_1 + Literal \'\' + Identifier ParsedParams.Key2 + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.hits + TablesInSelectQueryElement (children 1) + ArrayJoin (children 1) + ExpressionList (children 1) + Identifier ParsedParams (alias PP) + Function equals (children 1) + ExpressionList (children 2) + Identifier CounterID + Literal UInt64_1704509 + ExpressionList (children 1) + Identifier ym:s:paramsLevel1 + ExpressionList (children 2) + OrderByElement (children 1) + Identifier PP.Key1 + OrderByElement (children 1) + Identifier ym:s:visits + Literal UInt64_0 + Literal UInt64_100 diff --git a/parser/testdata/00079_defaulted_columns/explain.txt b/parser/testdata/00079_defaulted_columns/explain.txt new file mode 100644 index 000000000..3bfca9ed5 --- /dev/null +++ b/parser/testdata/00079_defaulted_columns/explain.txt @@ -0,0 +1,2 @@ +DropQuery defaulted (children 1) + Identifier defaulted diff --git a/parser/testdata/00080_array_join_and_union/explain.txt b/parser/testdata/00080_array_join_and_union/explain.txt new file mode 100644 index 000000000..7468bd41e --- /dev/null +++ b/parser/testdata/00080_array_join_and_union/explain.txt @@ -0,0 +1,44 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 2) + SelectQuery (children 4) + ExpressionList (children 1) + Identifier Goals.ID + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.visits + TablesInSelectQueryElement (children 1) + ArrayJoin (children 1) + ExpressionList (children 1) + Identifier Goals + Function equals (children 1) + ExpressionList (children 2) + Identifier CounterID + Literal UInt64_842440 + Literal UInt64_10 + SelectQuery (children 4) + ExpressionList (children 1) + Identifier Goals.ID + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.visits + TablesInSelectQueryElement (children 1) + ArrayJoin (children 1) + ExpressionList (children 1) + Identifier Goals + Function equals (children 1) + ExpressionList (children 2) + Identifier CounterID + Literal UInt64_842440 + Literal UInt64_10 diff --git a/parser/testdata/00080_show_tables_and_system_tables/metadata.json b/parser/testdata/00080_show_tables_and_system_tables/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00080_show_tables_and_system_tables/metadata.json +++ b/parser/testdata/00080_show_tables_and_system_tables/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00081_group_by_without_key_and_totals/explain.txt b/parser/testdata/00081_group_by_without_key_and_totals/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00081_group_by_without_key_and_totals/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00081_int_div_or_zero/explain.txt b/parser/testdata/00081_int_div_or_zero/explain.txt new file mode 100644 index 000000000..54f902f83 --- /dev/null +++ b/parser/testdata/00081_int_div_or_zero/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Function intDivOrZero (children 1) + ExpressionList (children 2) + Literal UInt64_0 + Literal UInt64_0 + Literal UInt64_0 diff --git a/parser/testdata/00082_append_trailing_char_if_absent/explain.txt b/parser/testdata/00082_append_trailing_char_if_absent/explain.txt new file mode 100644 index 000000000..2661f76d6 --- /dev/null +++ b/parser/testdata/00082_append_trailing_char_if_absent/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Function appendTrailingCharIfAbsent (children 1) + ExpressionList (children 2) + Literal \'\' + Literal \'a\' + Literal \'\' diff --git a/parser/testdata/00082_quantiles/explain.txt b/parser/testdata/00082_quantiles/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00082_quantiles/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00083_array_filter/explain.txt b/parser/testdata/00083_array_filter/explain.txt new file mode 100644 index 000000000..989d55ac0 --- /dev/null +++ b/parser/testdata/00083_array_filter/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function sum (children 1) + ExpressionList (children 1) + Function length (children 1) + ExpressionList (children 1) + Identifier ParsedParams.Key1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.hits + Function notEmpty (children 1) + ExpressionList (children 1) + Identifier ParsedParams.Key1 diff --git a/parser/testdata/00083_create_merge_tree_zookeeper_long/explain.txt b/parser/testdata/00083_create_merge_tree_zookeeper_long/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00083_create_merge_tree_zookeeper_long/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00084_external_aggregation/explain.txt b/parser/testdata/00084_external_aggregation/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00084_external_aggregation/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00084_summing_merge_tree/explain.txt b/parser/testdata/00084_summing_merge_tree/explain.txt new file mode 100644 index 000000000..89e048639 --- /dev/null +++ b/parser/testdata/00084_summing_merge_tree/explain.txt @@ -0,0 +1,2 @@ +DropQuery summing_merge_tree (children 1) + Identifier summing_merge_tree diff --git a/parser/testdata/00085_monotonic_evaluation_segfault/explain.txt b/parser/testdata/00085_monotonic_evaluation_segfault/explain.txt new file mode 100644 index 000000000..009fb0c5e --- /dev/null +++ b/parser/testdata/00085_monotonic_evaluation_segfault/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function any (children 1) + ExpressionList (children 1) + Literal UInt64_0 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.visits + Function greater (children 1) + ExpressionList (children 2) + Function toInt32 (children 1) + ExpressionList (children 1) + Function toDateTime (children 1) + ExpressionList (children 1) + Identifier StartDate + Literal UInt64_1000000000 diff --git a/parser/testdata/00085_visible_width_of_tuple_of_dates/explain.txt b/parser/testdata/00085_visible_width_of_tuple_of_dates/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00085_visible_width_of_tuple_of_dates/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00086_array_reduce/explain.txt b/parser/testdata/00086_array_reduce/explain.txt new file mode 100644 index 000000000..9ce4dfb01 --- /dev/null +++ b/parser/testdata/00086_array_reduce/explain.txt @@ -0,0 +1,42 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function arrayFilter (alias res) (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function notEquals (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_1 + Function arrayMap (children 1) + ExpressionList (children 3) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 2) + Identifier a + Identifier b + Function equals (children 1) + ExpressionList (children 2) + Identifier a + Identifier b + Identifier GeneralInterests + Function arrayReduce (children 1) + ExpressionList (children 2) + Literal \'groupArray\' + Identifier GeneralInterests + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.hits + Function notEquals (children 1) + ExpressionList (children 2) + Function length (children 1) + ExpressionList (children 1) + Identifier res + Literal UInt64_0 diff --git a/parser/testdata/00086_concat_nary_const_with_nonconst_segfault/explain.txt b/parser/testdata/00086_concat_nary_const_with_nonconst_segfault/explain.txt new file mode 100644 index 000000000..f2f79344f --- /dev/null +++ b/parser/testdata/00086_concat_nary_const_with_nonconst_segfault/explain.txt @@ -0,0 +1,28 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 1) + Function extract (children 1) + ExpressionList (children 2) + Function toString (children 1) + ExpressionList (children 1) + Identifier number + Literal \'10000000\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers_mt + Function like (children 1) + ExpressionList (children 2) + Function concat (children 1) + ExpressionList (children 3) + Function materialize (children 1) + ExpressionList (children 1) + Literal \'1\' + Literal \'...\' + Function toString (children 1) + ExpressionList (children 1) + Identifier number + Literal \'%10000000%\' + Literal UInt64_1 + Set diff --git a/parser/testdata/00087_distinct_of_empty_arrays/explain.txt b/parser/testdata/00087_distinct_of_empty_arrays/explain.txt new file mode 100644 index 000000000..17205f318 --- /dev/null +++ b/parser/testdata/00087_distinct_of_empty_arrays/explain.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function emptyArrayString (alias k) (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_100000 diff --git a/parser/testdata/00087_math_functions/explain.txt b/parser/testdata/00087_math_functions/explain.txt new file mode 100644 index 000000000..00397705f --- /dev/null +++ b/parser/testdata/00087_math_functions/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Function abs (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal UInt64_0 diff --git a/parser/testdata/00087_where_0/explain.txt b/parser/testdata/00087_where_0/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00087_where_0/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00088_distinct_of_arrays_of_strings/explain.txt b/parser/testdata/00088_distinct_of_arrays_of_strings/explain.txt new file mode 100644 index 000000000..da71aeafe --- /dev/null +++ b/parser/testdata/00088_distinct_of_arrays_of_strings/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayFilter (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function notEmpty (children 1) + ExpressionList (children 1) + Identifier x + Function arrayJoin (children 1) + ExpressionList (children 1) + Literal Array_[Array_[\'\'], Array_[\'is_registred\'], Array_[\'registration_month\', \'user_login\', \'is_registred\'], Array_[\'is_registred\'], Array_[\'is_registred\'], Array_[\'\']] diff --git a/parser/testdata/00088_global_in_one_shard_and_rows_before_limit/explain.txt b/parser/testdata/00088_global_in_one_shard_and_rows_before_limit/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00088_global_in_one_shard_and_rows_before_limit/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00089_group_by_arrays_of_fixed/explain.txt b/parser/testdata/00089_group_by_arrays_of_fixed/explain.txt new file mode 100644 index 000000000..0c923323c --- /dev/null +++ b/parser/testdata/00089_group_by_arrays_of_fixed/explain.txt @@ -0,0 +1,66 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 2) + Identifier arr + Function count (alias c) (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function arrayMap (alias arr) (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function modulo (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_2 + Function arraySort (children 1) + ExpressionList (children 1) + Function groupArray (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_10000 + ExpressionList (children 1) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Function plus (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Function multiply (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_12379813738877118345 + Literal UInt64_1234 + Literal UInt64_1 + ExpressionList (children 1) + Identifier arr + ExpressionList (children 2) + OrderByElement (children 1) + Identifier c + OrderByElement (children 1) + Identifier arr diff --git a/parser/testdata/00089_position_functions_with_non_constant_arg/explain.txt b/parser/testdata/00089_position_functions_with_non_constant_arg/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00089_position_functions_with_non_constant_arg/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00091_prewhere_two_conditions/explain.txt b/parser/testdata/00091_prewhere_two_conditions/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00091_prewhere_two_conditions/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00093_prewhere_array_join/explain.txt b/parser/testdata/00093_prewhere_array_join/explain.txt new file mode 100644 index 000000000..6df68b403 --- /dev/null +++ b/parser/testdata/00093_prewhere_array_join/explain.txt @@ -0,0 +1,25 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Function arrayJoin (alias search_engine) (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 1) + Identifier SearchEngineID + Identifier URL + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.hits + Function and (children 1) + ExpressionList (children 2) + Function notEquals (children 1) + ExpressionList (children 2) + Identifier SearchEngineID + Literal UInt64_0 + Function notEquals (children 1) + ExpressionList (children 2) + Identifier search_engine + Literal UInt64_0 + Identifier Null diff --git a/parser/testdata/00094_order_by_array_join_limit/explain.txt b/parser/testdata/00094_order_by_array_join_limit/explain.txt new file mode 100644 index 000000000..97bda7ddb --- /dev/null +++ b/parser/testdata/00094_order_by_array_join_limit/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Identifier ParsedParams.Key2 (alias x) diff --git a/parser/testdata/00095_hyperscan_profiler/explain.txt b/parser/testdata/00095_hyperscan_profiler/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00095_hyperscan_profiler/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00096_aggregation_min_if/explain.txt b/parser/testdata/00096_aggregation_min_if/explain.txt new file mode 100644 index 000000000..23fc9a3af --- /dev/null +++ b/parser/testdata/00096_aggregation_min_if/explain.txt @@ -0,0 +1,2 @@ +DropQuery min_if (children 1) + Identifier min_if diff --git a/parser/testdata/00097_constexpr_in_index/explain.txt b/parser/testdata/00097_constexpr_in_index/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00097_constexpr_in_index/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00098_1_union_all/explain.txt b/parser/testdata/00098_1_union_all/explain.txt new file mode 100644 index 000000000..3d9439257 --- /dev/null +++ b/parser/testdata/00098_1_union_all/explain.txt @@ -0,0 +1,2 @@ +DropQuery data2013 (children 1) + Identifier data2013 diff --git a/parser/testdata/00098_2_union_all/explain.txt b/parser/testdata/00098_2_union_all/explain.txt new file mode 100644 index 000000000..3d9439257 --- /dev/null +++ b/parser/testdata/00098_2_union_all/explain.txt @@ -0,0 +1,2 @@ +DropQuery data2013 (children 1) + Identifier data2013 diff --git a/parser/testdata/00098_3_union_all/explain.txt b/parser/testdata/00098_3_union_all/explain.txt new file mode 100644 index 000000000..3d9439257 --- /dev/null +++ b/parser/testdata/00098_3_union_all/explain.txt @@ -0,0 +1,2 @@ +DropQuery data2013 (children 1) + Identifier data2013 diff --git a/parser/testdata/00098_4_union_all/explain.txt b/parser/testdata/00098_4_union_all/explain.txt new file mode 100644 index 000000000..3d9439257 --- /dev/null +++ b/parser/testdata/00098_4_union_all/explain.txt @@ -0,0 +1,2 @@ +DropQuery data2013 (children 1) + Identifier data2013 diff --git a/parser/testdata/00098_5_union_all/explain.txt b/parser/testdata/00098_5_union_all/explain.txt new file mode 100644 index 000000000..3d9439257 --- /dev/null +++ b/parser/testdata/00098_5_union_all/explain.txt @@ -0,0 +1,2 @@ +DropQuery data2013 (children 1) + Identifier data2013 diff --git a/parser/testdata/00098_6_union_all/explain.txt b/parser/testdata/00098_6_union_all/explain.txt new file mode 100644 index 000000000..a7955da9c --- /dev/null +++ b/parser/testdata/00098_6_union_all/explain.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier X + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 3) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_3 (alias X) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_2 (alias X) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 (alias X) + ExpressionList (children 1) + OrderByElement (children 1) + Identifier X diff --git a/parser/testdata/00098_7_union_all/explain.txt b/parser/testdata/00098_7_union_all/explain.txt new file mode 100644 index 000000000..001d1975f --- /dev/null +++ b/parser/testdata/00098_7_union_all/explain.txt @@ -0,0 +1,22 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier DomainID + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 2) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_1 (alias DomainID) + Literal \'abc\' (alias Domain) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_2 (alias DomainID) + Literal \'def\' (alias Domain) + ExpressionList (children 1) + OrderByElement (children 1) + Identifier DomainID diff --git a/parser/testdata/00098_8_union_all/explain.txt b/parser/testdata/00098_8_union_all/explain.txt new file mode 100644 index 000000000..001d1975f --- /dev/null +++ b/parser/testdata/00098_8_union_all/explain.txt @@ -0,0 +1,22 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier DomainID + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 2) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_1 (alias DomainID) + Literal \'abc\' (alias Domain) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_2 (alias DomainID) + Literal \'def\' (alias Domain) + ExpressionList (children 1) + OrderByElement (children 1) + Identifier DomainID diff --git a/parser/testdata/00098_9_union_all/explain.txt b/parser/testdata/00098_9_union_all/explain.txt new file mode 100644 index 000000000..b8371be67 --- /dev/null +++ b/parser/testdata/00098_9_union_all/explain.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 2) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_2 + ExpressionList (children 1) + OrderByElement (children 1) + Literal UInt64_1 diff --git a/parser/testdata/00098_a_union_all/explain.txt b/parser/testdata/00098_a_union_all/explain.txt new file mode 100644 index 000000000..e388a6524 --- /dev/null +++ b/parser/testdata/00098_a_union_all/explain.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 2) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 (alias X) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_2 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier X diff --git a/parser/testdata/00098_b_union_all/explain.txt b/parser/testdata/00098_b_union_all/explain.txt new file mode 100644 index 000000000..a5c13a386 --- /dev/null +++ b/parser/testdata/00098_b_union_all/explain.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 3) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 (alias X) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_2 + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_3 (alias X) + ExpressionList (children 1) + OrderByElement (children 1) + Identifier X diff --git a/parser/testdata/00098_c_union_all/explain.txt b/parser/testdata/00098_c_union_all/explain.txt new file mode 100644 index 000000000..7acf1d7fe --- /dev/null +++ b/parser/testdata/00098_c_union_all/explain.txt @@ -0,0 +1,28 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function plus (children 1) + ExpressionList (children 2) + Identifier X + Literal UInt64_1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 2) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_12345678901 (alias X) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_10 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier X diff --git a/parser/testdata/00098_d_union_all/explain.txt b/parser/testdata/00098_d_union_all/explain.txt new file mode 100644 index 000000000..3d9439257 --- /dev/null +++ b/parser/testdata/00098_d_union_all/explain.txt @@ -0,0 +1,2 @@ +DropQuery data2013 (children 1) + Identifier data2013 diff --git a/parser/testdata/00098_e_union_all/explain.txt b/parser/testdata/00098_e_union_all/explain.txt new file mode 100644 index 000000000..3d9439257 --- /dev/null +++ b/parser/testdata/00098_e_union_all/explain.txt @@ -0,0 +1,2 @@ +DropQuery data2013 (children 1) + Identifier data2013 diff --git a/parser/testdata/00098_f_union_all/explain.txt b/parser/testdata/00098_f_union_all/explain.txt new file mode 100644 index 000000000..3d9439257 --- /dev/null +++ b/parser/testdata/00098_f_union_all/explain.txt @@ -0,0 +1,2 @@ +DropQuery data2013 (children 1) + Identifier data2013 diff --git a/parser/testdata/00098_g_union_all/explain.txt b/parser/testdata/00098_g_union_all/explain.txt new file mode 100644 index 000000000..87157d2a1 --- /dev/null +++ b/parser/testdata/00098_g_union_all/explain.txt @@ -0,0 +1,31 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier X + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 2) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_1 (alias X) + Literal UInt64_2 (alias Y) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_3 + Literal UInt64_4 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier X diff --git a/parser/testdata/00098_h_union_all/explain.txt b/parser/testdata/00098_h_union_all/explain.txt new file mode 100644 index 000000000..26b23f2ea --- /dev/null +++ b/parser/testdata/00098_h_union_all/explain.txt @@ -0,0 +1,31 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier X + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 2) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_1 (alias X) + Literal UInt64_2 (alias Y) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_3 + Literal UInt64_4 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier X diff --git a/parser/testdata/00098_j_union_all/explain.txt b/parser/testdata/00098_j_union_all/explain.txt new file mode 100644 index 000000000..f2c0712f3 --- /dev/null +++ b/parser/testdata/00098_j_union_all/explain.txt @@ -0,0 +1,21 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 2) + SelectQuery (children 1) + ExpressionList (children 2) + Identifier dummy + Literal Int64_-1 (alias x) + SelectQuery (children 1) + ExpressionList (children 2) + Identifier dummy + Function arrayJoin (alias x) (children 1) + ExpressionList (children 1) + Literal Array_[Int64_-1] diff --git a/parser/testdata/00098_k_union_all/explain.txt b/parser/testdata/00098_k_union_all/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00098_k_union_all/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00098_l_union_all/explain.txt b/parser/testdata/00098_l_union_all/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00098_l_union_all/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00098_primary_key_memory_allocated/explain.txt b/parser/testdata/00098_primary_key_memory_allocated/explain.txt new file mode 100644 index 000000000..749d35938 --- /dev/null +++ b/parser/testdata/00098_primary_key_memory_allocated/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Identifier CounterID + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.hits + Function greater (children 1) + ExpressionList (children 2) + Identifier CounterID + Literal UInt64_0 + Literal UInt64_1 + Identifier Null diff --git a/parser/testdata/00098_shard_i_union_all/explain.txt b/parser/testdata/00098_shard_i_union_all/explain.txt new file mode 100644 index 000000000..ac0cd0b3a --- /dev/null +++ b/parser/testdata/00098_shard_i_union_all/explain.txt @@ -0,0 +1,2 @@ +DropQuery report1 (children 1) + Identifier report1 diff --git a/parser/testdata/00099_join_many_blocks_segfault/metadata.json b/parser/testdata/00099_join_many_blocks_segfault/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00099_join_many_blocks_segfault/metadata.json +++ b/parser/testdata/00099_join_many_blocks_segfault/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00101_materialized_views_and_insert_without_explicit_database/explain.txt b/parser/testdata/00101_materialized_views_and_insert_without_explicit_database/explain.txt new file mode 100644 index 000000000..d4bf1aa3f --- /dev/null +++ b/parser/testdata/00101_materialized_views_and_insert_without_explicit_database/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_table (children 1) + Identifier test_table diff --git a/parser/testdata/00102_insert_into_temporary_table/explain.txt b/parser/testdata/00102_insert_into_temporary_table/explain.txt new file mode 100644 index 000000000..a1411ffaa --- /dev/null +++ b/parser/testdata/00102_insert_into_temporary_table/explain.txt @@ -0,0 +1,6 @@ +CreateQuery t (children 2) + Identifier t + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration a (children 1) + DataType UInt8 diff --git a/parser/testdata/00103_ipv4_num_to_string_class_c/explain.txt b/parser/testdata/00103_ipv4_num_to_string_class_c/explain.txt new file mode 100644 index 000000000..12c4df0b8 --- /dev/null +++ b/parser/testdata/00103_ipv4_num_to_string_class_c/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Function IPv4NumToStringClassC (children 1) + ExpressionList (children 1) + Function toUInt32 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal \'0.0.0.xxx\' diff --git a/parser/testdata/00104_totals_having_mode/explain.txt b/parser/testdata/00104_totals_having_mode/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00104_totals_having_mode/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00105_shard_collations/explain.txt b/parser/testdata/00105_shard_collations/explain.txt new file mode 100644 index 000000000..3a59d035f --- /dev/null +++ b/parser/testdata/00105_shard_collations/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'РуÑÑкий (default)\' diff --git a/parser/testdata/00106_totals_after_having/explain.txt b/parser/testdata/00106_totals_after_having/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00106_totals_after_having/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00107_totals_after_having/explain.txt b/parser/testdata/00107_totals_after_having/explain.txt new file mode 100644 index 000000000..6dc583269 --- /dev/null +++ b/parser/testdata/00107_totals_after_having/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'*** In-memory aggregation.\' diff --git a/parser/testdata/00108_shard_totals_after_having/explain.txt b/parser/testdata/00108_shard_totals_after_having/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00108_shard_totals_after_having/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00109_shard_totals_after_having/explain.txt b/parser/testdata/00109_shard_totals_after_having/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00109_shard_totals_after_having/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00110_external_sort/explain.txt b/parser/testdata/00110_external_sort/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00110_external_sort/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00111_shard_external_sort_distributed/explain.txt b/parser/testdata/00111_shard_external_sort_distributed/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00111_shard_external_sort_distributed/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00112_shard_totals_after_having/explain.txt b/parser/testdata/00112_shard_totals_after_having/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00112_shard_totals_after_having/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00113_shard_group_array/explain.txt b/parser/testdata/00113_shard_group_array/explain.txt new file mode 100644 index 000000000..5b231cd9d --- /dev/null +++ b/parser/testdata/00113_shard_group_array/explain.txt @@ -0,0 +1,33 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 2) + Function intDiv (alias k) (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_100 + Function length (children 1) + ExpressionList (children 1) + Function groupArray (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_1000000 + ExpressionList (children 1) + Identifier k + ExpressionList (children 1) + OrderByElement (children 1) + Identifier k + Literal UInt64_10 diff --git a/parser/testdata/00114_float_type_result_of_division/explain.txt b/parser/testdata/00114_float_type_result_of_division/explain.txt new file mode 100644 index 000000000..3aec0656a --- /dev/null +++ b/parser/testdata/00114_float_type_result_of_division/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function divide (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal UInt64_10 diff --git a/parser/testdata/00116_storage_set/explain.txt b/parser/testdata/00116_storage_set/explain.txt new file mode 100644 index 000000000..def46520e --- /dev/null +++ b/parser/testdata/00116_storage_set/explain.txt @@ -0,0 +1,2 @@ +DropQuery set (children 1) + Identifier set diff --git a/parser/testdata/00117_parsing_arrays/explain.txt b/parser/testdata/00117_parsing_arrays/explain.txt new file mode 100644 index 000000000..4762e1763 --- /dev/null +++ b/parser/testdata/00117_parsing_arrays/explain.txt @@ -0,0 +1,2 @@ +DropQuery null_00117 (children 1) + Identifier null_00117 diff --git a/parser/testdata/00118_storage_join/explain.txt b/parser/testdata/00118_storage_join/explain.txt new file mode 100644 index 000000000..91643e923 --- /dev/null +++ b/parser/testdata/00118_storage_join/explain.txt @@ -0,0 +1,2 @@ +DropQuery t2 (children 1) + Identifier t2 diff --git a/parser/testdata/00119_storage_join/explain.txt b/parser/testdata/00119_storage_join/explain.txt new file mode 100644 index 000000000..91643e923 --- /dev/null +++ b/parser/testdata/00119_storage_join/explain.txt @@ -0,0 +1,2 @@ +DropQuery t2 (children 1) + Identifier t2 diff --git a/parser/testdata/00120_join_and_group_by/explain.txt b/parser/testdata/00120_join_and_group_by/explain.txt new file mode 100644 index 000000000..97e7a3990 --- /dev/null +++ b/parser/testdata/00120_join_and_group_by/explain.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier value + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.one + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias js2) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Identifier dummy + Identifier dummy (alias value) + TableJoin (children 1) + ExpressionList (children 1) + Identifier dummy + ExpressionList (children 1) + Identifier value diff --git a/parser/testdata/00121_drop_column_zookeeper/explain.txt b/parser/testdata/00121_drop_column_zookeeper/explain.txt new file mode 100644 index 000000000..ef5d323dc --- /dev/null +++ b/parser/testdata/00121_drop_column_zookeeper/explain.txt @@ -0,0 +1,2 @@ +DropQuery alter_00121 (children 1) + Identifier alter_00121 diff --git a/parser/testdata/00122_join_with_subquery_with_subquery/explain.txt b/parser/testdata/00122_join_with_subquery_with_subquery/explain.txt new file mode 100644 index 000000000..4f2523f02 --- /dev/null +++ b/parser/testdata/00122_join_with_subquery_with_subquery/explain.txt @@ -0,0 +1,39 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier k + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias js1) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Literal UInt64_1 (alias k) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.one + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias js2) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier k + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_1 (alias k) + Literal UInt64_2 (alias x) + TableJoin (children 1) + ExpressionList (children 1) + Identifier k diff --git a/parser/testdata/00123_shard_unmerged_result_when_max_distributed_connections_is_one/explain.txt b/parser/testdata/00123_shard_unmerged_result_when_max_distributed_connections_is_one/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00123_shard_unmerged_result_when_max_distributed_connections_is_one/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00124_shard_distributed_with_many_replicas/explain.txt b/parser/testdata/00124_shard_distributed_with_many_replicas/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00124_shard_distributed_with_many_replicas/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00125_array_element_of_array_of_tuple/explain.txt b/parser/testdata/00125_array_element_of_array_of_tuple/explain.txt new file mode 100644 index 000000000..bf7e98dfc --- /dev/null +++ b/parser/testdata/00125_array_element_of_array_of_tuple/explain.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function groupArray (alias b) (children 1) + ExpressionList (children 1) + Identifier a + Function arrayElement (children 1) + ExpressionList (children 2) + Identifier b + Literal UInt64_1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal Tuple_(UInt64_1, UInt64_2) (alias a) diff --git a/parser/testdata/00126_buffer/explain.txt b/parser/testdata/00126_buffer/explain.txt new file mode 100644 index 000000000..1336529e3 --- /dev/null +++ b/parser/testdata/00126_buffer/explain.txt @@ -0,0 +1,2 @@ +DropQuery buffer_00126 (children 1) + Identifier buffer_00126 diff --git a/parser/testdata/00127_group_by_concat/explain.txt b/parser/testdata/00127_group_by_concat/explain.txt new file mode 100644 index 000000000..4eff92219 --- /dev/null +++ b/parser/testdata/00127_group_by_concat/explain.txt @@ -0,0 +1,35 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 3) + Function materialize (alias k1) (children 1) + ExpressionList (children 1) + Literal \'\' + Function modulo (alias k2) (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_123 + Function count (alias c) (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_1000 + ExpressionList (children 2) + Identifier k1 + Identifier k2 + ExpressionList (children 2) + OrderByElement (children 1) + Identifier k1 + OrderByElement (children 1) + Identifier k2 diff --git a/parser/testdata/00128_group_by_number_and_fixed_string/explain.txt b/parser/testdata/00128_group_by_number_and_fixed_string/explain.txt new file mode 100644 index 000000000..3d5fa78ad --- /dev/null +++ b/parser/testdata/00128_group_by_number_and_fixed_string/explain.txt @@ -0,0 +1,35 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 2) + Identifier n + Identifier k + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Identifier number (alias n) + Function toFixedString (alias k) (children 1) + ExpressionList (children 2) + Function materialize (children 1) + ExpressionList (children 1) + Literal \' \' + Literal UInt64_3 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_100000 + ExpressionList (children 2) + Identifier n + Identifier k + ExpressionList (children 2) + OrderByElement (children 1) + Identifier n + OrderByElement (children 1) + Identifier k + Literal UInt64_10 diff --git a/parser/testdata/00129_quantile_timing_weighted/explain.txt b/parser/testdata/00129_quantile_timing_weighted/explain.txt new file mode 100644 index 000000000..724a9847b --- /dev/null +++ b/parser/testdata/00129_quantile_timing_weighted/explain.txt @@ -0,0 +1,33 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function medianTiming (children 1) + ExpressionList (children 1) + Identifier t + Function medianTimingWeighted (children 1) + ExpressionList (children 2) + Identifier t + Identifier w + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Identifier number (alias t) + Function if (alias w) (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_77 + Literal UInt64_10 + Literal UInt64_1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_100 diff --git a/parser/testdata/00131_set_hashed/explain.txt b/parser/testdata/00131_set_hashed/explain.txt new file mode 100644 index 000000000..7a5156ee7 --- /dev/null +++ b/parser/testdata/00131_set_hashed/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function in (children 1) + ExpressionList (children 2) + Literal Tuple_(UInt64_1, \'\') + Function tuple (children 1) + ExpressionList (children 1) + Literal Tuple_(UInt64_1, \'\') diff --git a/parser/testdata/00132_sets/explain.txt b/parser/testdata/00132_sets/explain.txt new file mode 100644 index 000000000..d10ad95eb --- /dev/null +++ b/parser/testdata/00132_sets/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function in (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal Tuple_(UInt64_1, UInt64_2, UInt64_3) diff --git a/parser/testdata/00134_aggregation_by_fixed_string_of_size_1_2_4_8/explain.txt b/parser/testdata/00134_aggregation_by_fixed_string_of_size_1_2_4_8/explain.txt new file mode 100644 index 000000000..3617f937a --- /dev/null +++ b/parser/testdata/00134_aggregation_by_fixed_string_of_size_1_2_4_8/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function materialize (alias x) (children 1) + ExpressionList (children 1) + Function toFixedString (children 1) + ExpressionList (children 2) + Literal \'\' + Literal UInt64_1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.one + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00135_duplicate_group_by_keys_segfault/explain.txt b/parser/testdata/00135_duplicate_group_by_keys_segfault/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00135_duplicate_group_by_keys_segfault/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00136_duplicate_order_by_elems/explain.txt b/parser/testdata/00136_duplicate_order_by_elems/explain.txt new file mode 100644 index 000000000..f42434151 --- /dev/null +++ b/parser/testdata/00136_duplicate_order_by_elems/explain.txt @@ -0,0 +1,42 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 1) + Identifier n + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier number (alias n) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_1000000 + ExpressionList (children 10) + OrderByElement (children 1) + Identifier n + OrderByElement (children 1) + Identifier n + OrderByElement (children 1) + Identifier n + OrderByElement (children 1) + Identifier n + OrderByElement (children 1) + Identifier n + OrderByElement (children 1) + Identifier n + OrderByElement (children 1) + Identifier n + OrderByElement (children 1) + Identifier n + OrderByElement (children 1) + Identifier n + OrderByElement (children 1) + Identifier n + Literal UInt64_1000000 + Literal UInt64_1 diff --git a/parser/testdata/00137_in_constants/explain.txt b/parser/testdata/00137_in_constants/explain.txt new file mode 100644 index 000000000..827618aaa --- /dev/null +++ b/parser/testdata/00137_in_constants/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function in (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/00138_table_aliases/explain.txt b/parser/testdata/00138_table_aliases/explain.txt new file mode 100644 index 000000000..50509fa6c --- /dev/null +++ b/parser/testdata/00138_table_aliases/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.one (alias xxx) diff --git a/parser/testdata/00139_like/metadata.json b/parser/testdata/00139_like/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00139_like/metadata.json +++ b/parser/testdata/00139_like/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00140_parse_unix_timestamp_as_datetime/explain.txt b/parser/testdata/00140_parse_unix_timestamp_as_datetime/explain.txt new file mode 100644 index 000000000..3efdcfb76 --- /dev/null +++ b/parser/testdata/00140_parse_unix_timestamp_as_datetime/explain.txt @@ -0,0 +1,36 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function min (children 1) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier ts + Function toUInt32 (children 1) + ExpressionList (children 1) + Function toDateTime (children 1) + ExpressionList (children 1) + Function toString (children 1) + ExpressionList (children 1) + Identifier ts + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function plus (alias ts) (children 1) + ExpressionList (children 2) + Literal UInt64_1000000000 + Function multiply (children 1) + ExpressionList (children 2) + Literal UInt64_1234 + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_1000000 diff --git a/parser/testdata/00140_prewhere_column_order/explain.txt b/parser/testdata/00140_prewhere_column_order/explain.txt new file mode 100644 index 000000000..7b78485b5 --- /dev/null +++ b/parser/testdata/00140_prewhere_column_order/explain.txt @@ -0,0 +1,2 @@ +DropQuery prewhere (children 1) + Identifier prewhere diff --git a/parser/testdata/00140_rename/explain.txt b/parser/testdata/00140_rename/explain.txt new file mode 100644 index 000000000..800b9e88c --- /dev/null +++ b/parser/testdata/00140_rename/explain.txt @@ -0,0 +1,13 @@ +Rename (children 12) + Identifier test + Identifier hits + Identifier test + Identifier visits_tmp + Identifier test + Identifier visits + Identifier test + Identifier hits + Identifier test + Identifier visits_tmp + Identifier test + Identifier visits diff --git a/parser/testdata/00141_parse_timestamp_as_datetime/explain.txt b/parser/testdata/00141_parse_timestamp_as_datetime/explain.txt new file mode 100644 index 000000000..a2b26c82b --- /dev/null +++ b/parser/testdata/00141_parse_timestamp_as_datetime/explain.txt @@ -0,0 +1,2 @@ +DropQuery default (children 1) + Identifier default diff --git a/parser/testdata/00141_transform/explain.txt b/parser/testdata/00141_transform/explain.txt new file mode 100644 index 000000000..5f3a7e2d2 --- /dev/null +++ b/parser/testdata/00141_transform/explain.txt @@ -0,0 +1,30 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 7) + ExpressionList (children 2) + Function transform (alias title) (children 1) + ExpressionList (children 4) + Identifier SearchEngineID + Literal Array_[UInt64_2, UInt64_3] + Literal Array_[\'ЯндекÑ\', \'Google\'] + Literal \'ОÑтальные\' + Function count (alias c) (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.hits + Function notEquals (children 1) + ExpressionList (children 2) + Identifier SearchEngineID + Literal UInt64_0 + ExpressionList (children 1) + Identifier title + Function greater (children 1) + ExpressionList (children 2) + Identifier c + Literal UInt64_0 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier c + Literal UInt64_10 diff --git a/parser/testdata/00142_parse_timestamp_as_datetime/explain.txt b/parser/testdata/00142_parse_timestamp_as_datetime/explain.txt new file mode 100644 index 000000000..3efdcfb76 --- /dev/null +++ b/parser/testdata/00142_parse_timestamp_as_datetime/explain.txt @@ -0,0 +1,36 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function min (children 1) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier ts + Function toUInt32 (children 1) + ExpressionList (children 1) + Function toDateTime (children 1) + ExpressionList (children 1) + Function toString (children 1) + ExpressionList (children 1) + Identifier ts + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function plus (alias ts) (children 1) + ExpressionList (children 2) + Literal UInt64_1000000000 + Function multiply (children 1) + ExpressionList (children 2) + Literal UInt64_1234 + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_1000000 diff --git a/parser/testdata/00142_system_columns/explain.txt b/parser/testdata/00142_system_columns/explain.txt new file mode 100644 index 000000000..6d9fad6b9 --- /dev/null +++ b/parser/testdata/00142_system_columns/explain.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 5) + Identifier table + Identifier name + Identifier type + Identifier default_kind + Identifier default_expression + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.columns + Function and (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier database + Literal \'test\' + Function equals (children 1) + ExpressionList (children 2) + Identifier table + Literal \'hits\' diff --git a/parser/testdata/00143_number_classification_functions/explain.txt b/parser/testdata/00143_number_classification_functions/explain.txt new file mode 100644 index 000000000..e63834f85 --- /dev/null +++ b/parser/testdata/00143_number_classification_functions/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Function isFinite (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal UInt64_1 diff --git a/parser/testdata/00143_transform_non_const_default/explain.txt b/parser/testdata/00143_transform_non_const_default/explain.txt new file mode 100644 index 000000000..2ce370f8c --- /dev/null +++ b/parser/testdata/00143_transform_non_const_default/explain.txt @@ -0,0 +1,30 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 7) + ExpressionList (children 2) + Function transform (alias title) (children 1) + ExpressionList (children 4) + Identifier SearchEngineID + Literal Array_[UInt64_2, UInt64_3] + Literal Array_[\'ЯндекÑ\', \'Google\'] + Identifier PageCharset + Function count (alias c) (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.hits + Function notEquals (children 1) + ExpressionList (children 2) + Identifier SearchEngineID + Literal UInt64_0 + ExpressionList (children 1) + Identifier title + Function greater (children 1) + ExpressionList (children 2) + Identifier c + Literal UInt64_0 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier c + Literal UInt64_10 diff --git a/parser/testdata/00144_empty_regexp/explain.txt b/parser/testdata/00144_empty_regexp/explain.txt new file mode 100644 index 000000000..e8aa23516 --- /dev/null +++ b/parser/testdata/00144_empty_regexp/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function match (children 1) + ExpressionList (children 2) + Function materialize (children 1) + ExpressionList (children 1) + Literal \'Hello\' + Literal \'\' diff --git a/parser/testdata/00144_functions_of_aggregation_states/explain.txt b/parser/testdata/00144_functions_of_aggregation_states/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00144_functions_of_aggregation_states/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00145_aggregate_functions_statistics/explain.txt b/parser/testdata/00145_aggregate_functions_statistics/explain.txt new file mode 100644 index 000000000..159c6bdde --- /dev/null +++ b/parser/testdata/00145_aggregate_functions_statistics/explain.txt @@ -0,0 +1,21 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function varSamp (children 1) + ExpressionList (children 1) + Identifier ResolutionWidth + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier ResolutionWidth + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.hits + Literal UInt64_0 diff --git a/parser/testdata/00145_empty_likes/explain.txt b/parser/testdata/00145_empty_likes/explain.txt new file mode 100644 index 000000000..2e926d377 --- /dev/null +++ b/parser/testdata/00145_empty_likes/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function like (children 1) + ExpressionList (children 2) + Function materialize (children 1) + ExpressionList (children 1) + Literal \'Hello\' + Literal \'\' diff --git a/parser/testdata/00146_aggregate_function_uniq/explain.txt b/parser/testdata/00146_aggregate_function_uniq/explain.txt new file mode 100644 index 000000000..e1f45da92 --- /dev/null +++ b/parser/testdata/00146_aggregate_function_uniq/explain.txt @@ -0,0 +1,25 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 2) + Identifier RegionID + Function uniqHLL12 (alias X) (children 1) + ExpressionList (children 1) + Identifier WatchID + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 3) + Literal \'127.0.0.{1,2}\' + Identifier test + Identifier hits + ExpressionList (children 1) + Identifier RegionID + Function greater (children 1) + ExpressionList (children 2) + Identifier X + Literal UInt64_100000 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier RegionID diff --git a/parser/testdata/00146_summing_merge_tree_nested_map/explain.txt b/parser/testdata/00146_summing_merge_tree_nested_map/explain.txt new file mode 100644 index 000000000..6e8509645 --- /dev/null +++ b/parser/testdata/00146_summing_merge_tree_nested_map/explain.txt @@ -0,0 +1,2 @@ +DropQuery nested_map (children 1) + Identifier nested_map diff --git a/parser/testdata/00147_alter_nested_default/explain.txt b/parser/testdata/00147_alter_nested_default/explain.txt new file mode 100644 index 000000000..6d4b67227 --- /dev/null +++ b/parser/testdata/00147_alter_nested_default/explain.txt @@ -0,0 +1,2 @@ +DropQuery alter_00147 (children 1) + Identifier alter_00147 diff --git a/parser/testdata/00147_global_in_aggregate_function/explain.txt b/parser/testdata/00147_global_in_aggregate_function/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00147_global_in_aggregate_function/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00148_monotonic_functions_and_index/explain.txt b/parser/testdata/00148_monotonic_functions_and_index/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00148_monotonic_functions_and_index/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00148_summing_merge_tree_aggregate_function/explain.txt b/parser/testdata/00148_summing_merge_tree_aggregate_function/explain.txt new file mode 100644 index 000000000..1c14cacba --- /dev/null +++ b/parser/testdata/00148_summing_merge_tree_aggregate_function/explain.txt @@ -0,0 +1,2 @@ +DropQuery summing_merge_tree_aggregate_function (children 1) + Identifier summing_merge_tree_aggregate_function diff --git a/parser/testdata/00148_summing_merge_tree_nested_map_multiple_values/explain.txt b/parser/testdata/00148_summing_merge_tree_nested_map_multiple_values/explain.txt new file mode 100644 index 000000000..efdbab53e --- /dev/null +++ b/parser/testdata/00148_summing_merge_tree_nested_map_multiple_values/explain.txt @@ -0,0 +1,2 @@ +DropQuery nested_map_multiple_values (children 1) + Identifier nested_map_multiple_values diff --git a/parser/testdata/00149_function_url_hash/explain.txt b/parser/testdata/00149_function_url_hash/explain.txt new file mode 100644 index 000000000..d64e58341 --- /dev/null +++ b/parser/testdata/00149_function_url_hash/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Function URLHash (children 1) + ExpressionList (children 1) + Literal \'\' (alias url) + Function URLHash (children 1) + ExpressionList (children 1) + Function appendTrailingCharIfAbsent (children 1) + ExpressionList (children 2) + Identifier url + Literal \'/\' diff --git a/parser/testdata/00149_quantiles_timing_distributed/explain.txt b/parser/testdata/00149_quantiles_timing_distributed/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00149_quantiles_timing_distributed/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00150_quantiles_timing_precision/explain.txt b/parser/testdata/00150_quantiles_timing_precision/explain.txt new file mode 100644 index 000000000..4cd925efa --- /dev/null +++ b/parser/testdata/00150_quantiles_timing_precision/explain.txt @@ -0,0 +1,52 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 5) + Identifier CounterID + Function quantileTiming (alias qt) (children 2) + ExpressionList (children 1) + Identifier SendTiming + ExpressionList (children 1) + Literal Float64_0.5 + Function least (alias qe) (children 1) + ExpressionList (children 2) + Literal UInt64_30000 + Function quantileExact (children 2) + ExpressionList (children 1) + Identifier SendTiming + ExpressionList (children 1) + Literal Float64_0.5 + Function count (alias c) (children 1) + ExpressionList + Function round (alias rounded_diff) (children 1) + ExpressionList (children 2) + Function divide (alias diff) (children 1) + ExpressionList (children 2) + Function abs (children 1) + ExpressionList (children 1) + Function minus (children 1) + ExpressionList (children 2) + Identifier qt + Identifier qe + Function greatest (children 1) + ExpressionList (children 2) + Identifier qt + Identifier qe + Literal UInt64_3 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.hits + Function notEquals (children 1) + ExpressionList (children 2) + Identifier SendTiming + Literal Int64_-1 + ExpressionList (children 1) + Identifier CounterID + Function notEquals (children 1) + ExpressionList (children 2) + Identifier diff + Literal UInt64_0 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier diff diff --git a/parser/testdata/00150_with_totals_and_join/explain.txt b/parser/testdata/00150_with_totals_and_join/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00150_with_totals_and_join/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00151_order_by_read_in_order/explain.txt b/parser/testdata/00151_order_by_read_in_order/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00151_order_by_read_in_order/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00151_tuple_with_array/explain.txt b/parser/testdata/00151_tuple_with_array/explain.txt new file mode 100644 index 000000000..b7801c7ff --- /dev/null +++ b/parser/testdata/00151_tuple_with_array/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal Array_[UInt64_1] diff --git a/parser/testdata/00152_insert_different_granularity/explain.txt b/parser/testdata/00152_insert_different_granularity/explain.txt new file mode 100644 index 000000000..4a3265166 --- /dev/null +++ b/parser/testdata/00152_insert_different_granularity/explain.txt @@ -0,0 +1,2 @@ +DropQuery fixed_granularity_table (children 1) + Identifier fixed_granularity_table diff --git a/parser/testdata/00152_totals_in_subquery/explain.txt b/parser/testdata/00152_totals_in_subquery/explain.txt new file mode 100644 index 000000000..0ecbcc355 --- /dev/null +++ b/parser/testdata/00152_totals_in_subquery/explain.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Identifier dummy + Function sum (children 1) + ExpressionList (children 1) + Identifier dummy + ExpressionList (children 1) + Identifier dummy diff --git a/parser/testdata/00153_aggregate_arena_race/explain.txt b/parser/testdata/00153_aggregate_arena_race/explain.txt new file mode 100644 index 000000000..fd3d05b8d --- /dev/null +++ b/parser/testdata/00153_aggregate_arena_race/explain.txt @@ -0,0 +1,2 @@ +DropQuery dest00153 (children 1) + Identifier dest00153 diff --git a/parser/testdata/00153_transform/explain.txt b/parser/testdata/00153_transform/explain.txt new file mode 100644 index 000000000..50f1a6011 --- /dev/null +++ b/parser/testdata/00153_transform/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function transform (children 1) + ExpressionList (children 3) + Identifier number + Literal Array_[UInt64_3, UInt64_5, UInt64_7] + Literal Array_[UInt64_111, UInt64_222, UInt64_333] + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_10 diff --git a/parser/testdata/00154_avro/explain.txt b/parser/testdata/00154_avro/explain.txt new file mode 100644 index 000000000..cd7477855 --- /dev/null +++ b/parser/testdata/00154_avro/explain.txt @@ -0,0 +1,2 @@ +DropQuery avro (children 1) + Identifier avro diff --git a/parser/testdata/00154_shard_distributed_with_distinct/explain.txt b/parser/testdata/00154_shard_distributed_with_distinct/explain.txt new file mode 100644 index 000000000..0d9eed862 --- /dev/null +++ b/parser/testdata/00154_shard_distributed_with_distinct/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.0.0.{2,3}\' + Identifier system.numbers + Literal UInt64_10 diff --git a/parser/testdata/00156_array_map_to_constant/explain.txt b/parser/testdata/00156_array_map_to_constant/explain.txt new file mode 100644 index 000000000..df89adaad --- /dev/null +++ b/parser/testdata/00156_array_map_to_constant/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function arrayMap (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Literal UInt64_1 + Literal Array_[UInt64_2] + Literal UInt64_123 (alias y) diff --git a/parser/testdata/00156_max_execution_speed_sample_merge/explain.txt b/parser/testdata/00156_max_execution_speed_sample_merge/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00156_max_execution_speed_sample_merge/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00157_aliases_and_lambda_formal_parameters/explain.txt b/parser/testdata/00157_aliases_and_lambda_formal_parameters/explain.txt new file mode 100644 index 000000000..75086557b --- /dev/null +++ b/parser/testdata/00157_aliases_and_lambda_formal_parameters/explain.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 3) + Function arrayMap (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Literal UInt64_1 + Literal Array_[UInt64_2] + Literal UInt64_123 (alias x) + Function plus (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_1 diff --git a/parser/testdata/00157_cache_dictionary/explain.txt b/parser/testdata/00157_cache_dictionary/explain.txt new file mode 100644 index 000000000..eee7250d4 --- /dev/null +++ b/parser/testdata/00157_cache_dictionary/explain.txt @@ -0,0 +1,3 @@ +DropQuery test hits_1m (children 2) + Identifier test + Identifier hits_1m diff --git a/parser/testdata/00158_buffer_and_nonexistent_table/metadata.json b/parser/testdata/00158_buffer_and_nonexistent_table/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00158_buffer_and_nonexistent_table/metadata.json +++ b/parser/testdata/00158_buffer_and_nonexistent_table/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00158_cache_dictionary_has/explain.txt b/parser/testdata/00158_cache_dictionary_has/explain.txt new file mode 100644 index 000000000..033bb5fc4 --- /dev/null +++ b/parser/testdata/00158_cache_dictionary_has/explain.txt @@ -0,0 +1,2 @@ +DropQuery cache_hits (children 1) + Identifier cache_hits diff --git a/parser/testdata/00159_whitespace_in_columns_list/explain.txt b/parser/testdata/00159_whitespace_in_columns_list/explain.txt new file mode 100644 index 000000000..a9454554f --- /dev/null +++ b/parser/testdata/00159_whitespace_in_columns_list/explain.txt @@ -0,0 +1,2 @@ +DropQuery memory (children 1) + Identifier memory diff --git a/parser/testdata/00160_decode_xml_component/explain.txt b/parser/testdata/00160_decode_xml_component/explain.txt new file mode 100644 index 000000000..3462aa855 --- /dev/null +++ b/parser/testdata/00160_decode_xml_component/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function sumDistinct (children 1) + ExpressionList (children 1) + Function sipHash64 (children 1) + ExpressionList (children 1) + Function decodeXMLComponent (alias decoded) (children 1) + ExpressionList (children 1) + Identifier Title + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.hits + Function notEquals (children 1) + ExpressionList (children 2) + Identifier Title + Identifier decoded diff --git a/parser/testdata/00160_merge_and_index_in_in/explain.txt b/parser/testdata/00160_merge_and_index_in_in/explain.txt new file mode 100644 index 000000000..bb7233daf --- /dev/null +++ b/parser/testdata/00160_merge_and_index_in_in/explain.txt @@ -0,0 +1,2 @@ +DropQuery mt_00160 (children 1) + Identifier mt_00160 diff --git a/parser/testdata/00161_rounding_functions/explain.txt b/parser/testdata/00161_rounding_functions/explain.txt new file mode 100644 index 000000000..4341a3fef --- /dev/null +++ b/parser/testdata/00161_rounding_functions/explain.txt @@ -0,0 +1,27 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 6) + Function toUInt8 (alias x) (children 1) + ExpressionList (children 1) + Identifier number + Function round (children 1) + ExpressionList (children 1) + Identifier x + Function roundBankers (children 1) + ExpressionList (children 1) + Identifier x + Function floor (children 1) + ExpressionList (children 1) + Identifier x + Function ceil (children 1) + ExpressionList (children 1) + Identifier x + Function trunc (children 1) + ExpressionList (children 1) + Identifier x + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_20 diff --git a/parser/testdata/00162_mmap_compression_none/explain.txt b/parser/testdata/00162_mmap_compression_none/explain.txt new file mode 100644 index 000000000..bfda93e24 --- /dev/null +++ b/parser/testdata/00162_mmap_compression_none/explain.txt @@ -0,0 +1,2 @@ +DropQuery hits_none (children 1) + Identifier hits_none diff --git a/parser/testdata/00162_shard_global_join/explain.txt b/parser/testdata/00162_shard_global_join/explain.txt new file mode 100644 index 000000000..3de97b7e2 --- /dev/null +++ b/parser/testdata/00162_shard_global_join/explain.txt @@ -0,0 +1,28 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 3) + Identifier n + Identifier j1 + Identifier j2 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias jr1) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function toFloat64 (alias n) (children 1) + ExpressionList (children 1) + Function plus (children 1) + ExpressionList (children 2) + Identifier dummy + Literal UInt64_2 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.0.0.{2,3}\' + Identifier system.one diff --git a/parser/testdata/00163_shard_join_with_empty_table/explain.txt b/parser/testdata/00163_shard_join_with_empty_table/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00163_shard_join_with_empty_table/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00164_not_chain/explain.txt b/parser/testdata/00164_not_chain/explain.txt new file mode 100644 index 000000000..c6ac2a7a0 --- /dev/null +++ b/parser/testdata/00164_not_chain/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function not (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/00164_quantileBfloat16/explain.txt b/parser/testdata/00164_quantileBfloat16/explain.txt new file mode 100644 index 000000000..9c415af73 --- /dev/null +++ b/parser/testdata/00164_quantileBfloat16/explain.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 2) + Identifier CounterID (alias k) + Function quantileBFloat16 (children 2) + ExpressionList (children 1) + Identifier ResolutionWidth + ExpressionList (children 1) + Literal Float64_0.5 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.hits + ExpressionList (children 1) + Identifier k + ExpressionList (children 2) + OrderByElement (children 1) + Function count (children 1) + ExpressionList + OrderByElement (children 1) + Identifier CounterID + Literal UInt64_10 diff --git a/parser/testdata/00165_jit_aggregate_functions/explain.txt b/parser/testdata/00165_jit_aggregate_functions/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00165_jit_aggregate_functions/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00165_transform_non_const_default/explain.txt b/parser/testdata/00165_transform_non_const_default/explain.txt new file mode 100644 index 000000000..1a6a878a4 --- /dev/null +++ b/parser/testdata/00165_transform_non_const_default/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function transform (children 1) + ExpressionList (children 4) + Identifier number + Literal Array_[UInt64_3, UInt64_5, UInt64_7] + Literal Array_[UInt64_111, UInt64_222, UInt64_333] + Function materialize (children 1) + ExpressionList (children 1) + Literal UInt64_9999 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_10 diff --git a/parser/testdata/00166_explain_estimate/explain.txt b/parser/testdata/00166_explain_estimate/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00166_explain_estimate/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00166_functions_of_aggregation_states/explain.txt b/parser/testdata/00166_functions_of_aggregation_states/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00166_functions_of_aggregation_states/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00167_read_bytes_from_fs/explain.txt b/parser/testdata/00167_read_bytes_from_fs/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00167_read_bytes_from_fs/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00167_settings_inside_query/explain.txt b/parser/testdata/00167_settings_inside_query/explain.txt new file mode 100644 index 000000000..e425041ad --- /dev/null +++ b/parser/testdata/00167_settings_inside_query/explain.txt @@ -0,0 +1,32 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function min (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Function in (children 1) + ExpressionList (children 2) + Function toUInt64 (children 1) + ExpressionList (children 1) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_1000 + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function blockSize (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Set + Set diff --git a/parser/testdata/00168_buffer_defaults/explain.txt b/parser/testdata/00168_buffer_defaults/explain.txt new file mode 100644 index 000000000..f4aea7e3a --- /dev/null +++ b/parser/testdata/00168_buffer_defaults/explain.txt @@ -0,0 +1,2 @@ +DropQuery mt_00168 (children 1) + Identifier mt_00168 diff --git a/parser/testdata/00169_contingency/metadata.json b/parser/testdata/00169_contingency/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00169_contingency/metadata.json +++ b/parser/testdata/00169_contingency/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00169_join_constant_keys/metadata.json b/parser/testdata/00169_join_constant_keys/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00169_join_constant_keys/metadata.json +++ b/parser/testdata/00169_join_constant_keys/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00170_lower_upper_utf8/explain.txt b/parser/testdata/00170_lower_upper_utf8/explain.txt new file mode 100644 index 000000000..af44262e8 --- /dev/null +++ b/parser/testdata/00170_lower_upper_utf8/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Function lower (children 1) + ExpressionList (children 1) + Literal \'aaaaaaaaaaaaaaa012345789,.!aaaa\' (alias str) + Identifier str diff --git a/parser/testdata/00170_s3_cache/explain.txt b/parser/testdata/00170_s3_cache/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00170_s3_cache/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00171_grouping_aggregated_transform_bug/explain.txt b/parser/testdata/00171_grouping_aggregated_transform_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00171_grouping_aggregated_transform_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00171_shard_array_of_tuple_remote/explain.txt b/parser/testdata/00171_shard_array_of_tuple_remote/explain.txt new file mode 100644 index 000000000..2946f1c5b --- /dev/null +++ b/parser/testdata/00171_shard_array_of_tuple_remote/explain.txt @@ -0,0 +1,29 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function arrayMap (children 1) + ExpressionList (children 3) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 2) + Identifier x + Identifier y + Function tuple (children 1) + ExpressionList (children 2) + Identifier x + Identifier y + Literal Array_[UInt64_1, UInt64_2, UInt64_3] + Literal Array_[UInt64_4, UInt64_5, UInt64_6] + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.0.0.{2,3}\' + Identifier system.one + ExpressionList (children 1) + OrderByElement (children 1) + Function rand (children 1) + ExpressionList diff --git a/parser/testdata/00172_constexprs_in_set/explain.txt b/parser/testdata/00172_constexprs_in_set/explain.txt new file mode 100644 index 000000000..2b6cbb535 --- /dev/null +++ b/parser/testdata/00172_constexprs_in_set/explain.txt @@ -0,0 +1,44 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function sumIf (children 1) + ExpressionList (children 2) + Identifier number + Identifier x + Function sum (children 1) + ExpressionList (children 1) + Identifier x + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Identifier number + Function in (alias x) (children 1) + ExpressionList (children 2) + Identifier number + Function tuple (children 1) + ExpressionList (children 3) + Function plus (children 1) + ExpressionList (children 2) + Literal UInt64_0 + Literal UInt64_1 + Function plus (children 1) + ExpressionList (children 2) + Literal UInt64_2 + Literal UInt64_3 + Function toUInt64 (children 1) + ExpressionList (children 1) + Function concat (children 1) + ExpressionList (children 2) + Literal \'8\' + Literal \'\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_10 diff --git a/parser/testdata/00172_early_constant_folding/explain.txt b/parser/testdata/00172_early_constant_folding/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00172_early_constant_folding/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00173_compare_date_time_with_constant_string/explain.txt b/parser/testdata/00173_compare_date_time_with_constant_string/explain.txt new file mode 100644 index 000000000..cb184420c --- /dev/null +++ b/parser/testdata/00173_compare_date_time_with_constant_string/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Function toDate (children 1) + ExpressionList (children 1) + Literal \'2015-02-03\' + Literal \'2015-02-03\' diff --git a/parser/testdata/00173_group_by_use_nulls/metadata.json b/parser/testdata/00173_group_by_use_nulls/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00173_group_by_use_nulls/metadata.json +++ b/parser/testdata/00173_group_by_use_nulls/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00174_compare_date_time_with_constant_string_in_in/explain.txt b/parser/testdata/00174_compare_date_time_with_constant_string_in_in/explain.txt new file mode 100644 index 000000000..4e50d2526 --- /dev/null +++ b/parser/testdata/00174_compare_date_time_with_constant_string_in_in/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function in (children 1) + ExpressionList (children 2) + Function toDate (children 1) + ExpressionList (children 1) + Literal \'2015-02-05\' + Literal Tuple_(\'2015-02-04\', \'2015-02-05\') diff --git a/parser/testdata/00174_distinct_in_order/explain.txt b/parser/testdata/00174_distinct_in_order/explain.txt new file mode 100644 index 000000000..642a7bd4a --- /dev/null +++ b/parser/testdata/00174_distinct_in_order/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'-- check that distinct with and w/o optimization produce the same result\' diff --git a/parser/testdata/00175_counting_resources_in_subqueries/explain.txt b/parser/testdata/00175_counting_resources_in_subqueries/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00175_counting_resources_in_subqueries/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00175_if_num_arrays/explain.txt b/parser/testdata/00175_if_num_arrays/explain.txt new file mode 100644 index 000000000..461c027b5 --- /dev/null +++ b/parser/testdata/00175_if_num_arrays/explain.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function if (alias res) (children 1) + ExpressionList (children 3) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + Literal Array_[UInt64_1, UInt64_2] + Literal Array_[UInt64_3, UInt64_4, UInt64_5] + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_10 + Identifier TabSeparatedWithNamesAndTypes diff --git a/parser/testdata/00175_partition_by_ignore/explain.txt b/parser/testdata/00175_partition_by_ignore/explain.txt new file mode 100644 index 000000000..07c7b4bc1 --- /dev/null +++ b/parser/testdata/00175_partition_by_ignore/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'-- check that partition key with ignore works correctly\' diff --git a/parser/testdata/00176_distinct_limit_by_limit_bug_43377/explain.txt b/parser/testdata/00176_distinct_limit_by_limit_bug_43377/explain.txt new file mode 100644 index 000000000..d92f4bdfc --- /dev/null +++ b/parser/testdata/00176_distinct_limit_by_limit_bug_43377/explain.txt @@ -0,0 +1,6 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function count (children 1) + ExpressionList diff --git a/parser/testdata/00176_if_string_arrays/explain.txt b/parser/testdata/00176_if_string_arrays/explain.txt new file mode 100644 index 000000000..fe7570a89 --- /dev/null +++ b/parser/testdata/00176_if_string_arrays/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function if (children 1) + ExpressionList (children 3) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + Literal Array_[\'Hello\', \'World\'] + Literal Array_[\'abc\'] + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_10 diff --git a/parser/testdata/00178_function_replicate/metadata.json b/parser/testdata/00178_function_replicate/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00178_function_replicate/metadata.json +++ b/parser/testdata/00178_function_replicate/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00178_quantile_ddsketch/explain.txt b/parser/testdata/00178_quantile_ddsketch/explain.txt new file mode 100644 index 000000000..7a5e06037 --- /dev/null +++ b/parser/testdata/00178_quantile_ddsketch/explain.txt @@ -0,0 +1,27 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 2) + Identifier CounterID (alias k) + Function round (children 1) + ExpressionList (children 2) + Function quantileDD (children 2) + ExpressionList (children 1) + Identifier ResolutionWidth + ExpressionList (children 2) + Literal Float64_0.01 + Literal Float64_0.5 + Literal UInt64_2 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.hits + ExpressionList (children 1) + Identifier k + ExpressionList (children 2) + OrderByElement (children 1) + Function count (children 1) + ExpressionList + OrderByElement (children 1) + Identifier CounterID + Literal UInt64_10 diff --git a/parser/testdata/00178_query_datetime64_index/explain.txt b/parser/testdata/00178_query_datetime64_index/explain.txt new file mode 100644 index 000000000..8d9008844 --- /dev/null +++ b/parser/testdata/00178_query_datetime64_index/explain.txt @@ -0,0 +1,2 @@ +DropQuery datetime64_index_tbl (children 1) + Identifier datetime64_index_tbl diff --git a/parser/testdata/00179_lambdas_with_common_expressions_and_filter/explain.txt b/parser/testdata/00179_lambdas_with_common_expressions_and_filter/explain.txt new file mode 100644 index 000000000..f061c9295 --- /dev/null +++ b/parser/testdata/00179_lambdas_with_common_expressions_and_filter/explain.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayMap (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function if (children 1) + ExpressionList (children 3) + Function notEquals (children 1) + ExpressionList (children 2) + Identifier number + Literal Int64_-1 + Identifier x + Literal UInt64_0 + Identifier arr diff --git a/parser/testdata/00180_attach_materialized_view/explain.txt b/parser/testdata/00180_attach_materialized_view/explain.txt new file mode 100644 index 000000000..1bc66d11d --- /dev/null +++ b/parser/testdata/00180_attach_materialized_view/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_00180 (children 1) + Identifier t_00180 diff --git a/parser/testdata/00181_aggregate_functions_statistics/explain.txt b/parser/testdata/00181_aggregate_functions_statistics/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00181_aggregate_functions_statistics/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00181_aggregate_functions_statistics_stable/explain.txt b/parser/testdata/00181_aggregate_functions_statistics_stable/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00181_aggregate_functions_statistics_stable/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00181_cross_join_compression/explain.txt b/parser/testdata/00181_cross_join_compression/explain.txt new file mode 100644 index 000000000..198df95a9 --- /dev/null +++ b/parser/testdata/00181_cross_join_compression/explain.txt @@ -0,0 +1,7 @@ +CreateQuery unit (children 2) + Identifier unit + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/00182_functions_higher_order_and_consts/explain.txt b/parser/testdata/00182_functions_higher_order_and_consts/explain.txt new file mode 100644 index 000000000..7bb4c0660 --- /dev/null +++ b/parser/testdata/00182_functions_higher_order_and_consts/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'---map--\' diff --git a/parser/testdata/00182_simple_squashing_transform_bug/explain.txt b/parser/testdata/00182_simple_squashing_transform_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00182_simple_squashing_transform_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00183_prewhere_conditions_order/explain.txt b/parser/testdata/00183_prewhere_conditions_order/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00183_prewhere_conditions_order/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00183_skip_unavailable_shards/explain.txt b/parser/testdata/00183_skip_unavailable_shards/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00183_skip_unavailable_shards/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00184_shard_distributed_group_by_no_merge/explain.txt b/parser/testdata/00184_shard_distributed_group_by_no_merge/explain.txt new file mode 100644 index 000000000..ea81b676b --- /dev/null +++ b/parser/testdata/00184_shard_distributed_group_by_no_merge/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'distributed_group_by_no_merge=1\' diff --git a/parser/testdata/00185_array_literals/explain.txt b/parser/testdata/00185_array_literals/explain.txt new file mode 100644 index 000000000..2a69eeee6 --- /dev/null +++ b/parser/testdata/00185_array_literals/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal Array_[UInt64_1, UInt64_2] diff --git a/parser/testdata/00187_like_regexp_prefix/explain.txt b/parser/testdata/00187_like_regexp_prefix/explain.txt new file mode 100644 index 000000000..60e2af630 --- /dev/null +++ b/parser/testdata/00187_like_regexp_prefix/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function like (children 1) + ExpressionList (children 2) + Function materialize (children 1) + ExpressionList (children 1) + Literal \'prepre_f\' + Literal \'%pre_f%\' diff --git a/parser/testdata/00188_constants_as_arguments_of_aggregate_functions/explain.txt b/parser/testdata/00188_constants_as_arguments_of_aggregate_functions/explain.txt new file mode 100644 index 000000000..0a12dc6af --- /dev/null +++ b/parser/testdata/00188_constants_as_arguments_of_aggregate_functions/explain.txt @@ -0,0 +1,26 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 3) + Function count (children 1) + ExpressionList + Function sum (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Function uniq (children 1) + ExpressionList (children 1) + Literal UInt64_123 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_10 diff --git a/parser/testdata/00189_time_zones_long/metadata.json b/parser/testdata/00189_time_zones_long/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00189_time_zones_long/metadata.json +++ b/parser/testdata/00189_time_zones_long/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00190_non_constant_array_of_constant_data/explain.txt b/parser/testdata/00190_non_constant_array_of_constant_data/explain.txt new file mode 100644 index 000000000..f7836bf60 --- /dev/null +++ b/parser/testdata/00190_non_constant_array_of_constant_data/explain.txt @@ -0,0 +1,43 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function arrayFilter (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function notEmpty (children 1) + ExpressionList (children 1) + Function concat (children 1) + ExpressionList (children 2) + Identifier x + Literal \'hello\' + Literal Array_[\'\'] + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.one + TablesInSelectQueryElement (children 1) + ArrayJoin (children 1) + ExpressionList (children 2) + Literal Array_[UInt64_0] (alias elem) + Function arrayMap (alias unused) (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function concat (children 1) + ExpressionList (children 2) + Identifier x + Literal \'hello\' + Literal Array_[\'\'] + Function not (children 1) + ExpressionList (children 1) + Function ignore (children 1) + ExpressionList (children 1) + Identifier elem diff --git a/parser/testdata/00191_aggregating_merge_tree_and_final/explain.txt b/parser/testdata/00191_aggregating_merge_tree_and_final/explain.txt new file mode 100644 index 000000000..70dd5c376 --- /dev/null +++ b/parser/testdata/00191_aggregating_merge_tree_and_final/explain.txt @@ -0,0 +1,2 @@ +DropQuery aggregating_00191 (children 1) + Identifier aggregating_00191 diff --git a/parser/testdata/00192_least_greatest/explain.txt b/parser/testdata/00192_least_greatest/explain.txt new file mode 100644 index 000000000..f5e5e0900 --- /dev/null +++ b/parser/testdata/00192_least_greatest/explain.txt @@ -0,0 +1,40 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 8) + Literal UInt64_1 (alias x) + Literal UInt64_2 (alias y) + Function least (children 1) + ExpressionList (children 2) + Identifier x + Identifier y + Function greatest (children 1) + ExpressionList (children 2) + Identifier x + Identifier y + Function least (children 1) + ExpressionList (children 2) + Identifier x + Function materialize (children 1) + ExpressionList (children 1) + Identifier y + Function greatest (children 1) + ExpressionList (children 2) + Function materialize (children 1) + ExpressionList (children 1) + Identifier x + Identifier y + Function greatest (children 1) + ExpressionList (children 2) + Function materialize (children 1) + ExpressionList (children 1) + Identifier x + Function materialize (children 1) + ExpressionList (children 1) + Identifier y + Function toTypeName (children 1) + ExpressionList (children 1) + Function least (children 1) + ExpressionList (children 2) + Identifier x + Identifier y diff --git a/parser/testdata/00193_parallel_replicas/explain.txt b/parser/testdata/00193_parallel_replicas/explain.txt new file mode 100644 index 000000000..5722c5d67 --- /dev/null +++ b/parser/testdata/00193_parallel_replicas/explain.txt @@ -0,0 +1,2 @@ +DropQuery parallel_replicas (children 1) + Identifier parallel_replicas diff --git a/parser/testdata/00194_identity/explain.txt b/parser/testdata/00194_identity/explain.txt new file mode 100644 index 000000000..440ce0067 --- /dev/null +++ b/parser/testdata/00194_identity/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 3) + Function identity (alias b) (children 1) + ExpressionList (children 1) + Literal UInt64_1 (alias a) + Identifier a + Identifier b diff --git a/parser/testdata/00195_shard_union_all_and_global_in/explain.txt b/parser/testdata/00195_shard_union_all_and_global_in/explain.txt new file mode 100644 index 000000000..79c32259f --- /dev/null +++ b/parser/testdata/00195_shard_union_all_and_global_in/explain.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + Function globalIn (children 1) + ExpressionList (children 2) + Identifier dummy + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_0 diff --git a/parser/testdata/00196_float32_formatting/explain.txt b/parser/testdata/00196_float32_formatting/explain.txt new file mode 100644 index 000000000..edb56fc58 --- /dev/null +++ b/parser/testdata/00196_float32_formatting/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal Float64_21.99 diff --git a/parser/testdata/00197_if_fixed_string/explain.txt b/parser/testdata/00197_if_fixed_string/explain.txt new file mode 100644 index 000000000..5da74190e --- /dev/null +++ b/parser/testdata/00197_if_fixed_string/explain.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function if (children 1) + ExpressionList (children 3) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + Function toString (children 1) + ExpressionList (children 1) + Identifier number + Function toString (children 1) + ExpressionList (children 1) + Function negate (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_10 diff --git a/parser/testdata/00198_group_by_empty_arrays/explain.txt b/parser/testdata/00198_group_by_empty_arrays/explain.txt new file mode 100644 index 000000000..ba424ebec --- /dev/null +++ b/parser/testdata/00198_group_by_empty_arrays/explain.txt @@ -0,0 +1,35 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 2) + Function range (alias k) (children 1) + ExpressionList (children 1) + Identifier x + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function if (alias x) (children 1) + ExpressionList (children 3) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + Identifier number + Literal UInt64_0 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_10 + ExpressionList (children 1) + Identifier k + ExpressionList (children 1) + OrderByElement (children 1) + Identifier k diff --git a/parser/testdata/00199_ternary_operator_type_check/explain.txt b/parser/testdata/00199_ternary_operator_type_check/explain.txt new file mode 100644 index 000000000..9189a43d4 --- /dev/null +++ b/parser/testdata/00199_ternary_operator_type_check/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Function if (children 1) + ExpressionList (children 3) + Literal UInt64_1 + Literal \'abc\' (alias s) + Literal \'def\' + Identifier s diff --git a/parser/testdata/00200_shard_distinct_order_by_limit_distributed/explain.txt b/parser/testdata/00200_shard_distinct_order_by_limit_distributed/explain.txt new file mode 100644 index 000000000..8dad84b0d --- /dev/null +++ b/parser/testdata/00200_shard_distinct_order_by_limit_distributed/explain.txt @@ -0,0 +1,2 @@ +DropQuery numbers_memory (children 1) + Identifier numbers_memory diff --git a/parser/testdata/00201_array_uniq/explain.txt b/parser/testdata/00201_array_uniq/explain.txt new file mode 100644 index 000000000..4111847d3 --- /dev/null +++ b/parser/testdata/00201_array_uniq/explain.txt @@ -0,0 +1,71 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 7) + Function uniqExact (children 1) + ExpressionList (children 1) + Identifier x + Function length (children 1) + ExpressionList (children 1) + Function groupUniqArray (children 1) + ExpressionList (children 1) + Identifier x + Function arrayUniq (children 1) + ExpressionList (children 1) + Function groupArray (children 1) + ExpressionList (children 1) + Identifier x + Function uniqExact (children 1) + ExpressionList (children 1) + Identifier y + Function arrayUniq (children 1) + ExpressionList (children 1) + Function groupArray (children 1) + ExpressionList (children 1) + Identifier y + Function uniqExact (children 1) + ExpressionList (children 1) + Function concat (children 1) + ExpressionList (children 3) + Function toString (children 1) + ExpressionList (children 1) + Identifier x + Literal \'_\' + Identifier y + Function arrayUniq (children 1) + ExpressionList (children 2) + Function groupArray (children 1) + ExpressionList (children 1) + Identifier x + Function groupArray (children 1) + ExpressionList (children 1) + Identifier y + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Function round (alias x) (children 1) + ExpressionList (children 1) + Function log (children 1) + ExpressionList (children 1) + Function intHash32 (children 1) + ExpressionList (children 1) + Identifier number + Function toString (alias y) (children 1) + ExpressionList (children 1) + Function round (children 1) + ExpressionList (children 1) + Function cbrt (children 1) + ExpressionList (children 1) + Function intHash32 (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_10000 diff --git a/parser/testdata/00202_cross_join/explain.txt b/parser/testdata/00202_cross_join/explain.txt new file mode 100644 index 000000000..a81eda4fc --- /dev/null +++ b/parser/testdata/00202_cross_join/explain.txt @@ -0,0 +1,39 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Identifier x + Identifier y + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias js1) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier number (alias x) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_3 + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias js2) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier number (alias y) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_5 + TableJoin + ExpressionList (children 2) + OrderByElement (children 1) + Identifier x + OrderByElement (children 1) + Identifier y diff --git a/parser/testdata/00203_full_join/explain.txt b/parser/testdata/00203_full_join/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00203_full_join/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00204_extract_url_parameter/explain.txt b/parser/testdata/00204_extract_url_parameter/explain.txt new file mode 100644 index 000000000..97c41ca37 --- /dev/null +++ b/parser/testdata/00204_extract_url_parameter/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function extractURLParameter (children 1) + ExpressionList (children 2) + Literal \'http://com/?testq=aaa&q=111\' + Literal \'q\' diff --git a/parser/testdata/00205_emptyscalar_subquery_type_mismatch_bug/metadata.json b/parser/testdata/00205_emptyscalar_subquery_type_mismatch_bug/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00205_emptyscalar_subquery_type_mismatch_bug/metadata.json +++ b/parser/testdata/00205_emptyscalar_subquery_type_mismatch_bug/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00205_scalar_subqueries/explain.txt b/parser/testdata/00205_scalar_subqueries/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00205_scalar_subqueries/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00206_empty_array_to_single/explain.txt b/parser/testdata/00206_empty_array_to_single/explain.txt new file mode 100644 index 000000000..599183f11 --- /dev/null +++ b/parser/testdata/00206_empty_array_to_single/explain.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function emptyArrayToSingle (children 1) + ExpressionList (children 1) + Function arrayFilter (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function notEquals (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_99 + Function arrayJoin (children 1) + ExpressionList (children 1) + Literal Array_[Array_[UInt64_1, UInt64_2], Array_[UInt64_99], Array_[UInt64_4, UInt64_5, UInt64_6]] diff --git a/parser/testdata/00207_left_array_join/explain.txt b/parser/testdata/00207_left_array_join/explain.txt new file mode 100644 index 000000000..c8a485292 --- /dev/null +++ b/parser/testdata/00207_left_array_join/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + TablesInSelectQueryElement (children 1) + ArrayJoin (children 1) + ExpressionList (children 1) + Function range (alias arr) (children 1) + ExpressionList (children 1) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_3 + Literal UInt64_10 diff --git a/parser/testdata/00208_agg_state_merge/explain.txt b/parser/testdata/00208_agg_state_merge/explain.txt new file mode 100644 index 000000000..b475f3267 --- /dev/null +++ b/parser/testdata/00208_agg_state_merge/explain.txt @@ -0,0 +1,56 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 3) + Function modulo (alias k2) (children 1) + ExpressionList (children 2) + Identifier k + Literal UInt64_7 + Function finalizeAggregation (children 1) + ExpressionList (children 1) + Function uniqMergeState (children 1) + ExpressionList (children 1) + Identifier state + Function uniqMerge (children 1) + ExpressionList (children 1) + Identifier state + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Identifier k + Function uniqState (alias state) (children 1) + ExpressionList (children 1) + Identifier x + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Function modulo (alias k) (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_11 + Function intDiv (alias x) (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_7 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_100 + ExpressionList (children 1) + Identifier k + ExpressionList (children 1) + Identifier k2 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier k2 diff --git a/parser/testdata/00209_insert_select_extremes/explain.txt b/parser/testdata/00209_insert_select_extremes/explain.txt new file mode 100644 index 000000000..e25535881 --- /dev/null +++ b/parser/testdata/00209_insert_select_extremes/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_00209 (children 1) + Identifier test_00209 diff --git a/parser/testdata/00211_shard_query_formatting_aliases/metadata.json b/parser/testdata/00211_shard_query_formatting_aliases/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00211_shard_query_formatting_aliases/metadata.json +++ b/parser/testdata/00211_shard_query_formatting_aliases/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00212_long_shard_aggregate_function_uniq/explain.txt b/parser/testdata/00212_long_shard_aggregate_function_uniq/explain.txt new file mode 100644 index 000000000..a6efce7f2 --- /dev/null +++ b/parser/testdata/00212_long_shard_aggregate_function_uniq/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'uniqHLL12\' diff --git a/parser/testdata/00213_multiple_global_in/explain.txt b/parser/testdata/00213_multiple_global_in/explain.txt new file mode 100644 index 000000000..669b7d449 --- /dev/null +++ b/parser/testdata/00213_multiple_global_in/explain.txt @@ -0,0 +1,29 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function globalIn (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Function globalIn (children 1) + ExpressionList (children 2) + Literal UInt64_2 + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_2 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'localhost\' + Identifier system.one diff --git a/parser/testdata/00214_primary_key_order/explain.txt b/parser/testdata/00214_primary_key_order/explain.txt new file mode 100644 index 000000000..d9e3ec67b --- /dev/null +++ b/parser/testdata/00214_primary_key_order/explain.txt @@ -0,0 +1,2 @@ +DropQuery primary_key (children 1) + Identifier primary_key diff --git a/parser/testdata/00215_primary_key_order_zookeeper_long/explain.txt b/parser/testdata/00215_primary_key_order_zookeeper_long/explain.txt new file mode 100644 index 000000000..d9e3ec67b --- /dev/null +++ b/parser/testdata/00215_primary_key_order_zookeeper_long/explain.txt @@ -0,0 +1,2 @@ +DropQuery primary_key (children 1) + Identifier primary_key diff --git a/parser/testdata/00216_bit_test_function_family/metadata.json b/parser/testdata/00216_bit_test_function_family/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00216_bit_test_function_family/metadata.json +++ b/parser/testdata/00216_bit_test_function_family/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00217_shard_global_subquery_columns_with_same_name/explain.txt b/parser/testdata/00217_shard_global_subquery_columns_with_same_name/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00217_shard_global_subquery_columns_with_same_name/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00218_like_regexp_newline/explain.txt b/parser/testdata/00218_like_regexp_newline/explain.txt new file mode 100644 index 000000000..f109dfef4 --- /dev/null +++ b/parser/testdata/00218_like_regexp_newline/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function like (children 1) + ExpressionList (children 2) + Literal \'abcdef\' + Literal \'%abc%def%\' diff --git a/parser/testdata/00219_full_right_join_column_order/explain.txt b/parser/testdata/00219_full_right_join_column_order/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00219_full_right_join_column_order/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00220_shard_with_totals_in_subquery_remote_and_limit/explain.txt b/parser/testdata/00220_shard_with_totals_in_subquery_remote_and_limit/explain.txt new file mode 100644 index 000000000..a3f85cfa8 --- /dev/null +++ b/parser/testdata/00220_shard_with_totals_in_subquery_remote_and_limit/explain.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier x + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function count (alias x) (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.0.0.2\' + Identifier system.one + Literal UInt64_1 diff --git a/parser/testdata/00222_sequence_aggregate_function_family/explain.txt b/parser/testdata/00222_sequence_aggregate_function_family/explain.txt new file mode 100644 index 000000000..7abdd3db0 --- /dev/null +++ b/parser/testdata/00222_sequence_aggregate_function_family/explain.txt @@ -0,0 +1,2 @@ +DropQuery sequence_test (children 1) + Identifier sequence_test diff --git a/parser/testdata/00223_shard_distributed_aggregation_memory_efficient/explain.txt b/parser/testdata/00223_shard_distributed_aggregation_memory_efficient/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00223_shard_distributed_aggregation_memory_efficient/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00224_shard_distributed_aggregation_memory_efficient_and_overflows/explain.txt b/parser/testdata/00224_shard_distributed_aggregation_memory_efficient_and_overflows/explain.txt new file mode 100644 index 000000000..459c91c99 --- /dev/null +++ b/parser/testdata/00224_shard_distributed_aggregation_memory_efficient_and_overflows/explain.txt @@ -0,0 +1,2 @@ +DropQuery numbers_100k_log (children 1) + Identifier numbers_100k_log diff --git a/parser/testdata/00225_join_duplicate_columns/explain.txt b/parser/testdata/00225_join_duplicate_columns/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00225_join_duplicate_columns/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/explain.txt b/parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/explain.txt new file mode 100644 index 000000000..2a613e7d3 --- /dev/null +++ b/parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/explain.txt @@ -0,0 +1,2 @@ +DropQuery deduplication (children 1) + Identifier deduplication diff --git a/parser/testdata/00227_quantiles_timing_arbitrary_order/explain.txt b/parser/testdata/00227_quantiles_timing_arbitrary_order/explain.txt new file mode 100644 index 000000000..f6f3761e7 --- /dev/null +++ b/parser/testdata/00227_quantiles_timing_arbitrary_order/explain.txt @@ -0,0 +1,24 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function quantilesTiming (children 2) + ExpressionList (children 1) + Identifier number + ExpressionList (children 2) + Literal Float64_0.5 + Literal Float64_0.9 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_100 diff --git a/parser/testdata/00228_shard_quantiles_deterministic_merge_overflow/explain.txt b/parser/testdata/00228_shard_quantiles_deterministic_merge_overflow/explain.txt new file mode 100644 index 000000000..36387b0f4 --- /dev/null +++ b/parser/testdata/00228_shard_quantiles_deterministic_merge_overflow/explain.txt @@ -0,0 +1,25 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function quantilesDeterministic (children 2) + ExpressionList (children 2) + Identifier number + Identifier number + ExpressionList (children 2) + Literal Float64_0.5 + Literal Float64_0.9 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_101 diff --git a/parser/testdata/00229_prewhere_column_missing/explain.txt b/parser/testdata/00229_prewhere_column_missing/explain.txt new file mode 100644 index 000000000..f867cd705 --- /dev/null +++ b/parser/testdata/00229_prewhere_column_missing/explain.txt @@ -0,0 +1,2 @@ +DropQuery prewhere_column_missing (children 1) + Identifier prewhere_column_missing diff --git a/parser/testdata/00230_array_functions_has_count_equal_index_of_non_const_second_arg/explain.txt b/parser/testdata/00230_array_functions_has_count_equal_index_of_non_const_second_arg/explain.txt new file mode 100644 index 000000000..63ee31bf5 --- /dev/null +++ b/parser/testdata/00230_array_functions_has_count_equal_index_of_non_const_second_arg/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function has (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList (children 1) + Literal UInt64_0 (alias x) + Identifier x diff --git a/parser/testdata/00231_format_vertical_raw/explain.txt b/parser/testdata/00231_format_vertical_raw/explain.txt new file mode 100644 index 000000000..e350fadc8 --- /dev/null +++ b/parser/testdata/00231_format_vertical_raw/explain.txt @@ -0,0 +1,6 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'a\\tb\\nc\\td\' (alias x) + Identifier Vertical diff --git a/parser/testdata/00232_format_readable_decimal_size/metadata.json b/parser/testdata/00232_format_readable_decimal_size/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00232_format_readable_decimal_size/metadata.json +++ b/parser/testdata/00232_format_readable_decimal_size/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00232_format_readable_size/metadata.json b/parser/testdata/00232_format_readable_size/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00232_format_readable_size/metadata.json +++ b/parser/testdata/00232_format_readable_size/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00233_position_function_family/explain.txt b/parser/testdata/00233_position_function_family/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00233_position_function_family/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00233_position_function_sql_comparibilty/explain.txt b/parser/testdata/00233_position_function_sql_comparibilty/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00233_position_function_sql_comparibilty/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00234_disjunctive_equality_chains_optimization/explain.txt b/parser/testdata/00234_disjunctive_equality_chains_optimization/explain.txt new file mode 100644 index 000000000..c4617132c --- /dev/null +++ b/parser/testdata/00234_disjunctive_equality_chains_optimization/explain.txt @@ -0,0 +1,10 @@ +CreateQuery foo_00234 (children 3) + Identifier foo_00234 + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration id (children 1) + DataType UInt64 + Storage definition (children 2) + Function MergeTree + Function tuple (children 1) + ExpressionList diff --git a/parser/testdata/00235_create_temporary_table_as/explain.txt b/parser/testdata/00235_create_temporary_table_as/explain.txt new file mode 100644 index 000000000..4e878f4a4 --- /dev/null +++ b/parser/testdata/00235_create_temporary_table_as/explain.txt @@ -0,0 +1,2 @@ +DropQuery one_0023 (children 1) + Identifier one_0023 diff --git a/parser/testdata/00236_replicated_drop_on_non_leader_zookeeper_long/explain.txt b/parser/testdata/00236_replicated_drop_on_non_leader_zookeeper_long/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00236_replicated_drop_on_non_leader_zookeeper_long/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00237_group_by_arrays/explain.txt b/parser/testdata/00237_group_by_arrays/explain.txt new file mode 100644 index 000000000..555697b9d --- /dev/null +++ b/parser/testdata/00237_group_by_arrays/explain.txt @@ -0,0 +1,34 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 3) + Identifier arr1 + Identifier arr2 + Function count (alias c) (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 2) + SelectQuery (children 1) + ExpressionList (children 2) + Function emptyArrayUInt8 (alias arr1) (children 1) + ExpressionList + Literal Array_[UInt64_1] (alias arr2) + SelectQuery (children 1) + ExpressionList (children 2) + Literal Array_[UInt64_1] + Function emptyArrayUInt8 (children 1) + ExpressionList + ExpressionList (children 2) + Identifier arr1 + Identifier arr2 + ExpressionList (children 3) + OrderByElement (children 1) + Identifier c + OrderByElement (children 1) + Identifier arr1 + OrderByElement (children 1) + Identifier arr2 diff --git a/parser/testdata/00238_removal_of_temporary_columns/explain.txt b/parser/testdata/00238_removal_of_temporary_columns/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00238_removal_of_temporary_columns/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00239_type_conversion_in_in/explain.txt b/parser/testdata/00239_type_conversion_in_in/explain.txt new file mode 100644 index 000000000..f3035825b --- /dev/null +++ b/parser/testdata/00239_type_conversion_in_in/explain.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_1 (alias x) + Function or (children 1) + ExpressionList (children 4) + Function equals (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_1 + Function equals (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_2 + Function equals (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_3 + Function equals (children 1) + ExpressionList (children 2) + Identifier x + Literal Int64_-1 diff --git a/parser/testdata/00240_replace_substring_loop/explain.txt b/parser/testdata/00240_replace_substring_loop/explain.txt new file mode 100644 index 000000000..fb1f463a8 --- /dev/null +++ b/parser/testdata/00240_replace_substring_loop/explain.txt @@ -0,0 +1,30 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 4) + Identifier s + Function replaceAll (alias a) (children 1) + ExpressionList (children 3) + Identifier s + Literal \'_\' + Literal \'o\' + Function replaceRegexpAll (alias b) (children 1) + ExpressionList (children 3) + Identifier s + Literal \'_\' + Literal \'o\' + Function equals (children 1) + ExpressionList (children 2) + Identifier a + Identifier b + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayJoin (alias s) (children 1) + ExpressionList (children 1) + Literal Array_[\'.\', \'.\'] diff --git a/parser/testdata/00250_tuple_comparison/metadata.json b/parser/testdata/00250_tuple_comparison/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00250_tuple_comparison/metadata.json +++ b/parser/testdata/00250_tuple_comparison/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00251_has_types/explain.txt b/parser/testdata/00251_has_types/explain.txt new file mode 100644 index 000000000..f0806b5fc --- /dev/null +++ b/parser/testdata/00251_has_types/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function has (children 1) + ExpressionList (children 2) + Literal Array_[UInt64_1, UInt64_2, UInt64_3] + Literal Float64_3 diff --git a/parser/testdata/00252_shard_global_in_aggregate_function/explain.txt b/parser/testdata/00252_shard_global_in_aggregate_function/explain.txt new file mode 100644 index 000000000..ef6268956 --- /dev/null +++ b/parser/testdata/00252_shard_global_in_aggregate_function/explain.txt @@ -0,0 +1,2 @@ +DropQuery storage (children 1) + Identifier storage diff --git a/parser/testdata/00253_insert_recursive_defaults/explain.txt b/parser/testdata/00253_insert_recursive_defaults/explain.txt new file mode 100644 index 000000000..d1b720b41 --- /dev/null +++ b/parser/testdata/00253_insert_recursive_defaults/explain.txt @@ -0,0 +1,2 @@ +DropQuery defaults (children 1) + Identifier defaults diff --git a/parser/testdata/00254_tuple_extremes/explain.txt b/parser/testdata/00254_tuple_extremes/explain.txt new file mode 100644 index 000000000..e37331555 --- /dev/null +++ b/parser/testdata/00254_tuple_extremes/explain.txt @@ -0,0 +1,2 @@ +DropQuery numbers_10 (children 1) + Identifier numbers_10 diff --git a/parser/testdata/00255_array_concat_string/explain.txt b/parser/testdata/00255_array_concat_string/explain.txt new file mode 100644 index 000000000..5bd9ae05f --- /dev/null +++ b/parser/testdata/00255_array_concat_string/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayStringConcat (children 1) + ExpressionList (children 1) + Literal Array_[\'Hello\', \'World\'] diff --git a/parser/testdata/00256_reverse/explain.txt b/parser/testdata/00256_reverse/explain.txt new file mode 100644 index 000000000..cb25ed54d --- /dev/null +++ b/parser/testdata/00256_reverse/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function reverse (children 1) + ExpressionList (children 1) + Literal \'Hello\' diff --git a/parser/testdata/00257_shard_no_aggregates_and_constant_keys/explain.txt b/parser/testdata/00257_shard_no_aggregates_and_constant_keys/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00257_shard_no_aggregates_and_constant_keys/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00258_materializing_tuples/explain.txt b/parser/testdata/00258_materializing_tuples/explain.txt new file mode 100644 index 000000000..abb0834e8 --- /dev/null +++ b/parser/testdata/00258_materializing_tuples/explain.txt @@ -0,0 +1,24 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 2) + SelectQuery (children 1) + ExpressionList (children 1) + Function tuple (alias a) (children 1) + ExpressionList (children 1) + Literal UInt64_1 + SelectQuery (children 1) + ExpressionList (children 1) + Function tuple (alias a) (children 1) + ExpressionList (children 1) + Literal UInt64_1 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier a diff --git a/parser/testdata/00259_hashing_tuples/explain.txt b/parser/testdata/00259_hashing_tuples/explain.txt new file mode 100644 index 000000000..58fbfacb4 --- /dev/null +++ b/parser/testdata/00259_hashing_tuples/explain.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 4) + Function cityHash64 (alias x1) (children 1) + ExpressionList (children 3) + Literal UInt64_1 + Literal UInt64_2 + Literal \'\' + Function cityHash64 (alias x2) (children 1) + ExpressionList (children 2) + Literal Tuple_(UInt64_1, UInt64_2) + Literal \'\' + Function cityHash64 (alias x3) (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal Tuple_(UInt64_2, \'\') + Function cityHash64 (alias x4) (children 1) + ExpressionList (children 1) + Literal Tuple_(UInt64_1, UInt64_2, \'\') diff --git a/parser/testdata/00260_like_and_curly_braces/explain.txt b/parser/testdata/00260_like_and_curly_braces/explain.txt new file mode 100644 index 000000000..a906f5503 --- /dev/null +++ b/parser/testdata/00260_like_and_curly_braces/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 3) + Literal \'a}a\' (alias x) + Function like (children 1) + ExpressionList (children 2) + Identifier x + Function concat (alias pat) (children 1) + ExpressionList (children 3) + Literal \'%\' + Identifier x + Literal \'%\' + Function like (children 1) + ExpressionList (children 2) + Function materialize (children 1) + ExpressionList (children 1) + Identifier x + Identifier pat diff --git a/parser/testdata/00261_storage_aliases_and_array_join/explain.txt b/parser/testdata/00261_storage_aliases_and_array_join/explain.txt new file mode 100644 index 000000000..efcf1963c --- /dev/null +++ b/parser/testdata/00261_storage_aliases_and_array_join/explain.txt @@ -0,0 +1,2 @@ +DropQuery aliases_test (children 1) + Identifier aliases_test diff --git a/parser/testdata/00262_alter_alias/explain.txt b/parser/testdata/00262_alter_alias/explain.txt new file mode 100644 index 000000000..efcf1963c --- /dev/null +++ b/parser/testdata/00262_alter_alias/explain.txt @@ -0,0 +1,2 @@ +DropQuery aliases_test (children 1) + Identifier aliases_test diff --git a/parser/testdata/00263_merge_aggregates_and_overflow/explain.txt b/parser/testdata/00263_merge_aggregates_and_overflow/explain.txt new file mode 100644 index 000000000..084086b02 --- /dev/null +++ b/parser/testdata/00263_merge_aggregates_and_overflow/explain.txt @@ -0,0 +1,2 @@ +DropQuery numbers_10k_log (children 1) + Identifier numbers_10k_log diff --git a/parser/testdata/00264_uniq_many_args/metadata.json b/parser/testdata/00264_uniq_many_args/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00264_uniq_many_args/metadata.json +++ b/parser/testdata/00264_uniq_many_args/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00266_read_overflow_mode/explain.txt b/parser/testdata/00266_read_overflow_mode/explain.txt new file mode 100644 index 000000000..c90ff6f69 --- /dev/null +++ b/parser/testdata/00266_read_overflow_mode/explain.txt @@ -0,0 +1,27 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 1) + Identifier number (alias k) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_110000 + Set + ExpressionList (children 1) + Identifier k + ExpressionList (children 1) + OrderByElement (children 1) + Identifier k + Literal UInt64_10 + Set diff --git a/parser/testdata/00266_shard_global_subquery_and_aliases/explain.txt b/parser/testdata/00266_shard_global_subquery_and_aliases/explain.txt new file mode 100644 index 000000000..85c49fe2c --- /dev/null +++ b/parser/testdata/00266_shard_global_subquery_and_aliases/explain.txt @@ -0,0 +1,21 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function globalIn (alias s) (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Identifier s + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.0.0.{2,3}\' + Identifier system.one diff --git a/parser/testdata/00267_tuple_array_access_operators_priority/explain.txt b/parser/testdata/00267_tuple_array_access_operators_priority/explain.txt new file mode 100644 index 000000000..8ae3f8728 --- /dev/null +++ b/parser/testdata/00267_tuple_array_access_operators_priority/explain.txt @@ -0,0 +1,37 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function if (alias res) (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Function plus (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Function multiply (children 1) + ExpressionList (children 2) + Function negate (children 1) + ExpressionList (children 1) + Function tupleElement (children 1) + ExpressionList (children 2) + Function arrayElement (children 1) + ExpressionList (children 2) + Identifier a + Literal UInt64_1 + Literal UInt64_2 + Literal UInt64_2 + Literal Int64_-245 + Literal \'Ok\' + Literal \'Fail\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function array (alias a) (children 1) + ExpressionList (children 1) + Literal Tuple_(\'Hello\', UInt64_123) diff --git a/parser/testdata/00268_aliases_without_as_keyword/explain.txt b/parser/testdata/00268_aliases_without_as_keyword/explain.txt new file mode 100644 index 000000000..a4d665ed2 --- /dev/null +++ b/parser/testdata/00268_aliases_without_as_keyword/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Literal UInt64_1 (alias x) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.one diff --git a/parser/testdata/00269_database_table_whitespace/explain.txt b/parser/testdata/00269_database_table_whitespace/explain.txt new file mode 100644 index 000000000..c1b565496 --- /dev/null +++ b/parser/testdata/00269_database_table_whitespace/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.one diff --git a/parser/testdata/00270_views_query_processing_stage/explain.txt b/parser/testdata/00270_views_query_processing_stage/explain.txt new file mode 100644 index 000000000..6baa83a65 --- /dev/null +++ b/parser/testdata/00270_views_query_processing_stage/explain.txt @@ -0,0 +1,2 @@ +DropQuery view1_00270 (children 1) + Identifier view1_00270 diff --git a/parser/testdata/00271_agg_state_and_totals/explain.txt b/parser/testdata/00271_agg_state_and_totals/explain.txt new file mode 100644 index 000000000..ffd062e15 --- /dev/null +++ b/parser/testdata/00271_agg_state_and_totals/explain.txt @@ -0,0 +1,38 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 2) + Identifier k + Function finalizeAggregation (children 1) + ExpressionList (children 1) + Function quantilesTimingState (children 2) + ExpressionList (children 1) + Identifier x + ExpressionList (children 1) + Literal Float64_0.5 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Function intDiv (alias k) (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_30000 (alias d) + Function modulo (alias x) (children 1) + ExpressionList (children 2) + Identifier number + Identifier d + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_100000 + ExpressionList (children 1) + Identifier k + ExpressionList (children 1) + OrderByElement (children 1) + Identifier k diff --git a/parser/testdata/00272_union_all_and_in_subquery/explain.txt b/parser/testdata/00272_union_all_and_in_subquery/explain.txt new file mode 100644 index 000000000..a6a291eb7 --- /dev/null +++ b/parser/testdata/00272_union_all_and_in_subquery/explain.txt @@ -0,0 +1,21 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 3) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 + SelectQuery (children 2) + ExpressionList (children 1) + Literal UInt64_1 + Function in (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Literal UInt64_1 + Literal UInt64_0 diff --git a/parser/testdata/00273_quantiles/explain.txt b/parser/testdata/00273_quantiles/explain.txt new file mode 100644 index 000000000..cabe58349 --- /dev/null +++ b/parser/testdata/00273_quantiles/explain.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function quantiles (children 2) + ExpressionList (children 1) + Identifier x + ExpressionList (children 1) + Literal Float64_0.5 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier number (alias x) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_1001 diff --git a/parser/testdata/00274_shard_group_array/explain.txt b/parser/testdata/00274_shard_group_array/explain.txt new file mode 100644 index 000000000..530e242fe --- /dev/null +++ b/parser/testdata/00274_shard_group_array/explain.txt @@ -0,0 +1,25 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function length (children 1) + ExpressionList (children 1) + Function groupArray (children 1) + ExpressionList (children 1) + Identifier number + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers_mt + Literal UInt64_1000000 diff --git a/parser/testdata/00275_shard_quantiles_weighted/explain.txt b/parser/testdata/00275_shard_quantiles_weighted/explain.txt new file mode 100644 index 000000000..60a9e903d --- /dev/null +++ b/parser/testdata/00275_shard_quantiles_weighted/explain.txt @@ -0,0 +1,24 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function quantileExactWeighted (children 2) + ExpressionList (children 2) + Identifier number + Literal UInt64_1 + ExpressionList (children 1) + Literal Float64_0.5 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_1001 diff --git a/parser/testdata/00276_sample/explain.txt b/parser/testdata/00276_sample/explain.txt new file mode 100644 index 000000000..f33d42b2e --- /dev/null +++ b/parser/testdata/00276_sample/explain.txt @@ -0,0 +1,2 @@ +DropQuery sample_00276 (children 1) + Identifier sample_00276 diff --git a/parser/testdata/00277_array_filter/explain.txt b/parser/testdata/00277_array_filter/explain.txt new file mode 100644 index 000000000..dc00efcb6 --- /dev/null +++ b/parser/testdata/00277_array_filter/explain.txt @@ -0,0 +1,56 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function sum (children 1) + ExpressionList (children 1) + Function length (children 1) + ExpressionList (children 1) + Identifier arr + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function arrayMap (alias arr) (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function toString (children 1) + ExpressionList (children 1) + Identifier x + Function range (children 1) + ExpressionList (children 1) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_1000 + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Function length (children 1) + ExpressionList (children 1) + Identifier arr + Literal UInt64_2 + Literal UInt64_0 diff --git a/parser/testdata/00278_insert_already_sorted/explain.txt b/parser/testdata/00278_insert_already_sorted/explain.txt new file mode 100644 index 000000000..d0c2d3a3b --- /dev/null +++ b/parser/testdata/00278_insert_already_sorted/explain.txt @@ -0,0 +1,2 @@ +DropQuery sorted (children 1) + Identifier sorted diff --git a/parser/testdata/00279_quantiles_permuted_args/explain.txt b/parser/testdata/00279_quantiles_permuted_args/explain.txt new file mode 100644 index 000000000..06a961542 --- /dev/null +++ b/parser/testdata/00279_quantiles_permuted_args/explain.txt @@ -0,0 +1,42 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function quantilesExact (children 2) + ExpressionList (children 1) + Identifier x + ExpressionList (children 20) + Literal UInt64_1 + Literal Float64_0.001 + Literal Float64_0.01 + Literal Float64_0.05 + Literal Float64_0.9 + Literal Float64_0.2 + Literal Float64_0.3 + Literal Float64_0.6 + Literal Float64_0.5 + Literal Float64_0.4 + Literal Float64_0.7 + Literal Float64_0.8 + Literal Float64_0.1 + Literal Float64_0.95 + Literal Float64_0.99 + Literal Float64_0.999 + Literal UInt64_0 + Literal Float64_0.5 + Literal Float64_0.3 + Literal Float64_0.4 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier number (alias x) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_1001 diff --git a/parser/testdata/00280_hex_escape_sequence/explain.txt b/parser/testdata/00280_hex_escape_sequence/explain.txt new file mode 100644 index 000000000..f24cad8cb --- /dev/null +++ b/parser/testdata/00280_hex_escape_sequence/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'0 Р\' diff --git a/parser/testdata/00282_merging/explain.txt b/parser/testdata/00282_merging/explain.txt new file mode 100644 index 000000000..3dd3b7693 --- /dev/null +++ b/parser/testdata/00282_merging/explain.txt @@ -0,0 +1,2 @@ +DropQuery merge (children 1) + Identifier merge diff --git a/parser/testdata/00283_column_cut/metadata.json b/parser/testdata/00283_column_cut/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00283_column_cut/metadata.json +++ b/parser/testdata/00283_column_cut/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00284_external_aggregation/explain.txt b/parser/testdata/00284_external_aggregation/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00284_external_aggregation/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00284_external_aggregation_2/explain.txt b/parser/testdata/00284_external_aggregation_2/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00284_external_aggregation_2/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00285_not_all_data_in_totals/explain.txt b/parser/testdata/00285_not_all_data_in_totals/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00285_not_all_data_in_totals/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00286_format_long_negative_float/explain.txt b/parser/testdata/00286_format_long_negative_float/explain.txt new file mode 100644 index 000000000..1324aeb2f --- /dev/null +++ b/parser/testdata/00286_format_long_negative_float/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function reinterpretAsFloat64 (children 1) + ExpressionList (children 1) + Function unhex (children 1) + ExpressionList (children 1) + Literal \'875635ffffffbfbe\' diff --git a/parser/testdata/00287_column_const_with_nan/explain.txt b/parser/testdata/00287_column_const_with_nan/explain.txt new file mode 100644 index 000000000..78d54915d --- /dev/null +++ b/parser/testdata/00287_column_const_with_nan/explain.txt @@ -0,0 +1,27 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Literal Float64_nan + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_100 + Literal UInt64_1 + Literal UInt64_1 diff --git a/parser/testdata/00288_empty_stripelog/explain.txt b/parser/testdata/00288_empty_stripelog/explain.txt new file mode 100644 index 000000000..c554fbdba --- /dev/null +++ b/parser/testdata/00288_empty_stripelog/explain.txt @@ -0,0 +1,2 @@ +DropQuery stripelog (children 1) + Identifier stripelog diff --git a/parser/testdata/00290_shard_aggregation_memory_efficient/explain.txt b/parser/testdata/00290_shard_aggregation_memory_efficient/explain.txt new file mode 100644 index 000000000..8be7f3e2b --- /dev/null +++ b/parser/testdata/00290_shard_aggregation_memory_efficient/explain.txt @@ -0,0 +1,2 @@ +DropQuery numbers_10_00290 (children 1) + Identifier numbers_10_00290 diff --git a/parser/testdata/00291_array_reduce/metadata.json b/parser/testdata/00291_array_reduce/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00291_array_reduce/metadata.json +++ b/parser/testdata/00291_array_reduce/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00292_parser_tuple_element/explain.txt b/parser/testdata/00292_parser_tuple_element/explain.txt new file mode 100644 index 000000000..fb0296df0 --- /dev/null +++ b/parser/testdata/00292_parser_tuple_element/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function tupleElement (children 1) + ExpressionList (children 2) + Literal Tuple_(\'a\', \'b\') + Literal UInt64_2 diff --git a/parser/testdata/00293_shard_max_subquery_depth/explain.txt b/parser/testdata/00293_shard_max_subquery_depth/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00293_shard_max_subquery_depth/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00294_shard_enums/explain.txt b/parser/testdata/00294_shard_enums/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00294_shard_enums/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00295_global_in_one_shard_rows_before_limit/explain.txt b/parser/testdata/00295_global_in_one_shard_rows_before_limit/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00295_global_in_one_shard_rows_before_limit/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00296_url_parameters/metadata.json b/parser/testdata/00296_url_parameters/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00296_url_parameters/metadata.json +++ b/parser/testdata/00296_url_parameters/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00298_enum_width_and_cast/explain.txt b/parser/testdata/00298_enum_width_and_cast/explain.txt new file mode 100644 index 000000000..847a10eeb --- /dev/null +++ b/parser/testdata/00298_enum_width_and_cast/explain.txt @@ -0,0 +1,2 @@ +DropQuery enum (children 1) + Identifier enum diff --git a/parser/testdata/00299_stripe_log_multiple_inserts/explain.txt b/parser/testdata/00299_stripe_log_multiple_inserts/explain.txt new file mode 100644 index 000000000..0631df93b --- /dev/null +++ b/parser/testdata/00299_stripe_log_multiple_inserts/explain.txt @@ -0,0 +1,2 @@ +DropQuery log (children 1) + Identifier log diff --git a/parser/testdata/00300_csv/explain.txt b/parser/testdata/00300_csv/explain.txt new file mode 100644 index 000000000..a22d9344d --- /dev/null +++ b/parser/testdata/00300_csv/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 5) + Literal \'Hello, "World"\' (alias x) + Literal UInt64_123 (alias y) + Literal Array_[UInt64_1, UInt64_2, UInt64_3] (alias z) + Function tuple (alias a) (children 1) + ExpressionList (children 2) + Literal UInt64_456 + Literal Array_[\'abc\', \'def\'] + Literal \'Newline\\nhere\' (alias b) + Identifier CSV diff --git a/parser/testdata/00306_insert_values_and_expressions/explain.txt b/parser/testdata/00306_insert_values_and_expressions/explain.txt new file mode 100644 index 000000000..d8fa8dd1d --- /dev/null +++ b/parser/testdata/00306_insert_values_and_expressions/explain.txt @@ -0,0 +1,2 @@ +DropQuery insert (children 1) + Identifier insert diff --git a/parser/testdata/00307_format_xml/explain.txt b/parser/testdata/00307_format_xml/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00307_format_xml/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00308_write_buffer_valid_utf8/explain.txt b/parser/testdata/00308_write_buffer_valid_utf8/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00308_write_buffer_valid_utf8/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00309_formats/explain.txt b/parser/testdata/00309_formats/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00309_formats/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00311_array_primary_key/explain.txt b/parser/testdata/00311_array_primary_key/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00311_array_primary_key/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00312_position_case_insensitive_utf8/explain.txt b/parser/testdata/00312_position_case_insensitive_utf8/explain.txt new file mode 100644 index 000000000..37914be4c --- /dev/null +++ b/parser/testdata/00312_position_case_insensitive_utf8/explain.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function positionCaseInsensitiveUTF8 (alias res) (children 1) + ExpressionList (children 2) + Function concat (children 1) + ExpressionList (children 2) + Literal \'иголка.ру\' + Function arrayStringConcat (children 1) + ExpressionList (children 1) + Function arrayMap (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Literal \' \' + Function range (children 1) + ExpressionList (children 1) + Literal UInt64_20000 + Literal \'иголка.ру\' diff --git a/parser/testdata/00314_sample_factor_virtual_column/explain.txt b/parser/testdata/00314_sample_factor_virtual_column/explain.txt new file mode 100644 index 000000000..d98b5b439 --- /dev/null +++ b/parser/testdata/00314_sample_factor_virtual_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery sample_00314_1 (children 1) + Identifier sample_00314_1 diff --git a/parser/testdata/00315_quantile_off_by_one/explain.txt b/parser/testdata/00315_quantile_off_by_one/explain.txt new file mode 100644 index 000000000..434efc408 --- /dev/null +++ b/parser/testdata/00315_quantile_off_by_one/explain.txt @@ -0,0 +1,37 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function quantileExactWeighted (alias q5) (children 2) + ExpressionList (children 2) + Identifier x + Literal UInt64_1 + ExpressionList (children 1) + Literal Float64_0.5 + Function quantilesExactWeighted (alias qs) (children 2) + ExpressionList (children 2) + Identifier x + Literal UInt64_1 + ExpressionList (children 11) + Literal UInt64_0 + Literal Float64_0.1 + Literal Float64_0.2 + Literal Float64_0.3 + Literal Float64_0.4 + Literal Float64_0.5 + Literal Float64_0.6 + Literal Float64_0.7 + Literal Float64_0.8 + Literal Float64_0.9 + Literal UInt64_1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayJoin (alias x) (children 1) + ExpressionList (children 1) + Literal Array_[UInt64_1, UInt64_1, UInt64_1, UInt64_10, UInt64_10, UInt64_10, UInt64_10, UInt64_100, UInt64_100, UInt64_100] diff --git a/parser/testdata/00316_rounding_functions_and_empty_block/explain.txt b/parser/testdata/00316_rounding_functions_and_empty_block/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00316_rounding_functions_and_empty_block/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00317_in_tuples_and_out_of_range_values/explain.txt b/parser/testdata/00317_in_tuples_and_out_of_range_values/explain.txt new file mode 100644 index 000000000..76a9f0c62 --- /dev/null +++ b/parser/testdata/00317_in_tuples_and_out_of_range_values/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function in (children 1) + ExpressionList (children 2) + Literal Tuple_(UInt64_1, \'\') + Function tuple (children 1) + ExpressionList (children 1) + Literal Tuple_(Int64_-1, \'\') diff --git a/parser/testdata/00318_pk_tuple_order/explain.txt b/parser/testdata/00318_pk_tuple_order/explain.txt new file mode 100644 index 000000000..643c5f350 --- /dev/null +++ b/parser/testdata/00318_pk_tuple_order/explain.txt @@ -0,0 +1,2 @@ +DropQuery pk (children 1) + Identifier pk diff --git a/parser/testdata/00319_index_for_like/explain.txt b/parser/testdata/00319_index_for_like/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00319_index_for_like/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00320_between/explain.txt b/parser/testdata/00320_between/explain.txt new file mode 100644 index 000000000..76b5fb92b --- /dev/null +++ b/parser/testdata/00320_between/explain.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function and (children 1) + ExpressionList (children 2) + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Literal UInt64_2 + Function plus (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal UInt64_1 + Function lessOrEquals (children 1) + ExpressionList (children 2) + Literal UInt64_2 + Function minus (children 1) + ExpressionList (children 2) + Literal UInt64_3 + Literal UInt64_1 diff --git a/parser/testdata/00321_pk_set/explain.txt b/parser/testdata/00321_pk_set/explain.txt new file mode 100644 index 000000000..a2ea6527e --- /dev/null +++ b/parser/testdata/00321_pk_set/explain.txt @@ -0,0 +1,2 @@ +DropQuery pk_set (children 1) + Identifier pk_set diff --git a/parser/testdata/00323_quantiles_timing_bug/explain.txt b/parser/testdata/00323_quantiles_timing_bug/explain.txt new file mode 100644 index 000000000..7a303349f --- /dev/null +++ b/parser/testdata/00323_quantiles_timing_bug/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function quantilesTiming (children 2) + ExpressionList (children 1) + Function arrayJoin (children 1) + ExpressionList (children 1) + Function range (children 1) + ExpressionList (children 1) + Literal UInt64_100000 + ExpressionList (children 1) + Literal Float64_0.99 diff --git a/parser/testdata/00324_hashing_enums/explain.txt b/parser/testdata/00324_hashing_enums/explain.txt new file mode 100644 index 000000000..d9d07236e --- /dev/null +++ b/parser/testdata/00324_hashing_enums/explain.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function cityHash64 (children 1) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_1 (alias x) + Function CAST (alias y) (children 1) + ExpressionList (children 2) + Identifier x + Literal \'Enum8(\\\'Hello\\\' = 0, \\\'World\\\' = 1)\' diff --git a/parser/testdata/00326_long_function_multi_if/explain.txt b/parser/testdata/00326_long_function_multi_if/explain.txt new file mode 100644 index 000000000..1c33ebbe2 --- /dev/null +++ b/parser/testdata/00326_long_function_multi_if/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'Trivial case\' diff --git a/parser/testdata/00327_summing_composite_nested/explain.txt b/parser/testdata/00327_summing_composite_nested/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00327_summing_composite_nested/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00328_long_case_construction/metadata.json b/parser/testdata/00328_long_case_construction/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00328_long_case_construction/metadata.json +++ b/parser/testdata/00328_long_case_construction/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00330_view_subqueries/explain.txt b/parser/testdata/00330_view_subqueries/explain.txt new file mode 100644 index 000000000..5c799478f --- /dev/null +++ b/parser/testdata/00330_view_subqueries/explain.txt @@ -0,0 +1,2 @@ +DropQuery v1 (children 1) + Identifier v1 diff --git a/parser/testdata/00331_final_and_prewhere/explain.txt b/parser/testdata/00331_final_and_prewhere/explain.txt new file mode 100644 index 000000000..34d1f8028 --- /dev/null +++ b/parser/testdata/00331_final_and_prewhere/explain.txt @@ -0,0 +1,2 @@ +DropQuery replace (children 1) + Identifier replace diff --git a/parser/testdata/00331_final_and_prewhere_condition_ver_column/explain.txt b/parser/testdata/00331_final_and_prewhere_condition_ver_column/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00331_final_and_prewhere_condition_ver_column/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00332_quantile_timing_memory_leak/explain.txt b/parser/testdata/00332_quantile_timing_memory_leak/explain.txt new file mode 100644 index 000000000..53451dd7d --- /dev/null +++ b/parser/testdata/00332_quantile_timing_memory_leak/explain.txt @@ -0,0 +1,21 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function quantileTiming (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_10000 diff --git a/parser/testdata/00333_parser_number_bug/explain.txt b/parser/testdata/00333_parser_number_bug/explain.txt new file mode 100644 index 000000000..3cb3fd16c --- /dev/null +++ b/parser/testdata/00333_parser_number_bug/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier info + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 (alias info) diff --git a/parser/testdata/00334_column_aggregate_function_limit/explain.txt b/parser/testdata/00334_column_aggregate_function_limit/explain.txt new file mode 100644 index 000000000..626fec502 --- /dev/null +++ b/parser/testdata/00334_column_aggregate_function_limit/explain.txt @@ -0,0 +1,2 @@ +DropQuery ontime (children 1) + Identifier ontime diff --git a/parser/testdata/00337_shard_any_heavy/explain.txt b/parser/testdata/00337_shard_any_heavy/explain.txt new file mode 100644 index 000000000..87a602ba3 --- /dev/null +++ b/parser/testdata/00337_shard_any_heavy/explain.txt @@ -0,0 +1,33 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function anyHeavy (children 1) + ExpressionList (children 1) + Identifier x + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function if (alias x) (children 1) + ExpressionList (children 3) + Function less (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Function intHash64 (children 1) + ExpressionList (children 1) + Identifier number + Literal UInt64_100 + Literal UInt64_60 + Literal UInt64_999 + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_100000 diff --git a/parser/testdata/00338_replicate_array_of_strings/explain.txt b/parser/testdata/00338_replicate_array_of_strings/explain.txt new file mode 100644 index 000000000..23e6efe10 --- /dev/null +++ b/parser/testdata/00338_replicate_array_of_strings/explain.txt @@ -0,0 +1,2 @@ +DropQuery bad_arrays (children 1) + Identifier bad_arrays diff --git a/parser/testdata/00340_squashing_insert_select/explain.txt b/parser/testdata/00340_squashing_insert_select/explain.txt new file mode 100644 index 000000000..e70c76d57 --- /dev/null +++ b/parser/testdata/00340_squashing_insert_select/explain.txt @@ -0,0 +1,2 @@ +DropQuery numbers_squashed (children 1) + Identifier numbers_squashed diff --git a/parser/testdata/00341_squashing_insert_select2/explain.txt b/parser/testdata/00341_squashing_insert_select2/explain.txt new file mode 100644 index 000000000..e70c76d57 --- /dev/null +++ b/parser/testdata/00341_squashing_insert_select2/explain.txt @@ -0,0 +1,2 @@ +DropQuery numbers_squashed (children 1) + Identifier numbers_squashed diff --git a/parser/testdata/00342_escape_sequences/explain.txt b/parser/testdata/00342_escape_sequences/explain.txt new file mode 100644 index 000000000..f6cd6d7a1 --- /dev/null +++ b/parser/testdata/00342_escape_sequences/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function hex (children 1) + ExpressionList (children 1) + Literal \'\\b\\f\\n\\r\\t \\\\\\\'"\\\\?ª\' diff --git a/parser/testdata/00343_array_element_generic/explain.txt b/parser/testdata/00343_array_element_generic/explain.txt new file mode 100644 index 000000000..bee41790b --- /dev/null +++ b/parser/testdata/00343_array_element_generic/explain.txt @@ -0,0 +1,26 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function and (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Function range (children 1) + ExpressionList (children 1) + Literal UInt64_100 + Function range (children 1) + ExpressionList (children 2) + Literal UInt64_0 + Literal UInt64_100 + Function equals (children 1) + ExpressionList (children 2) + Function range (children 1) + ExpressionList (children 2) + Literal UInt64_0 + Literal UInt64_100 + Function range (children 1) + ExpressionList (children 3) + Literal UInt64_0 + Literal UInt64_100 + Literal UInt64_1 diff --git a/parser/testdata/00344_row_number_in_all_blocks/explain.txt b/parser/testdata/00344_row_number_in_all_blocks/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00344_row_number_in_all_blocks/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00345_index_accurate_comparison/explain.txt b/parser/testdata/00345_index_accurate_comparison/explain.txt new file mode 100644 index 000000000..9d569da06 --- /dev/null +++ b/parser/testdata/00345_index_accurate_comparison/explain.txt @@ -0,0 +1,2 @@ +DropQuery index (children 1) + Identifier index diff --git a/parser/testdata/00346_if_tuple/explain.txt b/parser/testdata/00346_if_tuple/explain.txt new file mode 100644 index 000000000..9c14a1b50 --- /dev/null +++ b/parser/testdata/00346_if_tuple/explain.txt @@ -0,0 +1,36 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function if (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_3 + Literal UInt64_2 + Function tuple (children 1) + ExpressionList (children 2) + Identifier number + Function toString (children 1) + ExpressionList (children 1) + Identifier number + Function tuple (children 1) + ExpressionList (children 2) + Function multiply (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 + Function concat (children 1) + ExpressionList (children 2) + Literal \'! \' + Function toString (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_10 diff --git a/parser/testdata/00347_has_tuple/explain.txt b/parser/testdata/00347_has_tuple/explain.txt new file mode 100644 index 000000000..30e4875f6 --- /dev/null +++ b/parser/testdata/00347_has_tuple/explain.txt @@ -0,0 +1,32 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function has (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 2) + Identifier a + Identifier b + Function tuple (children 1) + ExpressionList (children 2) + Identifier c + Identifier d + Function tuple (children 1) + ExpressionList (children 2) + Identifier a + Identifier b + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 4) + Literal UInt64_1 (alias a) + Literal UInt64_2 (alias b) + Literal UInt64_3 (alias c) + Literal UInt64_4 (alias d) diff --git a/parser/testdata/00348_tuples/explain.txt b/parser/testdata/00348_tuples/explain.txt new file mode 100644 index 000000000..3facc1fe8 --- /dev/null +++ b/parser/testdata/00348_tuples/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 3) + Literal Tuple_(\'1\', UInt64_2) (alias t) + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier t + Literal UInt64_1 + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier t + Literal UInt64_2 diff --git a/parser/testdata/00349_visible_width/explain.txt b/parser/testdata/00349_visible_width/explain.txt new file mode 100644 index 000000000..fc960f019 --- /dev/null +++ b/parser/testdata/00349_visible_width/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 3) + Function visibleWidth (children 1) + ExpressionList (children 1) + Literal Tuple_(UInt64_1, UInt64_2) + Function visibleWidth (children 1) + ExpressionList (children 1) + Literal Array_[UInt64_1, UInt64_2, UInt64_3] + Function visibleWidth (children 1) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal Array_[UInt64_2] diff --git a/parser/testdata/00350_count_distinct/explain.txt b/parser/testdata/00350_count_distinct/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00350_count_distinct/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00351_select_distinct_arrays_tuples/explain.txt b/parser/testdata/00351_select_distinct_arrays_tuples/explain.txt new file mode 100644 index 000000000..132397d4b --- /dev/null +++ b/parser/testdata/00351_select_distinct_arrays_tuples/explain.txt @@ -0,0 +1,46 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 4) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_3 + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_5 + Function tuple (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_3 + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_5 + Function array (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_3 + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_5 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_100 diff --git a/parser/testdata/00352_external_sorting_and_constants/explain.txt b/parser/testdata/00352_external_sorting_and_constants/explain.txt new file mode 100644 index 000000000..389ea71cb --- /dev/null +++ b/parser/testdata/00352_external_sorting_and_constants/explain.txt @@ -0,0 +1,26 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 2) + Identifier number + Literal \'Hello\' (alias k) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_1000000 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier number + Literal UInt64_999990 + Literal UInt64_100 + Set diff --git a/parser/testdata/00353_join_by_tuple/explain.txt b/parser/testdata/00353_join_by_tuple/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00353_join_by_tuple/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00355_array_of_non_const_convertible_types/explain.txt b/parser/testdata/00355_array_of_non_const_convertible_types/explain.txt new file mode 100644 index 000000000..bdc41ba8d --- /dev/null +++ b/parser/testdata/00355_array_of_non_const_convertible_types/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 2) + Function toUInt8 (children 1) + ExpressionList (children 1) + Identifier number + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_3 diff --git a/parser/testdata/00356_analyze_aggregations_and_union_all/explain.txt b/parser/testdata/00356_analyze_aggregations_and_union_all/explain.txt new file mode 100644 index 000000000..93cadac0e --- /dev/null +++ b/parser/testdata/00356_analyze_aggregations_and_union_all/explain.txt @@ -0,0 +1,30 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 2) + SelectQuery (children 2) + ExpressionList (children 1) + Function uniq (children 1) + ExpressionList (children 1) + Identifier a + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 (alias a) + SelectQuery (children 2) + ExpressionList (children 1) + Function uniq (children 1) + ExpressionList (children 1) + Identifier b + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 (alias b) diff --git a/parser/testdata/00357_to_string_complex_types/explain.txt b/parser/testdata/00357_to_string_complex_types/explain.txt new file mode 100644 index 000000000..2e47467e8 --- /dev/null +++ b/parser/testdata/00357_to_string_complex_types/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function toString (children 1) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList (children 3) + Literal UInt64_1 + Literal \'Hello\' + Function toDate (children 1) + ExpressionList (children 1) + Literal \'2016-01-01\' + Function toString (children 1) + ExpressionList (children 1) + Literal Array_[UInt64_1, UInt64_2, UInt64_3] diff --git a/parser/testdata/00358_from_string_complex_types/explain.txt b/parser/testdata/00358_from_string_complex_types/explain.txt new file mode 100644 index 000000000..9c25edb1a --- /dev/null +++ b/parser/testdata/00358_from_string_complex_types/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Literal \'[1, 2, 3]\' + Literal \'Array(UInt8)\' diff --git a/parser/testdata/00359_convert_or_zero_functions/explain.txt b/parser/testdata/00359_convert_or_zero_functions/explain.txt new file mode 100644 index 000000000..a7bf28d30 --- /dev/null +++ b/parser/testdata/00359_convert_or_zero_functions/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function toUInt32OrZero (children 1) + ExpressionList (children 1) + Literal \'123a\' + Function toUInt32OrZero (children 1) + ExpressionList (children 1) + Literal \'456\' diff --git a/parser/testdata/00360_to_date_from_string_with_datetime/explain.txt b/parser/testdata/00360_to_date_from_string_with_datetime/explain.txt new file mode 100644 index 000000000..9c117c948 --- /dev/null +++ b/parser/testdata/00360_to_date_from_string_with_datetime/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toDate (children 1) + ExpressionList (children 1) + Literal \'2016-08-02 12:34:19\' diff --git a/parser/testdata/00361_shared_array_offsets_and_squash_blocks/explain.txt b/parser/testdata/00361_shared_array_offsets_and_squash_blocks/explain.txt new file mode 100644 index 000000000..cf46e2bb0 --- /dev/null +++ b/parser/testdata/00361_shared_array_offsets_and_squash_blocks/explain.txt @@ -0,0 +1,2 @@ +DropQuery nested1 (children 1) + Identifier nested1 diff --git a/parser/testdata/00362_great_circle_distance/explain.txt b/parser/testdata/00362_great_circle_distance/explain.txt new file mode 100644 index 000000000..a36c5f785 --- /dev/null +++ b/parser/testdata/00362_great_circle_distance/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function floor (alias distance) (children 1) + ExpressionList (children 1) + Function greatCircleDistance (children 1) + ExpressionList (children 4) + Literal Float64_33.3 + Literal Float64_55.3 + Literal Float64_33.3 + Literal Float64_55.3 diff --git a/parser/testdata/00363_defaults/explain.txt b/parser/testdata/00363_defaults/explain.txt new file mode 100644 index 000000000..06149890d --- /dev/null +++ b/parser/testdata/00363_defaults/explain.txt @@ -0,0 +1,2 @@ +DropQuery prewhere_defaults (children 1) + Identifier prewhere_defaults diff --git a/parser/testdata/00364_java_style_denormals/metadata.json b/parser/testdata/00364_java_style_denormals/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00364_java_style_denormals/metadata.json +++ b/parser/testdata/00364_java_style_denormals/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00367_visible_width_of_array_tuple_enum/metadata.json b/parser/testdata/00367_visible_width_of_array_tuple_enum/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00367_visible_width_of_array_tuple_enum/metadata.json +++ b/parser/testdata/00367_visible_width_of_array_tuple_enum/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00369_int_div_of_float/explain.txt b/parser/testdata/00369_int_div_of_float/explain.txt new file mode 100644 index 000000000..287f195a2 --- /dev/null +++ b/parser/testdata/00369_int_div_of_float/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function intDiv (children 1) + ExpressionList (children 2) + Literal UInt64_10 + Literal UInt64_4 diff --git a/parser/testdata/00370_duplicate_columns_in_subqueries/explain.txt b/parser/testdata/00370_duplicate_columns_in_subqueries/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00370_duplicate_columns_in_subqueries/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00371_union_all/explain.txt b/parser/testdata/00371_union_all/explain.txt new file mode 100644 index 000000000..57b8de17c --- /dev/null +++ b/parser/testdata/00371_union_all/explain.txt @@ -0,0 +1,24 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 2) + SelectQuery (children 1) + ExpressionList (children 1) + Function toUInt64 (children 1) + ExpressionList (children 1) + Literal UInt64_1 + SelectQuery (children 2) + ExpressionList (children 1) + Function countIf (children 1) + ExpressionList (children 1) + Function greater (children 1) + ExpressionList (children 2) + Identifier n + Literal UInt64_0 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_2 (alias n) diff --git a/parser/testdata/00373_group_by_tuple/explain.txt b/parser/testdata/00373_group_by_tuple/explain.txt new file mode 100644 index 000000000..ed9b4e664 --- /dev/null +++ b/parser/testdata/00373_group_by_tuple/explain.txt @@ -0,0 +1,39 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 2) + Function if (alias x) (children 1) + ExpressionList (children 3) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + Function tuple (children 1) + ExpressionList (children 2) + Literal UInt64_0 + Literal \'Hello\' + Function tuple (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal \'World\' + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_10 + ExpressionList (children 1) + Identifier x + ExpressionList (children 1) + OrderByElement (children 1) + Identifier x diff --git a/parser/testdata/00374_any_last_if_merge/explain.txt b/parser/testdata/00374_any_last_if_merge/explain.txt new file mode 100644 index 000000000..ba126ff1b --- /dev/null +++ b/parser/testdata/00374_any_last_if_merge/explain.txt @@ -0,0 +1,40 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 2) + Function modulo (alias k) (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10000 + Function anyLastIf (alias x) (children 1) + ExpressionList (children 2) + Literal Float64_1 + Literal UInt64_0 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 2) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_1000 + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_1000 + ExpressionList (children 1) + Identifier k + Function notEquals (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_0 diff --git a/parser/testdata/00375_shard_group_uniq_array_of_string/explain.txt b/parser/testdata/00375_shard_group_uniq_array_of_string/explain.txt new file mode 100644 index 000000000..33e435880 --- /dev/null +++ b/parser/testdata/00375_shard_group_uniq_array_of_string/explain.txt @@ -0,0 +1,2 @@ +DropQuery group_uniq_str (children 1) + Identifier group_uniq_str diff --git a/parser/testdata/00376_shard_group_uniq_array_of_int_array/explain.txt b/parser/testdata/00376_shard_group_uniq_array_of_int_array/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00376_shard_group_uniq_array_of_int_array/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00377_shard_group_uniq_array_of_string_array/explain.txt b/parser/testdata/00377_shard_group_uniq_array_of_string_array/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00377_shard_group_uniq_array_of_string_array/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00378_json_quote_64bit_integers/explain.txt b/parser/testdata/00378_json_quote_64bit_integers/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00378_json_quote_64bit_integers/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00381_first_significant_subdomain/metadata.json b/parser/testdata/00381_first_significant_subdomain/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00381_first_significant_subdomain/metadata.json +++ b/parser/testdata/00381_first_significant_subdomain/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00383_utf8_validation/explain.txt b/parser/testdata/00383_utf8_validation/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00383_utf8_validation/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00384_column_aggregate_function_insert_from/explain.txt b/parser/testdata/00384_column_aggregate_function_insert_from/explain.txt new file mode 100644 index 000000000..547097100 --- /dev/null +++ b/parser/testdata/00384_column_aggregate_function_insert_from/explain.txt @@ -0,0 +1,2 @@ +DropQuery aggregates (children 1) + Identifier aggregates diff --git a/parser/testdata/00386_enum_in_pk/explain.txt b/parser/testdata/00386_enum_in_pk/explain.txt new file mode 100644 index 000000000..a5eade357 --- /dev/null +++ b/parser/testdata/00386_enum_in_pk/explain.txt @@ -0,0 +1,2 @@ +DropQuery enum_pk (children 1) + Identifier enum_pk diff --git a/parser/testdata/00386_has_column_in_table/explain.txt b/parser/testdata/00386_has_column_in_table/explain.txt new file mode 100644 index 000000000..9ec3d68fa --- /dev/null +++ b/parser/testdata/00386_has_column_in_table/explain.txt @@ -0,0 +1,2 @@ +DropQuery has_column_in_table (children 1) + Identifier has_column_in_table diff --git a/parser/testdata/00388_enum_with_totals/explain.txt b/parser/testdata/00388_enum_with_totals/explain.txt new file mode 100644 index 000000000..9e8bf6626 --- /dev/null +++ b/parser/testdata/00388_enum_with_totals/explain.txt @@ -0,0 +1,2 @@ +DropQuery enum_totals (children 1) + Identifier enum_totals diff --git a/parser/testdata/00389_concat_operator/explain.txt b/parser/testdata/00389_concat_operator/explain.txt new file mode 100644 index 000000000..488c1f846 --- /dev/null +++ b/parser/testdata/00389_concat_operator/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function concat (children 1) + ExpressionList (children 3) + Literal \'Hello\' + Literal \', \' + Literal \'World\' diff --git a/parser/testdata/00390_array_sort/explain.txt b/parser/testdata/00390_array_sort/explain.txt new file mode 100644 index 000000000..5c3d289c3 --- /dev/null +++ b/parser/testdata/00390_array_sort/explain.txt @@ -0,0 +1,22 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 4) + Literal Array_[UInt64_2, UInt64_1, UInt64_3] (alias arr) + Function arraySort (children 1) + ExpressionList (children 1) + Identifier arr + Function arrayReverseSort (children 1) + ExpressionList (children 1) + Identifier arr + Function arraySort (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function negate (children 1) + ExpressionList (children 1) + Identifier x + Identifier arr diff --git a/parser/testdata/00392_enum_nested_alter/explain.txt b/parser/testdata/00392_enum_nested_alter/explain.txt new file mode 100644 index 000000000..bfb405965 --- /dev/null +++ b/parser/testdata/00392_enum_nested_alter/explain.txt @@ -0,0 +1,2 @@ +DropQuery enum_nested_alter (children 1) + Identifier enum_nested_alter diff --git a/parser/testdata/00393_if_with_constant_condition/explain.txt b/parser/testdata/00393_if_with_constant_condition/explain.txt new file mode 100644 index 000000000..f18cae974 --- /dev/null +++ b/parser/testdata/00393_if_with_constant_condition/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function if (children 1) + ExpressionList (children 3) + Literal UInt64_1 + Literal UInt64_1 + Literal UInt64_0 diff --git a/parser/testdata/00394_new_nested_column_keeps_offsets/explain.txt b/parser/testdata/00394_new_nested_column_keeps_offsets/explain.txt new file mode 100644 index 000000000..7c78270a2 --- /dev/null +++ b/parser/testdata/00394_new_nested_column_keeps_offsets/explain.txt @@ -0,0 +1,2 @@ +DropQuery alter_00394 (children 1) + Identifier alter_00394 diff --git a/parser/testdata/00394_replaceall_vector_fixed/explain.txt b/parser/testdata/00394_replaceall_vector_fixed/explain.txt new file mode 100644 index 000000000..3fb7cc719 --- /dev/null +++ b/parser/testdata/00394_replaceall_vector_fixed/explain.txt @@ -0,0 +1,2 @@ +DropQuery replaceall (children 1) + Identifier replaceall diff --git a/parser/testdata/00395_nullable/explain.txt b/parser/testdata/00395_nullable/explain.txt new file mode 100644 index 000000000..f8b17e641 --- /dev/null +++ b/parser/testdata/00395_nullable/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'----- NULL value -----\' diff --git a/parser/testdata/00396_uuid/explain.txt b/parser/testdata/00396_uuid/explain.txt new file mode 100644 index 000000000..7caf51df3 --- /dev/null +++ b/parser/testdata/00396_uuid/explain.txt @@ -0,0 +1,26 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 3) + Function UUIDNumToString (alias uuid_string) (children 1) + ExpressionList (children 1) + Function toFixedString (alias uuid_binary) (children 1) + ExpressionList (children 2) + Function unhex (alias bytes) (children 1) + ExpressionList (children 1) + Literal \'0123456789ABCDEF0123456789ABCDEF\' (alias hex) + Literal UInt64_16 + Function equals (alias test1) (children 1) + ExpressionList (children 2) + Function hex (children 1) + ExpressionList (children 1) + Function UUIDStringToNum (children 1) + ExpressionList (children 1) + Identifier uuid_string + Identifier hex + Function equals (alias test2) (children 1) + ExpressionList (children 2) + Function UUIDStringToNum (children 1) + ExpressionList (children 1) + Identifier uuid_string + Identifier bytes diff --git a/parser/testdata/00396_uuid_v7/explain.txt b/parser/testdata/00396_uuid_v7/explain.txt new file mode 100644 index 000000000..330e55b22 --- /dev/null +++ b/parser/testdata/00396_uuid_v7/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'-- UUIDToNum --\' diff --git a/parser/testdata/00397_tsv_format_synonym/explain.txt b/parser/testdata/00397_tsv_format_synonym/explain.txt new file mode 100644 index 000000000..5b6e19fed --- /dev/null +++ b/parser/testdata/00397_tsv_format_synonym/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 3) + Function arrayJoin (alias arr) (children 1) + ExpressionList (children 1) + Literal Array_[UInt64_1, UInt64_2, UInt64_3] + Literal \'hello\' (alias s1) + Literal \'world\' (alias s2) + Identifier TabSeparated diff --git a/parser/testdata/00399_group_uniq_array_date_datetime/explain.txt b/parser/testdata/00399_group_uniq_array_date_datetime/explain.txt new file mode 100644 index 000000000..2e0fdc32e --- /dev/null +++ b/parser/testdata/00399_group_uniq_array_date_datetime/explain.txt @@ -0,0 +1,2 @@ +DropQuery grop_uniq_array_date (children 1) + Identifier grop_uniq_array_date diff --git a/parser/testdata/00401_merge_and_stripelog/explain.txt b/parser/testdata/00401_merge_and_stripelog/explain.txt new file mode 100644 index 000000000..0bf27f03c --- /dev/null +++ b/parser/testdata/00401_merge_and_stripelog/explain.txt @@ -0,0 +1,2 @@ +DropQuery stripe1 (children 1) + Identifier stripe1 diff --git a/parser/testdata/00402_nan_and_extremes/explain.txt b/parser/testdata/00402_nan_and_extremes/explain.txt new file mode 100644 index 000000000..fa43d29b7 --- /dev/null +++ b/parser/testdata/00402_nan_and_extremes/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function arrayJoin (children 1) + ExpressionList (children 1) + Literal Array_[UInt64_3, UInt64_1, UInt64_2] + Set diff --git a/parser/testdata/00403_to_start_of_day/explain.txt b/parser/testdata/00403_to_start_of_day/explain.txt new file mode 100644 index 000000000..55b5d5e4f --- /dev/null +++ b/parser/testdata/00403_to_start_of_day/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Function toStartOfDay (children 1) + ExpressionList (children 1) + Function now (children 1) + ExpressionList + Function toDateTime (children 1) + ExpressionList (children 1) + Function toDate (children 1) + ExpressionList (children 1) + Function now (children 1) + ExpressionList diff --git a/parser/testdata/00404_null_literal/explain.txt b/parser/testdata/00404_null_literal/explain.txt new file mode 100644 index 000000000..996d38458 --- /dev/null +++ b/parser/testdata/00404_null_literal/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function isNull (children 1) + ExpressionList (children 1) + Literal NULL diff --git a/parser/testdata/00405_output_format_pretty_color/explain.txt b/parser/testdata/00405_output_format_pretty_color/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00405_output_format_pretty_color/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00405_pretty_formats/explain.txt b/parser/testdata/00405_pretty_formats/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00405_pretty_formats/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00406_tuples_with_nulls/explain.txt b/parser/testdata/00406_tuples_with_nulls/explain.txt new file mode 100644 index 000000000..f47750c73 --- /dev/null +++ b/parser/testdata/00406_tuples_with_nulls/explain.txt @@ -0,0 +1,29 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function tuple (alias tuple) (children 1) + ExpressionList (children 3) + Identifier number + Function nullIf (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_3 + Literal UInt64_0 + Function toString (children 1) + ExpressionList (children 1) + Function nullIf (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + Literal UInt64_0 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_10 + Identifier PrettyCompactNoEscapes diff --git a/parser/testdata/00409_shard_limit_by/explain.txt b/parser/testdata/00409_shard_limit_by/explain.txt new file mode 100644 index 000000000..9d5155bff --- /dev/null +++ b/parser/testdata/00409_shard_limit_by/explain.txt @@ -0,0 +1,2 @@ +DropQuery limit_by (children 1) + Identifier limit_by diff --git a/parser/testdata/00410_aggregation_combinators_with_arenas/explain.txt b/parser/testdata/00410_aggregation_combinators_with_arenas/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00410_aggregation_combinators_with_arenas/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00411_long_accurate_number_comparison_float/explain.txt b/parser/testdata/00411_long_accurate_number_comparison_float/explain.txt new file mode 100644 index 000000000..b89b3997c --- /dev/null +++ b/parser/testdata/00411_long_accurate_number_comparison_float/explain.txt @@ -0,0 +1,630 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 110) + Literal \'0\' + Literal \'0.000000000\' + Function equals (children 1) + ExpressionList (children 2) + Literal UInt64_0 + Literal Float64_0 + Function notEquals (children 1) + ExpressionList (children 2) + Literal UInt64_0 + Literal Float64_0 + Function less (children 1) + ExpressionList (children 2) + Literal UInt64_0 + Literal Float64_0 + Function lessOrEquals (children 1) + ExpressionList (children 2) + Literal UInt64_0 + Literal Float64_0 + Function greater (children 1) + ExpressionList (children 2) + Literal UInt64_0 + Literal Float64_0 + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Literal UInt64_0 + Literal Float64_0 + Function equals (children 1) + ExpressionList (children 2) + Literal Float64_0 + Literal UInt64_0 + Function notEquals (children 1) + ExpressionList (children 2) + Literal Float64_0 + Literal UInt64_0 + Function less (children 1) + ExpressionList (children 2) + Literal Float64_0 + Literal UInt64_0 + Function lessOrEquals (children 1) + ExpressionList (children 2) + Literal Float64_0 + Literal UInt64_0 + Function greater (children 1) + ExpressionList (children 2) + Literal Float64_0 + Literal UInt64_0 + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Literal Float64_0 + Literal UInt64_0 + Function equals (children 1) + ExpressionList (children 2) + Function toUInt8 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal Float64_0 + Function notEquals (children 1) + ExpressionList (children 2) + Function toUInt8 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal Float64_0 + Function less (children 1) + ExpressionList (children 2) + Function toUInt8 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal Float64_0 + Function lessOrEquals (children 1) + ExpressionList (children 2) + Function toUInt8 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal Float64_0 + Function greater (children 1) + ExpressionList (children 2) + Function toUInt8 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal Float64_0 + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Function toUInt8 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal Float64_0 + Function equals (children 1) + ExpressionList (children 2) + Literal Float64_0 + Function toUInt8 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function notEquals (children 1) + ExpressionList (children 2) + Literal Float64_0 + Function toUInt8 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function less (children 1) + ExpressionList (children 2) + Literal Float64_0 + Function toUInt8 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function lessOrEquals (children 1) + ExpressionList (children 2) + Literal Float64_0 + Function toUInt8 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function greater (children 1) + ExpressionList (children 2) + Literal Float64_0 + Function toUInt8 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Literal Float64_0 + Function toUInt8 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function equals (children 1) + ExpressionList (children 2) + Function toInt8 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal Float64_0 + Function notEquals (children 1) + ExpressionList (children 2) + Function toInt8 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal Float64_0 + Function less (children 1) + ExpressionList (children 2) + Function toInt8 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal Float64_0 + Function lessOrEquals (children 1) + ExpressionList (children 2) + Function toInt8 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal Float64_0 + Function greater (children 1) + ExpressionList (children 2) + Function toInt8 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal Float64_0 + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Function toInt8 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal Float64_0 + Function equals (children 1) + ExpressionList (children 2) + Literal Float64_0 + Function toInt8 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function notEquals (children 1) + ExpressionList (children 2) + Literal Float64_0 + Function toInt8 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function less (children 1) + ExpressionList (children 2) + Literal Float64_0 + Function toInt8 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function lessOrEquals (children 1) + ExpressionList (children 2) + Literal Float64_0 + Function toInt8 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function greater (children 1) + ExpressionList (children 2) + Literal Float64_0 + Function toInt8 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Literal Float64_0 + Function toInt8 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function equals (children 1) + ExpressionList (children 2) + Function toUInt16 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal Float64_0 + Function notEquals (children 1) + ExpressionList (children 2) + Function toUInt16 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal Float64_0 + Function less (children 1) + ExpressionList (children 2) + Function toUInt16 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal Float64_0 + Function lessOrEquals (children 1) + ExpressionList (children 2) + Function toUInt16 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal Float64_0 + Function greater (children 1) + ExpressionList (children 2) + Function toUInt16 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal Float64_0 + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Function toUInt16 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal Float64_0 + Function equals (children 1) + ExpressionList (children 2) + Literal Float64_0 + Function toUInt16 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function notEquals (children 1) + ExpressionList (children 2) + Literal Float64_0 + Function toUInt16 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function less (children 1) + ExpressionList (children 2) + Literal Float64_0 + Function toUInt16 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function lessOrEquals (children 1) + ExpressionList (children 2) + Literal Float64_0 + Function toUInt16 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function greater (children 1) + ExpressionList (children 2) + Literal Float64_0 + Function toUInt16 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Literal Float64_0 + Function toUInt16 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function equals (children 1) + ExpressionList (children 2) + Function toInt16 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal Float64_0 + Function notEquals (children 1) + ExpressionList (children 2) + Function toInt16 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal Float64_0 + Function less (children 1) + ExpressionList (children 2) + Function toInt16 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal Float64_0 + Function lessOrEquals (children 1) + ExpressionList (children 2) + Function toInt16 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal Float64_0 + Function greater (children 1) + ExpressionList (children 2) + Function toInt16 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal Float64_0 + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Function toInt16 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal Float64_0 + Function equals (children 1) + ExpressionList (children 2) + Literal Float64_0 + Function toInt16 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function notEquals (children 1) + ExpressionList (children 2) + Literal Float64_0 + Function toInt16 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function less (children 1) + ExpressionList (children 2) + Literal Float64_0 + Function toInt16 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function lessOrEquals (children 1) + ExpressionList (children 2) + Literal Float64_0 + Function toInt16 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function greater (children 1) + ExpressionList (children 2) + Literal Float64_0 + Function toInt16 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Literal Float64_0 + Function toInt16 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function equals (children 1) + ExpressionList (children 2) + Function toUInt32 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal Float64_0 + Function notEquals (children 1) + ExpressionList (children 2) + Function toUInt32 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal Float64_0 + Function less (children 1) + ExpressionList (children 2) + Function toUInt32 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal Float64_0 + Function lessOrEquals (children 1) + ExpressionList (children 2) + Function toUInt32 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal Float64_0 + Function greater (children 1) + ExpressionList (children 2) + Function toUInt32 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal Float64_0 + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Function toUInt32 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal Float64_0 + Function equals (children 1) + ExpressionList (children 2) + Literal Float64_0 + Function toUInt32 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function notEquals (children 1) + ExpressionList (children 2) + Literal Float64_0 + Function toUInt32 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function less (children 1) + ExpressionList (children 2) + Literal Float64_0 + Function toUInt32 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function lessOrEquals (children 1) + ExpressionList (children 2) + Literal Float64_0 + Function toUInt32 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function greater (children 1) + ExpressionList (children 2) + Literal Float64_0 + Function toUInt32 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Literal Float64_0 + Function toUInt32 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function equals (children 1) + ExpressionList (children 2) + Function toInt32 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal Float64_0 + Function notEquals (children 1) + ExpressionList (children 2) + Function toInt32 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal Float64_0 + Function less (children 1) + ExpressionList (children 2) + Function toInt32 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal Float64_0 + Function lessOrEquals (children 1) + ExpressionList (children 2) + Function toInt32 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal Float64_0 + Function greater (children 1) + ExpressionList (children 2) + Function toInt32 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal Float64_0 + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Function toInt32 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal Float64_0 + Function equals (children 1) + ExpressionList (children 2) + Literal Float64_0 + Function toInt32 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function notEquals (children 1) + ExpressionList (children 2) + Literal Float64_0 + Function toInt32 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function less (children 1) + ExpressionList (children 2) + Literal Float64_0 + Function toInt32 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function lessOrEquals (children 1) + ExpressionList (children 2) + Literal Float64_0 + Function toInt32 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function greater (children 1) + ExpressionList (children 2) + Literal Float64_0 + Function toInt32 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Literal Float64_0 + Function toInt32 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function equals (children 1) + ExpressionList (children 2) + Function toUInt64 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal Float64_0 + Function notEquals (children 1) + ExpressionList (children 2) + Function toUInt64 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal Float64_0 + Function less (children 1) + ExpressionList (children 2) + Function toUInt64 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal Float64_0 + Function lessOrEquals (children 1) + ExpressionList (children 2) + Function toUInt64 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal Float64_0 + Function greater (children 1) + ExpressionList (children 2) + Function toUInt64 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal Float64_0 + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Function toUInt64 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal Float64_0 + Function equals (children 1) + ExpressionList (children 2) + Literal Float64_0 + Function toUInt64 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function notEquals (children 1) + ExpressionList (children 2) + Literal Float64_0 + Function toUInt64 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function less (children 1) + ExpressionList (children 2) + Literal Float64_0 + Function toUInt64 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function lessOrEquals (children 1) + ExpressionList (children 2) + Literal Float64_0 + Function toUInt64 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function greater (children 1) + ExpressionList (children 2) + Literal Float64_0 + Function toUInt64 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Literal Float64_0 + Function toUInt64 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function equals (children 1) + ExpressionList (children 2) + Function toInt64 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal Float64_0 + Function notEquals (children 1) + ExpressionList (children 2) + Function toInt64 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal Float64_0 + Function less (children 1) + ExpressionList (children 2) + Function toInt64 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal Float64_0 + Function lessOrEquals (children 1) + ExpressionList (children 2) + Function toInt64 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal Float64_0 + Function greater (children 1) + ExpressionList (children 2) + Function toInt64 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal Float64_0 + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Function toInt64 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal Float64_0 + Function equals (children 1) + ExpressionList (children 2) + Literal Float64_0 + Function toInt64 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function notEquals (children 1) + ExpressionList (children 2) + Literal Float64_0 + Function toInt64 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function less (children 1) + ExpressionList (children 2) + Literal Float64_0 + Function toInt64 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function lessOrEquals (children 1) + ExpressionList (children 2) + Literal Float64_0 + Function toInt64 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function greater (children 1) + ExpressionList (children 2) + Literal Float64_0 + Function toInt64 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Literal Float64_0 + Function toInt64 (children 1) + ExpressionList (children 1) + Literal UInt64_0 diff --git a/parser/testdata/00411_merge_tree_where_const_in_set/explain.txt b/parser/testdata/00411_merge_tree_where_const_in_set/explain.txt new file mode 100644 index 000000000..62b696d20 --- /dev/null +++ b/parser/testdata/00411_merge_tree_where_const_in_set/explain.txt @@ -0,0 +1,2 @@ +DropQuery const_in_const (children 1) + Identifier const_in_const diff --git a/parser/testdata/00412_logical_expressions_optimizer/explain.txt b/parser/testdata/00412_logical_expressions_optimizer/explain.txt new file mode 100644 index 000000000..eaf9d7dce --- /dev/null +++ b/parser/testdata/00412_logical_expressions_optimizer/explain.txt @@ -0,0 +1,2 @@ +DropQuery merge_tree (children 1) + Identifier merge_tree diff --git a/parser/testdata/00413_distinct/explain.txt b/parser/testdata/00413_distinct/explain.txt new file mode 100644 index 000000000..566d97a0c --- /dev/null +++ b/parser/testdata/00413_distinct/explain.txt @@ -0,0 +1,2 @@ +DropQuery distinct (children 1) + Identifier distinct diff --git a/parser/testdata/00413_least_greatest_new_behavior/explain.txt b/parser/testdata/00413_least_greatest_new_behavior/explain.txt new file mode 100644 index 000000000..14c1f5f03 --- /dev/null +++ b/parser/testdata/00413_least_greatest_new_behavior/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function toTypeName (children 1) + ExpressionList (children 1) + Function least (children 1) + ExpressionList (children 2) + Literal Int64_-9223372036854775808 + Literal UInt64_18446744073709551615 + Function toTypeName (children 1) + ExpressionList (children 1) + Function greatest (children 1) + ExpressionList (children 2) + Literal Int64_-9223372036854775808 + Literal UInt64_18446744073709551615 diff --git a/parser/testdata/00414_time_zones_direct_conversion/explain.txt b/parser/testdata/00414_time_zones_direct_conversion/explain.txt new file mode 100644 index 000000000..7bb93e964 --- /dev/null +++ b/parser/testdata/00414_time_zones_direct_conversion/explain.txt @@ -0,0 +1,22 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Function plus (alias ts) (children 1) + ExpressionList (children 2) + Literal UInt64_1301146200 + Function multiply (children 1) + ExpressionList (children 2) + Literal UInt64_1800 + Identifier number + Function toString (alias time_in_sydney) (children 1) + ExpressionList (children 2) + Function toDateTime (children 1) + ExpressionList (children 1) + Identifier ts + Literal \'Australia/Sydney\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_7 diff --git a/parser/testdata/00420_null_in_scalar_subqueries/explain.txt b/parser/testdata/00420_null_in_scalar_subqueries/explain.txt new file mode 100644 index 000000000..e79a86e8d --- /dev/null +++ b/parser/testdata/00420_null_in_scalar_subqueries/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Literal UInt64_1 + Literal UInt64_0 diff --git a/parser/testdata/00422_hash_function_constexpr/explain.txt b/parser/testdata/00422_hash_function_constexpr/explain.txt new file mode 100644 index 000000000..65e4be185 --- /dev/null +++ b/parser/testdata/00422_hash_function_constexpr/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function in (children 1) + ExpressionList (children 2) + Function cityHash64 (children 1) + ExpressionList (children 1) + Literal \'abc\' + Function cityHash64 (children 1) + ExpressionList (children 1) + Literal \'abc\' diff --git a/parser/testdata/00423_storage_log_single_thread/explain.txt b/parser/testdata/00423_storage_log_single_thread/explain.txt new file mode 100644 index 000000000..0631df93b --- /dev/null +++ b/parser/testdata/00423_storage_log_single_thread/explain.txt @@ -0,0 +1,2 @@ +DropQuery log (children 1) + Identifier log diff --git a/parser/testdata/00424_shard_aggregate_functions_of_nullable/explain.txt b/parser/testdata/00424_shard_aggregate_functions_of_nullable/explain.txt new file mode 100644 index 000000000..61b35cebd --- /dev/null +++ b/parser/testdata/00424_shard_aggregate_functions_of_nullable/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function avg (children 1) + ExpressionList (children 1) + Function arrayJoin (children 1) + ExpressionList (children 1) + Literal Array_[NULL] diff --git a/parser/testdata/00425_count_nullable/explain.txt b/parser/testdata/00425_count_nullable/explain.txt new file mode 100644 index 000000000..e77a23517 --- /dev/null +++ b/parser/testdata/00425_count_nullable/explain.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier number (alias x) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_10 diff --git a/parser/testdata/00426_nulls_sorting/explain.txt b/parser/testdata/00426_nulls_sorting/explain.txt new file mode 100644 index 000000000..074293e85 --- /dev/null +++ b/parser/testdata/00426_nulls_sorting/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function arrayJoin (alias x) (children 1) + ExpressionList (children 1) + Literal Array_[UInt64_0, UInt64_0, UInt64_0, UInt64_0, UInt64_0, UInt64_0, UInt64_0, UInt64_0, UInt64_0, UInt64_0, UInt64_0, UInt64_1, UInt64_2, UInt64_2, UInt64_3, UInt64_4, UInt64_12, NULL] + ExpressionList (children 1) + OrderByElement (children 1) + Identifier x diff --git a/parser/testdata/00429_point_in_ellipses/explain.txt b/parser/testdata/00429_point_in_ellipses/explain.txt new file mode 100644 index 000000000..c2b297349 --- /dev/null +++ b/parser/testdata/00429_point_in_ellipses/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function pointInEllipses (alias distance) (children 1) + ExpressionList (children 6) + Literal Float64_33.3 + Literal Float64_55.3 + Literal Float64_33.4 + Literal Float64_55.1 + Literal Float64_1 + Literal Float64_1 diff --git a/parser/testdata/00431_if_nulls/metadata.json b/parser/testdata/00431_if_nulls/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00431_if_nulls/metadata.json +++ b/parser/testdata/00431_if_nulls/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00432_aggregate_function_scalars_and_constants/explain.txt b/parser/testdata/00432_aggregate_function_scalars_and_constants/explain.txt new file mode 100644 index 000000000..92f4560e7 --- /dev/null +++ b/parser/testdata/00432_aggregate_function_scalars_and_constants/explain.txt @@ -0,0 +1,2 @@ +DropQuery agg_func_col (children 1) + Identifier agg_func_col diff --git a/parser/testdata/00433_ifnull/explain.txt b/parser/testdata/00433_ifnull/explain.txt new file mode 100644 index 000000000..181b05e47 --- /dev/null +++ b/parser/testdata/00433_ifnull/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function ifNull (alias res) (children 1) + ExpressionList (children 2) + Literal \'x\' + Literal \'y\' + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier res diff --git a/parser/testdata/00434_tonullable/metadata.json b/parser/testdata/00434_tonullable/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00434_tonullable/metadata.json +++ b/parser/testdata/00434_tonullable/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00435_coalesce/explain.txt b/parser/testdata/00435_coalesce/explain.txt new file mode 100644 index 000000000..61e7b1217 --- /dev/null +++ b/parser/testdata/00435_coalesce/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 3) + Function coalesce (children 1) + ExpressionList + Function coalesce (children 1) + ExpressionList (children 1) + Literal NULL + Function coalesce (children 1) + ExpressionList (children 2) + Literal NULL + Literal NULL diff --git a/parser/testdata/00436_convert_charset/metadata.json b/parser/testdata/00436_convert_charset/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00436_convert_charset/metadata.json +++ b/parser/testdata/00436_convert_charset/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00436_fixed_string_16_comparisons/metadata.json b/parser/testdata/00436_fixed_string_16_comparisons/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00436_fixed_string_16_comparisons/metadata.json +++ b/parser/testdata/00436_fixed_string_16_comparisons/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00437_nulls_first_last/explain.txt b/parser/testdata/00437_nulls_first_last/explain.txt new file mode 100644 index 000000000..8b4ff1fdd --- /dev/null +++ b/parser/testdata/00437_nulls_first_last/explain.txt @@ -0,0 +1,44 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier x + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function if (alias x) (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_5 + Literal UInt64_0 + Literal NULL + Function if (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_3 + Literal UInt64_0 + Literal Float64_nan + Function toFloat64 (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_10 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier x diff --git a/parser/testdata/00438_bit_rotate/explain.txt b/parser/testdata/00438_bit_rotate/explain.txt new file mode 100644 index 000000000..17d73499b --- /dev/null +++ b/parser/testdata/00438_bit_rotate/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function hex (children 1) + ExpressionList (children 1) + Function bitRotateLeft (children 1) + ExpressionList (children 2) + Literal UInt64_9223372036854775809 + Literal UInt64_1 diff --git a/parser/testdata/00439_fixed_string_filter/explain.txt b/parser/testdata/00439_fixed_string_filter/explain.txt new file mode 100644 index 000000000..db039fca5 --- /dev/null +++ b/parser/testdata/00439_fixed_string_filter/explain.txt @@ -0,0 +1,33 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier x + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function toFixedString (alias x) (children 1) + ExpressionList (children 2) + Function if (children 1) + ExpressionList (children 3) + Function less (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_20 + Literal \'\' + Literal \'Hello\' + Literal UInt64_5 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_50 + Function notEquals (children 1) + ExpressionList (children 2) + Identifier x + Literal \'\\0\\0\\0\\0\\0\' diff --git a/parser/testdata/00440_nulls_merge_tree/explain.txt b/parser/testdata/00440_nulls_merge_tree/explain.txt new file mode 100644 index 000000000..2fc64c7d9 --- /dev/null +++ b/parser/testdata/00440_nulls_merge_tree/explain.txt @@ -0,0 +1,2 @@ +DropQuery nulls (children 1) + Identifier nulls diff --git a/parser/testdata/00441_nulls_in/explain.txt b/parser/testdata/00441_nulls_in/explain.txt new file mode 100644 index 000000000..c9e025d66 --- /dev/null +++ b/parser/testdata/00441_nulls_in/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function in (children 1) + ExpressionList (children 2) + Identifier number + Literal Tuple_(UInt64_1, NULL, UInt64_3) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_5 diff --git a/parser/testdata/00442_filter_by_nullable/explain.txt b/parser/testdata/00442_filter_by_nullable/explain.txt new file mode 100644 index 000000000..3edb0aa46 --- /dev/null +++ b/parser/testdata/00442_filter_by_nullable/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier x + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toNullable (alias x) (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Identifier x diff --git a/parser/testdata/00444_join_use_nulls/explain.txt b/parser/testdata/00444_join_use_nulls/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00444_join_use_nulls/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00445_join_nullable_keys/explain.txt b/parser/testdata/00445_join_nullable_keys/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00445_join_nullable_keys/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00446_clear_column_in_partition_zookeeper_long/explain.txt b/parser/testdata/00446_clear_column_in_partition_zookeeper_long/explain.txt new file mode 100644 index 000000000..e56304e24 --- /dev/null +++ b/parser/testdata/00446_clear_column_in_partition_zookeeper_long/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'===Ordinary case===\' diff --git a/parser/testdata/00447_foreach_modifier/explain.txt b/parser/testdata/00447_foreach_modifier/explain.txt new file mode 100644 index 000000000..7b1e1c60c --- /dev/null +++ b/parser/testdata/00447_foreach_modifier/explain.txt @@ -0,0 +1,12 @@ +CreateQuery data (children 3) + Identifier data + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration sketch (children 1) + DataType Array (children 1) + ExpressionList (children 1) + DataType Int8 + Storage definition (children 2) + Function MergeTree + Function tuple (children 1) + ExpressionList diff --git a/parser/testdata/00448_replicate_nullable_tuple_generic/explain.txt b/parser/testdata/00448_replicate_nullable_tuple_generic/explain.txt new file mode 100644 index 000000000..f137f28d2 --- /dev/null +++ b/parser/testdata/00448_replicate_nullable_tuple_generic/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Identifier x + Function arrayJoin (children 1) + ExpressionList (children 1) + Identifier x + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function materialize (alias x) (children 1) + ExpressionList (children 1) + Literal Array_[UInt64_1, NULL, UInt64_2] diff --git a/parser/testdata/00448_to_string_cut_to_zero/explain.txt b/parser/testdata/00448_to_string_cut_to_zero/explain.txt new file mode 100644 index 000000000..277b8e63d --- /dev/null +++ b/parser/testdata/00448_to_string_cut_to_zero/explain.txt @@ -0,0 +1,28 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Function toString (children 1) + ExpressionList (children 1) + Identifier number + Function toStringCutToZero (children 1) + ExpressionList (children 1) + Function toString (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_1000 diff --git a/parser/testdata/00449_filter_array_nullable_tuple/explain.txt b/parser/testdata/00449_filter_array_nullable_tuple/explain.txt new file mode 100644 index 000000000..cbea3786b --- /dev/null +++ b/parser/testdata/00449_filter_array_nullable_tuple/explain.txt @@ -0,0 +1,30 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function range (alias x) (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_10 + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Function length (children 1) + ExpressionList (children 1) + Identifier x + Literal UInt64_2 + Literal UInt64_0 diff --git a/parser/testdata/00450_higher_order_and_nullable/explain.txt b/parser/testdata/00450_higher_order_and_nullable/explain.txt new file mode 100644 index 000000000..4c0584961 --- /dev/null +++ b/parser/testdata/00450_higher_order_and_nullable/explain.txt @@ -0,0 +1,30 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function arrayMap (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function if (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_2 + Literal UInt64_0 + Literal NULL + Identifier x + Function range (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_10 diff --git a/parser/testdata/00451_left_array_join_and_constants/explain.txt b/parser/testdata/00451_left_array_join_and_constants/explain.txt new file mode 100644 index 000000000..f712d36e0 --- /dev/null +++ b/parser/testdata/00451_left_array_join_and_constants/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Identifier arr + Identifier element + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal Array_[UInt64_1] (alias arr) + TablesInSelectQueryElement (children 1) + ArrayJoin (children 1) + ExpressionList (children 1) + Identifier arr (alias element) diff --git a/parser/testdata/00452_left_array_join_and_nullable/explain.txt b/parser/testdata/00452_left_array_join_and_nullable/explain.txt new file mode 100644 index 000000000..600be9047 --- /dev/null +++ b/parser/testdata/00452_left_array_join_and_nullable/explain.txt @@ -0,0 +1,25 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function emptyArrayToSingle (alias arr) (children 1) + ExpressionList (children 1) + Function arrayMap (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function nullIf (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_2 + Function arrayJoin (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 3) + Function emptyArrayUInt8 (children 1) + ExpressionList + Literal Array_[UInt64_1] + Literal Array_[UInt64_2, UInt64_3] diff --git a/parser/testdata/00453_cast_enum/explain.txt b/parser/testdata/00453_cast_enum/explain.txt new file mode 100644 index 000000000..517dbbce5 --- /dev/null +++ b/parser/testdata/00453_cast_enum/explain.txt @@ -0,0 +1,2 @@ +DropQuery cast_enums (children 1) + Identifier cast_enums diff --git a/parser/testdata/00453_top_k/explain.txt b/parser/testdata/00453_top_k/explain.txt new file mode 100644 index 000000000..83bcd524a --- /dev/null +++ b/parser/testdata/00453_top_k/explain.txt @@ -0,0 +1,38 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function arraySort (children 1) + ExpressionList (children 1) + Function topK (children 2) + ExpressionList (children 1) + Identifier n + ExpressionList (children 1) + Literal UInt64_10 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function if (alias n) (children 1) + ExpressionList (children 3) + Function less (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_100 + Literal UInt64_10 + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_100000 diff --git a/parser/testdata/00456_alter_nullable/explain.txt b/parser/testdata/00456_alter_nullable/explain.txt new file mode 100644 index 000000000..58aca0513 --- /dev/null +++ b/parser/testdata/00456_alter_nullable/explain.txt @@ -0,0 +1,2 @@ +DropQuery nullable_alter (children 1) + Identifier nullable_alter diff --git a/parser/testdata/00457_log_tinylog_stripelog_nullable/explain.txt b/parser/testdata/00457_log_tinylog_stripelog_nullable/explain.txt new file mode 100644 index 000000000..d47c399fa --- /dev/null +++ b/parser/testdata/00457_log_tinylog_stripelog_nullable/explain.txt @@ -0,0 +1,2 @@ +DropQuery nullable_00457 (children 1) + Identifier nullable_00457 diff --git a/parser/testdata/00458_merge_type_cast/explain.txt b/parser/testdata/00458_merge_type_cast/explain.txt new file mode 100644 index 000000000..6e4e1db96 --- /dev/null +++ b/parser/testdata/00458_merge_type_cast/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \' UInt32 | UInt64 \' diff --git a/parser/testdata/00459_group_array_insert_at/explain.txt b/parser/testdata/00459_group_array_insert_at/explain.txt new file mode 100644 index 000000000..6d199310a --- /dev/null +++ b/parser/testdata/00459_group_array_insert_at/explain.txt @@ -0,0 +1,27 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function groupArrayInsertAt (children 1) + ExpressionList (children 2) + Function toString (children 1) + ExpressionList (children 1) + Identifier number + Function multiply (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_10 diff --git a/parser/testdata/00460_vertical_and_totals_extremes/explain.txt b/parser/testdata/00460_vertical_and_totals_extremes/explain.txt new file mode 100644 index 000000000..6af04f965 --- /dev/null +++ b/parser/testdata/00460_vertical_and_totals_extremes/explain.txt @@ -0,0 +1,30 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 2) + Identifier k + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function modulo (alias k) (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_5 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_100 + ExpressionList (children 1) + Identifier k + ExpressionList (children 1) + OrderByElement (children 1) + Identifier k + Identifier Vertical diff --git a/parser/testdata/00461_default_value_of_argument_type/explain.txt b/parser/testdata/00461_default_value_of_argument_type/explain.txt new file mode 100644 index 000000000..142b59d72 --- /dev/null +++ b/parser/testdata/00461_default_value_of_argument_type/explain.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 3) + Function defaultValueOfArgumentType (children 1) + ExpressionList (children 1) + Literal Array_[UInt64_1, UInt64_2, UInt64_3] + Function defaultValueOfArgumentType (children 1) + ExpressionList (children 1) + Literal Array_[Array_[Array_[UInt64_1]]] + Function defaultValueOfArgumentType (children 1) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList (children 4) + Literal UInt64_1 + Literal \'Hello\' + Function toTimeZone (children 1) + ExpressionList (children 2) + Function now (children 1) + ExpressionList + Literal \'UTC\' + Function today (children 1) + ExpressionList diff --git a/parser/testdata/00462_json_true_false_literals/explain.txt b/parser/testdata/00462_json_true_false_literals/explain.txt new file mode 100644 index 000000000..a3c40095d --- /dev/null +++ b/parser/testdata/00462_json_true_false_literals/explain.txt @@ -0,0 +1,2 @@ +DropQuery json (children 1) + Identifier json diff --git a/parser/testdata/00464_array_element_out_of_range/explain.txt b/parser/testdata/00464_array_element_out_of_range/explain.txt new file mode 100644 index 000000000..dbfe149ca --- /dev/null +++ b/parser/testdata/00464_array_element_out_of_range/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 3) + Function arrayElement (children 1) + ExpressionList (children 2) + Literal Array_[UInt64_1, UInt64_2] + Literal UInt64_3 + Function arrayElement (children 1) + ExpressionList (children 2) + Literal Array_[UInt64_1, NULL, UInt64_2] + Literal UInt64_4 + Function arrayElement (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList (children 2) + Literal Tuple_(\'1\', UInt64_1) + Literal Tuple_(\'2\', UInt64_2) + Literal Int64_-3 diff --git a/parser/testdata/00464_sort_all_constant_columns/explain.txt b/parser/testdata/00464_sort_all_constant_columns/explain.txt new file mode 100644 index 000000000..c8e8902a5 --- /dev/null +++ b/parser/testdata/00464_sort_all_constant_columns/explain.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_1 (alias x) + Literal UInt64_2 (alias y) + ExpressionList (children 1) + OrderByElement (children 1) + Identifier x diff --git a/parser/testdata/00465_nullable_default/explain.txt b/parser/testdata/00465_nullable_default/explain.txt new file mode 100644 index 000000000..0ff706dcb --- /dev/null +++ b/parser/testdata/00465_nullable_default/explain.txt @@ -0,0 +1,2 @@ +DropQuery nullable_00465 (children 1) + Identifier nullable_00465 diff --git a/parser/testdata/00466_comments_in_keyword/explain.txt b/parser/testdata/00466_comments_in_keyword/explain.txt new file mode 100644 index 000000000..9cddec8e5 --- /dev/null +++ b/parser/testdata/00466_comments_in_keyword/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Literal UInt64_1 (alias x) + ExpressionList (children 1) + OrderByElement (children 1) + Identifier x diff --git a/parser/testdata/00467_qualified_names/explain.txt b/parser/testdata/00467_qualified_names/explain.txt new file mode 100644 index 000000000..8edae56a0 --- /dev/null +++ b/parser/testdata/00467_qualified_names/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier dummy + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.one diff --git a/parser/testdata/00468_array_join_multiple_arrays_and_use_original_column/explain.txt b/parser/testdata/00468_array_join_multiple_arrays_and_use_original_column/explain.txt new file mode 100644 index 000000000..b42a45886 --- /dev/null +++ b/parser/testdata/00468_array_join_multiple_arrays_and_use_original_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery nested (children 1) + Identifier nested diff --git a/parser/testdata/00469_comparison_of_strings_containing_null_char/explain.txt b/parser/testdata/00469_comparison_of_strings_containing_null_char/explain.txt new file mode 100644 index 000000000..98c56dafb --- /dev/null +++ b/parser/testdata/00469_comparison_of_strings_containing_null_char/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'**** constant-constant comparisons ****\' diff --git a/parser/testdata/00470_identifiers_in_double_quotes/explain.txt b/parser/testdata/00470_identifiers_in_double_quotes/explain.txt new file mode 100644 index 000000000..515b8cf0e --- /dev/null +++ b/parser/testdata/00470_identifiers_in_double_quotes/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier numbers.number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_1 diff --git a/parser/testdata/00471_sql_style_quoting/explain.txt b/parser/testdata/00471_sql_style_quoting/explain.txt new file mode 100644 index 000000000..cf37110fd --- /dev/null +++ b/parser/testdata/00471_sql_style_quoting/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Identifier ta`ble.dummy + Literal \'hello\\\'world\' (alias hel"lo) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.one (alias ta`ble) diff --git a/parser/testdata/00472_compare_uuid_with_constant_string/explain.txt b/parser/testdata/00472_compare_uuid_with_constant_string/explain.txt new file mode 100644 index 000000000..b35805d0d --- /dev/null +++ b/parser/testdata/00472_compare_uuid_with_constant_string/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Function toUUID (children 1) + ExpressionList (children 1) + Literal \'61f0c404-5cb3-11e7-907b-a6006ad3dba0\' + Literal \'61f0c404-5cb3-11e7-907b-a6006ad3dba0\' diff --git a/parser/testdata/00472_create_view_if_not_exists/explain.txt b/parser/testdata/00472_create_view_if_not_exists/explain.txt new file mode 100644 index 000000000..93675a182 --- /dev/null +++ b/parser/testdata/00472_create_view_if_not_exists/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_00472 (children 1) + Identifier t_00472 diff --git a/parser/testdata/00475_in_join_db_table/explain.txt b/parser/testdata/00475_in_join_db_table/explain.txt new file mode 100644 index 000000000..def46520e --- /dev/null +++ b/parser/testdata/00475_in_join_db_table/explain.txt @@ -0,0 +1,2 @@ +DropQuery set (children 1) + Identifier set diff --git a/parser/testdata/00476_pretty_formats_and_widths/explain.txt b/parser/testdata/00476_pretty_formats_and_widths/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00476_pretty_formats_and_widths/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00477_parsing_data_types/explain.txt b/parser/testdata/00477_parsing_data_types/explain.txt new file mode 100644 index 000000000..924bde9a1 --- /dev/null +++ b/parser/testdata/00477_parsing_data_types/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_00477 (children 1) + Identifier t_00477 diff --git a/parser/testdata/00479_date_and_datetime_to_number/explain.txt b/parser/testdata/00479_date_and_datetime_to_number/explain.txt new file mode 100644 index 000000000..6ff933364 --- /dev/null +++ b/parser/testdata/00479_date_and_datetime_to_number/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toYYYYMM (children 1) + ExpressionList (children 1) + Function toDate (children 1) + ExpressionList (children 1) + Literal \'2017-07-21\' diff --git a/parser/testdata/00480_mac_addresses/explain.txt b/parser/testdata/00480_mac_addresses/explain.txt new file mode 100644 index 000000000..52cbc07ac --- /dev/null +++ b/parser/testdata/00480_mac_addresses/explain.txt @@ -0,0 +1,35 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 9) + Literal \'01:02:03:04:05:06\' (alias mac_str) + Function MACStringToNum (alias mac_num) (children 1) + ExpressionList (children 1) + Identifier mac_str + Function hex (children 1) + ExpressionList (children 1) + Identifier mac_num + Function MACNumToString (alias mac_str2) (children 1) + ExpressionList (children 1) + Identifier mac_num + Function equals (children 1) + ExpressionList (children 2) + Identifier mac_str + Identifier mac_str2 + Function MACStringToOUI (alias oui_num) (children 1) + ExpressionList (children 1) + Identifier mac_str + Function hex (children 1) + ExpressionList (children 1) + Identifier oui_num + Function MACStringToOUI (alias oui_num2) (children 1) + ExpressionList (children 1) + Function substring (children 1) + ExpressionList (children 3) + Identifier mac_str + Literal UInt64_1 + Literal UInt64_8 + Function equals (children 1) + ExpressionList (children 2) + Identifier oui_num + Identifier oui_num2 diff --git a/parser/testdata/00481_create_view_for_null/explain.txt b/parser/testdata/00481_create_view_for_null/explain.txt new file mode 100644 index 000000000..491d0decf --- /dev/null +++ b/parser/testdata/00481_create_view_for_null/explain.txt @@ -0,0 +1,2 @@ +DropQuery null_00481 (children 1) + Identifier null_00481 diff --git a/parser/testdata/00481_reading_from_last_granula/explain.txt b/parser/testdata/00481_reading_from_last_granula/explain.txt new file mode 100644 index 000000000..6da8351c2 --- /dev/null +++ b/parser/testdata/00481_reading_from_last_granula/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab_00481 (children 1) + Identifier tab_00481 diff --git a/parser/testdata/00482_subqueries_and_aliases/explain.txt b/parser/testdata/00482_subqueries_and_aliases/explain.txt new file mode 100644 index 000000000..3adc07a57 --- /dev/null +++ b/parser/testdata/00482_subqueries_and_aliases/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Literal UInt64_1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.one + Function in (children 1) + ExpressionList (children 2) + Literal Tuple_(UInt64_1, UInt64_1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_1 (alias x) + Identifier x diff --git a/parser/testdata/00483_cast_syntax/explain.txt b/parser/testdata/00483_cast_syntax/explain.txt new file mode 100644 index 000000000..e2f121fe2 --- /dev/null +++ b/parser/testdata/00483_cast_syntax/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal \'Int8\' diff --git a/parser/testdata/00483_reading_from_array_structure/explain.txt b/parser/testdata/00483_reading_from_array_structure/explain.txt new file mode 100644 index 000000000..6cd2206aa --- /dev/null +++ b/parser/testdata/00483_reading_from_array_structure/explain.txt @@ -0,0 +1,2 @@ +DropQuery table_00483 (children 1) + Identifier table_00483 diff --git a/parser/testdata/00484_preferred_max_column_in_block_size_bytes/explain.txt b/parser/testdata/00484_preferred_max_column_in_block_size_bytes/explain.txt new file mode 100644 index 000000000..d9e073043 --- /dev/null +++ b/parser/testdata/00484_preferred_max_column_in_block_size_bytes/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab_00484 (children 1) + Identifier tab_00484 diff --git a/parser/testdata/00486_if_fixed_string/explain.txt b/parser/testdata/00486_if_fixed_string/explain.txt new file mode 100644 index 000000000..e7bc43c12 --- /dev/null +++ b/parser/testdata/00486_if_fixed_string/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function if (children 1) + ExpressionList (children 3) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + Literal \'hello\' + Literal \'world\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_5 diff --git a/parser/testdata/00487_if_array_fixed_string/explain.txt b/parser/testdata/00487_if_array_fixed_string/explain.txt new file mode 100644 index 000000000..3b0769af7 --- /dev/null +++ b/parser/testdata/00487_if_array_fixed_string/explain.txt @@ -0,0 +1,39 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function if (children 1) + ExpressionList (children 3) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + Function arrayMap (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function toFixedString (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_5 + Literal Array_[\'hello\', \'world\'] + Function arrayMap (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function toFixedString (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_5 + Literal Array_[\'a\', \'b\', \'c\'] + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_4 diff --git a/parser/testdata/00488_column_name_primary/explain.txt b/parser/testdata/00488_column_name_primary/explain.txt new file mode 100644 index 000000000..ecfa3cc5f --- /dev/null +++ b/parser/testdata/00488_column_name_primary/explain.txt @@ -0,0 +1,2 @@ +DropQuery primary (children 1) + Identifier primary diff --git a/parser/testdata/00488_non_ascii_column_names/explain.txt b/parser/testdata/00488_non_ascii_column_names/explain.txt new file mode 100644 index 000000000..078bdce84 --- /dev/null +++ b/parser/testdata/00488_non_ascii_column_names/explain.txt @@ -0,0 +1,2 @@ +DropQuery non_ascii (children 1) + Identifier non_ascii diff --git a/parser/testdata/00489_pk_subexpression/explain.txt b/parser/testdata/00489_pk_subexpression/explain.txt new file mode 100644 index 000000000..643c5f350 --- /dev/null +++ b/parser/testdata/00489_pk_subexpression/explain.txt @@ -0,0 +1,2 @@ +DropQuery pk (children 1) + Identifier pk diff --git a/parser/testdata/00490_special_line_separators_and_characters_outside_of_bmp/explain.txt b/parser/testdata/00490_special_line_separators_and_characters_outside_of_bmp/explain.txt new file mode 100644 index 000000000..2ebdeea9d --- /dev/null +++ b/parser/testdata/00490_special_line_separators_and_characters_outside_of_bmp/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function visitParamExtractString (alias x) (children 1) + ExpressionList (children 2) + Literal \'{"x":"\\\\uD800\\\\udf38"}\' + Literal \'x\' + Function visitParamExtractString (alias y) (children 1) + ExpressionList (children 2) + Literal \'{"x":"Hello \\\\u2028 World \\\\u2029 !"}\' + Literal \'x\' + Identifier JSONEachRow diff --git a/parser/testdata/00490_with_select/explain.txt b/parser/testdata/00490_with_select/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00490_with_select/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00491_shard_distributed_and_aliases_in_where_having/explain.txt b/parser/testdata/00491_shard_distributed_and_aliases_in_where_having/explain.txt new file mode 100644 index 000000000..50a40535e --- /dev/null +++ b/parser/testdata/00491_shard_distributed_and_aliases_in_where_having/explain.txt @@ -0,0 +1,27 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier dummy + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 2) + Identifier dummy + Function not (alias x) (children 1) + ExpressionList (children 1) + Identifier dummy + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.0.0.{2,3}\' + Identifier system.one + ExpressionList (children 1) + Identifier dummy + Identifier x diff --git a/parser/testdata/00492_drop_temporary_table/explain.txt b/parser/testdata/00492_drop_temporary_table/explain.txt new file mode 100644 index 000000000..bbea9ec81 --- /dev/null +++ b/parser/testdata/00492_drop_temporary_table/explain.txt @@ -0,0 +1,2 @@ +DropQuery temp_tab (children 1) + Identifier temp_tab diff --git a/parser/testdata/00494_shard_alias_substitution_bug/explain.txt b/parser/testdata/00494_shard_alias_substitution_bug/explain.txt new file mode 100644 index 000000000..b42a45886 --- /dev/null +++ b/parser/testdata/00494_shard_alias_substitution_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery nested (children 1) + Identifier nested diff --git a/parser/testdata/00495_reading_const_zero_column/explain.txt b/parser/testdata/00495_reading_const_zero_column/explain.txt new file mode 100644 index 000000000..966c444d4 --- /dev/null +++ b/parser/testdata/00495_reading_const_zero_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery one_table (children 1) + Identifier one_table diff --git a/parser/testdata/00498_array_functions_concat_slice_push_pop/explain.txt b/parser/testdata/00498_array_functions_concat_slice_push_pop/explain.txt new file mode 100644 index 000000000..e2b6334c1 --- /dev/null +++ b/parser/testdata/00498_array_functions_concat_slice_push_pop/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'const args\' diff --git a/parser/testdata/00498_bitwise_aggregate_functions/explain.txt b/parser/testdata/00498_bitwise_aggregate_functions/explain.txt new file mode 100644 index 000000000..f58d47e74 --- /dev/null +++ b/parser/testdata/00498_bitwise_aggregate_functions/explain.txt @@ -0,0 +1,39 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 5) + Function modulo (alias k) (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_4 + Function groupArray (children 1) + ExpressionList (children 1) + Identifier number + Function groupBitOr (children 1) + ExpressionList (children 1) + Identifier number + Function groupBitAnd (children 1) + ExpressionList (children 1) + Identifier number + Function groupBitXor (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_20 + ExpressionList (children 1) + Identifier k + ExpressionList (children 1) + OrderByElement (children 1) + Identifier k diff --git a/parser/testdata/00499_json_enum_insert/explain.txt b/parser/testdata/00499_json_enum_insert/explain.txt new file mode 100644 index 000000000..a3c40095d --- /dev/null +++ b/parser/testdata/00499_json_enum_insert/explain.txt @@ -0,0 +1,2 @@ +DropQuery json (children 1) + Identifier json diff --git a/parser/testdata/00500_point_in_polygon/explain.txt b/parser/testdata/00500_point_in_polygon/explain.txt new file mode 100644 index 000000000..c5bb85cb3 --- /dev/null +++ b/parser/testdata/00500_point_in_polygon/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'inner\' diff --git a/parser/testdata/00500_point_in_polygon_2d_const/explain.txt b/parser/testdata/00500_point_in_polygon_2d_const/explain.txt new file mode 100644 index 000000000..58ab1462f --- /dev/null +++ b/parser/testdata/00500_point_in_polygon_2d_const/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function pointInPolygon (children 1) + ExpressionList (children 2) + Literal Tuple_(UInt64_0, UInt64_0) + Function array (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 4) + Literal Tuple_(UInt64_0, UInt64_0) + Literal Tuple_(UInt64_10, UInt64_0) + Literal Tuple_(UInt64_10, UInt64_10) + Literal Tuple_(UInt64_0, UInt64_10) diff --git a/parser/testdata/00500_point_in_polygon_3d_const/explain.txt b/parser/testdata/00500_point_in_polygon_3d_const/explain.txt new file mode 100644 index 000000000..a8fe758f2 --- /dev/null +++ b/parser/testdata/00500_point_in_polygon_3d_const/explain.txt @@ -0,0 +1,2 @@ +DropQuery points_test (children 1) + Identifier points_test diff --git a/parser/testdata/00500_point_in_polygon_bug/explain.txt b/parser/testdata/00500_point_in_polygon_bug/explain.txt new file mode 100644 index 000000000..12875da7a --- /dev/null +++ b/parser/testdata/00500_point_in_polygon_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery coords (children 1) + Identifier coords diff --git a/parser/testdata/00500_point_in_polygon_bug_2/explain.txt b/parser/testdata/00500_point_in_polygon_bug_2/explain.txt new file mode 100644 index 000000000..0ccae9d90 --- /dev/null +++ b/parser/testdata/00500_point_in_polygon_bug_2/explain.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function pointInPolygon (children 1) + ExpressionList (children 2) + Literal Tuple_(Float64_35.45285, Float64_58.72587) + Function array (children 1) + ExpressionList (children 11) + Literal Tuple_(Float64_32.947998, Float64_59.506455) + Literal Tuple_(Float64_34.222412, Float64_59.215312) + Literal Tuple_(Float64_33.343506, Float64_58.551061) + Literal Tuple_(Float64_34.859619, Float64_58.938673) + Literal Tuple_(Float64_36.463623, Float64_58.528125) + Literal Tuple_(Float64_35.397949, Float64_59.215312) + Literal Tuple_(Float64_36.804199, Float64_59.495303) + Literal Tuple_(Float64_35.2771, Float64_59.50088) + Literal Tuple_(Float64_34.892578, Float64_60.267066) + Literal Tuple_(Float64_34.343262, Float64_59.517603) + Literal Tuple_(Float64_32.947998, Float64_59.506455) diff --git a/parser/testdata/00500_point_in_polygon_bug_3_linestring_rotation_precision/explain.txt b/parser/testdata/00500_point_in_polygon_bug_3_linestring_rotation_precision/explain.txt new file mode 100644 index 000000000..7f08ea451 --- /dev/null +++ b/parser/testdata/00500_point_in_polygon_bug_3_linestring_rotation_precision/explain.txt @@ -0,0 +1,361 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function pointInPolygon (children 1) + ExpressionList (children 2) + Literal Tuple_(Float64_106.6671509, Float64_10.7674952) + Function array (children 1) + ExpressionList (children 352) + Literal Tuple_(Float64_106.667161868227, Float64_10.7674952) + Literal Tuple_(Float64_106.667165727127, Float64_10.7675059912261) + Literal Tuple_(Float64_106.667170817563, Float64_10.7674904752629) + Literal Tuple_(Float64_106.667229225265, Float64_10.7672278502066) + Literal Tuple_(Float64_106.667231193621, Float64_10.7672115129572) + Literal Tuple_(Float64_106.667229912029, Float64_10.7671951075415) + Literal Tuple_(Float64_106.667225430503, Float64_10.767179274157) + Literal Tuple_(Float64_106.667217923927, Float64_10.7671646306786) + Literal Tuple_(Float64_106.667207685234, Float64_10.7671517485471) + Literal Tuple_(Float64_106.667195113975, Float64_10.7671411304688) + Literal Tuple_(Float64_106.667180700725, Float64_10.7671331907989) + Literal Tuple_(Float64_106.66716500794, Float64_10.7671282393715) + Literal Tuple_(Float64_106.666628232995, Float64_10.7670156787539) + Literal Tuple_(Float64_106.666612233649, Float64_10.7670139127584) + Literal Tuple_(Float64_106.666596193354, Float64_10.7670152569112) + Literal Tuple_(Float64_106.666580711053, Float64_10.7670196610218) + Literal Tuple_(Float64_106.666566364856, Float64_10.7670269606408) + Literal Tuple_(Float64_106.666553690448, Float64_10.7670368832008) + Literal Tuple_(Float64_106.666543161092, Float64_10.767049058194) + Literal Tuple_(Float64_106.666535169952, Float64_10.7670630310067) + Literal Tuple_(Float64_106.666530015418, Float64_10.7670782798948) + Literal Tuple_(Float64_106.666482284259, Float64_10.7672828714379) + Literal Tuple_(Float64_106.666480170141, Float64_10.7672985245675) + Literal Tuple_(Float64_106.666481048788, Float64_10.7673142953614) + Literal Tuple_(Float64_106.666484888609, Float64_10.7673296167758) + Literal Tuple_(Float64_106.666491551541, Float64_10.7673439379244) + Literal Tuple_(Float64_106.666500798017, Float64_10.7673567438858) + Literal Tuple_(Float64_106.666512295576, Float64_10.7673675742178) + Literal Tuple_(Float64_106.666525630821, Float64_10.7673760395122) + Literal Tuple_(Float64_106.667032331859, Float64_10.7676338521733) + Literal Tuple_(Float64_106.6671413386, Float64_10.7676893154858) + Literal Tuple_(Float64_106.667371048786, Float64_10.7678061934666) + Literal Tuple_(Float64_106.667552760053, Float64_10.7678987010209) + Literal Tuple_(Float64_106.667801848625, Float64_10.7680278028917) + Literal Tuple_(Float64_106.667817742281, Float64_10.7680340673957) + Literal Tuple_(Float64_106.667834579682, Float64_10.7680369577679) + Literal Tuple_(Float64_106.66785165264, Float64_10.7680363524383) + Literal Tuple_(Float64_106.667868243061, Float64_10.7680322768672) + Literal Tuple_(Float64_106.667878683314, Float64_10.7680285412847) + Literal Tuple_(Float64_106.667885469819, Float64_10.7680268413536) + Literal Tuple_(Float64_106.667892390269, Float64_10.7680258148018) + Literal Tuple_(Float64_106.667899378015, Float64_10.7680254715159) + Literal Tuple_(Float64_106.667906365761, Float64_10.7680258148018) + Literal Tuple_(Float64_106.667913286211, Float64_10.7680268413536) + Literal Tuple_(Float64_106.667920072716, Float64_10.7680285412847) + Literal Tuple_(Float64_106.667926659921, Float64_10.7680308982244) + Literal Tuple_(Float64_106.667932984386, Float64_10.7680338894736) + Literal Tuple_(Float64_106.667938985204, Float64_10.7680374862253) + Literal Tuple_(Float64_106.667944604583, Float64_10.7680416538412) + Literal Tuple_(Float64_106.667949788405, Float64_10.7680463521828) + Literal Tuple_(Float64_106.667954486747, Float64_10.7680515360051) + Literal Tuple_(Float64_106.667958654362, Float64_10.7680571553826) + Literal Tuple_(Float64_106.667962251113, Float64_10.7680631561994) + Literal Tuple_(Float64_106.667965242363, Float64_10.7680694806664) + Literal Tuple_(Float64_106.667967599303, Float64_10.7680760678724) + Literal Tuple_(Float64_106.667969299234, Float64_10.7680828543774) + Literal Tuple_(Float64_106.667970926246, Float64_10.7680938227996) + Literal Tuple_(Float64_106.667974657027, Float64_10.7681089916695) + Literal Tuple_(Float64_106.667981154238, Float64_10.7681231972879) + Literal Tuple_(Float64_106.667990189396, Float64_10.7681359400994) + Literal Tuple_(Float64_106.668001444773, Float64_10.7681467719897) + Literal Tuple_(Float64_106.668014524559, Float64_10.7681553120441) + Literal Tuple_(Float64_106.668198488147, Float64_10.7682521458591) + Literal Tuple_(Float64_106.669562015793, Float64_10.7689901124345) + Literal Tuple_(Float64_106.669614757162, Float64_10.7690820717448) + Literal Tuple_(Float64_106.669623023723, Float64_10.7690939566151) + Literal Tuple_(Float64_106.669633223154, Float64_10.7691042307472) + Literal Tuple_(Float64_106.669645047385, Float64_10.7691125838155) + Literal Tuple_(Float64_106.670748051536, Float64_10.7697559307954) + Literal Tuple_(Float64_106.670751419717, Float64_10.7697577924329) + Literal Tuple_(Float64_106.671035494073, Float64_10.7699063431327) + Literal Tuple_(Float64_106.671270162713, Float64_10.7700364834325) + Literal Tuple_(Float64_106.67127192876, Float64_10.7700374352053) + Literal Tuple_(Float64_106.671437929267, Float64_10.7701243344783) + Literal Tuple_(Float64_106.671665917937, Float64_10.7702517637461) + Literal Tuple_(Float64_106.67166656035, Float64_10.7702521191025) + Literal Tuple_(Float64_106.671943689514, Float64_10.7704038245574) + Literal Tuple_(Float64_106.671943806749, Float64_10.7704038886117) + Literal Tuple_(Float64_106.6722776446, Float64_10.7705859421916) + Literal Tuple_(Float64_106.672278295949, Float64_10.7705862936499) + Literal Tuple_(Float64_106.673020324076, Float64_10.7709824352208) + Literal Tuple_(Float64_106.673433726727, Float64_10.7712057751884) + Literal Tuple_(Float64_106.673694081332, Float64_10.7713489702214) + Literal Tuple_(Float64_106.673977066657, Float64_10.7715146655761) + Literal Tuple_(Float64_106.674254247937, Float64_10.7716778144336) + Literal Tuple_(Float64_106.67440928634, Float64_10.7717698954974) + Literal Tuple_(Float64_106.674658478275, Float64_10.7719268836667) + Literal Tuple_(Float64_106.674658802254, Float64_10.7719270867325) + Literal Tuple_(Float64_106.6748919449, Float64_10.7720724734391) + Literal Tuple_(Float64_106.675071660589, Float64_10.7721853602936) + Literal Tuple_(Float64_106.675350447469, Float64_10.7723606751059) + Literal Tuple_(Float64_106.675350748696, Float64_10.7723608636368) + Literal Tuple_(Float64_106.6756252856, Float64_10.7725318758852) + Literal Tuple_(Float64_106.675888735092, Float64_10.7726957126602) + Literal Tuple_(Float64_106.676114500069, Float64_10.7728361211927) + Literal Tuple_(Float64_106.676379504941, Float64_10.7730007692002) + Literal Tuple_(Float64_106.67661713771, Float64_10.7731502653527) + Literal Tuple_(Float64_106.676617572241, Float64_10.773150536857) + Literal Tuple_(Float64_106.676852995814, Float64_10.7732966297465) + Literal Tuple_(Float64_106.677284352687, Float64_10.7735807849214) + Literal Tuple_(Float64_106.677738143311, Float64_10.7738851794554) + Literal Tuple_(Float64_106.677752655777, Float64_10.7738929549383) + Literal Tuple_(Float64_106.677768414072, Float64_10.773897724206) + Literal Tuple_(Float64_106.677784802596, Float64_10.7738993009456) + Literal Tuple_(Float64_106.677801181124, Float64_10.7738976235612) + Literal Tuple_(Float64_106.677816909825, Float64_10.7738927575805) + Literal Tuple_(Float64_106.677831374252, Float64_10.7738848930944) + Literal Tuple_(Float64_106.677844009349, Float64_10.7738743373313) + Literal Tuple_(Float64_106.677920079221, Float64_10.7737967983562) + Literal Tuple_(Float64_106.678239245717, Float64_10.7735243703649) + Literal Tuple_(Float64_106.67839926068, Float64_10.7733892116467) + Literal Tuple_(Float64_106.678400691571, Float64_10.7733879749217) + Literal Tuple_(Float64_106.678515896101, Float64_10.7732860955802) + Literal Tuple_(Float64_106.678557979259, Float64_10.7732504310319) + Literal Tuple_(Float64_106.67855930664, Float64_10.7732492818517) + Literal Tuple_(Float64_106.679033975331, Float64_10.7728295048433) + Literal Tuple_(Float64_106.679053201911, Float64_10.772844898411) + Literal Tuple_(Float64_106.679632133733, Float64_10.7733262832973) + Literal Tuple_(Float64_106.679771732358, Float64_10.7734524450384) + Literal Tuple_(Float64_106.679773325229, Float64_10.7734538481348) + Literal Tuple_(Float64_106.680011463819, Float64_10.7736582857586) + Literal Tuple_(Float64_106.680175801881, Float64_10.7738018862846) + Literal Tuple_(Float64_106.680176891116, Float64_10.7738028216402) + Literal Tuple_(Float64_106.680320149367, Float64_10.773923712053) + Literal Tuple_(Float64_106.680672123374, Float64_10.7742204563391) + Literal Tuple_(Float64_106.68094213423, Float64_10.7744504786771) + Literal Tuple_(Float64_106.68094233625, Float64_10.7744506502241) + Literal Tuple_(Float64_106.68124725775, Float64_10.7747087432576) + Literal Tuple_(Float64_106.681247329066, Float64_10.7747088035527) + Literal Tuple_(Float64_106.681470746982, Float64_10.7748974804345) + Literal Tuple_(Float64_106.681471338135, Float64_10.7748979749973) + Literal Tuple_(Float64_106.681840030697, Float64_10.7752035373868) + Literal Tuple_(Float64_106.682304929691, Float64_10.7756040772245) + Literal Tuple_(Float64_106.682308650112, Float64_10.7756071005185) + Literal Tuple_(Float64_106.682312917236, Float64_10.7756103687835) + Literal Tuple_(Float64_106.682359764439, Float64_10.7756490693986) + Literal Tuple_(Float64_106.682640114944, Float64_10.7758996628849) + Literal Tuple_(Float64_106.682644070655, Float64_10.7759029839554) + Literal Tuple_(Float64_106.682711710544, Float64_10.7759562859055) + Literal Tuple_(Float64_106.682806505954, Float64_10.7760368956153) + Literal Tuple_(Float64_106.68280745353, Float64_10.776037689352) + Literal Tuple_(Float64_106.683169164535, Float64_10.7763361378178) + Literal Tuple_(Float64_106.68363265876, Float64_10.7767252395911) + Literal Tuple_(Float64_106.683677875719, Float64_10.7767650291442) + Literal Tuple_(Float64_106.683797775698, Float64_10.77688614766) + Literal Tuple_(Float64_106.684138558845, Float64_10.7772306328105) + Literal Tuple_(Float64_106.68414063031, Float64_10.7772326552454) + Literal Tuple_(Float64_106.684827531639, Float64_10.777880369263) + Literal Tuple_(Float64_106.685228619785, Float64_10.7782605077038) + Literal Tuple_(Float64_106.685228896163, Float64_10.7782607684525) + Literal Tuple_(Float64_106.686025996525, Float64_10.7790093622583) + Literal Tuple_(Float64_106.686026813787, Float64_10.7790101368229) + Literal Tuple_(Float64_106.68658269265, Float64_10.7795369738106) + Literal Tuple_(Float64_106.687194479537, Float64_10.7801158277128) + Literal Tuple_(Float64_106.688401155505, Float64_10.7812670656457) + Literal Tuple_(Float64_106.688401571342, Float64_10.7812674596561) + Literal Tuple_(Float64_106.689622367701, Float64_10.7824162362891) + Literal Tuple_(Float64_106.690002723257, Float64_10.7827815572149) + Literal Tuple_(Float64_106.690002908997, Float64_10.7827817350625) + Literal Tuple_(Float64_106.690359062158, Float64_10.7831217027417) + Literal Tuple_(Float64_106.690359638585, Float64_10.7831222477508) + Literal Tuple_(Float64_106.690747557266, Float64_10.7834855403784) + Literal Tuple_(Float64_106.691628272565, Float64_10.7843952548301) + Literal Tuple_(Float64_106.692179613338, Float64_10.7849709155958) + Literal Tuple_(Float64_106.692179802225, Float64_10.7849711121697) + Literal Tuple_(Float64_106.692743910048, Float64_10.7855562574979) + Literal Tuple_(Float64_106.693288875836, Float64_10.7861225208133) + Literal Tuple_(Float64_106.693601234729, Float64_10.7864484801726) + Literal Tuple_(Float64_106.69220838651, Float64_10.7875617536129) + Literal Tuple_(Float64_106.692196691453, Float64_10.787573150248) + Literal Tuple_(Float64_106.692187444486, Float64_10.7875866094924) + Literal Tuple_(Float64_106.692181000965, Float64_10.7876016141149) + Literal Tuple_(Float64_106.692177608512, Float64_10.7876175874962) + Literal Tuple_(Float64_106.692177397496, Float64_10.7876339157883) + Literal Tuple_(Float64_106.692180376026, Float64_10.7876499715041) + Literal Tuple_(Float64_106.692186429639, Float64_10.7876651376314) + Literal Tuple_(Float64_106.692195325699, Float64_10.7876788313445) + Literal Tuple_(Float64_106.692206722334, Float64_10.7876905264015) + Literal Tuple_(Float64_106.692220181578, Float64_10.7876997733682) + Literal Tuple_(Float64_106.692235186201, Float64_10.7877062168886) + Literal Tuple_(Float64_106.692251159582, Float64_10.787709609342) + Literal Tuple_(Float64_106.692267487874, Float64_10.7877098203582) + Literal Tuple_(Float64_106.69228354359, Float64_10.7877068418281) + Literal Tuple_(Float64_106.692298709717, Float64_10.7877007882148) + Literal Tuple_(Float64_106.69231240343, Float64_10.7876918921553) + Literal Tuple_(Float64_106.693776442708, Float64_10.7865217172423) + Literal Tuple_(Float64_106.693788736175, Float64_10.7865096022178) + Literal Tuple_(Float64_106.693798269005, Float64_10.7864952137411) + Literal Tuple_(Float64_106.693804631934, Float64_10.7864791695437) + Literal Tuple_(Float64_106.693807551784, Float64_10.7864621584413) + Literal Tuple_(Float64_106.693806903199, Float64_10.7864449107613) + Literal Tuple_(Float64_106.693802714026, Float64_10.7864281669878) + Literal Tuple_(Float64_106.693795164114, Float64_10.786412645971) + Literal Tuple_(Float64_106.693784577601, Float64_10.7863990140651) + Literal Tuple_(Float64_106.69340910087, Float64_10.7860071886444) + Literal Tuple_(Float64_106.69340897739, Float64_10.7860070600637) + Literal Tuple_(Float64_106.692863924954, Float64_10.7854407067139) + Literal Tuple_(Float64_106.69229983717, Float64_10.7848555821281) + Literal Tuple_(Float64_106.691748435669, Float64_10.7842798579551) + Literal Tuple_(Float64_106.691748124777, Float64_10.7842795350934) + Literal Tuple_(Float64_106.690865834778, Float64_10.7833681940925) + Literal Tuple_(Float64_106.690862927107, Float64_10.7833653342196) + Literal Tuple_(Float64_106.690473809086, Float64_10.7830009183885) + Literal Tuple_(Float64_106.690118035849, Float64_10.7826613133679) + Literal Tuple_(Float64_106.689737465891, Float64_10.7822957865149) + Literal Tuple_(Float64_106.689736848623, Float64_10.7822951996834) + Literal Tuple_(Float64_106.688515950726, Float64_10.7811463275029) + Literal Tuple_(Float64_106.687309357068, Float64_10.7799951680976) + Literal Tuple_(Float64_106.687309106711, Float64_10.779994930232) + Literal Tuple_(Float64_106.686697270266, Float64_10.7794160294802) + Literal Tuple_(Float64_106.686141416688, Float64_10.7788892164565) + Literal Tuple_(Float64_106.686140461741, Float64_10.7788883114) + Literal Tuple_(Float64_106.686140185762, Float64_10.7788880510296) + Literal Tuple_(Float64_106.6853430856, Float64_10.7781394574112) + Literal Tuple_(Float64_106.684942058447, Float64_10.7777593767781) + Literal Tuple_(Float64_106.684941904463, Float64_10.7777592312084) + Literal Tuple_(Float64_106.684255979358, Float64_10.7771124377212) + Literal Tuple_(Float64_106.683916204215, Float64_10.776768971525) + Literal Tuple_(Float64_106.683794256559, Float64_10.7766457845149) + Literal Tuple_(Float64_106.68379008676, Float64_10.7766418525893) + Literal Tuple_(Float64_106.683741989497, Float64_10.7765995284558) + Literal Tuple_(Float64_106.683740519326, Float64_10.7765982647987) + Literal Tuple_(Float64_106.683276011394, Float64_10.7762083120217) + Literal Tuple_(Float64_106.683275466929, Float64_10.7762078588774) + Literal Tuple_(Float64_106.68291395946, Float64_10.77590957835) + Literal Tuple_(Float64_106.682818451152, Float64_10.775828362424) + Literal Tuple_(Float64_106.682816046951, Float64_10.7758263940715) + Literal Tuple_(Float64_106.682749215964, Float64_10.7757737295564) + Literal Tuple_(Float64_106.682469581984, Float64_10.775523776542) + Literal Tuple_(Float64_106.682467121137, Float64_10.7755216616573) + Literal Tuple_(Float64_106.682417839663, Float64_10.775480950083) + Literal Tuple_(Float64_106.68241543796, Float64_10.7754790393628) + Literal Tuple_(Float64_106.682411856108, Float64_10.7754762959601) + Literal Tuple_(Float64_106.681948170223, Float64_10.775076801292) + Literal Tuple_(Float64_106.681946953215, Float64_10.7750757728772) + Literal Tuple_(Float64_106.681577943952, Float64_10.7747699480145) + Literal Tuple_(Float64_106.681354856141, Float64_10.7745815499075) + Literal Tuple_(Float64_106.681050071432, Float64_10.7743235726569) + Literal Tuple_(Float64_106.680779998801, Float64_10.774093497693) + Literal Tuple_(Float64_106.680779672798, Float64_10.7740932214111) + Literal Tuple_(Float64_106.680427578845, Float64_10.7737963760106) + Literal Tuple_(Float64_106.680284883706, Float64_10.7736759607876) + Literal Tuple_(Float64_106.680120811518, Float64_10.7735325925854) + Literal Tuple_(Float64_106.680120259999, Float64_10.7735321149047) + Literal Tuple_(Float64_106.679882649978, Float64_10.7733281310479) + Literal Tuple_(Float64_106.679742564868, Float64_10.7732015296478) + Literal Tuple_(Float64_106.67973997054, Float64_10.7731992804165) + Literal Tuple_(Float64_106.679159125009, Float64_10.772716304271) + Literal Tuple_(Float64_106.679157929246, Float64_10.7727153285815) + Literal Tuple_(Float64_106.679083371982, Float64_10.7726556350576) + Literal Tuple_(Float64_106.679069423592, Float64_10.7726465921904) + Literal Tuple_(Float64_106.679053957365, Float64_10.7726404990091) + Literal Tuple_(Float64_106.679037589221, Float64_10.7726375981655) + Literal Tuple_(Float64_106.679020970997, Float64_10.7726380051815) + Literal Tuple_(Float64_106.679004764489, Float64_10.7726417038483) + Literal Tuple_(Float64_106.678989615098, Float64_10.7726485468719) + Literal Tuple_(Float64_106.678976126125, Float64_10.772658261739) + Literal Tuple_(Float64_106.678449597495, Float64_10.7731239014943) + Literal Tuple_(Float64_106.678407514754, Float64_10.773159565689) + Literal Tuple_(Float64_106.678406188192, Float64_10.7731607141448) + Literal Tuple_(Float64_106.678291034854, Float64_10.7732625482153) + Literal Tuple_(Float64_106.678131577851, Float64_10.7733972356454) + Literal Tuple_(Float64_106.678131249559, Float64_10.7733975143985) + Literal Tuple_(Float64_106.677809116892, Float64_10.7736724741964) + Literal Tuple_(Float64_106.677803734254, Float64_10.7736774962862) + Literal Tuple_(Float64_106.67777351642, Float64_10.773708297704) + Literal Tuple_(Float64_106.677376870851, Float64_10.7734422350384) + Literal Tuple_(Float64_106.677376291861, Float64_10.7734418501559) + Literal Tuple_(Float64_106.676943701895, Float64_10.7731568826838) + Literal Tuple_(Float64_106.676941799819, Float64_10.7731556663352) + Literal Tuple_(Float64_106.676705634648, Float64_10.7730091132449) + Literal Tuple_(Float64_106.676468020922, Float64_10.7728596290723) + Literal Tuple_(Float64_106.676467624617, Float64_10.7728593813034) + Literal Tuple_(Float64_106.676202468827, Float64_10.7726946395397) + Literal Tuple_(Float64_106.675976718772, Float64_10.7725542402878) + Literal Tuple_(Float64_106.675713344944, Float64_10.7723904505946) + Literal Tuple_(Float64_106.675438984881, Float64_10.7722195485022) + Literal Tuple_(Float64_106.675160330528, Float64_10.7720443170291) + Literal Tuple_(Float64_106.674980445983, Float64_10.7719313240966) + Literal Tuple_(Float64_106.674980215342, Float64_10.7719311797465) + Literal Tuple_(Float64_106.674747119479, Float64_10.7717858222138) + Literal Tuple_(Float64_106.674497164595, Float64_10.7716283533947) + Literal Tuple_(Float64_106.674495300219, Float64_10.7716272127471) + Literal Tuple_(Float64_106.674339180867, Float64_10.7715344896819) + Literal Tuple_(Float64_106.674338897981, Float64_10.771534322423) + Literal Tuple_(Float64_106.674061493048, Float64_10.7713710419232) + Literal Tuple_(Float64_106.674061328848, Float64_10.7713709455279) + Literal Tuple_(Float64_106.673777295695, Float64_10.7712046366425) + Literal Tuple_(Float64_106.673775349509, Float64_10.7712035319333) + Literal Tuple_(Float64_106.673513740027, Float64_10.7710596467179) + Literal Tuple_(Float64_106.673513190173, Float64_10.7710593469847) + Literal Tuple_(Float64_106.673099330442, Float64_10.7708357600807) + Literal Tuple_(Float64_106.673098966779, Float64_10.7708355647753) + Literal Tuple_(Float64_106.672357083034, Float64_10.7704395002842) + Literal Tuple_(Float64_106.672023628724, Float64_10.7702576558632) + Literal Tuple_(Float64_106.671746880137, Float64_10.7701061587426) + Literal Tuple_(Float64_106.671518215262, Float64_10.7699783515251) + Literal Tuple_(Float64_106.671516207112, Float64_10.7699772649622) + Literal Tuple_(Float64_106.671350083838, Float64_10.7698903014222) + Literal Tuple_(Float64_106.671115399209, Float64_10.7697601522552) + Literal Tuple_(Float64_106.671113600766, Float64_10.7697591835329) + Literal Tuple_(Float64_106.670830326847, Float64_10.7696110514048) + Literal Tuple_(Float64_106.66974820551, Float64_10.7689798847013) + Literal Tuple_(Float64_106.66969475177, Float64_10.7688866833063) + Literal Tuple_(Float64_106.669685913661, Float64_10.7688741199651) + Literal Tuple_(Float64_106.669674918986, Float64_10.7688633930448) + Literal Tuple_(Float64_106.669662141606, Float64_10.7688548673033) + Literal Tuple_(Float64_106.668277363011, Float64_10.7681053993183) + Literal Tuple_(Float64_106.668276514094, Float64_10.7681049461882) + Literal Tuple_(Float64_106.668126503268, Float64_10.7680259842551) + Literal Tuple_(Float64_106.668125839186, Float64_10.7680237950692) + Literal Tuple_(Float64_106.66812072496, Float64_10.7680095017658) + Literal Tuple_(Float64_106.668117596648, Float64_10.7680019493532) + Literal Tuple_(Float64_106.66811110606, Float64_10.7679882261576) + Literal Tuple_(Float64_106.668107252546, Float64_10.7679810167398) + Literal Tuple_(Float64_106.668099448104, Float64_10.7679679958141) + Literal Tuple_(Float64_106.668094906497, Float64_10.767961198818) + Literal Tuple_(Float64_106.668085863361, Float64_10.7679490055608) + Literal Tuple_(Float64_106.668080677403, Float64_10.7679426864524) + Literal Tuple_(Float64_106.668070482664, Float64_10.7679314382913) + Literal Tuple_(Float64_106.668064702296, Float64_10.7679256579236) + Literal Tuple_(Float64_106.668053454135, Float64_10.7679154631847) + Literal Tuple_(Float64_106.668047135024, Float64_10.7679102772246) + Literal Tuple_(Float64_106.668034941766, Float64_10.7679012340887) + Literal Tuple_(Float64_106.668028144776, Float64_10.7678966924853) + Literal Tuple_(Float64_106.668015123851, Float64_10.7678888880428) + Literal Tuple_(Float64_106.668007914429, Float64_10.7678850345264) + Literal Tuple_(Float64_106.667994191233, Float64_10.7678785439383) + Literal Tuple_(Float64_106.667986638821, Float64_10.7678754156266) + Literal Tuple_(Float64_106.667972345518, Float64_10.7678703014008) + Literal Tuple_(Float64_106.667964522841, Float64_10.7678679284177) + Literal Tuple_(Float64_106.667949797082, Float64_10.7678642398071) + Literal Tuple_(Float64_106.667941779481, Float64_10.7678626450072) + Literal Tuple_(Float64_106.667926763083, Float64_10.767860417535) + Literal Tuple_(Float64_106.667918627772, Float64_10.7678596162768) + Literal Tuple_(Float64_106.667903465352, Float64_10.7678588713949) + Literal Tuple_(Float64_106.667895290678, Float64_10.7678588713949) + Literal Tuple_(Float64_106.667880128258, Float64_10.7678596162768) + Literal Tuple_(Float64_106.667871992947, Float64_10.767860417535) + Literal Tuple_(Float64_106.667856976549, Float64_10.7678626450072) + Literal Tuple_(Float64_106.667848958948, Float64_10.7678642398071) + Literal Tuple_(Float64_106.667848526162, Float64_10.7678643482145) + Literal Tuple_(Float64_106.667629153721, Float64_10.7677506481269) + Literal Tuple_(Float64_106.667628614008, Float64_10.7677503708842) + Literal Tuple_(Float64_106.66744662399, Float64_10.7676577214203) + Literal Tuple_(Float64_106.667216888626, Float64_10.7675408306262) + Literal Tuple_(Float64_106.667161868227, Float64_10.7675128359024) + Literal Tuple_(Float64_106.667012119458, Float64_10.7674366427911) + Literal Tuple_(Float64_106.666659357657, Float64_10.7672571553777) + Literal Tuple_(Float64_106.666673753979, Float64_10.7671954479766) + Literal Tuple_(Float64_106.667048293768, Float64_10.7672739882109) + Literal Tuple_(Float64_106.6670141, Float64_10.7674274) diff --git a/parser/testdata/00500_point_in_polygon_empty_bound/explain.txt b/parser/testdata/00500_point_in_polygon_empty_bound/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00500_point_in_polygon_empty_bound/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00500_point_in_polygon_nan/explain.txt b/parser/testdata/00500_point_in_polygon_nan/explain.txt new file mode 100644 index 000000000..b27febe28 --- /dev/null +++ b/parser/testdata/00500_point_in_polygon_nan/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function pointInPolygon (children 1) + ExpressionList (children 2) + Literal Tuple_(Float64_nan, Float64_10.000100135803223) + Function array (children 1) + ExpressionList (children 8) + Literal Tuple_(Float64_39.83154, Float64_21.41527) + Literal Tuple_(Float64_2, Float64_1000.0001220703125) + Literal Tuple_(Float64_39.90033, Float64_21.37195) + Literal Tuple_(Float64_1.000100016593933, Float64_10.000100135803223) + Literal Tuple_(Float64_39.83051, Float64_21.42553) + Literal Tuple_(Float64_39.82898, Float64_21.41382) + Literal Tuple_(Float64_39.83043, Float64_21.41432) + Literal Tuple_(Float64_39.83154, Float64_21.41527) diff --git a/parser/testdata/00500_point_in_polygon_non_const_poly/explain.txt b/parser/testdata/00500_point_in_polygon_non_const_poly/explain.txt new file mode 100644 index 000000000..274b50822 --- /dev/null +++ b/parser/testdata/00500_point_in_polygon_non_const_poly/explain.txt @@ -0,0 +1,2 @@ +DropQuery polygons (children 1) + Identifier polygons diff --git a/parser/testdata/00502_custom_partitioning_local/explain.txt b/parser/testdata/00502_custom_partitioning_local/explain.txt new file mode 100644 index 000000000..f4c521dc2 --- /dev/null +++ b/parser/testdata/00502_custom_partitioning_local/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'*** Not partitioned ***\' diff --git a/parser/testdata/00502_custom_partitioning_replicated_zookeeper_long/explain.txt b/parser/testdata/00502_custom_partitioning_replicated_zookeeper_long/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00502_custom_partitioning_replicated_zookeeper_long/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00502_string_concat_with_array/explain.txt b/parser/testdata/00502_string_concat_with_array/explain.txt new file mode 100644 index 000000000..b9982b121 --- /dev/null +++ b/parser/testdata/00502_string_concat_with_array/explain.txt @@ -0,0 +1,28 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Identifier a + Function concat (children 1) + ExpressionList (children 2) + Identifier b + Identifier b + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Function array (alias a) (children 1) + ExpressionList (children 1) + Identifier number + Function toString (alias b) (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_2 diff --git a/parser/testdata/00502_sum_map/explain.txt b/parser/testdata/00502_sum_map/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00502_sum_map/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00503_cast_const_nullable/explain.txt b/parser/testdata/00503_cast_const_nullable/explain.txt new file mode 100644 index 000000000..653168373 --- /dev/null +++ b/parser/testdata/00503_cast_const_nullable/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function CAST (alias id) (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal \'Nullable(UInt8)\' + Function equals (children 1) + ExpressionList (children 2) + Identifier id + Function CAST (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal \'Nullable(UInt8)\' diff --git a/parser/testdata/00504_mergetree_arrays_rw/explain.txt b/parser/testdata/00504_mergetree_arrays_rw/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00504_mergetree_arrays_rw/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00506_shard_global_in_union/explain.txt b/parser/testdata/00506_shard_global_in_union/explain.txt new file mode 100644 index 000000000..87157d2a1 --- /dev/null +++ b/parser/testdata/00506_shard_global_in_union/explain.txt @@ -0,0 +1,31 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier X + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 2) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_1 (alias X) + Literal UInt64_2 (alias Y) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_3 + Literal UInt64_4 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier X diff --git a/parser/testdata/00506_union_distributed/explain.txt b/parser/testdata/00506_union_distributed/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00506_union_distributed/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00507_sumwithoverflow/explain.txt b/parser/testdata/00507_sumwithoverflow/explain.txt new file mode 100644 index 000000000..6bf856efd --- /dev/null +++ b/parser/testdata/00507_sumwithoverflow/explain.txt @@ -0,0 +1,25 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function toTypeName (children 1) + ExpressionList (children 1) + Function sum (children 1) + ExpressionList (children 1) + Identifier n + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function toUInt16 (alias n) (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_100 diff --git a/parser/testdata/00508_materialized_view_to/explain.txt b/parser/testdata/00508_materialized_view_to/explain.txt new file mode 100644 index 000000000..2f2ec6dfe --- /dev/null +++ b/parser/testdata/00508_materialized_view_to/explain.txt @@ -0,0 +1,8 @@ +CreateQuery src (children 3) + Identifier src + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration x (children 1) + DataType UInt8 + Storage definition (children 1) + Function Null diff --git a/parser/testdata/00509_extended_storage_definition_syntax_zookeeper/explain.txt b/parser/testdata/00509_extended_storage_definition_syntax_zookeeper/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00509_extended_storage_definition_syntax_zookeeper/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00510_materizlized_view_and_deduplication_zookeeper/explain.txt b/parser/testdata/00510_materizlized_view_and_deduplication_zookeeper/explain.txt new file mode 100644 index 000000000..d2e7782f4 --- /dev/null +++ b/parser/testdata/00510_materizlized_view_and_deduplication_zookeeper/explain.txt @@ -0,0 +1,2 @@ +DropQuery with_deduplication (children 1) + Identifier with_deduplication diff --git a/parser/testdata/00511_get_size_of_enum/explain.txt b/parser/testdata/00511_get_size_of_enum/explain.txt new file mode 100644 index 000000000..a496ebc1a --- /dev/null +++ b/parser/testdata/00511_get_size_of_enum/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function getSizeOfEnumType (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal \'Enum8(\\\'a\\\' = 1, \\\'b\\\' = 2)\' diff --git a/parser/testdata/00513_fractional_time_zones/explain.txt b/parser/testdata/00513_fractional_time_zones/explain.txt new file mode 100644 index 000000000..6c5cba9be --- /dev/null +++ b/parser/testdata/00513_fractional_time_zones/explain.txt @@ -0,0 +1,30 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function plus (alias t) (children 1) + ExpressionList (children 2) + Function toDateTime (children 1) + ExpressionList (children 1) + Literal UInt64_1509138000 + Function multiply (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_300 + ExpressionList (children 2) + Function toHour (alias h) (children 1) + ExpressionList (children 2) + Identifier t + Literal \'Asia/Kolkata\' + Function toString (alias h_start) (children 1) + ExpressionList (children 2) + Function toStartOfHour (children 1) + ExpressionList (children 2) + Identifier t + Literal \'Asia/Kolkata\' + Literal \'Asia/Kolkata\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_12 diff --git a/parser/testdata/00514_interval_operators/explain.txt b/parser/testdata/00514_interval_operators/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00514_interval_operators/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00515_enhanced_time_zones/explain.txt b/parser/testdata/00515_enhanced_time_zones/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00515_enhanced_time_zones/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00515_gcd_lcm/explain.txt b/parser/testdata/00515_gcd_lcm/explain.txt new file mode 100644 index 000000000..14d8f81a9 --- /dev/null +++ b/parser/testdata/00515_gcd_lcm/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function gcd (children 1) + ExpressionList (children 2) + Literal UInt64_1280 + Literal UInt64_1024 diff --git a/parser/testdata/00515_shard_desc_table_functions_and_subqueries/explain.txt b/parser/testdata/00515_shard_desc_table_functions_and_subqueries/explain.txt new file mode 100644 index 000000000..0a00b06d1 --- /dev/null +++ b/parser/testdata/00515_shard_desc_table_functions_and_subqueries/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab (children 1) + Identifier tab diff --git a/parser/testdata/00516_deduplication_after_drop_partition_zookeeper/explain.txt b/parser/testdata/00516_deduplication_after_drop_partition_zookeeper/explain.txt new file mode 100644 index 000000000..4857e8d89 --- /dev/null +++ b/parser/testdata/00516_deduplication_after_drop_partition_zookeeper/explain.txt @@ -0,0 +1,2 @@ +DropQuery deduplication_by_partition (children 1) + Identifier deduplication_by_partition diff --git a/parser/testdata/00516_is_inf_nan/explain.txt b/parser/testdata/00516_is_inf_nan/explain.txt new file mode 100644 index 000000000..36852efb0 --- /dev/null +++ b/parser/testdata/00516_is_inf_nan/explain.txt @@ -0,0 +1,61 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 4) + Identifier x + Function isFinite (children 1) + ExpressionList (children 1) + Identifier x + Function isInfinite (children 1) + ExpressionList (children 1) + Identifier x + Function isNaN (children 1) + ExpressionList (children 1) + Identifier x + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayJoin (alias x) (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 14) + Literal UInt64_0 + Literal UInt64_1 + Literal Int64_-1 + Literal Float64_inf + Literal Float64_-inf + Literal Float64_nan + Literal Float64_nan + Function divide (children 1) + ExpressionList (children 2) + Literal UInt64_0 + Literal UInt64_0 + Function divide (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal UInt64_0 + Function divide (children 1) + ExpressionList (children 2) + Literal Int64_-1 + Literal UInt64_0 + Function divide (children 1) + ExpressionList (children 2) + Literal UInt64_0 + Literal Float64_-0 + Function divide (children 1) + ExpressionList (children 2) + Literal Float64_-0 + Literal UInt64_0 + Function divide (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal Float64_-0 + Function divide (children 1) + ExpressionList (children 2) + Literal Int64_-1 + Literal Float64_-0 diff --git a/parser/testdata/00516_modulo/explain.txt b/parser/testdata/00516_modulo/explain.txt new file mode 100644 index 000000000..9035957b2 --- /dev/null +++ b/parser/testdata/00516_modulo/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function modulo (children 1) + ExpressionList (children 2) + Literal UInt64_1000 + Literal UInt64_32 diff --git a/parser/testdata/00517_date_parsing/explain.txt b/parser/testdata/00517_date_parsing/explain.txt new file mode 100644 index 000000000..9e1a89553 --- /dev/null +++ b/parser/testdata/00517_date_parsing/explain.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function toDate (children 1) + ExpressionList (children 1) + Identifier s + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayJoin (alias s) (children 1) + ExpressionList (children 1) + Literal Array_[\'2017-01-02\', \'2017-1-02\', \'2017-01-2\', \'2017-1-2\', \'2017/01/02\', \'2017/1/02\', \'2017/01/2\', \'2017/1/2\', \'2017-11-12\'] diff --git a/parser/testdata/00518_extract_all_and_empty_matches/metadata.json b/parser/testdata/00518_extract_all_and_empty_matches/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00518_extract_all_and_empty_matches/metadata.json +++ b/parser/testdata/00518_extract_all_and_empty_matches/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00519_create_as_select_from_temporary_table/explain.txt b/parser/testdata/00519_create_as_select_from_temporary_table/explain.txt new file mode 100644 index 000000000..91ae12e91 --- /dev/null +++ b/parser/testdata/00519_create_as_select_from_temporary_table/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1_00519 (children 1) + Identifier t1_00519 diff --git a/parser/testdata/00520_tuple_values_interpreter/explain.txt b/parser/testdata/00520_tuple_values_interpreter/explain.txt new file mode 100644 index 000000000..48d265bdc --- /dev/null +++ b/parser/testdata/00520_tuple_values_interpreter/explain.txt @@ -0,0 +1,2 @@ +DropQuery tuple (children 1) + Identifier tuple diff --git a/parser/testdata/00521_multidimensional/explain.txt b/parser/testdata/00521_multidimensional/explain.txt new file mode 100644 index 000000000..9a4047104 --- /dev/null +++ b/parser/testdata/00521_multidimensional/explain.txt @@ -0,0 +1,2 @@ +DropQuery multidimensional (children 1) + Identifier multidimensional diff --git a/parser/testdata/00522_multidimensional/explain.txt b/parser/testdata/00522_multidimensional/explain.txt new file mode 100644 index 000000000..9a4047104 --- /dev/null +++ b/parser/testdata/00522_multidimensional/explain.txt @@ -0,0 +1,2 @@ +DropQuery multidimensional (children 1) + Identifier multidimensional diff --git a/parser/testdata/00523_aggregate_functions_in_group_array/explain.txt b/parser/testdata/00523_aggregate_functions_in_group_array/explain.txt new file mode 100644 index 000000000..59c685222 --- /dev/null +++ b/parser/testdata/00523_aggregate_functions_in_group_array/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Identifier key2 + Function arrayReduce (children 1) + ExpressionList (children 2) + Literal \'uniqExactMerge\' + Identifier arr diff --git a/parser/testdata/00524_time_intervals_months_underflow/explain.txt b/parser/testdata/00524_time_intervals_months_underflow/explain.txt new file mode 100644 index 000000000..0d4fea1c3 --- /dev/null +++ b/parser/testdata/00524_time_intervals_months_underflow/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function plus (alias x) (children 1) + ExpressionList (children 2) + Function toDateTime (children 1) + ExpressionList (children 1) + Literal \'2017-01-01 00:00:00\' + Function toIntervalMonth (children 1) + ExpressionList (children 1) + Literal UInt64_0 diff --git a/parser/testdata/00525_aggregate_functions_of_nullable_that_return_non_nullable/explain.txt b/parser/testdata/00525_aggregate_functions_of_nullable_that_return_non_nullable/explain.txt new file mode 100644 index 000000000..a6fbfaeb0 --- /dev/null +++ b/parser/testdata/00525_aggregate_functions_of_nullable_that_return_non_nullable/explain.txt @@ -0,0 +1,43 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 5) + Identifier k + Function groupArray (alias res1) (children 1) + ExpressionList (children 1) + Identifier x + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier res1 + Function avg (alias res2) (children 1) + ExpressionList (children 1) + Identifier x + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier res2 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 2) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_1 (alias k) + Function arrayJoin (alias x) (children 1) + ExpressionList (children 1) + Literal Array_[UInt64_1, NULL, UInt64_2] + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_2 (alias k) + Function CAST (alias x) (children 1) + ExpressionList (children 2) + Function arrayJoin (children 1) + ExpressionList (children 1) + Literal Array_[NULL, NULL] + Literal \'Nullable(UInt8)\' + ExpressionList (children 1) + Identifier k + ExpressionList (children 1) + OrderByElement (children 1) + Identifier k diff --git a/parser/testdata/00526_array_join_with_arrays_of_nullable/explain.txt b/parser/testdata/00526_array_join_with_arrays_of_nullable/explain.txt new file mode 100644 index 000000000..b3896068d --- /dev/null +++ b/parser/testdata/00526_array_join_with_arrays_of_nullable/explain.txt @@ -0,0 +1,29 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 3) + Identifier x + Identifier y + Function arrayJoin (alias z) (children 1) + ExpressionList (children 1) + Literal Array_[\'a\', NULL, \'b\'] + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.one + TablesInSelectQueryElement (children 1) + ArrayJoin (children 1) + ExpressionList (children 2) + Literal Array_[UInt64_1, NULL, UInt64_3] (alias x) + Function array (alias y) (children 1) + ExpressionList (children 3) + Literal Tuple_(NULL, \'\') + Literal Tuple_(UInt64_123, \'Hello\') + Literal Tuple_(UInt64_456, NULL) + ExpressionList (children 3) + OrderByElement (children 1) + Identifier x + OrderByElement (children 1) + Identifier y + OrderByElement (children 1) + Identifier z diff --git a/parser/testdata/00527_totals_having_nullable/explain.txt b/parser/testdata/00527_totals_having_nullable/explain.txt new file mode 100644 index 000000000..566f32da8 --- /dev/null +++ b/parser/testdata/00527_totals_having_nullable/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function count (alias x) (children 1) + ExpressionList + Function notEquals (children 1) + ExpressionList (children 2) + Identifier x + Function toNullable (children 1) + ExpressionList (children 1) + Literal UInt64_0 diff --git a/parser/testdata/00528_const_of_nullable/explain.txt b/parser/testdata/00528_const_of_nullable/explain.txt new file mode 100644 index 000000000..b68a0c6fd --- /dev/null +++ b/parser/testdata/00528_const_of_nullable/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 3) + Function plus (alias x) (children 1) + ExpressionList (children 2) + Function toNullable (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal UInt64_1 + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier x + Function toColumnTypeName (children 1) + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00529_orantius/explain.txt b/parser/testdata/00529_orantius/explain.txt new file mode 100644 index 000000000..e1ea18f4a --- /dev/null +++ b/parser/testdata/00529_orantius/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toNullable (children 1) + ExpressionList (children 1) + Literal NULL diff --git a/parser/testdata/00530_arrays_of_nothing/explain.txt b/parser/testdata/00530_arrays_of_nothing/explain.txt new file mode 100644 index 000000000..cc03d2f98 --- /dev/null +++ b/parser/testdata/00530_arrays_of_nothing/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList + Function array (children 1) + ExpressionList diff --git a/parser/testdata/00531_aggregate_over_nullable/explain.txt b/parser/testdata/00531_aggregate_over_nullable/explain.txt new file mode 100644 index 000000000..400d381f9 --- /dev/null +++ b/parser/testdata/00531_aggregate_over_nullable/explain.txt @@ -0,0 +1,2 @@ +DropQuery agg_over_nullable (children 1) + Identifier agg_over_nullable diff --git a/parser/testdata/00532_topk_generic/explain.txt b/parser/testdata/00532_topk_generic/explain.txt new file mode 100644 index 000000000..69a58ff50 --- /dev/null +++ b/parser/testdata/00532_topk_generic/explain.txt @@ -0,0 +1,65 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 2) + Identifier k + Function arraySort (children 1) + ExpressionList (children 1) + Function topK (children 1) + ExpressionList (children 1) + Identifier v + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Function modulo (alias k) (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 + Function arrayMap (alias v) (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function arrayMap (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function if (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_0 + Literal NULL + Function toString (children 1) + ExpressionList (children 1) + Identifier x + Function range (children 1) + ExpressionList (children 1) + Identifier x + Function range (children 1) + ExpressionList (children 1) + Function intDiv (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_13 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_100 + ExpressionList (children 1) + Identifier k + ExpressionList (children 1) + OrderByElement (children 1) + Identifier k diff --git a/parser/testdata/00533_uniq_array/explain.txt b/parser/testdata/00533_uniq_array/explain.txt new file mode 100644 index 000000000..bcde66ddd --- /dev/null +++ b/parser/testdata/00533_uniq_array/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function uniqArray (children 1) + ExpressionList (children 3) + Literal Array_[UInt64_0, UInt64_1, UInt64_1] + Literal Array_[UInt64_0, UInt64_1, UInt64_1] + Literal Array_[UInt64_0, UInt64_1, UInt64_1] diff --git a/parser/testdata/00534_exp10/explain.txt b/parser/testdata/00534_exp10/explain.txt new file mode 100644 index 000000000..2050eb5f7 --- /dev/null +++ b/parser/testdata/00534_exp10/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Identifier number + Function exp10 (children 1) + ExpressionList (children 1) + Function minus (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_500 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_1000 diff --git a/parser/testdata/00535_parse_float_scientific/explain.txt b/parser/testdata/00535_parse_float_scientific/explain.txt new file mode 100644 index 000000000..562429b7e --- /dev/null +++ b/parser/testdata/00535_parse_float_scientific/explain.txt @@ -0,0 +1,2 @@ +DropQuery float (children 1) + Identifier float diff --git a/parser/testdata/00536_int_exp/explain.txt b/parser/testdata/00536_int_exp/explain.txt new file mode 100644 index 000000000..34e9a7edb --- /dev/null +++ b/parser/testdata/00536_int_exp/explain.txt @@ -0,0 +1,35 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 6) + Function exp2 (alias e2d) (children 1) + ExpressionList (children 1) + Identifier number + Function intExp2 (alias e2i) (children 1) + ExpressionList (children 1) + Identifier number + Function equals (alias e2eq) (children 1) + ExpressionList (children 2) + Function toUInt64 (children 1) + ExpressionList (children 1) + Identifier e2d + Identifier e2i + Function exp10 (alias e10d) (children 1) + ExpressionList (children 1) + Identifier number + Function intExp10 (alias e10i) (children 1) + ExpressionList (children 1) + Identifier number + Function equals (alias e10eq) (children 1) + ExpressionList (children 2) + Function toString (children 1) + ExpressionList (children 1) + Identifier e10d + Function toString (children 1) + ExpressionList (children 1) + Identifier e10i + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_64 diff --git a/parser/testdata/00536_int_exp_overflow/explain.txt b/parser/testdata/00536_int_exp_overflow/explain.txt new file mode 100644 index 000000000..305dae41d --- /dev/null +++ b/parser/testdata/00536_int_exp_overflow/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'intExp2:\' diff --git a/parser/testdata/00537_quarters/explain.txt b/parser/testdata/00537_quarters/explain.txt new file mode 100644 index 000000000..60aa441ec --- /dev/null +++ b/parser/testdata/00537_quarters/explain.txt @@ -0,0 +1,49 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 8) + Function plus (alias d) (children 1) + ExpressionList (children 2) + Function toDate (alias base) (children 1) + ExpressionList (children 1) + Literal \'2017-01-01\' + Function toIntervalMonth (children 1) + ExpressionList (children 1) + Identifier number + Function toDateTime (alias t) (children 1) + ExpressionList (children 2) + Identifier d + Literal \'UTC\' + Function toQuarter (alias qd) (children 1) + ExpressionList (children 1) + Identifier d + Function toQuarter (alias qt) (children 1) + ExpressionList (children 1) + Identifier t + Function toStartOfQuarter (alias sqd) (children 1) + ExpressionList (children 1) + Identifier d + Function toStartOfQuarter (alias sqt) (children 1) + ExpressionList (children 1) + Identifier t + Function minus (alias qdiff_d) (children 1) + ExpressionList (children 2) + Function toRelativeQuarterNum (children 1) + ExpressionList (children 1) + Identifier d + Function toRelativeQuarterNum (children 1) + ExpressionList (children 1) + Identifier base + Function minus (alias qdiff_t) (children 1) + ExpressionList (children 2) + Function toRelativeQuarterNum (children 1) + ExpressionList (children 1) + Identifier t + Function toRelativeQuarterNum (children 1) + ExpressionList (children 1) + Identifier base + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_24 diff --git a/parser/testdata/00538_datediff/explain.txt b/parser/testdata/00538_datediff/explain.txt new file mode 100644 index 000000000..7a2ffbc83 --- /dev/null +++ b/parser/testdata/00538_datediff/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'Various intervals\' diff --git a/parser/testdata/00538_datediff_plural_units/explain.txt b/parser/testdata/00538_datediff_plural_units/explain.txt new file mode 100644 index 000000000..888a19081 --- /dev/null +++ b/parser/testdata/00538_datediff_plural_units/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function dateDiff (children 1) + ExpressionList (children 3) + Literal \'years\' + Function toDate (children 1) + ExpressionList (children 1) + Literal \'2017-12-31\' + Function toDate (children 1) + ExpressionList (children 1) + Literal \'2016-01-01\' diff --git a/parser/testdata/00539_functions_for_working_with_json/explain.txt b/parser/testdata/00539_functions_for_working_with_json/explain.txt new file mode 100644 index 000000000..c7514b348 --- /dev/null +++ b/parser/testdata/00539_functions_for_working_with_json/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function visitParamExtractInt (children 1) + ExpressionList (children 2) + Literal \'{"myparam":-1}\' + Literal \'myparam\' diff --git a/parser/testdata/00541_kahan_sum/explain.txt b/parser/testdata/00541_kahan_sum/explain.txt new file mode 100644 index 000000000..63268c616 --- /dev/null +++ b/parser/testdata/00541_kahan_sum/explain.txt @@ -0,0 +1,21 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function sum (children 1) + ExpressionList (children 1) + Literal UInt64_1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_1000 diff --git a/parser/testdata/00541_to_start_of_fifteen_minutes/metadata.json b/parser/testdata/00541_to_start_of_fifteen_minutes/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00541_to_start_of_fifteen_minutes/metadata.json +++ b/parser/testdata/00541_to_start_of_fifteen_minutes/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00542_access_to_temporary_table_in_readonly_mode/explain.txt b/parser/testdata/00542_access_to_temporary_table_in_readonly_mode/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00542_access_to_temporary_table_in_readonly_mode/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00542_materialized_view_and_time_zone_tag/explain.txt b/parser/testdata/00542_materialized_view_and_time_zone_tag/explain.txt new file mode 100644 index 000000000..875839cdd --- /dev/null +++ b/parser/testdata/00542_materialized_view_and_time_zone_tag/explain.txt @@ -0,0 +1,2 @@ +DropQuery m3 (children 1) + Identifier m3 diff --git a/parser/testdata/00543_null_and_prewhere/explain.txt b/parser/testdata/00543_null_and_prewhere/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00543_null_and_prewhere/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00544_agg_foreach_of_two_arg/explain.txt b/parser/testdata/00544_agg_foreach_of_two_arg/explain.txt new file mode 100644 index 000000000..0a1d192ac --- /dev/null +++ b/parser/testdata/00544_agg_foreach_of_two_arg/explain.txt @@ -0,0 +1,43 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 3) + Function sumForEach (children 1) + ExpressionList (children 1) + Identifier arr + Function sumForEachIf (children 1) + ExpressionList (children 2) + Identifier arr + Function equals (children 1) + ExpressionList (children 2) + Function arrayElement (children 1) + ExpressionList (children 2) + Identifier arr + Literal UInt64_1 + Literal UInt64_1 + Function sumIfForEach (children 1) + ExpressionList (children 2) + Identifier arr + Function arrayMap (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function notEquals (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_5 + Identifier arr + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayJoin (alias arr) (children 1) + ExpressionList (children 1) + Literal Array_[Array_[UInt64_1, UInt64_2, UInt64_3], Array_[UInt64_4, UInt64_5, UInt64_6]] diff --git a/parser/testdata/00544_insert_with_select/explain.txt b/parser/testdata/00544_insert_with_select/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/00544_insert_with_select/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/00545_weird_aggregate_functions/explain.txt b/parser/testdata/00545_weird_aggregate_functions/explain.txt new file mode 100644 index 000000000..eda8423f2 --- /dev/null +++ b/parser/testdata/00545_weird_aggregate_functions/explain.txt @@ -0,0 +1,30 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function sumForEachMergeArray (children 1) + ExpressionList (children 1) + Identifier y + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function sumForEachStateForEachIfArrayMerge (alias y) (children 1) + ExpressionList (children 1) + Identifier x + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function sumForEachStateForEachIfArrayState (alias x) (children 1) + ExpressionList (children 2) + Literal Array_[Array_[Array_[UInt64_1, UInt64_2, UInt64_3], Array_[UInt64_4, UInt64_5, UInt64_6], Array_[UInt64_7, UInt64_8, UInt64_9]]] + Literal Array_[UInt64_1] diff --git a/parser/testdata/00546_shard_tuple_element_formatting/explain.txt b/parser/testdata/00546_shard_tuple_element_formatting/explain.txt new file mode 100644 index 000000000..be33aa1d6 --- /dev/null +++ b/parser/testdata/00546_shard_tuple_element_formatting/explain.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function tupleElement (children 1) + ExpressionList (children 2) + Literal Tuple_(UInt64_1, UInt64_2) + Function toUInt8 (children 1) + ExpressionList (children 1) + Function plus (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal UInt64_0 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.0.0.{2,3}\' + Identifier system.one diff --git a/parser/testdata/00547_named_tuples/explain.txt b/parser/testdata/00547_named_tuples/explain.txt new file mode 100644 index 000000000..d6c6881ff --- /dev/null +++ b/parser/testdata/00547_named_tuples/explain.txt @@ -0,0 +1,27 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 6) + Function CAST (alias t) (children 1) + ExpressionList (children 2) + Literal Tuple_(UInt64_1, \'Hello\') + Literal \'Tuple(x UInt64, s String)\' + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier t + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier t + Literal UInt64_1 + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier t + Literal UInt64_2 + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier t + Literal \'x\' + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier t + Literal \'s\' diff --git a/parser/testdata/00548_slice_of_nested/explain.txt b/parser/testdata/00548_slice_of_nested/explain.txt new file mode 100644 index 000000000..032c1c8de --- /dev/null +++ b/parser/testdata/00548_slice_of_nested/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 3) + Function array (alias nested) (children 1) + ExpressionList (children 2) + Literal Tuple_(UInt64_1, \'Hello\') + Literal Tuple_(UInt64_2, \'World\') + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier nested + Literal UInt64_1 + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier nested + Literal UInt64_2 diff --git a/parser/testdata/00549_join_use_nulls/explain.txt b/parser/testdata/00549_join_use_nulls/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00549_join_use_nulls/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00551_parse_or_null/explain.txt b/parser/testdata/00551_parse_or_null/explain.txt new file mode 100644 index 000000000..70b6b36e4 --- /dev/null +++ b/parser/testdata/00551_parse_or_null/explain.txt @@ -0,0 +1,36 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Function toUInt64OrZero (children 1) + ExpressionList (children 1) + Identifier s + Function toUInt64OrNull (children 1) + ExpressionList (children 1) + Identifier s + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function multiIf (alias s) (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + Literal UInt64_1 + Function toString (children 1) + ExpressionList (children 1) + Identifier number + Literal \'hello\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_10 diff --git a/parser/testdata/00552_logical_functions_simple/metadata.json b/parser/testdata/00552_logical_functions_simple/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00552_logical_functions_simple/metadata.json +++ b/parser/testdata/00552_logical_functions_simple/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00552_logical_functions_ternary/metadata.json b/parser/testdata/00552_logical_functions_ternary/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00552_logical_functions_ternary/metadata.json +++ b/parser/testdata/00552_logical_functions_ternary/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00552_logical_functions_uint8_as_bool/metadata.json b/parser/testdata/00552_logical_functions_uint8_as_bool/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00552_logical_functions_uint8_as_bool/metadata.json +++ b/parser/testdata/00552_logical_functions_uint8_as_bool/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00552_or_nullable/metadata.json b/parser/testdata/00552_or_nullable/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00552_or_nullable/metadata.json +++ b/parser/testdata/00552_or_nullable/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00553_buff_exists_materlized_column/explain.txt b/parser/testdata/00553_buff_exists_materlized_column/explain.txt new file mode 100644 index 000000000..1648463de --- /dev/null +++ b/parser/testdata/00553_buff_exists_materlized_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery nums (children 1) + Identifier nums diff --git a/parser/testdata/00553_invalid_nested_name/explain.txt b/parser/testdata/00553_invalid_nested_name/explain.txt new file mode 100644 index 000000000..082de5f13 --- /dev/null +++ b/parser/testdata/00553_invalid_nested_name/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal Array_[Float64_1.1, Float64_1.2] diff --git a/parser/testdata/00554_nested_and_table_engines/explain.txt b/parser/testdata/00554_nested_and_table_engines/explain.txt new file mode 100644 index 000000000..b42a45886 --- /dev/null +++ b/parser/testdata/00554_nested_and_table_engines/explain.txt @@ -0,0 +1,2 @@ +DropQuery nested (children 1) + Identifier nested diff --git a/parser/testdata/00555_hasAll_hasAny/explain.txt b/parser/testdata/00555_hasAll_hasAny/explain.txt new file mode 100644 index 000000000..78f82317c --- /dev/null +++ b/parser/testdata/00555_hasAll_hasAny/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function hasAll (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList + Function array (children 1) + ExpressionList diff --git a/parser/testdata/00555_hasSubstr/explain.txt b/parser/testdata/00555_hasSubstr/explain.txt new file mode 100644 index 000000000..00e16caa5 --- /dev/null +++ b/parser/testdata/00555_hasSubstr/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function hasSubstr (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList + Function array (children 1) + ExpressionList diff --git a/parser/testdata/00555_right_join_excessive_rows/explain.txt b/parser/testdata/00555_right_join_excessive_rows/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00555_right_join_excessive_rows/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00556_array_intersect/explain.txt b/parser/testdata/00556_array_intersect/explain.txt new file mode 100644 index 000000000..72e649928 --- /dev/null +++ b/parser/testdata/00556_array_intersect/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayIntersect (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList + Function array (children 1) + ExpressionList diff --git a/parser/testdata/00556_remove_columns_from_subquery/explain.txt b/parser/testdata/00556_remove_columns_from_subquery/explain.txt new file mode 100644 index 000000000..cb4c92607 --- /dev/null +++ b/parser/testdata/00556_remove_columns_from_subquery/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier a + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_1 (alias a) + Literal UInt64_2 (alias b) diff --git a/parser/testdata/00557_alter_null_storage_tables/explain.txt b/parser/testdata/00557_alter_null_storage_tables/explain.txt new file mode 100644 index 000000000..ec4e6bb6f --- /dev/null +++ b/parser/testdata/00557_alter_null_storage_tables/explain.txt @@ -0,0 +1,2 @@ +DropQuery null_00557 (children 1) + Identifier null_00557 diff --git a/parser/testdata/00557_array_resize/explain.txt b/parser/testdata/00557_array_resize/explain.txt new file mode 100644 index 000000000..b2a6ecd7d --- /dev/null +++ b/parser/testdata/00557_array_resize/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayResize (children 1) + ExpressionList (children 2) + Literal Array_[UInt64_1, UInt64_2, UInt64_3] + Literal UInt64_10 diff --git a/parser/testdata/00558_aggregate_merge_totals_with_arenas/explain.txt b/parser/testdata/00558_aggregate_merge_totals_with_arenas/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00558_aggregate_merge_totals_with_arenas/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00558_parse_floats/explain.txt b/parser/testdata/00558_parse_floats/explain.txt new file mode 100644 index 000000000..3dd9a5d3d --- /dev/null +++ b/parser/testdata/00558_parse_floats/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function toFloat64 (children 1) + ExpressionList (children 1) + Function concat (children 1) + ExpressionList (children 2) + Literal \'0.00000\' + Function toString (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_100 diff --git a/parser/testdata/00559_filter_array_generic/explain.txt b/parser/testdata/00559_filter_array_generic/explain.txt new file mode 100644 index 000000000..7bf3b841d --- /dev/null +++ b/parser/testdata/00559_filter_array_generic/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function arrayJoin (alias x) (children 1) + ExpressionList (children 1) + Literal Array_[Array_[Array_[UInt64_1], Array_[UInt64_2]], Array_[Array_[UInt64_1]]] + Function equals (children 1) + ExpressionList (children 2) + Function length (children 1) + ExpressionList (children 1) + Identifier x + Literal UInt64_2 diff --git a/parser/testdata/00560_float_leading_plus_in_exponent/explain.txt b/parser/testdata/00560_float_leading_plus_in_exponent/explain.txt new file mode 100644 index 000000000..e83f4ed8c --- /dev/null +++ b/parser/testdata/00560_float_leading_plus_in_exponent/explain.txt @@ -0,0 +1,6 @@ +CreateQuery test_float (children 2) + Identifier test_float + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration x (children 1) + DataType Float64 diff --git a/parser/testdata/00561_storage_join/explain.txt b/parser/testdata/00561_storage_join/explain.txt new file mode 100644 index 000000000..3e8a258d5 --- /dev/null +++ b/parser/testdata/00561_storage_join/explain.txt @@ -0,0 +1,2 @@ +DropQuery joinbug (children 1) + Identifier joinbug diff --git a/parser/testdata/00562_in_subquery_merge_tree/explain.txt b/parser/testdata/00562_in_subquery_merge_tree/explain.txt new file mode 100644 index 000000000..008b2642b --- /dev/null +++ b/parser/testdata/00562_in_subquery_merge_tree/explain.txt @@ -0,0 +1,2 @@ +DropQuery merge_tree_in_subqueries (children 1) + Identifier merge_tree_in_subqueries diff --git a/parser/testdata/00562_rewrite_select_expression_with_union/explain.txt b/parser/testdata/00562_rewrite_select_expression_with_union/explain.txt new file mode 100644 index 000000000..4c04de6a7 --- /dev/null +++ b/parser/testdata/00562_rewrite_select_expression_with_union/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_00562 (children 1) + Identifier test_00562 diff --git a/parser/testdata/00563_complex_in_expression/explain.txt b/parser/testdata/00563_complex_in_expression/explain.txt new file mode 100644 index 000000000..b689e2477 --- /dev/null +++ b/parser/testdata/00563_complex_in_expression/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_00563 (children 1) + Identifier test_00563 diff --git a/parser/testdata/00563_insert_into_remote_and_zookeeper_long/explain.txt b/parser/testdata/00563_insert_into_remote_and_zookeeper_long/explain.txt new file mode 100644 index 000000000..e641d9134 --- /dev/null +++ b/parser/testdata/00563_insert_into_remote_and_zookeeper_long/explain.txt @@ -0,0 +1,2 @@ +DropQuery simple (children 1) + Identifier simple diff --git a/parser/testdata/00563_shard_insert_into_remote/explain.txt b/parser/testdata/00563_shard_insert_into_remote/explain.txt new file mode 100644 index 000000000..0a00b06d1 --- /dev/null +++ b/parser/testdata/00563_shard_insert_into_remote/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab (children 1) + Identifier tab diff --git a/parser/testdata/00564_initial_column_values_with_default_expression/explain.txt b/parser/testdata/00564_initial_column_values_with_default_expression/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/00564_initial_column_values_with_default_expression/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/00564_temporary_table_management/explain.txt b/parser/testdata/00564_temporary_table_management/explain.txt new file mode 100644 index 000000000..bbea9ec81 --- /dev/null +++ b/parser/testdata/00564_temporary_table_management/explain.txt @@ -0,0 +1,2 @@ +DropQuery temp_tab (children 1) + Identifier temp_tab diff --git a/parser/testdata/00564_versioned_collapsing_merge_tree/explain.txt b/parser/testdata/00564_versioned_collapsing_merge_tree/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00564_versioned_collapsing_merge_tree/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00566_enum_min_max/explain.txt b/parser/testdata/00566_enum_min_max/explain.txt new file mode 100644 index 000000000..bf402aab8 --- /dev/null +++ b/parser/testdata/00566_enum_min_max/explain.txt @@ -0,0 +1,27 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 3) + Function min (children 1) + ExpressionList (children 1) + Identifier x + Function max (children 1) + ExpressionList (children 1) + Identifier x + Function sum (children 1) + ExpressionList (children 1) + Identifier x + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function CAST (alias x) (children 1) + ExpressionList (children 2) + Function arrayJoin (children 1) + ExpressionList (children 1) + Literal Array_[UInt64_1, UInt64_2] + Literal \'Enum8(\\\'Hello\\\' = 1, \\\'World\\\' = 2)\' diff --git a/parser/testdata/00567_parse_datetime_as_unix_timestamp/explain.txt b/parser/testdata/00567_parse_datetime_as_unix_timestamp/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00567_parse_datetime_as_unix_timestamp/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00568_empty_function_with_fixed_string/explain.txt b/parser/testdata/00568_empty_function_with_fixed_string/explain.txt new file mode 100644 index 000000000..ea9b633d8 --- /dev/null +++ b/parser/testdata/00568_empty_function_with_fixed_string/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function toFixedString (alias str) (children 1) + ExpressionList (children 2) + Literal \'\' + Literal UInt64_4 + Function empty (alias is_empty) (children 1) + ExpressionList (children 1) + Identifier str diff --git a/parser/testdata/00569_parse_date_time_best_effort/explain.txt b/parser/testdata/00569_parse_date_time_best_effort/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00569_parse_date_time_best_effort/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00570_empty_array_is_const/explain.txt b/parser/testdata/00570_empty_array_is_const/explain.txt new file mode 100644 index 000000000..c159a91b9 --- /dev/null +++ b/parser/testdata/00570_empty_array_is_const/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function dumpColumnStructure (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList diff --git a/parser/testdata/00571_alter_nullable/explain.txt b/parser/testdata/00571_alter_nullable/explain.txt new file mode 100644 index 000000000..477cd5354 --- /dev/null +++ b/parser/testdata/00571_alter_nullable/explain.txt @@ -0,0 +1,2 @@ +DropQuery nullable_00571 (children 1) + Identifier nullable_00571 diff --git a/parser/testdata/00571_non_exist_database_when_create_materializ_view/metadata.json b/parser/testdata/00571_non_exist_database_when_create_materializ_view/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00571_non_exist_database_when_create_materializ_view/metadata.json +++ b/parser/testdata/00571_non_exist_database_when_create_materializ_view/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00572_aggregation_by_empty_set/explain.txt b/parser/testdata/00572_aggregation_by_empty_set/explain.txt new file mode 100644 index 000000000..9f0484e17 --- /dev/null +++ b/parser/testdata/00572_aggregation_by_empty_set/explain.txt @@ -0,0 +1,6 @@ +CreateQuery t (children 2) + Identifier t + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration x (children 1) + DataType UInt8 diff --git a/parser/testdata/00573_shard_aggregation_by_empty_set/explain.txt b/parser/testdata/00573_shard_aggregation_by_empty_set/explain.txt new file mode 100644 index 000000000..c961bfcf0 --- /dev/null +++ b/parser/testdata/00573_shard_aggregation_by_empty_set/explain.txt @@ -0,0 +1,6 @@ +CreateQuery t_00573 (children 2) + Identifier t_00573 + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration x (children 1) + DataType UInt8 diff --git a/parser/testdata/00575_merge_and_index_with_function_in_in/explain.txt b/parser/testdata/00575_merge_and_index_with_function_in_in/explain.txt new file mode 100644 index 000000000..7260790a4 --- /dev/null +++ b/parser/testdata/00575_merge_and_index_with_function_in_in/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_00575 (children 1) + Identifier t_00575 diff --git a/parser/testdata/00576_nested_and_prewhere/explain.txt b/parser/testdata/00576_nested_and_prewhere/explain.txt new file mode 100644 index 000000000..b42a45886 --- /dev/null +++ b/parser/testdata/00576_nested_and_prewhere/explain.txt @@ -0,0 +1,2 @@ +DropQuery nested (children 1) + Identifier nested diff --git a/parser/testdata/00577_full_join_segfault/explain.txt b/parser/testdata/00577_full_join_segfault/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00577_full_join_segfault/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00577_replacing_merge_tree_vertical_merge/explain.txt b/parser/testdata/00577_replacing_merge_tree_vertical_merge/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00577_replacing_merge_tree_vertical_merge/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00578_merge_table_and_table_virtual_column/explain.txt b/parser/testdata/00578_merge_table_and_table_virtual_column/explain.txt new file mode 100644 index 000000000..2a9b4d99d --- /dev/null +++ b/parser/testdata/00578_merge_table_and_table_virtual_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery numbers1 (children 1) + Identifier numbers1 diff --git a/parser/testdata/00578_merge_table_sampling/explain.txt b/parser/testdata/00578_merge_table_sampling/explain.txt new file mode 100644 index 000000000..2a9b4d99d --- /dev/null +++ b/parser/testdata/00578_merge_table_sampling/explain.txt @@ -0,0 +1,2 @@ +DropQuery numbers1 (children 1) + Identifier numbers1 diff --git a/parser/testdata/00578_merge_table_shadow_virtual_column/explain.txt b/parser/testdata/00578_merge_table_shadow_virtual_column/explain.txt new file mode 100644 index 000000000..2a9b4d99d --- /dev/null +++ b/parser/testdata/00578_merge_table_shadow_virtual_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery numbers1 (children 1) + Identifier numbers1 diff --git a/parser/testdata/00578_merge_trees_without_primary_key/explain.txt b/parser/testdata/00578_merge_trees_without_primary_key/explain.txt new file mode 100644 index 000000000..9a50583dd --- /dev/null +++ b/parser/testdata/00578_merge_trees_without_primary_key/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'*** MergeTree ***\' diff --git a/parser/testdata/00579_merge_tree_partition_and_primary_keys_using_same_expression/explain.txt b/parser/testdata/00579_merge_tree_partition_and_primary_keys_using_same_expression/explain.txt new file mode 100644 index 000000000..d9469f4db --- /dev/null +++ b/parser/testdata/00579_merge_tree_partition_and_primary_keys_using_same_expression/explain.txt @@ -0,0 +1,2 @@ +DropQuery partition_and_primary_keys_using_same_expression (children 1) + Identifier partition_and_primary_keys_using_same_expression diff --git a/parser/testdata/00579_virtual_column_and_lazy/explain.txt b/parser/testdata/00579_virtual_column_and_lazy/explain.txt new file mode 100644 index 000000000..221ceef5a --- /dev/null +++ b/parser/testdata/00579_virtual_column_and_lazy/explain.txt @@ -0,0 +1,2 @@ +DropQuery sample_00579_1 (children 1) + Identifier sample_00579_1 diff --git a/parser/testdata/00580_cast_nullable_to_non_nullable/explain.txt b/parser/testdata/00580_cast_nullable_to_non_nullable/explain.txt new file mode 100644 index 000000000..c57071fed --- /dev/null +++ b/parser/testdata/00580_cast_nullable_to_non_nullable/explain.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Function if (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_999999 + Literal NULL + Identifier number + Literal \'UInt64\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_10 diff --git a/parser/testdata/00580_consistent_hashing_functions/explain.txt b/parser/testdata/00580_consistent_hashing_functions/explain.txt new file mode 100644 index 000000000..cb2289529 --- /dev/null +++ b/parser/testdata/00580_consistent_hashing_functions/explain.txt @@ -0,0 +1,28 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 6) + Function jumpConsistentHash (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal UInt64_1 + Function jumpConsistentHash (children 1) + ExpressionList (children 2) + Literal UInt64_42 + Literal UInt64_57 + Function jumpConsistentHash (children 1) + ExpressionList (children 2) + Literal UInt64_256 + Literal UInt64_1024 + Function jumpConsistentHash (children 1) + ExpressionList (children 2) + Literal UInt64_3735883980 + Literal UInt64_1 + Function jumpConsistentHash (children 1) + ExpressionList (children 2) + Literal UInt64_3735883980 + Literal UInt64_666 + Function jumpConsistentHash (children 1) + ExpressionList (children 2) + Literal UInt64_16045690984833335023 + Literal UInt64_255 diff --git a/parser/testdata/00581_limit_on_result_and_subquery_and_insert/explain.txt b/parser/testdata/00581_limit_on_result_and_subquery_and_insert/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00581_limit_on_result_and_subquery_and_insert/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00582_not_aliasing_functions/explain.txt b/parser/testdata/00582_not_aliasing_functions/explain.txt new file mode 100644 index 000000000..c25232e8c --- /dev/null +++ b/parser/testdata/00582_not_aliasing_functions/explain.txt @@ -0,0 +1,22 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 diff --git a/parser/testdata/00583_limit_by_expressions/explain.txt b/parser/testdata/00583_limit_by_expressions/explain.txt new file mode 100644 index 000000000..5ac2bb6d5 --- /dev/null +++ b/parser/testdata/00583_limit_by_expressions/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Literal UInt64_1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.one + Literal UInt64_1 + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/00584_view_union_all/explain.txt b/parser/testdata/00584_view_union_all/explain.txt new file mode 100644 index 000000000..378a843fe --- /dev/null +++ b/parser/testdata/00584_view_union_all/explain.txt @@ -0,0 +1,2 @@ +DropQuery Test_00584 (children 1) + Identifier Test_00584 diff --git a/parser/testdata/00585_union_all_subquery_aggregation_column_removal/explain.txt b/parser/testdata/00585_union_all_subquery_aggregation_column_removal/explain.txt new file mode 100644 index 000000000..f9f17dd0b --- /dev/null +++ b/parser/testdata/00585_union_all_subquery_aggregation_column_removal/explain.txt @@ -0,0 +1,2 @@ +DropQuery clicks (children 1) + Identifier clicks diff --git a/parser/testdata/00586_removing_unused_columns_from_subquery/explain.txt b/parser/testdata/00586_removing_unused_columns_from_subquery/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00586_removing_unused_columns_from_subquery/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00587_union_all_type_conversions/explain.txt b/parser/testdata/00587_union_all_type_conversions/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00587_union_all_type_conversions/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00588_shard_distributed_prewhere/explain.txt b/parser/testdata/00588_shard_distributed_prewhere/explain.txt new file mode 100644 index 000000000..96995a0fb --- /dev/null +++ b/parser/testdata/00588_shard_distributed_prewhere/explain.txt @@ -0,0 +1,2 @@ +DropQuery mergetree_00588 (children 1) + Identifier mergetree_00588 diff --git a/parser/testdata/00589_removal_unused_columns_aggregation/explain.txt b/parser/testdata/00589_removal_unused_columns_aggregation/explain.txt new file mode 100644 index 000000000..c2f3df14d --- /dev/null +++ b/parser/testdata/00589_removal_unused_columns_aggregation/explain.txt @@ -0,0 +1,34 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function sum (alias a) (children 1) + ExpressionList (children 1) + Identifier x + Function avg (alias b) (children 1) + ExpressionList (children 1) + Identifier x + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier number (alias x) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 diff --git a/parser/testdata/00590_limit_by_column_removal/explain.txt b/parser/testdata/00590_limit_by_column_removal/explain.txt new file mode 100644 index 000000000..9bd21db96 --- /dev/null +++ b/parser/testdata/00590_limit_by_column_removal/explain.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Identifier x + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_1 (alias x) + Literal UInt64_2 (alias y) + Literal UInt64_1 + ExpressionList (children 1) + Identifier y diff --git a/parser/testdata/00591_columns_removal_union_all/metadata.json b/parser/testdata/00591_columns_removal_union_all/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00591_columns_removal_union_all/metadata.json +++ b/parser/testdata/00591_columns_removal_union_all/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00592_union_all_different_aliases/explain.txt b/parser/testdata/00592_union_all_different_aliases/explain.txt new file mode 100644 index 000000000..62e790923 --- /dev/null +++ b/parser/testdata/00592_union_all_different_aliases/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 (alias a) diff --git a/parser/testdata/00593_union_all_assert_columns_removed/explain.txt b/parser/testdata/00593_union_all_assert_columns_removed/explain.txt new file mode 100644 index 000000000..944bb4c51 --- /dev/null +++ b/parser/testdata/00593_union_all_assert_columns_removed/explain.txt @@ -0,0 +1,2 @@ +DropQuery columns (children 1) + Identifier columns diff --git a/parser/testdata/00594_alias_in_distributed/explain.txt b/parser/testdata/00594_alias_in_distributed/explain.txt new file mode 100644 index 000000000..2254fa260 --- /dev/null +++ b/parser/testdata/00594_alias_in_distributed/explain.txt @@ -0,0 +1,2 @@ +DropQuery alias_local10 (children 1) + Identifier alias_local10 diff --git a/parser/testdata/00597_push_down_predicate_long/explain.txt b/parser/testdata/00597_push_down_predicate_long/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00597_push_down_predicate_long/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00597_with_totals_on_empty_set/explain.txt b/parser/testdata/00597_with_totals_on_empty_set/explain.txt new file mode 100644 index 000000000..83e26903e --- /dev/null +++ b/parser/testdata/00597_with_totals_on_empty_set/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + Function equals (children 1) + ExpressionList (children 2) + Identifier number + Literal Int64_-1 + Identifier Vertical diff --git a/parser/testdata/00599_create_view_with_subquery/explain.txt b/parser/testdata/00599_create_view_with_subquery/explain.txt new file mode 100644 index 000000000..b5dff5b70 --- /dev/null +++ b/parser/testdata/00599_create_view_with_subquery/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_00599 (children 1) + Identifier test_00599 diff --git a/parser/testdata/00600_create_temporary_table_if_not_exists/explain.txt b/parser/testdata/00600_create_temporary_table_if_not_exists/explain.txt new file mode 100644 index 000000000..4952a0fc1 --- /dev/null +++ b/parser/testdata/00600_create_temporary_table_if_not_exists/explain.txt @@ -0,0 +1,8 @@ +CreateQuery temporary_table (children 3) + Identifier temporary_table + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration column (children 1) + DataType UInt32 + Storage definition (children 1) + Function Memory diff --git a/parser/testdata/00603_system_parts_nonexistent_database/explain.txt b/parser/testdata/00603_system_parts_nonexistent_database/explain.txt new file mode 100644 index 000000000..979b28175 --- /dev/null +++ b/parser/testdata/00603_system_parts_nonexistent_database/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.parts + Function equals (children 1) + ExpressionList (children 2) + Identifier database + Literal \'T5yajf3DLcMjJJvpCeX5ajUy1P0VTk51zMEp1kDKXZAGr5EpleuIKbuY8cKaThkaBqllUm2EFxDX\' diff --git a/parser/testdata/00604_shard_remote_and_columns_with_defaults/explain.txt b/parser/testdata/00604_shard_remote_and_columns_with_defaults/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/00604_shard_remote_and_columns_with_defaults/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/00604_show_create_database/metadata.json b/parser/testdata/00604_show_create_database/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00604_show_create_database/metadata.json +++ b/parser/testdata/00604_show_create_database/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00605_intersections_aggregate_functions/explain.txt b/parser/testdata/00605_intersections_aggregate_functions/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/00605_intersections_aggregate_functions/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/00606_quantiles_and_nans/metadata.json b/parser/testdata/00606_quantiles_and_nans/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00606_quantiles_and_nans/metadata.json +++ b/parser/testdata/00606_quantiles_and_nans/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00607_index_in_in/explain.txt b/parser/testdata/00607_index_in_in/explain.txt new file mode 100644 index 000000000..eaf9d7dce --- /dev/null +++ b/parser/testdata/00607_index_in_in/explain.txt @@ -0,0 +1,2 @@ +DropQuery merge_tree (children 1) + Identifier merge_tree diff --git a/parser/testdata/00608_uniq_array/explain.txt b/parser/testdata/00608_uniq_array/explain.txt new file mode 100644 index 000000000..cc298ff5b --- /dev/null +++ b/parser/testdata/00608_uniq_array/explain.txt @@ -0,0 +1,24 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function uniq (children 1) + ExpressionList (children 1) + Identifier x + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayJoin (alias x) (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 4) + Literal Array_[UInt64_1, UInt64_2] + Literal Array_[UInt64_1, UInt64_2] + Literal Array_[UInt64_1, UInt64_2, UInt64_3] + Function array (children 1) + ExpressionList diff --git a/parser/testdata/00609_distributed_with_case_when_then/explain.txt b/parser/testdata/00609_distributed_with_case_when_then/explain.txt new file mode 100644 index 000000000..8bf417728 --- /dev/null +++ b/parser/testdata/00609_distributed_with_case_when_then/explain.txt @@ -0,0 +1,2 @@ +DropQuery mergetree_00609 (children 1) + Identifier mergetree_00609 diff --git a/parser/testdata/00609_mv_index_in_in/explain.txt b/parser/testdata/00609_mv_index_in_in/explain.txt new file mode 100644 index 000000000..777b6513a --- /dev/null +++ b/parser/testdata/00609_mv_index_in_in/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_00609 (children 1) + Identifier test_00609 diff --git a/parser/testdata/00609_prewhere_and_default/explain.txt b/parser/testdata/00609_prewhere_and_default/explain.txt new file mode 100644 index 000000000..3f4fa747a --- /dev/null +++ b/parser/testdata/00609_prewhere_and_default/explain.txt @@ -0,0 +1,2 @@ +DropQuery table_00609 (children 1) + Identifier table_00609 diff --git a/parser/testdata/00610_materialized_view_forward_alter_partition_statements/explain.txt b/parser/testdata/00610_materialized_view_forward_alter_partition_statements/explain.txt new file mode 100644 index 000000000..212dccac7 --- /dev/null +++ b/parser/testdata/00610_materialized_view_forward_alter_partition_statements/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab_00610 (children 1) + Identifier tab_00610 diff --git a/parser/testdata/00612_count/explain.txt b/parser/testdata/00612_count/explain.txt new file mode 100644 index 000000000..6cb2cca0b --- /dev/null +++ b/parser/testdata/00612_count/explain.txt @@ -0,0 +1,2 @@ +DropQuery count (children 1) + Identifier count diff --git a/parser/testdata/00612_http_max_query_size_for_distributed/explain.txt b/parser/testdata/00612_http_max_query_size_for_distributed/explain.txt new file mode 100644 index 000000000..c5fa159fa --- /dev/null +++ b/parser/testdata/00612_http_max_query_size_for_distributed/explain.txt @@ -0,0 +1,2 @@ +DropQuery data_00612 (children 1) + Identifier data_00612 diff --git a/parser/testdata/00612_pk_in_tuple/explain.txt b/parser/testdata/00612_pk_in_tuple/explain.txt new file mode 100644 index 000000000..b710e7b46 --- /dev/null +++ b/parser/testdata/00612_pk_in_tuple/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab_00612 (children 1) + Identifier tab_00612 diff --git a/parser/testdata/00612_shard_count/explain.txt b/parser/testdata/00612_shard_count/explain.txt new file mode 100644 index 000000000..6cb2cca0b --- /dev/null +++ b/parser/testdata/00612_shard_count/explain.txt @@ -0,0 +1,2 @@ +DropQuery count (children 1) + Identifier count diff --git a/parser/testdata/00612_union_query_with_subquery/explain.txt b/parser/testdata/00612_union_query_with_subquery/explain.txt new file mode 100644 index 000000000..13ac8da09 --- /dev/null +++ b/parser/testdata/00612_union_query_with_subquery/explain.txt @@ -0,0 +1,38 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 3) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_1 + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_2 + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_3 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier number diff --git a/parser/testdata/00613_shard_distributed_max_execution_time/explain.txt b/parser/testdata/00613_shard_distributed_max_execution_time/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00613_shard_distributed_max_execution_time/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00614_array_nullable/explain.txt b/parser/testdata/00614_array_nullable/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/00614_array_nullable/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/00614_shard_same_header_for_local_and_remote_node_in_distributed_query/explain.txt b/parser/testdata/00614_shard_same_header_for_local_and_remote_node_in_distributed_query/explain.txt new file mode 100644 index 000000000..0a00b06d1 --- /dev/null +++ b/parser/testdata/00614_shard_same_header_for_local_and_remote_node_in_distributed_query/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab (children 1) + Identifier tab diff --git a/parser/testdata/00615_nullable_alter_optimize/explain.txt b/parser/testdata/00615_nullable_alter_optimize/explain.txt new file mode 100644 index 000000000..a7f11764d --- /dev/null +++ b/parser/testdata/00615_nullable_alter_optimize/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_00615 (children 1) + Identifier test_00615 diff --git a/parser/testdata/00616_final_single_part/explain.txt b/parser/testdata/00616_final_single_part/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00616_final_single_part/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00617_array_in/explain.txt b/parser/testdata/00617_array_in/explain.txt new file mode 100644 index 000000000..40d833f05 --- /dev/null +++ b/parser/testdata/00617_array_in/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_array_ops (children 1) + Identifier test_array_ops diff --git a/parser/testdata/00618_nullable_in/explain.txt b/parser/testdata/00618_nullable_in/explain.txt new file mode 100644 index 000000000..87c91b8ca --- /dev/null +++ b/parser/testdata/00618_nullable_in/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function sum (children 1) + ExpressionList (children 1) + Function in (children 1) + ExpressionList (children 2) + Function toNullable (children 1) + ExpressionList (children 1) + Literal \'a\' + Literal \'a\' diff --git a/parser/testdata/00619_extract/explain.txt b/parser/testdata/00619_extract/explain.txt new file mode 100644 index 000000000..f73dd6987 --- /dev/null +++ b/parser/testdata/00619_extract/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toDayOfMonth (children 1) + ExpressionList (children 1) + Function toDate (children 1) + ExpressionList (children 1) + Literal \'2017-06-15\' diff --git a/parser/testdata/00619_union_highlite/explain.txt b/parser/testdata/00619_union_highlite/explain.txt new file mode 100644 index 000000000..5d2216818 --- /dev/null +++ b/parser/testdata/00619_union_highlite/explain.txt @@ -0,0 +1,2 @@ +DropQuery union (children 1) + Identifier union diff --git a/parser/testdata/00620_optimize_on_nonleader_replica_zookeeper/explain.txt b/parser/testdata/00620_optimize_on_nonleader_replica_zookeeper/explain.txt new file mode 100644 index 000000000..0d1790f71 --- /dev/null +++ b/parser/testdata/00620_optimize_on_nonleader_replica_zookeeper/explain.txt @@ -0,0 +1,2 @@ +DropQuery rename1 (children 1) + Identifier rename1 diff --git a/parser/testdata/00621_regression_for_in_operator/explain.txt b/parser/testdata/00621_regression_for_in_operator/explain.txt new file mode 100644 index 000000000..a84d89aa6 --- /dev/null +++ b/parser/testdata/00621_regression_for_in_operator/explain.txt @@ -0,0 +1,2 @@ +DropQuery regression_for_in_operator_view (children 1) + Identifier regression_for_in_operator_view diff --git a/parser/testdata/00622_select_in_parens/explain.txt b/parser/testdata/00622_select_in_parens/explain.txt new file mode 100644 index 000000000..8827c47de --- /dev/null +++ b/parser/testdata/00622_select_in_parens/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/00623_in_partition_key/explain.txt b/parser/testdata/00623_in_partition_key/explain.txt new file mode 100644 index 000000000..22677f584 --- /dev/null +++ b/parser/testdata/00623_in_partition_key/explain.txt @@ -0,0 +1,2 @@ +DropQuery test54378 (children 1) + Identifier test54378 diff --git a/parser/testdata/00623_replicated_truncate_table_zookeeper_long/explain.txt b/parser/testdata/00623_replicated_truncate_table_zookeeper_long/explain.txt new file mode 100644 index 000000000..8d5e655f1 --- /dev/null +++ b/parser/testdata/00623_replicated_truncate_table_zookeeper_long/explain.txt @@ -0,0 +1,2 @@ +DropQuery replicated_truncate1 (children 1) + Identifier replicated_truncate1 diff --git a/parser/testdata/00623_truncate_all_tables/explain.txt b/parser/testdata/00623_truncate_all_tables/explain.txt new file mode 100644 index 000000000..793367784 --- /dev/null +++ b/parser/testdata/00623_truncate_all_tables/explain.txt @@ -0,0 +1,8 @@ +CreateQuery truncate_test_set (children 3) + Identifier truncate_test_set + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration id (children 1) + DataType UInt64 + Storage definition (children 1) + Function Set diff --git a/parser/testdata/00623_truncate_table/explain.txt b/parser/testdata/00623_truncate_table/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00623_truncate_table/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00624_length_utf8/explain.txt b/parser/testdata/00624_length_utf8/explain.txt new file mode 100644 index 000000000..2d03d66c8 --- /dev/null +++ b/parser/testdata/00624_length_utf8/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal \'привет пр\' (alias x) + Function lengthUTF8 (alias y) (children 1) + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00625_arrays_in_nested/explain.txt b/parser/testdata/00625_arrays_in_nested/explain.txt new file mode 100644 index 000000000..b42a45886 --- /dev/null +++ b/parser/testdata/00625_arrays_in_nested/explain.txt @@ -0,0 +1,2 @@ +DropQuery nested (children 1) + Identifier nested diff --git a/parser/testdata/00625_summing_merge_tree_merge/explain.txt b/parser/testdata/00625_summing_merge_tree_merge/explain.txt new file mode 100644 index 000000000..2fee6a8b4 --- /dev/null +++ b/parser/testdata/00625_summing_merge_tree_merge/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab_00625 (children 1) + Identifier tab_00625 diff --git a/parser/testdata/00626_in_syntax/explain.txt b/parser/testdata/00626_in_syntax/explain.txt new file mode 100644 index 000000000..4df9e62a0 --- /dev/null +++ b/parser/testdata/00626_in_syntax/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function in (children 1) + ExpressionList (children 2) + Literal Tuple_(UInt64_1, UInt64_2) + Function tuple (children 1) + ExpressionList (children 1) + Literal Tuple_(UInt64_1, UInt64_2) diff --git a/parser/testdata/00626_replace_partition_from_table/explain.txt b/parser/testdata/00626_replace_partition_from_table/explain.txt new file mode 100644 index 000000000..86d217994 --- /dev/null +++ b/parser/testdata/00626_replace_partition_from_table/explain.txt @@ -0,0 +1,2 @@ +DropQuery src (children 1) + Identifier src diff --git a/parser/testdata/00627_recursive_alias/explain.txt b/parser/testdata/00627_recursive_alias/explain.txt new file mode 100644 index 000000000..ffe208f6f --- /dev/null +++ b/parser/testdata/00627_recursive_alias/explain.txt @@ -0,0 +1,24 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier x + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Identifier dummy (alias x) + Function plus (alias dummy) (children 1) + ExpressionList (children 2) + Identifier dummy + Literal UInt64_1 + ExpressionList (children 1) + OrderByElement (children 1) + Function identity (children 1) + ExpressionList (children 1) + Identifier x + Identifier Null diff --git a/parser/testdata/00628_in_lambda_on_merge_table_bug/explain.txt b/parser/testdata/00628_in_lambda_on_merge_table_bug/explain.txt new file mode 100644 index 000000000..020ed136b --- /dev/null +++ b/parser/testdata/00628_in_lambda_on_merge_table_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_in_tuple_1 (children 1) + Identifier test_in_tuple_1 diff --git a/parser/testdata/00632_aggregation_window_funnel/explain.txt b/parser/testdata/00632_aggregation_window_funnel/explain.txt new file mode 100644 index 000000000..81fa259f2 --- /dev/null +++ b/parser/testdata/00632_aggregation_window_funnel/explain.txt @@ -0,0 +1,2 @@ +DropQuery funnel_test (children 1) + Identifier funnel_test diff --git a/parser/testdata/00632_get_sample_block_cache/explain.txt b/parser/testdata/00632_get_sample_block_cache/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00632_get_sample_block_cache/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00633_func_or_in/explain.txt b/parser/testdata/00633_func_or_in/explain.txt new file mode 100644 index 000000000..6fa80b78d --- /dev/null +++ b/parser/testdata/00633_func_or_in/explain.txt @@ -0,0 +1,2 @@ +DropQuery orin_test (children 1) + Identifier orin_test diff --git a/parser/testdata/00634_rename_view/explain.txt b/parser/testdata/00634_rename_view/explain.txt new file mode 100644 index 000000000..72a50f7f7 --- /dev/null +++ b/parser/testdata/00634_rename_view/explain.txt @@ -0,0 +1,2 @@ +DropQuery test1_00634 (children 1) + Identifier test1_00634 diff --git a/parser/testdata/00635_shard_distinct_order_by/explain.txt b/parser/testdata/00635_shard_distinct_order_by/explain.txt new file mode 100644 index 000000000..5092c825d --- /dev/null +++ b/parser/testdata/00635_shard_distinct_order_by/explain.txt @@ -0,0 +1,2 @@ +DropQuery data (children 1) + Identifier data diff --git a/parser/testdata/00639_startsWith/explain.txt b/parser/testdata/00639_startsWith/explain.txt new file mode 100644 index 000000000..57566ba50 --- /dev/null +++ b/parser/testdata/00639_startsWith/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function startsWith (children 1) + ExpressionList (children 2) + Identifier s + Literal \'He\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayJoin (alias s) (children 1) + ExpressionList (children 1) + Literal Array_[\'\', \'H\', \'He\', \'Hellow\', \'3434\', \'fffffffffdHe\'] diff --git a/parser/testdata/00640_endsWith/explain.txt b/parser/testdata/00640_endsWith/explain.txt new file mode 100644 index 000000000..8f054d1dc --- /dev/null +++ b/parser/testdata/00640_endsWith/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function endsWith (children 1) + ExpressionList (children 2) + Identifier s + Literal \'ow\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayJoin (alias s) (children 1) + ExpressionList (children 1) + Literal Array_[\'\', \'o\', \'ow\', \'Hellow\', \'3434\', \'owfffffffdHe\'] diff --git a/parser/testdata/00642_cast/explain.txt b/parser/testdata/00642_cast/explain.txt new file mode 100644 index 000000000..4d06cd184 --- /dev/null +++ b/parser/testdata/00642_cast/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal \'Enum8(\\\'hello\\\' = 1, \\\'world\\\' = 2)\' diff --git a/parser/testdata/00643_cast_zookeeper_long/explain.txt b/parser/testdata/00643_cast_zookeeper_long/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00643_cast_zookeeper_long/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00644_different_expressions_with_same_alias/metadata.json b/parser/testdata/00644_different_expressions_with_same_alias/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00644_different_expressions_with_same_alias/metadata.json +++ b/parser/testdata/00644_different_expressions_with_same_alias/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00645_date_time_input_format/explain.txt b/parser/testdata/00645_date_time_input_format/explain.txt new file mode 100644 index 000000000..e69f9798d --- /dev/null +++ b/parser/testdata/00645_date_time_input_format/explain.txt @@ -0,0 +1,8 @@ +CreateQuery test_00645 (children 3) + Identifier test_00645 + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration d (children 1) + DataType DateTime + Storage definition (children 1) + Function Memory diff --git a/parser/testdata/00646_weird_mmx/explain.txt b/parser/testdata/00646_weird_mmx/explain.txt new file mode 100644 index 000000000..bc5d62fd0 --- /dev/null +++ b/parser/testdata/00646_weird_mmx/explain.txt @@ -0,0 +1,2 @@ +DropQuery weird_mmx (children 1) + Identifier weird_mmx diff --git a/parser/testdata/00647_histogram/explain.txt b/parser/testdata/00647_histogram/explain.txt new file mode 100644 index 000000000..ef9c0ef23 --- /dev/null +++ b/parser/testdata/00647_histogram/explain.txt @@ -0,0 +1,26 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function histogram (children 2) + ExpressionList (children 1) + Function minus (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 + ExpressionList (children 1) + Literal UInt64_5 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_20 diff --git a/parser/testdata/00647_histogram_negative/explain.txt b/parser/testdata/00647_histogram_negative/explain.txt new file mode 100644 index 000000000..0895cd7ad --- /dev/null +++ b/parser/testdata/00647_histogram_negative/explain.txt @@ -0,0 +1,2 @@ +DropQuery histogram (children 1) + Identifier histogram diff --git a/parser/testdata/00647_multiply_aggregation_state/explain.txt b/parser/testdata/00647_multiply_aggregation_state/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00647_multiply_aggregation_state/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00647_select_numbers_with_offset/explain.txt b/parser/testdata/00647_select_numbers_with_offset/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00647_select_numbers_with_offset/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00648_replacing_empty_set_from_prewhere/explain.txt b/parser/testdata/00648_replacing_empty_set_from_prewhere/explain.txt new file mode 100644 index 000000000..168f84e94 --- /dev/null +++ b/parser/testdata/00648_replacing_empty_set_from_prewhere/explain.txt @@ -0,0 +1,2 @@ +DropQuery final_test (children 1) + Identifier final_test diff --git a/parser/testdata/00649_quantile_tdigest_negative/explain.txt b/parser/testdata/00649_quantile_tdigest_negative/explain.txt new file mode 100644 index 000000000..82d2ed3c0 --- /dev/null +++ b/parser/testdata/00649_quantile_tdigest_negative/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function quantileTDigest (children 2) + ExpressionList (children 1) + Function arrayJoin (children 1) + ExpressionList (children 1) + Literal Array_[Int64_-1, Int64_-2, Int64_-3] + ExpressionList (children 1) + Literal Float64_0.5 diff --git a/parser/testdata/00650_array_enumerate_uniq_with_tuples/explain.txt b/parser/testdata/00650_array_enumerate_uniq_with_tuples/explain.txt new file mode 100644 index 000000000..13d217f21 --- /dev/null +++ b/parser/testdata/00650_array_enumerate_uniq_with_tuples/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab_00650 (children 1) + Identifier tab_00650 diff --git a/parser/testdata/00653_monotonic_integer_cast/explain.txt b/parser/testdata/00653_monotonic_integer_cast/explain.txt new file mode 100644 index 000000000..78b8a06bd --- /dev/null +++ b/parser/testdata/00653_monotonic_integer_cast/explain.txt @@ -0,0 +1,2 @@ +DropQuery table_00653 (children 1) + Identifier table_00653 diff --git a/parser/testdata/00653_running_difference/explain.txt b/parser/testdata/00653_running_difference/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00653_running_difference/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00660_optimize_final_without_partition/explain.txt b/parser/testdata/00660_optimize_final_without_partition/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00660_optimize_final_without_partition/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00661_array_has_silviucpp/explain.txt b/parser/testdata/00661_array_has_silviucpp/explain.txt new file mode 100644 index 000000000..da599f354 --- /dev/null +++ b/parser/testdata/00661_array_has_silviucpp/explain.txt @@ -0,0 +1,2 @@ +DropQuery has_function (children 1) + Identifier has_function diff --git a/parser/testdata/00661_optimize_final_replicated_without_partition_zookeeper/explain.txt b/parser/testdata/00661_optimize_final_replicated_without_partition_zookeeper/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00661_optimize_final_replicated_without_partition_zookeeper/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00662_array_has_nullable/explain.txt b/parser/testdata/00662_array_has_nullable/explain.txt new file mode 100644 index 000000000..7f0a59c16 --- /dev/null +++ b/parser/testdata/00662_array_has_nullable/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function has (children 1) + ExpressionList (children 2) + Literal Array_[\'a\', \'b\'] + Literal \'a\' diff --git a/parser/testdata/00662_has_nullable/explain.txt b/parser/testdata/00662_has_nullable/explain.txt new file mode 100644 index 000000000..6c13cb204 --- /dev/null +++ b/parser/testdata/00662_has_nullable/explain.txt @@ -0,0 +1,2 @@ +DropQuery 00662_has_nullable (children 1) + Identifier 00662_has_nullable diff --git a/parser/testdata/00663_tiny_log_empty_insert/explain.txt b/parser/testdata/00663_tiny_log_empty_insert/explain.txt new file mode 100644 index 000000000..bf5c575dd --- /dev/null +++ b/parser/testdata/00663_tiny_log_empty_insert/explain.txt @@ -0,0 +1,2 @@ +DropQuery empty (children 1) + Identifier empty diff --git a/parser/testdata/00664_cast_from_string_to_nullable/explain.txt b/parser/testdata/00664_cast_from_string_to_nullable/explain.txt new file mode 100644 index 000000000..8e7c11294 --- /dev/null +++ b/parser/testdata/00664_cast_from_string_to_nullable/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Function arrayJoin (children 1) + ExpressionList (children 1) + Literal Array_[\'\', \'abc\', \'123\', \'123a\', \'-123\'] + Literal \'Nullable(UInt8)\' diff --git a/parser/testdata/00665_alter_nullable_string_to_nullable_uint8/explain.txt b/parser/testdata/00665_alter_nullable_string_to_nullable_uint8/explain.txt new file mode 100644 index 000000000..53b7b532b --- /dev/null +++ b/parser/testdata/00665_alter_nullable_string_to_nullable_uint8/explain.txt @@ -0,0 +1,2 @@ +DropQuery alter_00665 (children 1) + Identifier alter_00665 diff --git a/parser/testdata/00666_uniq_complex_types/explain.txt b/parser/testdata/00666_uniq_complex_types/explain.txt new file mode 100644 index 000000000..6fd8d44b5 --- /dev/null +++ b/parser/testdata/00666_uniq_complex_types/explain.txt @@ -0,0 +1,25 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function uniq (children 1) + ExpressionList (children 1) + Identifier x + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayJoin (alias x) (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 4) + Function array (children 1) + ExpressionList + Literal Array_[\'a\'] + Literal Array_[\'a\', \'b\'] + Function array (children 1) + ExpressionList diff --git a/parser/testdata/00667_compare_arrays_of_different_types/metadata.json b/parser/testdata/00667_compare_arrays_of_different_types/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00667_compare_arrays_of_different_types/metadata.json +++ b/parser/testdata/00667_compare_arrays_of_different_types/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00668_compare_arrays_silviucpp/explain.txt b/parser/testdata/00668_compare_arrays_silviucpp/explain.txt new file mode 100644 index 000000000..6ec62d550 --- /dev/null +++ b/parser/testdata/00668_compare_arrays_silviucpp/explain.txt @@ -0,0 +1,2 @@ +DropQuery array (children 1) + Identifier array diff --git a/parser/testdata/00670_truncate_temporary_table/explain.txt b/parser/testdata/00670_truncate_temporary_table/explain.txt new file mode 100644 index 000000000..ca5de6cd7 --- /dev/null +++ b/parser/testdata/00670_truncate_temporary_table/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_00670 (children 1) + Identifier test_00670 diff --git a/parser/testdata/00671_max_intersections/explain.txt b/parser/testdata/00671_max_intersections/explain.txt new file mode 100644 index 000000000..d2782645d --- /dev/null +++ b/parser/testdata/00671_max_intersections/explain.txt @@ -0,0 +1,2 @@ +DropQuery test1_00671 (children 1) + Identifier test1_00671 diff --git a/parser/testdata/00672_arrayDistinct/explain.txt b/parser/testdata/00672_arrayDistinct/explain.txt new file mode 100644 index 000000000..ba07228ee --- /dev/null +++ b/parser/testdata/00672_arrayDistinct/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayDistinct (children 1) + ExpressionList (children 1) + Literal Array_[UInt64_1, UInt64_2, UInt64_3] diff --git a/parser/testdata/00673_subquery_prepared_set_performance/explain.txt b/parser/testdata/00673_subquery_prepared_set_performance/explain.txt new file mode 100644 index 000000000..45d0775fc --- /dev/null +++ b/parser/testdata/00673_subquery_prepared_set_performance/explain.txt @@ -0,0 +1,2 @@ +DropQuery mergetree_00673 (children 1) + Identifier mergetree_00673 diff --git a/parser/testdata/00674_has_array_enum/explain.txt b/parser/testdata/00674_has_array_enum/explain.txt new file mode 100644 index 000000000..86805024c --- /dev/null +++ b/parser/testdata/00674_has_array_enum/explain.txt @@ -0,0 +1,22 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function has (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList (children 1) + Identifier x + Literal UInt64_10 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function CAST (alias x) (children 1) + ExpressionList (children 2) + Literal UInt64_10 + Literal \'Enum8(\\\'hello\\\' = 1, \\\'world\\\' = 2, \\\'abc\\\' = 10)\' diff --git a/parser/testdata/00674_join_on_syntax/explain.txt b/parser/testdata/00674_join_on_syntax/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00674_join_on_syntax/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00675_shard_remote_with_table_function/explain.txt b/parser/testdata/00675_shard_remote_with_table_function/explain.txt new file mode 100644 index 000000000..277372cb7 --- /dev/null +++ b/parser/testdata/00675_shard_remote_with_table_function/explain.txt @@ -0,0 +1,2 @@ +DropQuery remote_test (children 1) + Identifier remote_test diff --git a/parser/testdata/00676_group_by_in/explain.txt b/parser/testdata/00676_group_by_in/explain.txt new file mode 100644 index 000000000..9d2b529e2 --- /dev/null +++ b/parser/testdata/00676_group_by_in/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function in (alias x) (children 1) + ExpressionList (children 2) + Identifier dummy + Literal UInt64_0 + Function count (children 1) + ExpressionList + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00677_shard_any_heavy_merge/explain.txt b/parser/testdata/00677_shard_any_heavy_merge/explain.txt new file mode 100644 index 000000000..2a28b069a --- /dev/null +++ b/parser/testdata/00677_shard_any_heavy_merge/explain.txt @@ -0,0 +1,25 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function arrayJoin (alias s) (children 1) + ExpressionList (children 1) + Literal Array_[\'hello\', \'world\'] + ExpressionList (children 3) + Function count (children 1) + ExpressionList + Function arraySort (children 1) + ExpressionList (children 1) + Function groupUniqArray (children 1) + ExpressionList (children 1) + Identifier s + Function anyHeavy (children 1) + ExpressionList (children 1) + Identifier s + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.0.0.{2,3}\' + Identifier system.one diff --git a/parser/testdata/00678_murmurhash/explain.txt b/parser/testdata/00678_murmurhash/explain.txt new file mode 100644 index 000000000..32a516c38 --- /dev/null +++ b/parser/testdata/00678_murmurhash/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function murmurHash2_32 (children 1) + ExpressionList (children 1) + Literal UInt64_123456 diff --git a/parser/testdata/00678_shard_funnel_window/explain.txt b/parser/testdata/00678_shard_funnel_window/explain.txt new file mode 100644 index 000000000..277372cb7 --- /dev/null +++ b/parser/testdata/00678_shard_funnel_window/explain.txt @@ -0,0 +1,2 @@ +DropQuery remote_test (children 1) + Identifier remote_test diff --git a/parser/testdata/00679_replace_asterisk/explain.txt b/parser/testdata/00679_replace_asterisk/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00679_replace_asterisk/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00679_uuid_in_key/explain.txt b/parser/testdata/00679_uuid_in_key/explain.txt new file mode 100644 index 000000000..ee191c1fc --- /dev/null +++ b/parser/testdata/00679_uuid_in_key/explain.txt @@ -0,0 +1,2 @@ +CreateQuery uuid (children 1) + Identifier uuid diff --git a/parser/testdata/00680_duplicate_columns_inside_union_all/explain.txt b/parser/testdata/00680_duplicate_columns_inside_union_all/explain.txt new file mode 100644 index 000000000..a5ad12c14 --- /dev/null +++ b/parser/testdata/00680_duplicate_columns_inside_union_all/explain.txt @@ -0,0 +1,45 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Identifier x + Identifier y + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 2) + SelectQuery (children 2) + ExpressionList (children 2) + Identifier x + Identifier y + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_1 (alias x) + Literal UInt64_2 (alias y) + SelectQuery (children 2) + ExpressionList (children 2) + Identifier x + Identifier x + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_3 (alias x) + Literal UInt64_4 (alias y) + ExpressionList (children 2) + OrderByElement (children 1) + Identifier x + OrderByElement (children 1) + Identifier y diff --git a/parser/testdata/00681_duplicate_columns_inside_union_all_stas_sviridov/explain.txt b/parser/testdata/00681_duplicate_columns_inside_union_all_stas_sviridov/explain.txt new file mode 100644 index 000000000..fe90bb653 --- /dev/null +++ b/parser/testdata/00681_duplicate_columns_inside_union_all_stas_sviridov/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_00681 (children 1) + Identifier test_00681 diff --git a/parser/testdata/00685_output_format_json_escape_forward_slashes/explain.txt b/parser/testdata/00685_output_format_json_escape_forward_slashes/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00685_output_format_json_escape_forward_slashes/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00687_insert_into_mv/explain.txt b/parser/testdata/00687_insert_into_mv/explain.txt new file mode 100644 index 000000000..af36edd00 --- /dev/null +++ b/parser/testdata/00687_insert_into_mv/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_00687 (children 1) + Identifier test_00687 diff --git a/parser/testdata/00688_aggregation_retention/explain.txt b/parser/testdata/00688_aggregation_retention/explain.txt new file mode 100644 index 000000000..44e3d84d6 --- /dev/null +++ b/parser/testdata/00688_aggregation_retention/explain.txt @@ -0,0 +1,2 @@ +DropQuery retention_test (children 1) + Identifier retention_test diff --git a/parser/testdata/00688_case_without_else/explain.txt b/parser/testdata/00688_case_without_else/explain.txt new file mode 100644 index 000000000..665ec3f9a --- /dev/null +++ b/parser/testdata/00688_case_without_else/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_00688 (children 1) + Identifier test_00688 diff --git a/parser/testdata/00688_low_cardinality_alter_add_column/explain.txt b/parser/testdata/00688_low_cardinality_alter_add_column/explain.txt new file mode 100644 index 000000000..9aef40bce --- /dev/null +++ b/parser/testdata/00688_low_cardinality_alter_add_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery cardinality (children 1) + Identifier cardinality diff --git a/parser/testdata/00688_low_cardinality_defaults/explain.txt b/parser/testdata/00688_low_cardinality_defaults/explain.txt new file mode 100644 index 000000000..99a835e76 --- /dev/null +++ b/parser/testdata/00688_low_cardinality_defaults/explain.txt @@ -0,0 +1,21 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Function toLowCardinality (children 1) + ExpressionList (children 1) + Identifier val + Literal \'UInt64\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayJoin (alias val) (children 1) + ExpressionList (children 1) + Literal Array_[\'1\'] diff --git a/parser/testdata/00688_low_cardinality_dictionary_deserialization/explain.txt b/parser/testdata/00688_low_cardinality_dictionary_deserialization/explain.txt new file mode 100644 index 000000000..f54977a38 --- /dev/null +++ b/parser/testdata/00688_low_cardinality_dictionary_deserialization/explain.txt @@ -0,0 +1,2 @@ +DropQuery lc_dict_reading (children 1) + Identifier lc_dict_reading diff --git a/parser/testdata/00688_low_cardinality_in/explain.txt b/parser/testdata/00688_low_cardinality_in/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00688_low_cardinality_in/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00688_low_cardinality_nullable_cast/explain.txt b/parser/testdata/00688_low_cardinality_nullable_cast/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00688_low_cardinality_nullable_cast/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00688_low_cardinality_prewhere/explain.txt b/parser/testdata/00688_low_cardinality_prewhere/explain.txt new file mode 100644 index 000000000..39a85445e --- /dev/null +++ b/parser/testdata/00688_low_cardinality_prewhere/explain.txt @@ -0,0 +1,2 @@ +DropQuery lc_prewhere (children 1) + Identifier lc_prewhere diff --git a/parser/testdata/00688_low_cardinality_serialization/explain.txt b/parser/testdata/00688_low_cardinality_serialization/explain.txt new file mode 100644 index 000000000..8def2c84b --- /dev/null +++ b/parser/testdata/00688_low_cardinality_serialization/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'NativeReader\' diff --git a/parser/testdata/00688_low_cardinality_syntax/explain.txt b/parser/testdata/00688_low_cardinality_syntax/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00688_low_cardinality_syntax/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00689_join_table_function/explain.txt b/parser/testdata/00689_join_table_function/explain.txt new file mode 100644 index 000000000..954f892cd --- /dev/null +++ b/parser/testdata/00689_join_table_function/explain.txt @@ -0,0 +1,24 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (alias a) (children 1) + ExpressionList (children 1) + Literal UInt64_3 + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Function numbers (alias b) (children 1) + ExpressionList (children 1) + Literal UInt64_3 + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier a.number + Identifier b.number + ExpressionList (children 1) + OrderByElement (children 1) + Identifier a.number diff --git a/parser/testdata/00691_array_distinct/explain.txt b/parser/testdata/00691_array_distinct/explain.txt new file mode 100644 index 000000000..cabb1a8a2 --- /dev/null +++ b/parser/testdata/00691_array_distinct/explain.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function arrayDistinct (children 1) + ExpressionList (children 1) + Function arrayMap (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Literal UInt64_0 + Function range (children 1) + ExpressionList (children 1) + Literal UInt64_2 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_2 diff --git a/parser/testdata/00692_if_exception_code/explain.txt b/parser/testdata/00692_if_exception_code/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00692_if_exception_code/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00693_max_block_size_system_tables_columns/explain.txt b/parser/testdata/00693_max_block_size_system_tables_columns/explain.txt new file mode 100644 index 000000000..9d835f96b --- /dev/null +++ b/parser/testdata/00693_max_block_size_system_tables_columns/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function lessOrEquals (children 1) + ExpressionList (children 2) + Function avg (children 1) + ExpressionList (children 1) + Function blockSize (children 1) + ExpressionList + Literal UInt64_10 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.tables + Set diff --git a/parser/testdata/00695_pretty_max_column_pad_width/explain.txt b/parser/testdata/00695_pretty_max_column_pad_width/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00695_pretty_max_column_pad_width/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00696_system_columns_limit/explain.txt b/parser/testdata/00696_system_columns_limit/explain.txt new file mode 100644 index 000000000..c7653d60d --- /dev/null +++ b/parser/testdata/00696_system_columns_limit/explain.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function greater (children 1) + ExpressionList (children 2) + Function count (children 1) + ExpressionList + Literal UInt64_0 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.columns + Literal UInt64_0 diff --git a/parser/testdata/00697_in_subquery_shard/explain.txt b/parser/testdata/00697_in_subquery_shard/explain.txt new file mode 100644 index 000000000..e40bef34f --- /dev/null +++ b/parser/testdata/00697_in_subquery_shard/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function in (children 1) + ExpressionList (children 2) + Literal UInt64_0 + Literal UInt64_0 diff --git a/parser/testdata/00698_validate_array_sizes_for_nested/explain.txt b/parser/testdata/00698_validate_array_sizes_for_nested/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00698_validate_array_sizes_for_nested/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00698_validate_array_sizes_for_nested_kshvakov/explain.txt b/parser/testdata/00698_validate_array_sizes_for_nested_kshvakov/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00698_validate_array_sizes_for_nested_kshvakov/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00700_decimal_aggregates/explain.txt b/parser/testdata/00700_decimal_aggregates/explain.txt new file mode 100644 index 000000000..43dace053 --- /dev/null +++ b/parser/testdata/00700_decimal_aggregates/explain.txt @@ -0,0 +1,2 @@ +DropQuery decimal (children 1) + Identifier decimal diff --git a/parser/testdata/00700_decimal_arithm/explain.txt b/parser/testdata/00700_decimal_arithm/explain.txt new file mode 100644 index 000000000..43dace053 --- /dev/null +++ b/parser/testdata/00700_decimal_arithm/explain.txt @@ -0,0 +1,2 @@ +DropQuery decimal (children 1) + Identifier decimal diff --git a/parser/testdata/00700_decimal_array_functions/explain.txt b/parser/testdata/00700_decimal_array_functions/explain.txt new file mode 100644 index 000000000..06bc7b4a9 --- /dev/null +++ b/parser/testdata/00700_decimal_array_functions/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function arrayDifference (alias x) (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 2) + Function toDecimal32 (children 1) + ExpressionList (children 2) + Literal Float64_0 + Literal UInt64_4 + Function toDecimal32 (children 1) + ExpressionList (children 2) + Literal Float64_1 + Literal UInt64_4 + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00700_decimal_bounds/explain.txt b/parser/testdata/00700_decimal_bounds/explain.txt new file mode 100644 index 000000000..43dace053 --- /dev/null +++ b/parser/testdata/00700_decimal_bounds/explain.txt @@ -0,0 +1,2 @@ +DropQuery decimal (children 1) + Identifier decimal diff --git a/parser/testdata/00700_decimal_casts/explain.txt b/parser/testdata/00700_decimal_casts/explain.txt new file mode 100644 index 000000000..72cb45f46 --- /dev/null +++ b/parser/testdata/00700_decimal_casts/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 3) + Function toDecimal32 (children 1) + ExpressionList (children 2) + Literal \'1.1\' + Literal UInt64_1 + Function toDecimal32 (children 1) + ExpressionList (children 2) + Literal \'1.1\' + Literal UInt64_2 + Function toDecimal32 (children 1) + ExpressionList (children 2) + Literal \'1.1\' + Literal UInt64_8 diff --git a/parser/testdata/00700_decimal_casts_2/explain.txt b/parser/testdata/00700_decimal_casts_2/explain.txt new file mode 100644 index 000000000..8957ae406 --- /dev/null +++ b/parser/testdata/00700_decimal_casts_2/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 3) + Function toDecimal128 (alias x) (children 1) + ExpressionList (children 2) + Literal \'1234567890\' + Literal UInt64_28 + Function toDecimal128 (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_29 + Function toDecimal128 (children 1) + ExpressionList (children 2) + Function toDecimal128 (children 1) + ExpressionList (children 2) + Literal \'1234567890\' + Literal UInt64_28 + Literal UInt64_29 diff --git a/parser/testdata/00700_decimal_compare/explain.txt b/parser/testdata/00700_decimal_compare/explain.txt new file mode 100644 index 000000000..43dace053 --- /dev/null +++ b/parser/testdata/00700_decimal_compare/explain.txt @@ -0,0 +1,2 @@ +DropQuery decimal (children 1) + Identifier decimal diff --git a/parser/testdata/00700_decimal_complex_types/explain.txt b/parser/testdata/00700_decimal_complex_types/explain.txt new file mode 100644 index 000000000..43dace053 --- /dev/null +++ b/parser/testdata/00700_decimal_complex_types/explain.txt @@ -0,0 +1,2 @@ +DropQuery decimal (children 1) + Identifier decimal diff --git a/parser/testdata/00700_decimal_defaults/explain.txt b/parser/testdata/00700_decimal_defaults/explain.txt new file mode 100644 index 000000000..43dace053 --- /dev/null +++ b/parser/testdata/00700_decimal_defaults/explain.txt @@ -0,0 +1,2 @@ +DropQuery decimal (children 1) + Identifier decimal diff --git a/parser/testdata/00700_decimal_empty_aggregates/explain.txt b/parser/testdata/00700_decimal_empty_aggregates/explain.txt new file mode 100644 index 000000000..43dace053 --- /dev/null +++ b/parser/testdata/00700_decimal_empty_aggregates/explain.txt @@ -0,0 +1,2 @@ +DropQuery decimal (children 1) + Identifier decimal diff --git a/parser/testdata/00700_decimal_formats/explain.txt b/parser/testdata/00700_decimal_formats/explain.txt new file mode 100644 index 000000000..43dace053 --- /dev/null +++ b/parser/testdata/00700_decimal_formats/explain.txt @@ -0,0 +1,2 @@ +DropQuery decimal (children 1) + Identifier decimal diff --git a/parser/testdata/00700_decimal_gathers/explain.txt b/parser/testdata/00700_decimal_gathers/explain.txt new file mode 100644 index 000000000..f36413ff0 --- /dev/null +++ b/parser/testdata/00700_decimal_gathers/explain.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function if (children 1) + ExpressionList (children 3) + Literal UInt64_1 + Function array (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Function materialize (children 1) + ExpressionList (children 1) + Literal Float64_2 + Literal \'Decimal(9,3)\' + Function array (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Function materialize (children 1) + ExpressionList (children 1) + Literal Float64_1 + Literal \'Decimal(9,3)\' diff --git a/parser/testdata/00700_decimal_in_keys/explain.txt b/parser/testdata/00700_decimal_in_keys/explain.txt new file mode 100644 index 000000000..43dace053 --- /dev/null +++ b/parser/testdata/00700_decimal_in_keys/explain.txt @@ -0,0 +1,2 @@ +DropQuery decimal (children 1) + Identifier decimal diff --git a/parser/testdata/00700_decimal_math/explain.txt b/parser/testdata/00700_decimal_math/explain.txt new file mode 100644 index 000000000..b8e85c53b --- /dev/null +++ b/parser/testdata/00700_decimal_math/explain.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 3) + Function toDecimal32 (alias x) (children 1) + ExpressionList (children 2) + Literal \'42.42\' + Literal UInt64_4 + Function toDecimal32 (alias y) (children 1) + ExpressionList (children 2) + Function log (children 1) + ExpressionList (children 1) + Identifier x + Literal UInt64_4 + Function round (children 1) + ExpressionList (children 2) + Function exp (children 1) + ExpressionList (children 1) + Identifier y + Literal UInt64_6 diff --git a/parser/testdata/00700_decimal_null/explain.txt b/parser/testdata/00700_decimal_null/explain.txt new file mode 100644 index 000000000..43dace053 --- /dev/null +++ b/parser/testdata/00700_decimal_null/explain.txt @@ -0,0 +1,2 @@ +DropQuery decimal (children 1) + Identifier decimal diff --git a/parser/testdata/00700_decimal_round/explain.txt b/parser/testdata/00700_decimal_round/explain.txt new file mode 100644 index 000000000..e22444a25 --- /dev/null +++ b/parser/testdata/00700_decimal_round/explain.txt @@ -0,0 +1,31 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 7) + Function toDecimal32 (alias x) (children 1) + ExpressionList (children 2) + Literal Float64_12345.6789 + Literal UInt64_4 + Function round (children 1) + ExpressionList (children 1) + Identifier x + Function round (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_1 + Function round (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_2 + Function round (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_3 + Function round (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_4 + Function round (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_5 diff --git a/parser/testdata/00700_decimal_with_default_precision_and_scale/explain.txt b/parser/testdata/00700_decimal_with_default_precision_and_scale/explain.txt new file mode 100644 index 000000000..43dace053 --- /dev/null +++ b/parser/testdata/00700_decimal_with_default_precision_and_scale/explain.txt @@ -0,0 +1,2 @@ +DropQuery decimal (children 1) + Identifier decimal diff --git a/parser/testdata/00700_to_decimal_or_something/explain.txt b/parser/testdata/00700_to_decimal_or_something/explain.txt new file mode 100644 index 000000000..bca66d70e --- /dev/null +++ b/parser/testdata/00700_to_decimal_or_something/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 3) + Function toDecimal32OrZero (children 1) + ExpressionList (children 2) + Literal \'1.1\' + Literal UInt64_1 + Function toDecimal32OrZero (children 1) + ExpressionList (children 2) + Literal \'1.1\' + Literal UInt64_2 + Function toDecimal32OrZero (children 1) + ExpressionList (children 2) + Literal \'1.1\' + Literal UInt64_8 diff --git a/parser/testdata/00701_context_use_after_free/explain.txt b/parser/testdata/00701_context_use_after_free/explain.txt new file mode 100644 index 000000000..88f88460f --- /dev/null +++ b/parser/testdata/00701_context_use_after_free/explain.txt @@ -0,0 +1,28 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function less (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 2) + Function toDecimal128 (children 1) + ExpressionList (children 2) + Function materialize (children 1) + ExpressionList (children 1) + Literal \'1\' + Literal UInt64_0 + Function toDecimal128 (children 1) + ExpressionList (children 2) + Literal \'2\' + Literal UInt64_0 + Function tuple (children 1) + ExpressionList (children 2) + Function toDecimal128 (children 1) + ExpressionList (children 2) + Literal \'1\' + Literal UInt64_0 + Function toDecimal128 (children 1) + ExpressionList (children 2) + Literal \'2\' + Literal UInt64_0 diff --git a/parser/testdata/00701_join_default_strictness/explain.txt b/parser/testdata/00701_join_default_strictness/explain.txt new file mode 100644 index 000000000..81e83898d --- /dev/null +++ b/parser/testdata/00701_join_default_strictness/explain.txt @@ -0,0 +1,2 @@ +DropQuery a1 (children 1) + Identifier a1 diff --git a/parser/testdata/00701_rollup/explain.txt b/parser/testdata/00701_rollup/explain.txt new file mode 100644 index 000000000..0ef080f75 --- /dev/null +++ b/parser/testdata/00701_rollup/explain.txt @@ -0,0 +1,2 @@ +DropQuery rollup (children 1) + Identifier rollup diff --git a/parser/testdata/00702_join_on_dups/explain.txt b/parser/testdata/00702_join_on_dups/explain.txt new file mode 100644 index 000000000..2d139630a --- /dev/null +++ b/parser/testdata/00702_join_on_dups/explain.txt @@ -0,0 +1,2 @@ +DropQuery X (children 1) + Identifier X diff --git a/parser/testdata/00702_join_with_using/explain.txt b/parser/testdata/00702_join_with_using/explain.txt new file mode 100644 index 000000000..0cd700931 --- /dev/null +++ b/parser/testdata/00702_join_with_using/explain.txt @@ -0,0 +1,2 @@ +DropQuery using1 (children 1) + Identifier using1 diff --git a/parser/testdata/00702_join_with_using_dups/explain.txt b/parser/testdata/00702_join_with_using_dups/explain.txt new file mode 100644 index 000000000..2d139630a --- /dev/null +++ b/parser/testdata/00702_join_with_using_dups/explain.txt @@ -0,0 +1,2 @@ +DropQuery X (children 1) + Identifier X diff --git a/parser/testdata/00702_where_with_quailified_names/explain.txt b/parser/testdata/00702_where_with_quailified_names/explain.txt new file mode 100644 index 000000000..30c0bf0b7 --- /dev/null +++ b/parser/testdata/00702_where_with_quailified_names/explain.txt @@ -0,0 +1,2 @@ +DropQuery where_qualified (children 1) + Identifier where_qualified diff --git a/parser/testdata/00703_join_crash/explain.txt b/parser/testdata/00703_join_crash/explain.txt new file mode 100644 index 000000000..f16d15dac --- /dev/null +++ b/parser/testdata/00703_join_crash/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab1 (children 1) + Identifier tab1 diff --git a/parser/testdata/00704_arrayCumSumLimited_arrayDifference/explain.txt b/parser/testdata/00704_arrayCumSumLimited_arrayDifference/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/00704_arrayCumSumLimited_arrayDifference/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/00705_aggregate_states_addition/explain.txt b/parser/testdata/00705_aggregate_states_addition/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00705_aggregate_states_addition/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00706_iso_week_and_day_of_year/explain.txt b/parser/testdata/00706_iso_week_and_day_of_year/explain.txt new file mode 100644 index 000000000..4928df73d --- /dev/null +++ b/parser/testdata/00706_iso_week_and_day_of_year/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toDayOfYear (children 1) + ExpressionList (children 1) + Function toDate (children 1) + ExpressionList (children 1) + Literal \'2018-09-13\' diff --git a/parser/testdata/00707_float_csv_delimiter/explain.txt b/parser/testdata/00707_float_csv_delimiter/explain.txt new file mode 100644 index 000000000..2c4138b3f --- /dev/null +++ b/parser/testdata/00707_float_csv_delimiter/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_00707 (children 1) + Identifier test_00707 diff --git a/parser/testdata/00709_virtual_column_partition_id/explain.txt b/parser/testdata/00709_virtual_column_partition_id/explain.txt new file mode 100644 index 000000000..0918cbde1 --- /dev/null +++ b/parser/testdata/00709_virtual_column_partition_id/explain.txt @@ -0,0 +1,2 @@ +DropQuery partition_id (children 1) + Identifier partition_id diff --git a/parser/testdata/00710_array_enumerate_dense/explain.txt b/parser/testdata/00710_array_enumerate_dense/explain.txt new file mode 100644 index 000000000..49679172b --- /dev/null +++ b/parser/testdata/00710_array_enumerate_dense/explain.txt @@ -0,0 +1,55 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier a + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 3) + Function groupArray (alias a) (children 1) + ExpressionList (children 1) + Function intDiv (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_54321 + Function arrayUniq (alias u) (children 1) + ExpressionList (children 1) + Identifier a + Function arrayEnumerateDense (alias arr) (children 1) + ExpressionList (children 1) + Identifier a + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_1000000 + ExpressionList (children 1) + Function modulo (children 1) + ExpressionList (children 2) + Function intHash32 (children 1) + ExpressionList (children 1) + Identifier number + Literal UInt64_100000 + Function notEquals (children 1) + ExpressionList (children 2) + Identifier u + Function arrayElement (children 1) + ExpressionList (children 2) + Function arrayReverseSort (children 1) + ExpressionList (children 1) + Identifier arr + Literal UInt64_1 diff --git a/parser/testdata/00711_array_enumerate_variants/explain.txt b/parser/testdata/00711_array_enumerate_variants/explain.txt new file mode 100644 index 000000000..e3252903c --- /dev/null +++ b/parser/testdata/00711_array_enumerate_variants/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function arrayEnumerateUniq (children 1) + ExpressionList (children 1) + Literal Array_[UInt64_1, UInt64_2, UInt64_3, UInt64_1, UInt64_2] + Function arrayEnumerateDense (children 1) + ExpressionList (children 1) + Literal Array_[UInt64_1, UInt64_2, UInt64_3, UInt64_1, UInt64_2] diff --git a/parser/testdata/00712_nan_comparison/explain.txt b/parser/testdata/00712_nan_comparison/explain.txt new file mode 100644 index 000000000..7ecc2164c --- /dev/null +++ b/parser/testdata/00712_nan_comparison/explain.txt @@ -0,0 +1,40 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 6) + Function equals (children 1) + ExpressionList (children 2) + Literal Float64_nan + Function toUInt8 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function notEquals (children 1) + ExpressionList (children 2) + Literal Float64_nan + Function toUInt8 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function less (children 1) + ExpressionList (children 2) + Literal Float64_nan + Function toUInt8 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function greater (children 1) + ExpressionList (children 2) + Literal Float64_nan + Function toUInt8 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function lessOrEquals (children 1) + ExpressionList (children 2) + Literal Float64_nan + Function toUInt8 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Literal Float64_nan + Function toUInt8 (children 1) + ExpressionList (children 1) + Literal UInt64_0 diff --git a/parser/testdata/00712_prewhere_with_alias/explain.txt b/parser/testdata/00712_prewhere_with_alias/explain.txt new file mode 100644 index 000000000..683f418b1 --- /dev/null +++ b/parser/testdata/00712_prewhere_with_alias/explain.txt @@ -0,0 +1,2 @@ +DropQuery prewhere_alias (children 1) + Identifier prewhere_alias diff --git a/parser/testdata/00712_prewhere_with_alias_and_virtual_column/explain.txt b/parser/testdata/00712_prewhere_with_alias_and_virtual_column/explain.txt new file mode 100644 index 000000000..31a4761db --- /dev/null +++ b/parser/testdata/00712_prewhere_with_alias_and_virtual_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab_00712_1 (children 1) + Identifier tab_00712_1 diff --git a/parser/testdata/00712_prewhere_with_alias_bug/explain.txt b/parser/testdata/00712_prewhere_with_alias_bug/explain.txt new file mode 100644 index 000000000..683f418b1 --- /dev/null +++ b/parser/testdata/00712_prewhere_with_alias_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery prewhere_alias (children 1) + Identifier prewhere_alias diff --git a/parser/testdata/00712_prewhere_with_alias_bug_2/explain.txt b/parser/testdata/00712_prewhere_with_alias_bug_2/explain.txt new file mode 100644 index 000000000..811ae32e9 --- /dev/null +++ b/parser/testdata/00712_prewhere_with_alias_bug_2/explain.txt @@ -0,0 +1,2 @@ +DropQuery table (children 1) + Identifier table diff --git a/parser/testdata/00712_prewhere_with_final/explain.txt b/parser/testdata/00712_prewhere_with_final/explain.txt new file mode 100644 index 000000000..96fe8cd78 --- /dev/null +++ b/parser/testdata/00712_prewhere_with_final/explain.txt @@ -0,0 +1,2 @@ +DropQuery trepl (children 1) + Identifier trepl diff --git a/parser/testdata/00712_prewhere_with_missing_columns/explain.txt b/parser/testdata/00712_prewhere_with_missing_columns/explain.txt new file mode 100644 index 000000000..686f57196 --- /dev/null +++ b/parser/testdata/00712_prewhere_with_missing_columns/explain.txt @@ -0,0 +1,2 @@ +DropQuery mergetree_00712 (children 1) + Identifier mergetree_00712 diff --git a/parser/testdata/00712_prewhere_with_missing_columns_2/explain.txt b/parser/testdata/00712_prewhere_with_missing_columns_2/explain.txt new file mode 100644 index 000000000..488e23d1c --- /dev/null +++ b/parser/testdata/00712_prewhere_with_missing_columns_2/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_00712_1 (children 1) + Identifier t_00712_1 diff --git a/parser/testdata/00712_prewhere_with_sampling/explain.txt b/parser/testdata/00712_prewhere_with_sampling/explain.txt new file mode 100644 index 000000000..dc5172c7c --- /dev/null +++ b/parser/testdata/00712_prewhere_with_sampling/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab_00712_2 (children 1) + Identifier tab_00712_2 diff --git a/parser/testdata/00712_prewhere_with_sampling_and_alias/explain.txt b/parser/testdata/00712_prewhere_with_sampling_and_alias/explain.txt new file mode 100644 index 000000000..ab85a1881 --- /dev/null +++ b/parser/testdata/00712_prewhere_with_sampling_and_alias/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_00712_2 (children 1) + Identifier t_00712_2 diff --git a/parser/testdata/00713_collapsing_merge_tree/explain.txt b/parser/testdata/00713_collapsing_merge_tree/explain.txt new file mode 100644 index 000000000..d3d4eb189 --- /dev/null +++ b/parser/testdata/00713_collapsing_merge_tree/explain.txt @@ -0,0 +1,2 @@ +DropQuery collapsing (children 1) + Identifier collapsing diff --git a/parser/testdata/00714_alter_uuid/explain.txt b/parser/testdata/00714_alter_uuid/explain.txt new file mode 100644 index 000000000..7f5933b93 --- /dev/null +++ b/parser/testdata/00714_alter_uuid/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal \'00000000-0000-01f8-9cb8-cb1b82fb3900\' (alias str) + Function toUUID (children 1) + ExpressionList (children 1) + Identifier str diff --git a/parser/testdata/00714_create_temporary_table_with_in_clause/explain.txt b/parser/testdata/00714_create_temporary_table_with_in_clause/explain.txt new file mode 100644 index 000000000..151cfdc5d --- /dev/null +++ b/parser/testdata/00714_create_temporary_table_with_in_clause/explain.txt @@ -0,0 +1,2 @@ +DropQuery temporary_table (children 1) + Identifier temporary_table diff --git a/parser/testdata/00715_bounding_ratio/explain.txt b/parser/testdata/00715_bounding_ratio/explain.txt new file mode 100644 index 000000000..89e28808d --- /dev/null +++ b/parser/testdata/00715_bounding_ratio/explain.txt @@ -0,0 +1,2 @@ +DropQuery rate_test (children 1) + Identifier rate_test diff --git a/parser/testdata/00715_bounding_ratio_merge_empty/explain.txt b/parser/testdata/00715_bounding_ratio_merge_empty/explain.txt new file mode 100644 index 000000000..89e28808d --- /dev/null +++ b/parser/testdata/00715_bounding_ratio_merge_empty/explain.txt @@ -0,0 +1,2 @@ +DropQuery rate_test (children 1) + Identifier rate_test diff --git a/parser/testdata/00716_allow_ddl/explain.txt b/parser/testdata/00716_allow_ddl/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00716_allow_ddl/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00717_default_join_type/explain.txt b/parser/testdata/00717_default_join_type/explain.txt new file mode 100644 index 000000000..5ac244cc7 --- /dev/null +++ b/parser/testdata/00717_default_join_type/explain.txt @@ -0,0 +1,2 @@ +DropQuery default_join1 (children 1) + Identifier default_join1 diff --git a/parser/testdata/00717_low_cardinaliry_distributed_group_by/explain.txt b/parser/testdata/00717_low_cardinaliry_distributed_group_by/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00717_low_cardinaliry_distributed_group_by/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00717_low_cardinaliry_group_by/explain.txt b/parser/testdata/00717_low_cardinaliry_group_by/explain.txt new file mode 100644 index 000000000..c46368f0f --- /dev/null +++ b/parser/testdata/00717_low_cardinaliry_group_by/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab_00717 (children 1) + Identifier tab_00717 diff --git a/parser/testdata/00717_merge_and_distributed/explain.txt b/parser/testdata/00717_merge_and_distributed/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00717_merge_and_distributed/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00718_format_datetime/explain.txt b/parser/testdata/00718_format_datetime/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00718_format_datetime/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00718_format_datetime_1/explain.txt b/parser/testdata/00718_format_datetime_1/explain.txt new file mode 100644 index 000000000..cf1b9900d --- /dev/null +++ b/parser/testdata/00718_format_datetime_1/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function formatDateTime (children 1) + ExpressionList (children 2) + Function toDateTime64 (children 1) + ExpressionList (children 3) + Literal \'1900-01-01 00:00:00.000\' + Literal UInt64_3 + Literal \'UTC\' + Literal \'%F %T.%f\' diff --git a/parser/testdata/00718_low_cardinaliry_alter/explain.txt b/parser/testdata/00718_low_cardinaliry_alter/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00718_low_cardinaliry_alter/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00719_format_datetime_f_varsize_bug/explain.txt b/parser/testdata/00719_format_datetime_f_varsize_bug/explain.txt new file mode 100644 index 000000000..c4bbf4a6e --- /dev/null +++ b/parser/testdata/00719_format_datetime_f_varsize_bug/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function formatDateTime (children 1) + ExpressionList (children 2) + Function Date (children 1) + ExpressionList (children 1) + Literal \'2026-01-02\' + Literal \'%h:%M:%s.%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f\' diff --git a/parser/testdata/00719_format_datetime_rand/explain.txt b/parser/testdata/00719_format_datetime_rand/explain.txt new file mode 100644 index 000000000..d8bc4e90a --- /dev/null +++ b/parser/testdata/00719_format_datetime_rand/explain.txt @@ -0,0 +1,32 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function toDateTime (alias t) (children 1) + ExpressionList (children 1) + Function plus (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Function modulo (children 1) + ExpressionList (children 2) + Function rand (children 1) + ExpressionList + Literal UInt64_4294967295 + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1000000 + Function notEquals (children 1) + ExpressionList (children 2) + Function formatDateTime (children 1) + ExpressionList (children 2) + Identifier t + Literal \'%F %T\' + Function toString (children 1) + ExpressionList (children 1) + Identifier t diff --git a/parser/testdata/00720_combinations_of_aggregate_combinators/explain.txt b/parser/testdata/00720_combinations_of_aggregate_combinators/explain.txt new file mode 100644 index 000000000..8702bf7c9 --- /dev/null +++ b/parser/testdata/00720_combinations_of_aggregate_combinators/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function sumForEachArray (children 1) + ExpressionList (children 1) + Literal Array_[Array_[UInt64_1], Array_[UInt64_2]] diff --git a/parser/testdata/00720_with_cube/explain.txt b/parser/testdata/00720_with_cube/explain.txt new file mode 100644 index 000000000..3b8c5533f --- /dev/null +++ b/parser/testdata/00720_with_cube/explain.txt @@ -0,0 +1,2 @@ +DropQuery cube (children 1) + Identifier cube diff --git a/parser/testdata/00721_force_by_identical_result_after_merge_zookeeper_long/explain.txt b/parser/testdata/00721_force_by_identical_result_after_merge_zookeeper_long/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00721_force_by_identical_result_after_merge_zookeeper_long/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00722_inner_join/explain.txt b/parser/testdata/00722_inner_join/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00722_inner_join/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00723_remerge_sort/explain.txt b/parser/testdata/00723_remerge_sort/explain.txt new file mode 100644 index 000000000..535ba8e73 --- /dev/null +++ b/parser/testdata/00723_remerge_sort/explain.txt @@ -0,0 +1,35 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Identifier x + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function toString (alias x) (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_2000000 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier x + Literal UInt64_10000 + Literal UInt64_10 diff --git a/parser/testdata/00724_insert_values_datetime_conversion/explain.txt b/parser/testdata/00724_insert_values_datetime_conversion/explain.txt new file mode 100644 index 000000000..3359742fd --- /dev/null +++ b/parser/testdata/00724_insert_values_datetime_conversion/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_00724 (children 1) + Identifier test_00724 diff --git a/parser/testdata/00725_comment_columns_long/explain.txt b/parser/testdata/00725_comment_columns_long/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00725_comment_columns_long/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00725_ipv4_ipv6_domains/explain.txt b/parser/testdata/00725_ipv4_ipv6_domains/explain.txt new file mode 100644 index 000000000..edd7f45b8 --- /dev/null +++ b/parser/testdata/00725_ipv4_ipv6_domains/explain.txt @@ -0,0 +1,2 @@ +DropQuery ipv4_test (children 1) + Identifier ipv4_test diff --git a/parser/testdata/00725_join_on_bug_1/explain.txt b/parser/testdata/00725_join_on_bug_1/explain.txt new file mode 100644 index 000000000..81e83898d --- /dev/null +++ b/parser/testdata/00725_join_on_bug_1/explain.txt @@ -0,0 +1,2 @@ +DropQuery a1 (children 1) + Identifier a1 diff --git a/parser/testdata/00725_join_on_bug_2/explain.txt b/parser/testdata/00725_join_on_bug_2/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00725_join_on_bug_2/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00725_join_on_bug_3/explain.txt b/parser/testdata/00725_join_on_bug_3/explain.txt new file mode 100644 index 000000000..a3010f74d --- /dev/null +++ b/parser/testdata/00725_join_on_bug_3/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_00725_3 (children 1) + Identifier t_00725_3 diff --git a/parser/testdata/00725_join_on_bug_4/explain.txt b/parser/testdata/00725_join_on_bug_4/explain.txt new file mode 100644 index 000000000..cf676f5c7 --- /dev/null +++ b/parser/testdata/00725_join_on_bug_4/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_00725_4 (children 1) + Identifier t_00725_4 diff --git a/parser/testdata/00725_memory_tracking/explain.txt b/parser/testdata/00725_memory_tracking/explain.txt new file mode 100644 index 000000000..667274602 --- /dev/null +++ b/parser/testdata/00725_memory_tracking/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function least (children 1) + ExpressionList (children 2) + Identifier value + Literal UInt64_0 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.metrics + Function equals (children 1) + ExpressionList (children 2) + Identifier metric + Literal \'MemoryTracking\' diff --git a/parser/testdata/00725_quantiles_shard/explain.txt b/parser/testdata/00725_quantiles_shard/explain.txt new file mode 100644 index 000000000..8cd3fe490 --- /dev/null +++ b/parser/testdata/00725_quantiles_shard/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function quantiles (children 2) + ExpressionList (children 1) + Identifier number + ExpressionList (children 2) + Literal Float64_0.5 + Literal Float64_0.9 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.0.0.{1,2}\' + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 diff --git a/parser/testdata/00726_length_aliases/explain.txt b/parser/testdata/00726_length_aliases/explain.txt new file mode 100644 index 000000000..8faa67ebd --- /dev/null +++ b/parser/testdata/00726_length_aliases/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 3) + Function LENGTH (children 1) + ExpressionList (children 1) + Literal \'корова\' + Function CHAR_LENGTH (children 1) + ExpressionList (children 1) + Literal \'ворона\' + Function CHARACTER_LENGTH (children 1) + ExpressionList (children 1) + Literal \'фейхоа\' diff --git a/parser/testdata/00726_materialized_view_concurrent/explain.txt b/parser/testdata/00726_materialized_view_concurrent/explain.txt new file mode 100644 index 000000000..ad651ae2a --- /dev/null +++ b/parser/testdata/00726_materialized_view_concurrent/explain.txt @@ -0,0 +1,2 @@ +DropQuery src_00726 (children 1) + Identifier src_00726 diff --git a/parser/testdata/00726_modulo_for_date/explain.txt b/parser/testdata/00726_modulo_for_date/explain.txt new file mode 100644 index 000000000..8a05378c0 --- /dev/null +++ b/parser/testdata/00726_modulo_for_date/explain.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Function toDate (children 1) + ExpressionList (children 1) + Literal \'2018-06-21\' + Literal UInt64_234 + Function modulo (children 1) + ExpressionList (children 2) + Function toUInt16 (children 1) + ExpressionList (children 1) + Function toDate (children 1) + ExpressionList (children 1) + Literal \'2018-06-21\' + Literal UInt64_234 diff --git a/parser/testdata/00727_concat/explain.txt b/parser/testdata/00727_concat/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00727_concat/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00729_prewhere_array_join/explain.txt b/parser/testdata/00729_prewhere_array_join/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00729_prewhere_array_join/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00730_unicode_terminal_format/explain.txt b/parser/testdata/00730_unicode_terminal_format/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00730_unicode_terminal_format/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00732_base64_functions/explain.txt b/parser/testdata/00732_base64_functions/explain.txt new file mode 100644 index 000000000..80b1b3500 --- /dev/null +++ b/parser/testdata/00732_base64_functions/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function base64Encode (children 1) + ExpressionList +The query succeeded but the server error '42' was expected (query: EXPLAIN AST SELECT base64Encode(); -- { serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH }). diff --git a/parser/testdata/00732_decimal_summing_merge_tree/explain.txt b/parser/testdata/00732_decimal_summing_merge_tree/explain.txt new file mode 100644 index 000000000..955f44490 --- /dev/null +++ b/parser/testdata/00732_decimal_summing_merge_tree/explain.txt @@ -0,0 +1,2 @@ +DropQuery decimal_sum (children 1) + Identifier decimal_sum diff --git a/parser/testdata/00732_quorum_insert_have_data_before_quorum_zookeeper_long/explain.txt b/parser/testdata/00732_quorum_insert_have_data_before_quorum_zookeeper_long/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00732_quorum_insert_have_data_before_quorum_zookeeper_long/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00732_quorum_insert_lost_part_and_alive_part_zookeeper_long/explain.txt b/parser/testdata/00732_quorum_insert_lost_part_and_alive_part_zookeeper_long/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00732_quorum_insert_lost_part_and_alive_part_zookeeper_long/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00732_quorum_insert_lost_part_zookeeper_long/explain.txt b/parser/testdata/00732_quorum_insert_lost_part_zookeeper_long/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00732_quorum_insert_lost_part_zookeeper_long/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00732_quorum_insert_select_with_old_data_and_without_quorum_zookeeper_long/explain.txt b/parser/testdata/00732_quorum_insert_select_with_old_data_and_without_quorum_zookeeper_long/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00732_quorum_insert_select_with_old_data_and_without_quorum_zookeeper_long/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00732_quorum_insert_simple_test_1_parts_zookeeper_long/explain.txt b/parser/testdata/00732_quorum_insert_simple_test_1_parts_zookeeper_long/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00732_quorum_insert_simple_test_1_parts_zookeeper_long/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00732_quorum_insert_simple_test_2_parts_zookeeper_long/explain.txt b/parser/testdata/00732_quorum_insert_simple_test_2_parts_zookeeper_long/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00732_quorum_insert_simple_test_2_parts_zookeeper_long/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00733_if_datetime/explain.txt b/parser/testdata/00733_if_datetime/explain.txt new file mode 100644 index 000000000..ebc89490d --- /dev/null +++ b/parser/testdata/00733_if_datetime/explain.txt @@ -0,0 +1,22 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function if (children 1) + ExpressionList (children 3) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + Function toDateTime (children 1) + ExpressionList (children 1) + Literal \'2000-01-01 00:00:00\' + Function toDateTime (children 1) + ExpressionList (children 1) + Literal \'2001-02-03 04:05:06\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_2 diff --git a/parser/testdata/00734_timeslot/explain.txt b/parser/testdata/00734_timeslot/explain.txt new file mode 100644 index 000000000..23091b1b2 --- /dev/null +++ b/parser/testdata/00734_timeslot/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function timeSlot (children 1) + ExpressionList (children 1) + Function toDateTime (children 1) + ExpressionList (children 2) + Literal \'2000-01-02 03:04:05\' + Literal \'UTC\' diff --git a/parser/testdata/00735_long_conditional/explain.txt b/parser/testdata/00735_long_conditional/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00735_long_conditional/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00735_or_expr_optimize_bug/explain.txt b/parser/testdata/00735_or_expr_optimize_bug/explain.txt new file mode 100644 index 000000000..78904d9c6 --- /dev/null +++ b/parser/testdata/00735_or_expr_optimize_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery or_expr_bug (children 1) + Identifier or_expr_bug diff --git a/parser/testdata/00736_disjunction_optimisation/explain.txt b/parser/testdata/00736_disjunction_optimisation/explain.txt new file mode 100644 index 000000000..9d7959b44 --- /dev/null +++ b/parser/testdata/00736_disjunction_optimisation/explain.txt @@ -0,0 +1,2 @@ +DropQuery bug (children 1) + Identifier bug diff --git a/parser/testdata/00737_decimal_group_by/explain.txt b/parser/testdata/00737_decimal_group_by/explain.txt new file mode 100644 index 000000000..cf713a3ef --- /dev/null +++ b/parser/testdata/00737_decimal_group_by/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function toDecimal32 (alias x) (children 1) + ExpressionList (children 2) + Literal Float64_1.1 + Literal UInt64_2 + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00738_nested_merge_multidimensional_array/explain.txt b/parser/testdata/00738_nested_merge_multidimensional_array/explain.txt new file mode 100644 index 000000000..52899d942 --- /dev/null +++ b/parser/testdata/00738_nested_merge_multidimensional_array/explain.txt @@ -0,0 +1,2 @@ +DropQuery sites (children 1) + Identifier sites diff --git a/parser/testdata/00739_array_element_nullable_string_mattrobenolt/explain.txt b/parser/testdata/00739_array_element_nullable_string_mattrobenolt/explain.txt new file mode 100644 index 000000000..3948b5c81 --- /dev/null +++ b/parser/testdata/00739_array_element_nullable_string_mattrobenolt/explain.txt @@ -0,0 +1,2 @@ +DropQuery wups (children 1) + Identifier wups diff --git a/parser/testdata/00740_database_in_nested_view/metadata.json b/parser/testdata/00740_database_in_nested_view/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00740_database_in_nested_view/metadata.json +++ b/parser/testdata/00740_database_in_nested_view/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00740_optimize_predicate_expression/explain.txt b/parser/testdata/00740_optimize_predicate_expression/explain.txt new file mode 100644 index 000000000..2d8708706 --- /dev/null +++ b/parser/testdata/00740_optimize_predicate_expression/explain.txt @@ -0,0 +1,2 @@ +DropQuery perf (children 1) + Identifier perf diff --git a/parser/testdata/00741_client_comment_multiline/explain.txt b/parser/testdata/00741_client_comment_multiline/explain.txt new file mode 100644 index 000000000..e709975e4 --- /dev/null +++ b/parser/testdata/00741_client_comment_multiline/explain.txt @@ -0,0 +1,2 @@ +CreateQuery test_00741 (children 1) + Identifier test_00741 diff --git a/parser/testdata/00742_require_join_strictness/explain.txt b/parser/testdata/00742_require_join_strictness/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00742_require_join_strictness/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00743_limit_by_not_found_column/explain.txt b/parser/testdata/00743_limit_by_not_found_column/explain.txt new file mode 100644 index 000000000..abe1dd48b --- /dev/null +++ b/parser/testdata/00743_limit_by_not_found_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery installation_stats (children 1) + Identifier installation_stats diff --git a/parser/testdata/00744_join_not_found_column/explain.txt b/parser/testdata/00744_join_not_found_column/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00744_join_not_found_column/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00745_compile_scalar_subquery/explain.txt b/parser/testdata/00745_compile_scalar_subquery/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00745_compile_scalar_subquery/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00746_compile_non_deterministic_function/explain.txt b/parser/testdata/00746_compile_non_deterministic_function/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00746_compile_non_deterministic_function/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00746_hashing_tuples/explain.txt b/parser/testdata/00746_hashing_tuples/explain.txt new file mode 100644 index 000000000..e9aa10324 --- /dev/null +++ b/parser/testdata/00746_hashing_tuples/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function sipHash64 (children 1) + ExpressionList (children 3) + Literal UInt64_1 + Literal UInt64_2 + Literal UInt64_3 diff --git a/parser/testdata/00747_contributors/explain.txt b/parser/testdata/00747_contributors/explain.txt new file mode 100644 index 000000000..08b4df94c --- /dev/null +++ b/parser/testdata/00747_contributors/explain.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function if (children 1) + ExpressionList (children 3) + Function greater (children 1) + ExpressionList (children 2) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function count (children 1) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.contributors + Literal UInt64_200 + Literal \'ok\' + Literal \'fail\' diff --git a/parser/testdata/00748_insert_array_with_null/explain.txt b/parser/testdata/00748_insert_array_with_null/explain.txt new file mode 100644 index 000000000..0101b7db1 --- /dev/null +++ b/parser/testdata/00748_insert_array_with_null/explain.txt @@ -0,0 +1,2 @@ +DropQuery arraytest (children 1) + Identifier arraytest diff --git a/parser/testdata/00749_inner_join_of_unnamed_subqueries/explain.txt b/parser/testdata/00749_inner_join_of_unnamed_subqueries/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00749_inner_join_of_unnamed_subqueries/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00750_merge_tree_merge_with_o_direct/explain.txt b/parser/testdata/00750_merge_tree_merge_with_o_direct/explain.txt new file mode 100644 index 000000000..1c9d6db0e --- /dev/null +++ b/parser/testdata/00750_merge_tree_merge_with_o_direct/explain.txt @@ -0,0 +1,2 @@ +DropQuery sample_merge_tree (children 1) + Identifier sample_merge_tree diff --git a/parser/testdata/00751_default_databasename_for_view/explain.txt b/parser/testdata/00751_default_databasename_for_view/explain.txt new file mode 100644 index 000000000..e3b58c4a4 --- /dev/null +++ b/parser/testdata/00751_default_databasename_for_view/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_00751 (children 1) + Identifier t_00751 diff --git a/parser/testdata/00751_hashing_ints/explain.txt b/parser/testdata/00751_hashing_ints/explain.txt new file mode 100644 index 000000000..9e609f01c --- /dev/null +++ b/parser/testdata/00751_hashing_ints/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function halfMD5 (children 1) + ExpressionList (children 1) + Literal UInt64_123456 diff --git a/parser/testdata/00751_low_cardinality_nullable_group_by/explain.txt b/parser/testdata/00751_low_cardinality_nullable_group_by/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00751_low_cardinality_nullable_group_by/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00752_low_cardinality_array_result/explain.txt b/parser/testdata/00752_low_cardinality_array_result/explain.txt new file mode 100644 index 000000000..628ed6438 --- /dev/null +++ b/parser/testdata/00752_low_cardinality_array_result/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayJoin (children 1) + ExpressionList (children 1) + Function splitByChar (children 1) + ExpressionList (children 2) + Literal \',\' + Function toLowCardinality (children 1) + ExpressionList (children 1) + Literal \'a,b,c\' diff --git a/parser/testdata/00752_low_cardinality_lambda_argument/explain.txt b/parser/testdata/00752_low_cardinality_lambda_argument/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00752_low_cardinality_lambda_argument/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00752_low_cardinality_left_array_join/explain.txt b/parser/testdata/00752_low_cardinality_left_array_join/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00752_low_cardinality_left_array_join/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00752_low_cardinality_mv_1/explain.txt b/parser/testdata/00752_low_cardinality_mv_1/explain.txt new file mode 100644 index 000000000..6f5b1a50c --- /dev/null +++ b/parser/testdata/00752_low_cardinality_mv_1/explain.txt @@ -0,0 +1,2 @@ +DropQuery lc_00752 (children 1) + Identifier lc_00752 diff --git a/parser/testdata/00752_low_cardinality_mv_2/explain.txt b/parser/testdata/00752_low_cardinality_mv_2/explain.txt new file mode 100644 index 000000000..ce1c5eeb2 --- /dev/null +++ b/parser/testdata/00752_low_cardinality_mv_2/explain.txt @@ -0,0 +1,2 @@ +DropQuery radacct (children 1) + Identifier radacct diff --git a/parser/testdata/00752_low_cardinality_permute/explain.txt b/parser/testdata/00752_low_cardinality_permute/explain.txt new file mode 100644 index 000000000..b39b0f3f6 --- /dev/null +++ b/parser/testdata/00752_low_cardinality_permute/explain.txt @@ -0,0 +1,2 @@ +DropQuery lc_perm (children 1) + Identifier lc_perm diff --git a/parser/testdata/00753_alter_attach/explain.txt b/parser/testdata/00753_alter_attach/explain.txt new file mode 100644 index 000000000..1a5c7e0d7 --- /dev/null +++ b/parser/testdata/00753_alter_attach/explain.txt @@ -0,0 +1,2 @@ +DropQuery alter_attach (children 1) + Identifier alter_attach diff --git a/parser/testdata/00753_alter_destination_for_storage_buffer/explain.txt b/parser/testdata/00753_alter_destination_for_storage_buffer/explain.txt new file mode 100644 index 000000000..b77d7c801 --- /dev/null +++ b/parser/testdata/00753_alter_destination_for_storage_buffer/explain.txt @@ -0,0 +1,2 @@ +DropQuery dst_00753 (children 1) + Identifier dst_00753 diff --git a/parser/testdata/00753_comment_columns_zookeeper/explain.txt b/parser/testdata/00753_comment_columns_zookeeper/explain.txt new file mode 100644 index 000000000..c0cad86e6 --- /dev/null +++ b/parser/testdata/00753_comment_columns_zookeeper/explain.txt @@ -0,0 +1,2 @@ +DropQuery check_comments (children 1) + Identifier check_comments diff --git a/parser/testdata/00753_distributed_system_columns_and_system_tables/explain.txt b/parser/testdata/00753_distributed_system_columns_and_system_tables/explain.txt new file mode 100644 index 000000000..c615faf7e --- /dev/null +++ b/parser/testdata/00753_distributed_system_columns_and_system_tables/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'Check total_bytes/total_rows for Distributed\' diff --git a/parser/testdata/00753_quantile_format/explain.txt b/parser/testdata/00753_quantile_format/explain.txt new file mode 100644 index 000000000..3a4f2faf1 --- /dev/null +++ b/parser/testdata/00753_quantile_format/explain.txt @@ -0,0 +1,2 @@ +DropQuery datetime (children 1) + Identifier datetime diff --git a/parser/testdata/00753_system_columns_and_system_tables_long/explain.txt b/parser/testdata/00753_system_columns_and_system_tables_long/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00753_system_columns_and_system_tables_long/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00753_with_with_single_alias/explain.txt b/parser/testdata/00753_with_with_single_alias/explain.txt new file mode 100644 index 000000000..a7cb80ebd --- /dev/null +++ b/parser/testdata/00753_with_with_single_alias/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier dummy (alias myName) + ExpressionList (children 1) + Identifier myName + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.one diff --git a/parser/testdata/00754_alter_modify_column_partitions/explain.txt b/parser/testdata/00754_alter_modify_column_partitions/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00754_alter_modify_column_partitions/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00754_alter_modify_order_by/explain.txt b/parser/testdata/00754_alter_modify_order_by/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00754_alter_modify_order_by/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00754_alter_modify_order_by_replicated_zookeeper_long/explain.txt b/parser/testdata/00754_alter_modify_order_by_replicated_zookeeper_long/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00754_alter_modify_order_by_replicated_zookeeper_long/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00754_first_significant_subdomain_more/explain.txt b/parser/testdata/00754_first_significant_subdomain_more/explain.txt new file mode 100644 index 000000000..9c738eeb1 --- /dev/null +++ b/parser/testdata/00754_first_significant_subdomain_more/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function firstSignificantSubdomain (children 1) + ExpressionList (children 1) + Function arrayJoin (children 1) + ExpressionList (children 1) + Literal Array_[\'http://usa.gov.com/cgi-bin/yabb.pl?password=qwerty\', \'https://www2.pentagon.mil.net/index.phtml\', \'ftp://stanford.edu.org/~ivanov/phd-thesis.SHTM\'] diff --git a/parser/testdata/00755_avg_value_size_hint_passing/explain.txt b/parser/testdata/00755_avg_value_size_hint_passing/explain.txt new file mode 100644 index 000000000..042bdb4e7 --- /dev/null +++ b/parser/testdata/00755_avg_value_size_hint_passing/explain.txt @@ -0,0 +1,2 @@ +DropQuery size_hint (children 1) + Identifier size_hint diff --git a/parser/testdata/00756_power_alias/explain.txt b/parser/testdata/00756_power_alias/explain.txt new file mode 100644 index 000000000..6ebd39717 --- /dev/null +++ b/parser/testdata/00756_power_alias/explain.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 4) + Function pow (children 1) + ExpressionList (children 2) + Literal UInt64_3 + Literal UInt64_2 + Function POW (children 1) + ExpressionList (children 2) + Literal UInt64_3 + Literal UInt64_2 + Function power (children 1) + ExpressionList (children 2) + Literal UInt64_3 + Literal UInt64_2 + Function POWER (children 1) + ExpressionList (children 2) + Literal UInt64_3 + Literal UInt64_2 diff --git a/parser/testdata/00757_enum_defaults/explain.txt b/parser/testdata/00757_enum_defaults/explain.txt new file mode 100644 index 000000000..3960cb33c --- /dev/null +++ b/parser/testdata/00757_enum_defaults/explain.txt @@ -0,0 +1,2 @@ +DropQuery auto_assign_enum (children 1) + Identifier auto_assign_enum diff --git a/parser/testdata/00757_enum_defaults_const/metadata.json b/parser/testdata/00757_enum_defaults_const/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00757_enum_defaults_const/metadata.json +++ b/parser/testdata/00757_enum_defaults_const/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00757_enum_defaults_const_analyzer/explain.txt b/parser/testdata/00757_enum_defaults_const_analyzer/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00757_enum_defaults_const_analyzer/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00758_array_reverse/explain.txt b/parser/testdata/00758_array_reverse/explain.txt new file mode 100644 index 000000000..066149619 --- /dev/null +++ b/parser/testdata/00758_array_reverse/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function reverse (children 1) + ExpressionList (children 1) + Literal Array_[NULL, \'\\0\'] diff --git a/parser/testdata/00759_kodieg/metadata.json b/parser/testdata/00759_kodieg/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00759_kodieg/metadata.json +++ b/parser/testdata/00759_kodieg/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00760_insert_json_with_defaults/explain.txt b/parser/testdata/00760_insert_json_with_defaults/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00760_insert_json_with_defaults/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00760_url_functions_overflow/explain.txt b/parser/testdata/00760_url_functions_overflow/explain.txt new file mode 100644 index 000000000..5185eeda0 --- /dev/null +++ b/parser/testdata/00760_url_functions_overflow/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function extractURLParameter (children 1) + ExpressionList (children 2) + Literal \'?_\' + Literal \'\\0_________________________________\' diff --git a/parser/testdata/00761_lower_utf8_bug/explain.txt b/parser/testdata/00761_lower_utf8_bug/explain.txt new file mode 100644 index 000000000..685589330 --- /dev/null +++ b/parser/testdata/00761_lower_utf8_bug/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Function lowerUTF8 (children 1) + ExpressionList (children 1) + Literal \'ð\' + Function lowerUTF8 (children 1) + ExpressionList (children 1) + Literal \'ð\' diff --git a/parser/testdata/00762_date_comparsion/explain.txt b/parser/testdata/00762_date_comparsion/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00762_date_comparsion/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00763_create_query_as_table_engine_bug/explain.txt b/parser/testdata/00763_create_query_as_table_engine_bug/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/00763_create_query_as_table_engine_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/00765_locate/explain.txt b/parser/testdata/00765_locate/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00765_locate/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00765_sql_compatibility_aliases/explain.txt b/parser/testdata/00765_sql_compatibility_aliases/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00765_sql_compatibility_aliases/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00779_all_right_join_max_block_size/explain.txt b/parser/testdata/00779_all_right_join_max_block_size/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00779_all_right_join_max_block_size/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00780_unaligned_array_join/explain.txt b/parser/testdata/00780_unaligned_array_join/explain.txt new file mode 100644 index 000000000..aa32d9221 --- /dev/null +++ b/parser/testdata/00780_unaligned_array_join/explain.txt @@ -0,0 +1,41 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 5) + Identifier number + Identifier arr1 + Identifier arr2 + Identifier x + Identifier y + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 3) + Identifier number + Function range (alias arr1) (children 1) + ExpressionList (children 1) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + Function range (alias arr2) (children 1) + ExpressionList (children 1) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_3 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_10 + TablesInSelectQueryElement (children 1) + ArrayJoin (children 1) + ExpressionList (children 2) + Identifier arr1 (alias x) + Identifier arr2 (alias y) + Set diff --git a/parser/testdata/00794_materialized_view_with_column_defaults/explain.txt b/parser/testdata/00794_materialized_view_with_column_defaults/explain.txt new file mode 100644 index 000000000..65a2d8ca3 --- /dev/null +++ b/parser/testdata/00794_materialized_view_with_column_defaults/explain.txt @@ -0,0 +1,2 @@ +DropQuery table_view (children 1) + Identifier table_view diff --git a/parser/testdata/00799_function_dry_run/explain.txt b/parser/testdata/00799_function_dry_run/explain.txt new file mode 100644 index 000000000..e06d78702 --- /dev/null +++ b/parser/testdata/00799_function_dry_run/explain.txt @@ -0,0 +1,2 @@ +DropQuery bm (children 1) + Identifier bm diff --git a/parser/testdata/00800_function_java_hash/explain.txt b/parser/testdata/00800_function_java_hash/explain.txt new file mode 100644 index 000000000..56a38f825 --- /dev/null +++ b/parser/testdata/00800_function_java_hash/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function javaHash (children 1) + ExpressionList (children 1) + Function toInt8 (children 1) + ExpressionList (children 1) + Literal UInt64_123 diff --git a/parser/testdata/00800_low_cardinality_array_group_by_arg/explain.txt b/parser/testdata/00800_low_cardinality_array_group_by_arg/explain.txt new file mode 100644 index 000000000..f0662d5e1 --- /dev/null +++ b/parser/testdata/00800_low_cardinality_array_group_by_arg/explain.txt @@ -0,0 +1,2 @@ +DropQuery table1 (children 1) + Identifier table1 diff --git a/parser/testdata/00800_low_cardinality_distinct_numeric/explain.txt b/parser/testdata/00800_low_cardinality_distinct_numeric/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00800_low_cardinality_distinct_numeric/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00800_low_cardinality_distributed_insert/explain.txt b/parser/testdata/00800_low_cardinality_distributed_insert/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00800_low_cardinality_distributed_insert/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00800_low_cardinality_empty_array/explain.txt b/parser/testdata/00800_low_cardinality_empty_array/explain.txt new file mode 100644 index 000000000..3e5c248ce --- /dev/null +++ b/parser/testdata/00800_low_cardinality_empty_array/explain.txt @@ -0,0 +1,2 @@ +DropQuery lc_00800_1 (children 1) + Identifier lc_00800_1 diff --git a/parser/testdata/00800_low_cardinality_join/explain.txt b/parser/testdata/00800_low_cardinality_join/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00800_low_cardinality_join/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00800_versatile_storage_join/explain.txt b/parser/testdata/00800_versatile_storage_join/explain.txt new file mode 100644 index 000000000..c53668281 --- /dev/null +++ b/parser/testdata/00800_versatile_storage_join/explain.txt @@ -0,0 +1,2 @@ +DropQuery join_any_inner (children 1) + Identifier join_any_inner diff --git a/parser/testdata/00801_daylight_saving_time_hour_underflow/metadata.json b/parser/testdata/00801_daylight_saving_time_hour_underflow/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00801_daylight_saving_time_hour_underflow/metadata.json +++ b/parser/testdata/00801_daylight_saving_time_hour_underflow/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00802_daylight_saving_time_shift_backwards_at_midnight/explain.txt b/parser/testdata/00802_daylight_saving_time_shift_backwards_at_midnight/explain.txt new file mode 100644 index 000000000..bd42514ef --- /dev/null +++ b/parser/testdata/00802_daylight_saving_time_shift_backwards_at_midnight/explain.txt @@ -0,0 +1,37 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 1) + Function concat (alias k) (children 1) + ExpressionList (children 2) + Literal \'\' + Function toString (children 1) + ExpressionList (children 1) + Function plus (children 1) + ExpressionList (children 2) + Function toDateTime (children 1) + ExpressionList (children 2) + Literal \'1981-09-29 00:00:00\' + Literal \'Europe/Moscow\' + Function toIntervalSecond (children 1) + ExpressionList (children 1) + Function multiply (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_300 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10000 + ExpressionList (children 1) + Identifier k + Function greater (children 1) + ExpressionList (children 2) + Function count (children 1) + ExpressionList + Literal UInt64_1 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier k diff --git a/parser/testdata/00802_system_parts_with_datetime_partition/explain.txt b/parser/testdata/00802_system_parts_with_datetime_partition/explain.txt new file mode 100644 index 000000000..0ed39fc99 --- /dev/null +++ b/parser/testdata/00802_system_parts_with_datetime_partition/explain.txt @@ -0,0 +1,2 @@ +DropQuery datetime_table (children 1) + Identifier datetime_table diff --git a/parser/testdata/00803_odbc_driver_2_format/explain.txt b/parser/testdata/00803_odbc_driver_2_format/explain.txt new file mode 100644 index 000000000..b31905638 --- /dev/null +++ b/parser/testdata/00803_odbc_driver_2_format/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 4) + Literal UInt64_1 (alias x) + Literal Array_[UInt64_2, UInt64_3] (alias y) + Literal \'Hello\' (alias z) + Literal NULL (alias a) + Identifier ODBCDriver2 diff --git a/parser/testdata/00803_xxhash/explain.txt b/parser/testdata/00803_xxhash/explain.txt new file mode 100644 index 000000000..dff421178 --- /dev/null +++ b/parser/testdata/00803_xxhash/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Function hex (children 1) + ExpressionList (children 1) + Function xxHash64 (children 1) + ExpressionList (children 1) + Literal \'\' + Function upper (children 1) + ExpressionList (children 1) + Literal \'ef46db3751d8e999\' diff --git a/parser/testdata/00804_rollup_with_having/explain.txt b/parser/testdata/00804_rollup_with_having/explain.txt new file mode 100644 index 000000000..3859843f7 --- /dev/null +++ b/parser/testdata/00804_rollup_with_having/explain.txt @@ -0,0 +1,2 @@ +DropQuery rollup_having (children 1) + Identifier rollup_having diff --git a/parser/testdata/00804_test_alter_compression_codecs/explain.txt b/parser/testdata/00804_test_alter_compression_codecs/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00804_test_alter_compression_codecs/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00804_test_custom_compression_codecs/explain.txt b/parser/testdata/00804_test_custom_compression_codecs/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00804_test_custom_compression_codecs/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00804_test_custom_compression_codes_log_storages/explain.txt b/parser/testdata/00804_test_custom_compression_codes_log_storages/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00804_test_custom_compression_codes_log_storages/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00804_test_deflate_qpl_codec_compression/explain.txt b/parser/testdata/00804_test_deflate_qpl_codec_compression/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00804_test_deflate_qpl_codec_compression/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00804_test_delta_codec_compression/explain.txt b/parser/testdata/00804_test_delta_codec_compression/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00804_test_delta_codec_compression/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00804_test_delta_codec_no_type_alter/explain.txt b/parser/testdata/00804_test_delta_codec_no_type_alter/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00804_test_delta_codec_no_type_alter/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00804_test_zstd_qat_codec_compression/explain.txt b/parser/testdata/00804_test_zstd_qat_codec_compression/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00804_test_zstd_qat_codec_compression/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00805_round_down/explain.txt b/parser/testdata/00805_round_down/explain.txt new file mode 100644 index 000000000..7761e95bf --- /dev/null +++ b/parser/testdata/00805_round_down/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Identifier number (alias x) + Function roundDown (children 1) + ExpressionList (children 2) + Identifier x + Literal Array_[UInt64_0, UInt64_1, UInt64_2, UInt64_3, UInt64_4, UInt64_5] + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_10 diff --git a/parser/testdata/00806_alter_update/explain.txt b/parser/testdata/00806_alter_update/explain.txt new file mode 100644 index 000000000..364f5ce28 --- /dev/null +++ b/parser/testdata/00806_alter_update/explain.txt @@ -0,0 +1,2 @@ +DropQuery alter_update_00806 (children 1) + Identifier alter_update_00806 diff --git a/parser/testdata/00807_regexp_quote_meta/explain.txt b/parser/testdata/00807_regexp_quote_meta/explain.txt new file mode 100644 index 000000000..c999c126a --- /dev/null +++ b/parser/testdata/00807_regexp_quote_meta/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function regexpQuoteMeta (children 1) + ExpressionList (children 1) + Literal \'hello\' diff --git a/parser/testdata/00808_array_enumerate_segfault/explain.txt b/parser/testdata/00808_array_enumerate_segfault/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00808_array_enumerate_segfault/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00808_not_optimize_predicate/explain.txt b/parser/testdata/00808_not_optimize_predicate/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00808_not_optimize_predicate/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00809_add_days_segfault/explain.txt b/parser/testdata/00809_add_days_segfault/explain.txt new file mode 100644 index 000000000..eb70ad7f1 --- /dev/null +++ b/parser/testdata/00809_add_days_segfault/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function ignore (children 1) + ExpressionList (children 1) + Function addDays (children 1) + ExpressionList (children 2) + Function toDateTime (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal Int64_-1 diff --git a/parser/testdata/00810_in_operators_segfault/explain.txt b/parser/testdata/00810_in_operators_segfault/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00810_in_operators_segfault/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00811_garbage/explain.txt b/parser/testdata/00811_garbage/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00811_garbage/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00812_prewhere_alias_array/explain.txt b/parser/testdata/00812_prewhere_alias_array/explain.txt new file mode 100644 index 000000000..7b78485b5 --- /dev/null +++ b/parser/testdata/00812_prewhere_alias_array/explain.txt @@ -0,0 +1,2 @@ +DropQuery prewhere (children 1) + Identifier prewhere diff --git a/parser/testdata/00813_parse_date_time_best_effort_more/explain.txt b/parser/testdata/00813_parse_date_time_best_effort_more/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00813_parse_date_time_best_effort_more/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00814_parsing_ub/explain.txt b/parser/testdata/00814_parsing_ub/explain.txt new file mode 100644 index 000000000..4a7cdb95c --- /dev/null +++ b/parser/testdata/00814_parsing_ub/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toInt8 (children 1) + ExpressionList (children 1) + Literal \'-128\' diff --git a/parser/testdata/00815_left_join_on_stepanel/explain.txt b/parser/testdata/00815_left_join_on_stepanel/explain.txt new file mode 100644 index 000000000..aa96a33ad --- /dev/null +++ b/parser/testdata/00815_left_join_on_stepanel/explain.txt @@ -0,0 +1,2 @@ +DropQuery fact_cpc_clicks (children 1) + Identifier fact_cpc_clicks diff --git a/parser/testdata/00816_join_column_names_sarg/explain.txt b/parser/testdata/00816_join_column_names_sarg/explain.txt new file mode 100644 index 000000000..b539359ad --- /dev/null +++ b/parser/testdata/00816_join_column_names_sarg/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1_00816 (children 1) + Identifier t1_00816 diff --git a/parser/testdata/00817_with_simple/explain.txt b/parser/testdata/00817_with_simple/explain.txt new file mode 100644 index 000000000..a65f93471 --- /dev/null +++ b/parser/testdata/00817_with_simple/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Identifier number (alias k) + ExpressionList (children 1) + Identifier k + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_10 diff --git a/parser/testdata/00818_alias_bug_4110/explain.txt b/parser/testdata/00818_alias_bug_4110/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00818_alias_bug_4110/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00818_inner_join_bug_3567/explain.txt b/parser/testdata/00818_inner_join_bug_3567/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00818_inner_join_bug_3567/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00818_join_bug_4271/explain.txt b/parser/testdata/00818_join_bug_4271/explain.txt new file mode 100644 index 000000000..247095eac --- /dev/null +++ b/parser/testdata/00818_join_bug_4271/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_00818 (children 1) + Identifier t_00818 diff --git a/parser/testdata/00819_ast_refactoring_bugs/explain.txt b/parser/testdata/00819_ast_refactoring_bugs/explain.txt new file mode 100644 index 000000000..997869870 --- /dev/null +++ b/parser/testdata/00819_ast_refactoring_bugs/explain.txt @@ -0,0 +1,2 @@ +DropQuery visits1 (children 1) + Identifier visits1 diff --git a/parser/testdata/00819_full_join_wrong_columns_in_block/explain.txt b/parser/testdata/00819_full_join_wrong_columns_in_block/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00819_full_join_wrong_columns_in_block/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00820_multiple_joins/explain.txt b/parser/testdata/00820_multiple_joins/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00820_multiple_joins/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00820_multiple_joins_subquery_requires_alias/explain.txt b/parser/testdata/00820_multiple_joins_subquery_requires_alias/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00820_multiple_joins_subquery_requires_alias/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00821_distributed_storage_with_join_on/explain.txt b/parser/testdata/00821_distributed_storage_with_join_on/explain.txt new file mode 100644 index 000000000..f0662d5e1 --- /dev/null +++ b/parser/testdata/00821_distributed_storage_with_join_on/explain.txt @@ -0,0 +1,2 @@ +DropQuery table1 (children 1) + Identifier table1 diff --git a/parser/testdata/00822_array_insert_default/explain.txt b/parser/testdata/00822_array_insert_default/explain.txt new file mode 100644 index 000000000..622b77a12 --- /dev/null +++ b/parser/testdata/00822_array_insert_default/explain.txt @@ -0,0 +1,38 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function sum (children 1) + ExpressionList (children 1) + Function ignore (children 1) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function arrayFirst (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function empty (children 1) + ExpressionList (children 1) + Identifier x + Function array (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10000000 diff --git a/parser/testdata/00823_sequence_match_dfa/explain.txt b/parser/testdata/00823_sequence_match_dfa/explain.txt new file mode 100644 index 000000000..2f8d085db --- /dev/null +++ b/parser/testdata/00823_sequence_match_dfa/explain.txt @@ -0,0 +1,2 @@ +DropQuery sequence (children 1) + Identifier sequence diff --git a/parser/testdata/00824_filesystem/explain.txt b/parser/testdata/00824_filesystem/explain.txt new file mode 100644 index 000000000..6e937b29a --- /dev/null +++ b/parser/testdata/00824_filesystem/explain.txt @@ -0,0 +1,22 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function and (children 1) + ExpressionList (children 3) + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Function filesystemCapacity (children 1) + ExpressionList + Function filesystemAvailable (children 1) + ExpressionList + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Function filesystemAvailable (children 1) + ExpressionList + Literal UInt64_0 + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Function filesystemUnreserved (children 1) + ExpressionList + Literal UInt64_0 diff --git a/parser/testdata/00826_cross_to_inner_join/explain.txt b/parser/testdata/00826_cross_to_inner_join/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00826_cross_to_inner_join/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00829_bitmap64_function/explain.txt b/parser/testdata/00829_bitmap64_function/explain.txt new file mode 100644 index 000000000..f0176289a --- /dev/null +++ b/parser/testdata/00829_bitmap64_function/explain.txt @@ -0,0 +1,2 @@ +DropQuery bitmap_test (children 1) + Identifier bitmap_test diff --git a/parser/testdata/00829_bitmap_function/explain.txt b/parser/testdata/00829_bitmap_function/explain.txt new file mode 100644 index 000000000..25dc7e1d7 --- /dev/null +++ b/parser/testdata/00829_bitmap_function/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function bitmapToArray (children 1) + ExpressionList (children 1) + Function bitmapBuild (children 1) + ExpressionList (children 1) + Literal Array_[UInt64_1, UInt64_2, UInt64_3, UInt64_4, UInt64_5] diff --git a/parser/testdata/00830_join_overwrite/explain.txt b/parser/testdata/00830_join_overwrite/explain.txt new file mode 100644 index 000000000..6b3b2e16c --- /dev/null +++ b/parser/testdata/00830_join_overwrite/explain.txt @@ -0,0 +1,2 @@ +DropQuery kv (children 1) + Identifier kv diff --git a/parser/testdata/00831_quantile_weighted_parameter_check/explain.txt b/parser/testdata/00831_quantile_weighted_parameter_check/explain.txt new file mode 100644 index 000000000..25cfc1434 --- /dev/null +++ b/parser/testdata/00831_quantile_weighted_parameter_check/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function quantileExactWeighted (children 2) + ExpressionList (children 2) + Identifier number + Identifier number + ExpressionList (children 1) + Literal Float64_0.5 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 diff --git a/parser/testdata/00832_storage_file_lock/explain.txt b/parser/testdata/00832_storage_file_lock/explain.txt new file mode 100644 index 000000000..eba5b3833 --- /dev/null +++ b/parser/testdata/00832_storage_file_lock/explain.txt @@ -0,0 +1,2 @@ +DropQuery file (children 1) + Identifier file diff --git a/parser/testdata/00833_sleep_overflow/explain.txt b/parser/testdata/00833_sleep_overflow/explain.txt new file mode 100644 index 000000000..efd5e35ed --- /dev/null +++ b/parser/testdata/00833_sleep_overflow/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function sleep (children 1) + ExpressionList (children 1) + Literal Float64_4295.967296 +The query succeeded but the server error '160' was expected (query: EXPLAIN AST SELECT sleep(4295.967296); -- { serverError TOO_SLOW }). diff --git a/parser/testdata/00834_date_datetime_cmp/explain.txt b/parser/testdata/00834_date_datetime_cmp/explain.txt new file mode 100644 index 000000000..fdc506234 --- /dev/null +++ b/parser/testdata/00834_date_datetime_cmp/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function less (children 1) + ExpressionList (children 2) + Function toDateTime (children 1) + ExpressionList (children 1) + Literal \'2017-06-28 12:01:01\' + Function toDate (children 1) + ExpressionList (children 1) + Literal \'2017-07-01\' diff --git a/parser/testdata/00834_limit_with_constant_expressions/explain.txt b/parser/testdata/00834_limit_with_constant_expressions/explain.txt new file mode 100644 index 000000000..3841daa5b --- /dev/null +++ b/parser/testdata/00834_limit_with_constant_expressions/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + Function plus (children 1) + ExpressionList (children 2) + Literal UInt64_0 + Literal UInt64_1 diff --git a/parser/testdata/00834_not_between/explain.txt b/parser/testdata/00834_not_between/explain.txt new file mode 100644 index 000000000..cb96786e3 --- /dev/null +++ b/parser/testdata/00834_not_between/explain.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function or (children 1) + ExpressionList (children 2) + Function less (children 1) + ExpressionList (children 2) + Literal UInt64_2 + Function plus (children 1) + ExpressionList (children 2) + Literal UInt64_2 + Literal UInt64_1 + Function greater (children 1) + ExpressionList (children 2) + Literal UInt64_2 + Function minus (children 1) + ExpressionList (children 2) + Literal UInt64_4 + Literal UInt64_1 diff --git a/parser/testdata/00835_if_generic_case/explain.txt b/parser/testdata/00835_if_generic_case/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00835_if_generic_case/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00836_indices_alter/explain.txt b/parser/testdata/00836_indices_alter/explain.txt new file mode 100644 index 000000000..0542cb31e --- /dev/null +++ b/parser/testdata/00836_indices_alter/explain.txt @@ -0,0 +1,2 @@ +DropQuery minmax_idx (children 1) + Identifier minmax_idx diff --git a/parser/testdata/00836_indices_alter_replicated_zookeeper_long/explain.txt b/parser/testdata/00836_indices_alter_replicated_zookeeper_long/explain.txt new file mode 100644 index 000000000..0542cb31e --- /dev/null +++ b/parser/testdata/00836_indices_alter_replicated_zookeeper_long/explain.txt @@ -0,0 +1,2 @@ +DropQuery minmax_idx (children 1) + Identifier minmax_idx diff --git a/parser/testdata/00836_numbers_table_function_zero/explain.txt b/parser/testdata/00836_numbers_table_function_zero/explain.txt new file mode 100644 index 000000000..b0344ab2d --- /dev/null +++ b/parser/testdata/00836_numbers_table_function_zero/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_0 diff --git a/parser/testdata/00837_insert_select_and_read_prefix/explain.txt b/parser/testdata/00837_insert_select_and_read_prefix/explain.txt new file mode 100644 index 000000000..eba5b3833 --- /dev/null +++ b/parser/testdata/00837_insert_select_and_read_prefix/explain.txt @@ -0,0 +1,2 @@ +DropQuery file (children 1) + Identifier file diff --git a/parser/testdata/00837_minmax_index_replicated_zookeeper_long/explain.txt b/parser/testdata/00837_minmax_index_replicated_zookeeper_long/explain.txt new file mode 100644 index 000000000..8a499f379 --- /dev/null +++ b/parser/testdata/00837_minmax_index_replicated_zookeeper_long/explain.txt @@ -0,0 +1,2 @@ +DropQuery minmax_idx1 (children 1) + Identifier minmax_idx1 diff --git a/parser/testdata/00839_bitmask_negative/explain.txt b/parser/testdata/00839_bitmask_negative/explain.txt new file mode 100644 index 000000000..3ae2db423 --- /dev/null +++ b/parser/testdata/00839_bitmask_negative/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function bitmaskToList (children 1) + ExpressionList (children 1) + Literal UInt64_0 diff --git a/parser/testdata/00840_top_k_weighted/explain.txt b/parser/testdata/00840_top_k_weighted/explain.txt new file mode 100644 index 000000000..9e034f588 --- /dev/null +++ b/parser/testdata/00840_top_k_weighted/explain.txt @@ -0,0 +1,42 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function topKWeighted (children 2) + ExpressionList (children 2) + Identifier x + Identifier weight + ExpressionList (children 1) + Literal UInt64_2 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function tupleElement (alias x) (children 1) + ExpressionList (children 2) + Identifier t + Literal UInt64_1 + Function tupleElement (alias weight) (children 1) + ExpressionList (children 2) + Identifier t + Literal UInt64_2 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayJoin (alias t) (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 4) + Literal Tuple_(\'hello\', UInt64_1) + Literal Tuple_(\'world\', UInt64_2) + Literal Tuple_(\'goodbye\', UInt64_3) + Literal Tuple_(\'abc\', UInt64_1) diff --git a/parser/testdata/00841_temporary_table_database/explain.txt b/parser/testdata/00841_temporary_table_database/explain.txt new file mode 100644 index 000000000..2deceb09a --- /dev/null +++ b/parser/testdata/00841_temporary_table_database/explain.txt @@ -0,0 +1,6 @@ +CreateQuery t1_00841 (children 2) + Identifier t1_00841 + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration x (children 1) + DataType UInt8 diff --git a/parser/testdata/00842_array_with_constant_overflow/explain.txt b/parser/testdata/00842_array_with_constant_overflow/explain.txt new file mode 100644 index 000000000..6171d92f8 --- /dev/null +++ b/parser/testdata/00842_array_with_constant_overflow/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayWithConstant (children 1) + ExpressionList (children 2) + Literal Float64_-231.37104 + Literal Int64_-138 +The query succeeded but the server error '128' was expected (query: EXPLAIN AST SELECT arrayWithConstant(-231.37104, -138); -- { serverError TOO_LARGE_ARRAY_SIZE }). diff --git a/parser/testdata/00843_optimize_predicate_and_rename_table/explain.txt b/parser/testdata/00843_optimize_predicate_and_rename_table/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00843_optimize_predicate_and_rename_table/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00844_join_lightee2/explain.txt b/parser/testdata/00844_join_lightee2/explain.txt new file mode 100644 index 000000000..e23bfd5f4 --- /dev/null +++ b/parser/testdata/00844_join_lightee2/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1_00844 (children 1) + Identifier t1_00844 diff --git a/parser/testdata/00845_join_on_aliases/explain.txt b/parser/testdata/00845_join_on_aliases/explain.txt new file mode 100644 index 000000000..f0662d5e1 --- /dev/null +++ b/parser/testdata/00845_join_on_aliases/explain.txt @@ -0,0 +1,2 @@ +DropQuery table1 (children 1) + Identifier table1 diff --git a/parser/testdata/00846_join_using_tuple_crash/explain.txt b/parser/testdata/00846_join_using_tuple_crash/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00846_join_using_tuple_crash/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00847_multiple_join_same_column/explain.txt b/parser/testdata/00847_multiple_join_same_column/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/00847_multiple_join_same_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/00848_join_use_nulls_segfault/explain.txt b/parser/testdata/00848_join_use_nulls_segfault/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00848_join_use_nulls_segfault/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00849_multiple_comma_join_2/explain.txt b/parser/testdata/00849_multiple_comma_join_2/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00849_multiple_comma_join_2/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00850_global_join_dups/explain.txt b/parser/testdata/00850_global_join_dups/explain.txt new file mode 100644 index 000000000..acee1101e --- /dev/null +++ b/parser/testdata/00850_global_join_dups/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_local (children 1) + Identifier t_local diff --git a/parser/testdata/00852_any_join_nulls/explain.txt b/parser/testdata/00852_any_join_nulls/explain.txt new file mode 100644 index 000000000..f0662d5e1 --- /dev/null +++ b/parser/testdata/00852_any_join_nulls/explain.txt @@ -0,0 +1,2 @@ +DropQuery table1 (children 1) + Identifier table1 diff --git a/parser/testdata/00853_join_with_nulls_crash/explain.txt b/parser/testdata/00853_join_with_nulls_crash/explain.txt new file mode 100644 index 000000000..18e73dbc4 --- /dev/null +++ b/parser/testdata/00853_join_with_nulls_crash/explain.txt @@ -0,0 +1,2 @@ +DropQuery table_a (children 1) + Identifier table_a diff --git a/parser/testdata/00854_multiple_join_asterisks/explain.txt b/parser/testdata/00854_multiple_join_asterisks/explain.txt new file mode 100644 index 000000000..e17a1b887 --- /dev/null +++ b/parser/testdata/00854_multiple_join_asterisks/explain.txt @@ -0,0 +1,27 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 3) + Identifier t1.dummy + Identifier t2.dummy + Identifier t3.dummy + TablesInSelectQuery (children 3) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.one (alias t1) + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier system.one (alias t2) + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier t1.dummy + Identifier t2.dummy + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier system.one (alias t3) + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier t1.dummy + Identifier t3.dummy diff --git a/parser/testdata/00855_join_with_array_join/explain.txt b/parser/testdata/00855_join_with_array_join/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00855_join_with_array_join/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00856_no_column_issue_4242/explain.txt b/parser/testdata/00856_no_column_issue_4242/explain.txt new file mode 100644 index 000000000..5d647d57a --- /dev/null +++ b/parser/testdata/00856_no_column_issue_4242/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1_00856 (children 1) + Identifier t1_00856 diff --git a/parser/testdata/00857_global_joinsavel_table_alias/explain.txt b/parser/testdata/00857_global_joinsavel_table_alias/explain.txt new file mode 100644 index 000000000..33b732ab4 --- /dev/null +++ b/parser/testdata/00857_global_joinsavel_table_alias/explain.txt @@ -0,0 +1,2 @@ +DropQuery local_table (children 1) + Identifier local_table diff --git a/parser/testdata/00858_issue_4756/explain.txt b/parser/testdata/00858_issue_4756/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00858_issue_4756/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00859_distinct_with_join/explain.txt b/parser/testdata/00859_distinct_with_join/explain.txt new file mode 100644 index 000000000..cc9dd418b --- /dev/null +++ b/parser/testdata/00859_distinct_with_join/explain.txt @@ -0,0 +1,2 @@ +DropQuery fooL (children 1) + Identifier fooL diff --git a/parser/testdata/00860_unknown_identifier_bug/explain.txt b/parser/testdata/00860_unknown_identifier_bug/explain.txt new file mode 100644 index 000000000..8a16a1677 --- /dev/null +++ b/parser/testdata/00860_unknown_identifier_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery appointment_events (children 1) + Identifier appointment_events diff --git a/parser/testdata/00861_decimal_quoted_csv/explain.txt b/parser/testdata/00861_decimal_quoted_csv/explain.txt new file mode 100644 index 000000000..39be4c84f --- /dev/null +++ b/parser/testdata/00861_decimal_quoted_csv/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_00861 (children 1) + Identifier test_00861 diff --git a/parser/testdata/00862_decimal_in/explain.txt b/parser/testdata/00862_decimal_in/explain.txt new file mode 100644 index 000000000..797c4ec0b --- /dev/null +++ b/parser/testdata/00862_decimal_in/explain.txt @@ -0,0 +1,2 @@ +DropQuery temp (children 1) + Identifier temp diff --git a/parser/testdata/00863_comma_join_in/explain.txt b/parser/testdata/00863_comma_join_in/explain.txt new file mode 100644 index 000000000..b35dbecb2 --- /dev/null +++ b/parser/testdata/00863_comma_join_in/explain.txt @@ -0,0 +1,2 @@ +DropQuery test1_00863 (children 1) + Identifier test1_00863 diff --git a/parser/testdata/00864_union_all_supertype/explain.txt b/parser/testdata/00864_union_all_supertype/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00864_union_all_supertype/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00870_t64_codec/explain.txt b/parser/testdata/00870_t64_codec/explain.txt new file mode 100644 index 000000000..23752d2f5 --- /dev/null +++ b/parser/testdata/00870_t64_codec/explain.txt @@ -0,0 +1,2 @@ +DropQuery t64 (children 1) + Identifier t64 diff --git a/parser/testdata/00871_t64_codec_signed/explain.txt b/parser/testdata/00871_t64_codec_signed/explain.txt new file mode 100644 index 000000000..23752d2f5 --- /dev/null +++ b/parser/testdata/00871_t64_codec_signed/explain.txt @@ -0,0 +1,2 @@ +DropQuery t64 (children 1) + Identifier t64 diff --git a/parser/testdata/00872_t64_bit_codec/explain.txt b/parser/testdata/00872_t64_bit_codec/explain.txt new file mode 100644 index 000000000..23752d2f5 --- /dev/null +++ b/parser/testdata/00872_t64_bit_codec/explain.txt @@ -0,0 +1,2 @@ +DropQuery t64 (children 1) + Identifier t64 diff --git a/parser/testdata/00873_t64_codec_date/explain.txt b/parser/testdata/00873_t64_codec_date/explain.txt new file mode 100644 index 000000000..23752d2f5 --- /dev/null +++ b/parser/testdata/00873_t64_codec_date/explain.txt @@ -0,0 +1,2 @@ +DropQuery t64 (children 1) + Identifier t64 diff --git a/parser/testdata/00874_issue_3495/explain.txt b/parser/testdata/00874_issue_3495/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/00874_issue_3495/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/00875_join_right_nulls/explain.txt b/parser/testdata/00875_join_right_nulls/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/00875_join_right_nulls/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/00875_join_right_nulls_ors/explain.txt b/parser/testdata/00875_join_right_nulls_ors/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/00875_join_right_nulls_ors/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/00876_wrong_arraj_join_column/explain.txt b/parser/testdata/00876_wrong_arraj_join_column/explain.txt new file mode 100644 index 000000000..782abbd43 --- /dev/null +++ b/parser/testdata/00876_wrong_arraj_join_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery visits (children 1) + Identifier visits diff --git a/parser/testdata/00877_memory_limit_for_new_delete/explain.txt b/parser/testdata/00877_memory_limit_for_new_delete/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00877_memory_limit_for_new_delete/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00878_join_unexpected_results/explain.txt b/parser/testdata/00878_join_unexpected_results/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/00878_join_unexpected_results/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/00879_cast_to_decimal_crash/explain.txt b/parser/testdata/00879_cast_to_decimal_crash/explain.txt new file mode 100644 index 000000000..00c906589 --- /dev/null +++ b/parser/testdata/00879_cast_to_decimal_crash/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Function toIntervalDay (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Literal \'Nullable(Decimal(10, 10))\' +The query succeeded but the server error '70' was expected (query: EXPLAIN AST select cast(toIntervalDay(1) as Nullable(Decimal(10, 10))); -- { serverError CANNOT_CONVERT_TYPE }). diff --git a/parser/testdata/00880_decimal_in_key/explain.txt b/parser/testdata/00880_decimal_in_key/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/00880_decimal_in_key/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/00881_unknown_identifier_in_in/explain.txt b/parser/testdata/00881_unknown_identifier_in_in/explain.txt new file mode 100644 index 000000000..e578feb3a --- /dev/null +++ b/parser/testdata/00881_unknown_identifier_in_in/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function toUInt64 (alias x) (children 1) + ExpressionList (children 1) + Literal UInt64_1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/00882_multiple_join_no_alias/explain.txt b/parser/testdata/00882_multiple_join_no_alias/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/00882_multiple_join_no_alias/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/00897_flatten/explain.txt b/parser/testdata/00897_flatten/explain.txt new file mode 100644 index 000000000..8b8ff26ad --- /dev/null +++ b/parser/testdata/00897_flatten/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function flatten (children 1) + ExpressionList (children 1) + Function arrayJoin (children 1) + ExpressionList (children 1) + Literal Array_[Array_[Array_[UInt64_1, UInt64_2, UInt64_3], Array_[UInt64_4, UInt64_5]], Array_[Array_[UInt64_6], Array_[UInt64_7, UInt64_8]]] diff --git a/parser/testdata/00898_quantile_timing_parameter_check/explain.txt b/parser/testdata/00898_quantile_timing_parameter_check/explain.txt new file mode 100644 index 000000000..6c8952e64 --- /dev/null +++ b/parser/testdata/00898_quantile_timing_parameter_check/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function quantileTiming (children 2) + ExpressionList (children 1) + Identifier number + ExpressionList (children 1) + Literal Float64_0.5 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 diff --git a/parser/testdata/00899_long_attach_memory_limit/explain.txt b/parser/testdata/00899_long_attach_memory_limit/explain.txt new file mode 100644 index 000000000..587caf41f --- /dev/null +++ b/parser/testdata/00899_long_attach_memory_limit/explain.txt @@ -0,0 +1,2 @@ +DropQuery index_memory (children 1) + Identifier index_memory diff --git a/parser/testdata/00900_entropy_shard/explain.txt b/parser/testdata/00900_entropy_shard/explain.txt new file mode 100644 index 000000000..6054fbc5b --- /dev/null +++ b/parser/testdata/00900_entropy_shard/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function round (children 1) + ExpressionList (children 2) + Function entropy (children 1) + ExpressionList (children 1) + Identifier number + Literal UInt64_6 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.0.0.{1,2}\' + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_256 diff --git a/parser/testdata/00901_joint_entropy/explain.txt b/parser/testdata/00901_joint_entropy/explain.txt new file mode 100644 index 000000000..da820f22a --- /dev/null +++ b/parser/testdata/00901_joint_entropy/explain.txt @@ -0,0 +1,122 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function less (children 1) + ExpressionList (children 2) + Function minus (children 1) + ExpressionList (children 2) + Function max (children 1) + ExpressionList (children 1) + Identifier x + Function min (children 1) + ExpressionList (children 1) + Identifier x + Literal Float64_0.000001 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 8) + Function entropy (alias e1) (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_5 + Function log2 (alias e2) (children 1) + ExpressionList (children 1) + Literal UInt64_10 + Function log2 (alias e3) (children 1) + ExpressionList (children 1) + Function uniq (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_5 + Function entropy (alias e4) (children 1) + ExpressionList (children 1) + Identifier number + Function entropy (alias e5) (children 1) + ExpressionList (children 1) + Function toString (children 1) + ExpressionList (children 1) + Identifier number + Function entropy (alias e6) (children 1) + ExpressionList (children 2) + Function if (children 1) + ExpressionList (children 3) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + Literal \'hello\' + Literal \'world\' + Function range (children 1) + ExpressionList (children 1) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_5 + Function entropy (alias e7) (children 1) + ExpressionList (children 3) + Identifier number + Function plus (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_1 + Function minus (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_1 + Function entropy (alias e8) (children 1) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList (children 1) + Identifier number + Function array (children 1) + ExpressionList (children 2) + Identifier number + Identifier number + Function array (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList + Function array (children 1) + ExpressionList (children 1) + Identifier number + ExpressionList (children 1) + Function arrayJoin (alias x) (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 8) + Identifier e1 + Identifier e2 + Identifier e3 + Identifier e4 + Identifier e5 + Identifier e6 + Identifier e7 + Identifier e8 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 diff --git a/parser/testdata/00902_entropy/explain.txt b/parser/testdata/00902_entropy/explain.txt new file mode 100644 index 000000000..d1b720b41 --- /dev/null +++ b/parser/testdata/00902_entropy/explain.txt @@ -0,0 +1,2 @@ +DropQuery defaults (children 1) + Identifier defaults diff --git a/parser/testdata/00903_array_with_constant_function/explain.txt b/parser/testdata/00903_array_with_constant_function/explain.txt new file mode 100644 index 000000000..d792b0ab4 --- /dev/null +++ b/parser/testdata/00903_array_with_constant_function/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 3) + Function arrayWithConstant (children 1) + ExpressionList (children 2) + Literal UInt64_2 + Literal \'qwerty\' + Function arrayWithConstant (children 1) + ExpressionList (children 2) + Literal UInt64_0 + Literal Int64_-1 + Function arrayWithConstant (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal UInt64_1 diff --git a/parser/testdata/00904_array_with_constant_2/explain.txt b/parser/testdata/00904_array_with_constant_2/explain.txt new file mode 100644 index 000000000..03f8a5641 --- /dev/null +++ b/parser/testdata/00904_array_with_constant_2/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function arrayWithConstant (children 1) + ExpressionList (children 2) + Literal UInt64_3 + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 diff --git a/parser/testdata/00905_compile_expressions_compare_big_dates/explain.txt b/parser/testdata/00905_compile_expressions_compare_big_dates/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00905_compile_expressions_compare_big_dates/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00905_field_with_aggregate_function_state/explain.txt b/parser/testdata/00905_field_with_aggregate_function_state/explain.txt new file mode 100644 index 000000000..8c6b17596 --- /dev/null +++ b/parser/testdata/00905_field_with_aggregate_function_state/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Subquery (alias s) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function sumState (children 1) + ExpressionList (children 1) + Literal UInt64_1 + ExpressionList (children 1) + Function sumMerge (children 1) + ExpressionList (children 1) + Identifier s diff --git a/parser/testdata/00906_low_cardinality_cache/explain.txt b/parser/testdata/00906_low_cardinality_cache/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00906_low_cardinality_cache/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00906_low_cardinality_const_argument/explain.txt b/parser/testdata/00906_low_cardinality_const_argument/explain.txt new file mode 100644 index 000000000..dc4185001 --- /dev/null +++ b/parser/testdata/00906_low_cardinality_const_argument/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function materialize (children 1) + ExpressionList (children 1) + Function toLowCardinality (children 1) + ExpressionList (children 1) + Literal \'a\' diff --git a/parser/testdata/00906_low_cardinality_rollup/explain.txt b/parser/testdata/00906_low_cardinality_rollup/explain.txt new file mode 100644 index 000000000..a9de9990e --- /dev/null +++ b/parser/testdata/00906_low_cardinality_rollup/explain.txt @@ -0,0 +1,2 @@ +DropQuery lc (children 1) + Identifier lc diff --git a/parser/testdata/00907_set_index_with_nullable_and_low_cardinality/explain.txt b/parser/testdata/00907_set_index_with_nullable_and_low_cardinality/explain.txt new file mode 100644 index 000000000..61aa824cc --- /dev/null +++ b/parser/testdata/00907_set_index_with_nullable_and_low_cardinality/explain.txt @@ -0,0 +1,2 @@ +DropQuery nullable_set_index (children 1) + Identifier nullable_set_index diff --git a/parser/testdata/00907_set_index_with_nullable_and_low_cardinality_bug/explain.txt b/parser/testdata/00907_set_index_with_nullable_and_low_cardinality_bug/explain.txt new file mode 100644 index 000000000..cdd8afd43 --- /dev/null +++ b/parser/testdata/00907_set_index_with_nullable_and_low_cardinality_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery null_lc_set_index (children 1) + Identifier null_lc_set_index diff --git a/parser/testdata/00908_analyze_query/explain.txt b/parser/testdata/00908_analyze_query/explain.txt new file mode 100644 index 000000000..3b8a0aad6 --- /dev/null +++ b/parser/testdata/00908_analyze_query/explain.txt @@ -0,0 +1,2 @@ +DropQuery a (children 1) + Identifier a diff --git a/parser/testdata/00909_arrayEnumerateUniq/explain.txt b/parser/testdata/00909_arrayEnumerateUniq/explain.txt new file mode 100644 index 000000000..2b842821a --- /dev/null +++ b/parser/testdata/00909_arrayEnumerateUniq/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayEnumerateUniq (children 1) + ExpressionList (children 2) + Literal Array_[UInt64_1, UInt64_1, UInt64_2, UInt64_2, UInt64_1, UInt64_1] + Literal Array_[UInt64_1, UInt64_2, UInt64_1, UInt64_2, UInt64_2, UInt64_2] diff --git a/parser/testdata/00909_ngram_distance/explain.txt b/parser/testdata/00909_ngram_distance/explain.txt new file mode 100644 index 000000000..fc32b4ccd --- /dev/null +++ b/parser/testdata/00909_ngram_distance/explain.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function round (children 1) + ExpressionList (children 1) + Function multiply (children 1) + ExpressionList (children 2) + Literal UInt64_1000 + Function ngramDistanceUTF8 (children 1) + ExpressionList (children 2) + Function materialize (children 1) + ExpressionList (children 1) + Literal \'\' + Literal \'\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_5 diff --git a/parser/testdata/00910_buffer_prewhere/explain.txt b/parser/testdata/00910_buffer_prewhere/explain.txt new file mode 100644 index 000000000..b1f711f6b --- /dev/null +++ b/parser/testdata/00910_buffer_prewhere/explain.txt @@ -0,0 +1,19 @@ +CreateQuery mt (children 3) + Identifier mt + Columns definition (children 1) + ExpressionList (children 3) + ColumnDeclaration uid (children 1) + DataType UInt64 + ColumnDeclaration ts (children 1) + DataType DateTime + ColumnDeclaration val (children 1) + DataType Float64 + Storage definition (children 3) + Function MergeTree + Function toDate (children 1) + ExpressionList (children 1) + Identifier ts + Function tuple (children 1) + ExpressionList (children 2) + Identifier uid + Identifier ts diff --git a/parser/testdata/00910_buffer_prewhere_different_types/explain.txt b/parser/testdata/00910_buffer_prewhere_different_types/explain.txt new file mode 100644 index 000000000..56de27705 --- /dev/null +++ b/parser/testdata/00910_buffer_prewhere_different_types/explain.txt @@ -0,0 +1,2 @@ +DropQuery buffer_table1__fuzz_28 (children 1) + Identifier buffer_table1__fuzz_28 diff --git a/parser/testdata/00910_crash_when_distributed_modify_order_by/explain.txt b/parser/testdata/00910_crash_when_distributed_modify_order_by/explain.txt new file mode 100644 index 000000000..dd8c140c0 --- /dev/null +++ b/parser/testdata/00910_crash_when_distributed_modify_order_by/explain.txt @@ -0,0 +1,2 @@ +DropQuery union1 (children 1) + Identifier union1 diff --git a/parser/testdata/00910_decimal_group_array_crash_3783/explain.txt b/parser/testdata/00910_decimal_group_array_crash_3783/explain.txt new file mode 100644 index 000000000..a4be226a9 --- /dev/null +++ b/parser/testdata/00910_decimal_group_array_crash_3783/explain.txt @@ -0,0 +1,30 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function groupArray (children 1) + ExpressionList (children 1) + Identifier s + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function sum (alias s) (children 1) + ExpressionList (children 1) + Identifier n + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toDecimal32 (alias n) (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal UInt64_2 diff --git a/parser/testdata/00910_zookeeper_custom_compression_codecs_replicated_long/explain.txt b/parser/testdata/00910_zookeeper_custom_compression_codecs_replicated_long/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00910_zookeeper_custom_compression_codecs_replicated_long/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00910_zookeeper_test_alter_compression_codecs_long/explain.txt b/parser/testdata/00910_zookeeper_test_alter_compression_codecs_long/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00910_zookeeper_test_alter_compression_codecs_long/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00912_string_comparison/explain.txt b/parser/testdata/00912_string_comparison/explain.txt new file mode 100644 index 000000000..6b7591108 --- /dev/null +++ b/parser/testdata/00912_string_comparison/explain.txt @@ -0,0 +1,44 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 3) + Function substring (alias prefix) (children 1) + ExpressionList (children 3) + Literal \'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\' + Literal UInt64_1 + Identifier number + Function concat (alias a) (children 1) + ExpressionList (children 2) + Identifier prefix + Literal \'x\' + Function concat (alias b) (children 1) + ExpressionList (children 2) + Identifier prefix + Literal \'y\' + ExpressionList (children 5) + Function equals (children 1) + ExpressionList (children 2) + Identifier a + Identifier b + Function less (children 1) + ExpressionList (children 2) + Identifier a + Identifier b + Function greater (children 1) + ExpressionList (children 2) + Identifier a + Identifier b + Function lessOrEquals (children 1) + ExpressionList (children 2) + Identifier a + Identifier b + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Identifier a + Identifier b + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_40 diff --git a/parser/testdata/00913_many_threads/explain.txt b/parser/testdata/00913_many_threads/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00913_many_threads/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00914_join_bgranvea/explain.txt b/parser/testdata/00914_join_bgranvea/explain.txt new file mode 100644 index 000000000..f0662d5e1 --- /dev/null +++ b/parser/testdata/00914_join_bgranvea/explain.txt @@ -0,0 +1,2 @@ +DropQuery table1 (children 1) + Identifier table1 diff --git a/parser/testdata/00914_replicate/explain.txt b/parser/testdata/00914_replicate/explain.txt new file mode 100644 index 000000000..19c8da0b6 --- /dev/null +++ b/parser/testdata/00914_replicate/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Function replicate (children 1) + ExpressionList (children 2) + Literal Array_[\'a\'] + Literal Array_[UInt64_1] + Literal \'String\' diff --git a/parser/testdata/00915_simple_aggregate_function/explain.txt b/parser/testdata/00915_simple_aggregate_function/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00915_simple_aggregate_function/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00915_simple_aggregate_function_summing_merge_tree/explain.txt b/parser/testdata/00915_simple_aggregate_function_summing_merge_tree/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00915_simple_aggregate_function_summing_merge_tree/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00915_tuple_orantius/explain.txt b/parser/testdata/00915_tuple_orantius/explain.txt new file mode 100644 index 000000000..d62fe7a80 --- /dev/null +++ b/parser/testdata/00915_tuple_orantius/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 3) + Literal UInt64_1 (alias x) + Literal Tuple_(UInt64_1, UInt64_2, UInt64_3) (alias y) + Function in (children 1) + ExpressionList (children 2) + Identifier x + Identifier y diff --git a/parser/testdata/00916_add_materialized_column_after/explain.txt b/parser/testdata/00916_add_materialized_column_after/explain.txt new file mode 100644 index 000000000..c68f452e4 --- /dev/null +++ b/parser/testdata/00916_add_materialized_column_after/explain.txt @@ -0,0 +1,2 @@ +DropQuery add_materialized_column_after (children 1) + Identifier add_materialized_column_after diff --git a/parser/testdata/00916_create_or_replace_view/explain.txt b/parser/testdata/00916_create_or_replace_view/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/00916_create_or_replace_view/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/00916_join_using_duplicate_columns/explain.txt b/parser/testdata/00916_join_using_duplicate_columns/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00916_join_using_duplicate_columns/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00917_least_sqr/explain.txt b/parser/testdata/00917_least_sqr/explain.txt new file mode 100644 index 000000000..de97f492a --- /dev/null +++ b/parser/testdata/00917_least_sqr/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayReduce (children 1) + ExpressionList (children 3) + Literal \'simpleLinearRegression\' + Literal Array_[UInt64_1, UInt64_2, UInt64_3, UInt64_4] + Literal Array_[UInt64_100, UInt64_110, UInt64_120, UInt64_130] diff --git a/parser/testdata/00917_multiple_joins_denny_crane/explain.txt b/parser/testdata/00917_multiple_joins_denny_crane/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00917_multiple_joins_denny_crane/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00918_has_unsufficient_type_check/explain.txt b/parser/testdata/00918_has_unsufficient_type_check/explain.txt new file mode 100644 index 000000000..28e8fe163 --- /dev/null +++ b/parser/testdata/00918_has_unsufficient_type_check/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function hasAny (children 1) + ExpressionList (children 2) + Literal Array_[Array_[\'Hello, world\']] + Function array (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList +The query succeeded but the server error '386' was expected (query: EXPLAIN AST SELECT hasAny([['Hello, world']], [[[]]]); -- { serverError NO_COMMON_TYPE }). diff --git a/parser/testdata/00918_json_functions/explain.txt b/parser/testdata/00918_json_functions/explain.txt new file mode 100644 index 000000000..6fe2a93e7 --- /dev/null +++ b/parser/testdata/00918_json_functions/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'--allow_simdjson=1--\' diff --git a/parser/testdata/00919_histogram_merge/explain.txt b/parser/testdata/00919_histogram_merge/explain.txt new file mode 100644 index 000000000..0bc965a3f --- /dev/null +++ b/parser/testdata/00919_histogram_merge/explain.txt @@ -0,0 +1,63 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function arrayJoin (alias hist) (children 1) + ExpressionList (children 1) + Function finalizeAggregation (children 1) + ExpressionList (children 1) + Function plus (children 1) + ExpressionList (children 2) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function histogramState (children 2) + ExpressionList (children 1) + Identifier number + ExpressionList (children 1) + Literal UInt64_3 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 2) + Literal UInt64_10 + Literal UInt64_190 + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function histogramState (children 2) + ExpressionList (children 1) + Identifier number + ExpressionList (children 1) + Literal UInt64_3 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 2) + Literal UInt64_0 + Literal UInt64_100 + ExpressionList (children 3) + Function round (alias l) (children 1) + ExpressionList (children 1) + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier hist + Literal UInt64_1 + Function round (alias r) (children 1) + ExpressionList (children 1) + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier hist + Literal UInt64_2 + Function round (alias cnt) (children 1) + ExpressionList (children 1) + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier hist + Literal UInt64_3 diff --git a/parser/testdata/00919_sum_aggregate_states_constants/explain.txt b/parser/testdata/00919_sum_aggregate_states_constants/explain.txt new file mode 100644 index 000000000..24deb7f04 --- /dev/null +++ b/parser/testdata/00919_sum_aggregate_states_constants/explain.txt @@ -0,0 +1,36 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function finalizeAggregation (children 1) + ExpressionList (children 1) + Function plus (children 1) + ExpressionList (children 2) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function sumState (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function sumState (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 diff --git a/parser/testdata/00920_multiply_aggregate_states_constants/explain.txt b/parser/testdata/00920_multiply_aggregate_states_constants/explain.txt new file mode 100644 index 000000000..5de64f5fa --- /dev/null +++ b/parser/testdata/00920_multiply_aggregate_states_constants/explain.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function finalizeAggregation (children 1) + ExpressionList (children 1) + Function multiply (children 1) + ExpressionList (children 2) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function sumState (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + Literal UInt64_10 diff --git a/parser/testdata/00921_datetime64_basic/explain.txt b/parser/testdata/00921_datetime64_basic/explain.txt new file mode 100644 index 000000000..b8f74c1ff --- /dev/null +++ b/parser/testdata/00921_datetime64_basic/explain.txt @@ -0,0 +1,2 @@ +DropQuery A (children 1) + Identifier A diff --git a/parser/testdata/00926_adaptive_index_granularity_collapsing_merge_tree/explain.txt b/parser/testdata/00926_adaptive_index_granularity_collapsing_merge_tree/explain.txt new file mode 100644 index 000000000..6f72d21c1 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_collapsing_merge_tree/explain.txt @@ -0,0 +1,2 @@ +DropQuery zero_rows_per_granule (children 1) + Identifier zero_rows_per_granule diff --git a/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain.txt b/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain.txt new file mode 100644 index 000000000..ee3ecff91 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_merge_tree/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'----HORIZONTAL MERGE TESTS----\' diff --git a/parser/testdata/00926_adaptive_index_granularity_pk/explain.txt b/parser/testdata/00926_adaptive_index_granularity_pk/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_pk/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00926_adaptive_index_granularity_replacing_merge_tree/explain.txt b/parser/testdata/00926_adaptive_index_granularity_replacing_merge_tree/explain.txt new file mode 100644 index 000000000..6f72d21c1 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_replacing_merge_tree/explain.txt @@ -0,0 +1,2 @@ +DropQuery zero_rows_per_granule (children 1) + Identifier zero_rows_per_granule diff --git a/parser/testdata/00926_adaptive_index_granularity_versioned_collapsing_merge_tree/explain.txt b/parser/testdata/00926_adaptive_index_granularity_versioned_collapsing_merge_tree/explain.txt new file mode 100644 index 000000000..6f72d21c1 --- /dev/null +++ b/parser/testdata/00926_adaptive_index_granularity_versioned_collapsing_merge_tree/explain.txt @@ -0,0 +1,2 @@ +DropQuery zero_rows_per_granule (children 1) + Identifier zero_rows_per_granule diff --git a/parser/testdata/00926_geo_to_h3/explain.txt b/parser/testdata/00926_geo_to_h3/explain.txt new file mode 100644 index 000000000..f0662d5e1 --- /dev/null +++ b/parser/testdata/00926_geo_to_h3/explain.txt @@ -0,0 +1,2 @@ +DropQuery table1 (children 1) + Identifier table1 diff --git a/parser/testdata/00926_multimatch/explain.txt b/parser/testdata/00926_multimatch/explain.txt new file mode 100644 index 000000000..a09de1235 --- /dev/null +++ b/parser/testdata/00926_multimatch/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'-- With const pattern\' diff --git a/parser/testdata/00926_zookeeper_adaptive_index_granularity_replicated_merge_tree_long/explain.txt b/parser/testdata/00926_zookeeper_adaptive_index_granularity_replicated_merge_tree_long/explain.txt new file mode 100644 index 000000000..ee3ecff91 --- /dev/null +++ b/parser/testdata/00926_zookeeper_adaptive_index_granularity_replicated_merge_tree_long/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'----HORIZONTAL MERGE TESTS----\' diff --git a/parser/testdata/00927_asof_join_correct_bt/explain.txt b/parser/testdata/00927_asof_join_correct_bt/explain.txt new file mode 100644 index 000000000..b8f74c1ff --- /dev/null +++ b/parser/testdata/00927_asof_join_correct_bt/explain.txt @@ -0,0 +1,2 @@ +DropQuery A (children 1) + Identifier A diff --git a/parser/testdata/00927_asof_join_long/explain.txt b/parser/testdata/00927_asof_join_long/explain.txt new file mode 100644 index 000000000..c6eebb5be --- /dev/null +++ b/parser/testdata/00927_asof_join_long/explain.txt @@ -0,0 +1,2 @@ +DropQuery tvs (children 1) + Identifier tvs diff --git a/parser/testdata/00927_asof_join_noninclusive/explain.txt b/parser/testdata/00927_asof_join_noninclusive/explain.txt new file mode 100644 index 000000000..b8f74c1ff --- /dev/null +++ b/parser/testdata/00927_asof_join_noninclusive/explain.txt @@ -0,0 +1,2 @@ +DropQuery A (children 1) + Identifier A diff --git a/parser/testdata/00927_asof_joins/explain.txt b/parser/testdata/00927_asof_joins/explain.txt new file mode 100644 index 000000000..63b2a1e29 --- /dev/null +++ b/parser/testdata/00927_asof_joins/explain.txt @@ -0,0 +1,2 @@ +DropQuery md (children 1) + Identifier md diff --git a/parser/testdata/00927_disable_hyperscan/explain.txt b/parser/testdata/00927_disable_hyperscan/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00927_disable_hyperscan/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00928_multi_match_constant_constant/explain.txt b/parser/testdata/00928_multi_match_constant_constant/explain.txt new file mode 100644 index 000000000..d592d63a8 --- /dev/null +++ b/parser/testdata/00928_multi_match_constant_constant/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function multiMatchAny (children 1) + ExpressionList (children 2) + Literal \'goodbye\' + Literal Array_[\'^hello[, ]+world$\', \'go+d *bye\', \'w(or)+ld\'] diff --git a/parser/testdata/00929_multi_match_edit_distance/explain.txt b/parser/testdata/00929_multi_match_edit_distance/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00929_multi_match_edit_distance/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00930_arrayIntersect/explain.txt b/parser/testdata/00930_arrayIntersect/explain.txt new file mode 100644 index 000000000..16c9db2ec --- /dev/null +++ b/parser/testdata/00930_arrayIntersect/explain.txt @@ -0,0 +1,2 @@ +DropQuery array_intersect (children 1) + Identifier array_intersect diff --git a/parser/testdata/00930_max_partitions_per_insert_block/explain.txt b/parser/testdata/00930_max_partitions_per_insert_block/explain.txt new file mode 100644 index 000000000..8f7001ae1 --- /dev/null +++ b/parser/testdata/00930_max_partitions_per_insert_block/explain.txt @@ -0,0 +1,2 @@ +DropQuery partitions (children 1) + Identifier partitions diff --git a/parser/testdata/00931_low_cardinality_nullable_aggregate_function_type/explain.txt b/parser/testdata/00931_low_cardinality_nullable_aggregate_function_type/explain.txt new file mode 100644 index 000000000..a9de9990e --- /dev/null +++ b/parser/testdata/00931_low_cardinality_nullable_aggregate_function_type/explain.txt @@ -0,0 +1,2 @@ +DropQuery lc (children 1) + Identifier lc diff --git a/parser/testdata/00931_low_cardinality_read_with_empty_array/explain.txt b/parser/testdata/00931_low_cardinality_read_with_empty_array/explain.txt new file mode 100644 index 000000000..784bac06d --- /dev/null +++ b/parser/testdata/00931_low_cardinality_read_with_empty_array/explain.txt @@ -0,0 +1,2 @@ +DropQuery lc_00931 (children 1) + Identifier lc_00931 diff --git a/parser/testdata/00931_low_cardinality_set_index_in_key_condition/explain.txt b/parser/testdata/00931_low_cardinality_set_index_in_key_condition/explain.txt new file mode 100644 index 000000000..b031e6b2f --- /dev/null +++ b/parser/testdata/00931_low_cardinality_set_index_in_key_condition/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_in (children 1) + Identifier test_in diff --git a/parser/testdata/00932_array_intersect_bug/explain.txt b/parser/testdata/00932_array_intersect_bug/explain.txt new file mode 100644 index 000000000..745036ed4 --- /dev/null +++ b/parser/testdata/00932_array_intersect_bug/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arraySort (children 1) + ExpressionList (children 1) + Function arrayIntersect (children 1) + ExpressionList (children 2) + Literal Array_[\'a\', \'b\', \'c\'] + Literal Array_[\'a\', \'a\'] diff --git a/parser/testdata/00932_geohash_support/explain.txt b/parser/testdata/00932_geohash_support/explain.txt new file mode 100644 index 000000000..615ff839b --- /dev/null +++ b/parser/testdata/00932_geohash_support/explain.txt @@ -0,0 +1,2 @@ +DropQuery geohash_test_data (children 1) + Identifier geohash_test_data diff --git a/parser/testdata/00933_alter_ttl/explain.txt b/parser/testdata/00933_alter_ttl/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00933_alter_ttl/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00933_reserved_word/explain.txt b/parser/testdata/00933_reserved_word/explain.txt new file mode 100644 index 000000000..a8e360f8e --- /dev/null +++ b/parser/testdata/00933_reserved_word/explain.txt @@ -0,0 +1,2 @@ +DropQuery reserved_word_table (children 1) + Identifier reserved_word_table diff --git a/parser/testdata/00933_ttl_formatting/explain.txt b/parser/testdata/00933_ttl_formatting/explain.txt new file mode 100644 index 000000000..592a453d4 --- /dev/null +++ b/parser/testdata/00933_ttl_formatting/explain.txt @@ -0,0 +1,20 @@ +CreateQuery tab (children 3) + Identifier tab + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration col (children 1) + DataType Int + Storage definition (children 3) + Function MergeTree (children 1) + ExpressionList + Function tuple (children 1) + ExpressionList + ExpressionList (children 1) + TTLElement (children 1) + Function greater (children 1) + ExpressionList (children 2) + Function materialize (children 1) + ExpressionList (children 1) + Literal UInt64_2 + Literal UInt64_1 +The query succeeded but the server error '36' was expected (query: EXPLAIN AST CREATE TABLE tab(col Int) ENGINE = MergeTree() ORDER BY tuple() TTL greater(materialize(2), 1); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/00933_ttl_simple/explain.txt b/parser/testdata/00933_ttl_simple/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00933_ttl_simple/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00933_ttl_with_default/explain.txt b/parser/testdata/00933_ttl_with_default/explain.txt new file mode 100644 index 000000000..3f3358949 --- /dev/null +++ b/parser/testdata/00933_ttl_with_default/explain.txt @@ -0,0 +1,2 @@ +DropQuery ttl_00933_2 (children 1) + Identifier ttl_00933_2 diff --git a/parser/testdata/00934_is_valid_utf8/explain.txt b/parser/testdata/00934_is_valid_utf8/explain.txt new file mode 100644 index 000000000..4054ca033 --- /dev/null +++ b/parser/testdata/00934_is_valid_utf8/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Function isValidUTF8 (children 1) + ExpressionList (children 1) + Literal \'\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_10 diff --git a/parser/testdata/00935_to_iso_week_first_year/explain.txt b/parser/testdata/00935_to_iso_week_first_year/explain.txt new file mode 100644 index 000000000..315766da2 --- /dev/null +++ b/parser/testdata/00935_to_iso_week_first_year/explain.txt @@ -0,0 +1,22 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 3) + Function plus (alias d) (children 1) + ExpressionList (children 2) + Function toDate (children 1) + ExpressionList (children 1) + Literal \'1970-01-01\' + Identifier number + Function toISOWeek (children 1) + ExpressionList (children 1) + Identifier d + Function toISOYear (children 1) + ExpressionList (children 1) + Identifier d + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_15 diff --git a/parser/testdata/00936_crc_functions/explain.txt b/parser/testdata/00936_crc_functions/explain.txt new file mode 100644 index 000000000..f0662d5e1 --- /dev/null +++ b/parser/testdata/00936_crc_functions/explain.txt @@ -0,0 +1,2 @@ +DropQuery table1 (children 1) + Identifier table1 diff --git a/parser/testdata/00936_function_result_with_operator_in/explain.txt b/parser/testdata/00936_function_result_with_operator_in/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00936_function_result_with_operator_in/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00936_substring_utf8_non_const/explain.txt b/parser/testdata/00936_substring_utf8_non_const/explain.txt new file mode 100644 index 000000000..965348083 --- /dev/null +++ b/parser/testdata/00936_substring_utf8_non_const/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function substringUTF8 (children 1) + ExpressionList (children 3) + Literal \'hello, привет\' + Literal UInt64_1 + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_16 diff --git a/parser/testdata/00937_ipv4_cidr_range/explain.txt b/parser/testdata/00937_ipv4_cidr_range/explain.txt new file mode 100644 index 000000000..af840dd25 --- /dev/null +++ b/parser/testdata/00937_ipv4_cidr_range/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'tests\' diff --git a/parser/testdata/00938_basename/explain.txt b/parser/testdata/00938_basename/explain.txt new file mode 100644 index 000000000..b82f6ef3b --- /dev/null +++ b/parser/testdata/00938_basename/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function basename (children 1) + ExpressionList (children 1) + Literal \'/usr/bin/bash\' diff --git a/parser/testdata/00938_dataset_test/explain.txt b/parser/testdata/00938_dataset_test/explain.txt new file mode 100644 index 000000000..d1b720b41 --- /dev/null +++ b/parser/testdata/00938_dataset_test/explain.txt @@ -0,0 +1,2 @@ +DropQuery defaults (children 1) + Identifier defaults diff --git a/parser/testdata/00938_ipv6_cidr_range/explain.txt b/parser/testdata/00938_ipv6_cidr_range/explain.txt new file mode 100644 index 000000000..e69c44a58 --- /dev/null +++ b/parser/testdata/00938_ipv6_cidr_range/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'check invalid params\' diff --git a/parser/testdata/00938_test_retention_function/explain.txt b/parser/testdata/00938_test_retention_function/explain.txt new file mode 100644 index 000000000..44e3d84d6 --- /dev/null +++ b/parser/testdata/00938_test_retention_function/explain.txt @@ -0,0 +1,2 @@ +DropQuery retention_test (children 1) + Identifier retention_test diff --git a/parser/testdata/00939_limit_by_offset/explain.txt b/parser/testdata/00939_limit_by_offset/explain.txt new file mode 100644 index 000000000..9d5155bff --- /dev/null +++ b/parser/testdata/00939_limit_by_offset/explain.txt @@ -0,0 +1,2 @@ +DropQuery limit_by (children 1) + Identifier limit_by diff --git a/parser/testdata/00939_test_null_in/explain.txt b/parser/testdata/00939_test_null_in/explain.txt new file mode 100644 index 000000000..7bb573f6a --- /dev/null +++ b/parser/testdata/00939_test_null_in/explain.txt @@ -0,0 +1,2 @@ +DropQuery nullt (children 1) + Identifier nullt diff --git a/parser/testdata/00940_max_parts_in_total/explain.txt b/parser/testdata/00940_max_parts_in_total/explain.txt new file mode 100644 index 000000000..09f6bdae4 --- /dev/null +++ b/parser/testdata/00940_max_parts_in_total/explain.txt @@ -0,0 +1,2 @@ +DropQuery max_parts_in_total (children 1) + Identifier max_parts_in_total diff --git a/parser/testdata/00940_order_by_read_in_order/explain.txt b/parser/testdata/00940_order_by_read_in_order/explain.txt new file mode 100644 index 000000000..f75153e55 --- /dev/null +++ b/parser/testdata/00940_order_by_read_in_order/explain.txt @@ -0,0 +1,2 @@ +DropQuery pk_order (children 1) + Identifier pk_order diff --git a/parser/testdata/00940_order_by_read_in_order_query_plan/metadata.json b/parser/testdata/00940_order_by_read_in_order_query_plan/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00940_order_by_read_in_order_query_plan/metadata.json +++ b/parser/testdata/00940_order_by_read_in_order_query_plan/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00941_to_custom_week/explain.txt b/parser/testdata/00941_to_custom_week/explain.txt new file mode 100644 index 000000000..cee0474e0 --- /dev/null +++ b/parser/testdata/00941_to_custom_week/explain.txt @@ -0,0 +1,26 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 4) + Function toWeek (children 1) + ExpressionList (children 1) + Function toDate (children 1) + ExpressionList (children 1) + Literal \'1998-01-01\' + Function toWeek (children 1) + ExpressionList (children 1) + Function toDate (children 1) + ExpressionList (children 1) + Literal \'1997-01-01\' + Function toWeek (children 1) + ExpressionList (children 2) + Function toDate (children 1) + ExpressionList (children 1) + Literal \'1998-01-01\' + Literal UInt64_1 + Function toWeek (children 1) + ExpressionList (children 2) + Function toDate (children 1) + ExpressionList (children 1) + Literal \'1997-01-01\' + Literal UInt64_1 diff --git a/parser/testdata/00942_mv_rename_table/explain.txt b/parser/testdata/00942_mv_rename_table/explain.txt new file mode 100644 index 000000000..5aae20747 --- /dev/null +++ b/parser/testdata/00942_mv_rename_table/explain.txt @@ -0,0 +1,2 @@ +DropQuery src_00942 (children 1) + Identifier src_00942 diff --git a/parser/testdata/00943_mv_rename_without_inner_table/explain.txt b/parser/testdata/00943_mv_rename_without_inner_table/explain.txt new file mode 100644 index 000000000..86d217994 --- /dev/null +++ b/parser/testdata/00943_mv_rename_without_inner_table/explain.txt @@ -0,0 +1,2 @@ +DropQuery src (children 1) + Identifier src diff --git a/parser/testdata/00944_minmax_nan/explain.txt b/parser/testdata/00944_minmax_nan/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00944_minmax_nan/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00944_minmax_null/explain.txt b/parser/testdata/00944_minmax_null/explain.txt new file mode 100644 index 000000000..1deb09838 --- /dev/null +++ b/parser/testdata/00944_minmax_null/explain.txt @@ -0,0 +1,2 @@ +DropQuery min_max_with_nullable_string (children 1) + Identifier min_max_with_nullable_string diff --git a/parser/testdata/00944_ml_test/explain.txt b/parser/testdata/00944_ml_test/explain.txt new file mode 100644 index 000000000..d1b720b41 --- /dev/null +++ b/parser/testdata/00944_ml_test/explain.txt @@ -0,0 +1,2 @@ +DropQuery defaults (children 1) + Identifier defaults diff --git a/parser/testdata/00945_bloom_filter_index/explain.txt b/parser/testdata/00945_bloom_filter_index/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00945_bloom_filter_index/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00945_ml_test/explain.txt b/parser/testdata/00945_ml_test/explain.txt new file mode 100644 index 000000000..d1b720b41 --- /dev/null +++ b/parser/testdata/00945_ml_test/explain.txt @@ -0,0 +1,2 @@ +DropQuery defaults (children 1) + Identifier defaults diff --git a/parser/testdata/00946_ml_test/explain.txt b/parser/testdata/00946_ml_test/explain.txt new file mode 100644 index 000000000..d1b720b41 --- /dev/null +++ b/parser/testdata/00946_ml_test/explain.txt @@ -0,0 +1,2 @@ +DropQuery defaults (children 1) + Identifier defaults diff --git a/parser/testdata/00947_ml_test/explain.txt b/parser/testdata/00947_ml_test/explain.txt new file mode 100644 index 000000000..d1b720b41 --- /dev/null +++ b/parser/testdata/00947_ml_test/explain.txt @@ -0,0 +1,2 @@ +DropQuery defaults (children 1) + Identifier defaults diff --git a/parser/testdata/00948_to_valid_utf8/explain.txt b/parser/testdata/00948_to_valid_utf8/explain.txt new file mode 100644 index 000000000..4062f6b03 --- /dev/null +++ b/parser/testdata/00948_to_valid_utf8/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function toValidUTF8 (children 1) + ExpressionList (children 1) + Literal \'\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_10 diff --git a/parser/testdata/00948_values_interpreter_template/explain.txt b/parser/testdata/00948_values_interpreter_template/explain.txt new file mode 100644 index 000000000..1dace37ee --- /dev/null +++ b/parser/testdata/00948_values_interpreter_template/explain.txt @@ -0,0 +1,2 @@ +DropQuery type_names (children 1) + Identifier type_names diff --git a/parser/testdata/00949_format/explain.txt b/parser/testdata/00949_format/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00949_format/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00950_bad_alloc_when_truncate_join_storage/explain.txt b/parser/testdata/00950_bad_alloc_when_truncate_join_storage/explain.txt new file mode 100644 index 000000000..7cee958f8 --- /dev/null +++ b/parser/testdata/00950_bad_alloc_when_truncate_join_storage/explain.txt @@ -0,0 +1,2 @@ +DropQuery join_test (children 1) + Identifier join_test diff --git a/parser/testdata/00950_default_prewhere/explain.txt b/parser/testdata/00950_default_prewhere/explain.txt new file mode 100644 index 000000000..14384dd64 --- /dev/null +++ b/parser/testdata/00950_default_prewhere/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_generic_events_all (children 1) + Identifier test_generic_events_all diff --git a/parser/testdata/00950_dict_get/explain.txt b/parser/testdata/00950_dict_get/explain.txt new file mode 100644 index 000000000..c70fa3b42 --- /dev/null +++ b/parser/testdata/00950_dict_get/explain.txt @@ -0,0 +1,2 @@ +UseQuery system (children 1) + Identifier system diff --git a/parser/testdata/00950_test_double_delta_codec/explain.txt b/parser/testdata/00950_test_double_delta_codec/explain.txt new file mode 100644 index 000000000..5d94db3f2 --- /dev/null +++ b/parser/testdata/00950_test_double_delta_codec/explain.txt @@ -0,0 +1,2 @@ +DropQuery codecTest (children 1) + Identifier codecTest diff --git a/parser/testdata/00950_test_double_delta_codec_types/explain.txt b/parser/testdata/00950_test_double_delta_codec_types/explain.txt new file mode 100644 index 000000000..0a00b06d1 --- /dev/null +++ b/parser/testdata/00950_test_double_delta_codec_types/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab (children 1) + Identifier tab diff --git a/parser/testdata/00950_test_gorilla_codec/explain.txt b/parser/testdata/00950_test_gorilla_codec/explain.txt new file mode 100644 index 000000000..5d94db3f2 --- /dev/null +++ b/parser/testdata/00950_test_gorilla_codec/explain.txt @@ -0,0 +1,2 @@ +DropQuery codecTest (children 1) + Identifier codecTest diff --git a/parser/testdata/00951_ngram_search/explain.txt b/parser/testdata/00951_ngram_search/explain.txt new file mode 100644 index 000000000..dae018b82 --- /dev/null +++ b/parser/testdata/00951_ngram_search/explain.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function round (children 1) + ExpressionList (children 1) + Function multiply (children 1) + ExpressionList (children 2) + Literal UInt64_1000 + Function ngramSearchUTF8 (children 1) + ExpressionList (children 2) + Function materialize (children 1) + ExpressionList (children 1) + Literal \'\' + Literal \'\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_5 diff --git a/parser/testdata/00952_insert_into_distributed_with_materialized_column/explain.txt b/parser/testdata/00952_insert_into_distributed_with_materialized_column/explain.txt new file mode 100644 index 000000000..2601abcc8 --- /dev/null +++ b/parser/testdata/00952_insert_into_distributed_with_materialized_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery local_00952 (children 1) + Identifier local_00952 diff --git a/parser/testdata/00952_part_frozen_info/explain.txt b/parser/testdata/00952_part_frozen_info/explain.txt new file mode 100644 index 000000000..0fa161c6b --- /dev/null +++ b/parser/testdata/00952_part_frozen_info/explain.txt @@ -0,0 +1,2 @@ +DropQuery part_info (children 1) + Identifier part_info diff --git a/parser/testdata/00953_moving_functions/explain.txt b/parser/testdata/00953_moving_functions/explain.txt new file mode 100644 index 000000000..e44435f63 --- /dev/null +++ b/parser/testdata/00953_moving_functions/explain.txt @@ -0,0 +1,2 @@ +DropQuery moving_sum_num (children 1) + Identifier moving_sum_num diff --git a/parser/testdata/00954_resample_combinator/explain.txt b/parser/testdata/00954_resample_combinator/explain.txt new file mode 100644 index 000000000..acbeb0694 --- /dev/null +++ b/parser/testdata/00954_resample_combinator/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayReduce (children 1) + ExpressionList (children 3) + Literal \'sumResample(1, 7, 1)\' + Literal Array_[UInt64_10, UInt64_11, UInt64_12, UInt64_13, UInt64_14, UInt64_15, UInt64_16, UInt64_17, UInt64_18, UInt64_19] + Literal Array_[UInt64_0, UInt64_1, UInt64_2, UInt64_3, UInt64_4, UInt64_5, UInt64_6, UInt64_7, UInt64_8, UInt64_9] diff --git a/parser/testdata/00955_test_final_mark/explain.txt b/parser/testdata/00955_test_final_mark/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00955_test_final_mark/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00956_join_use_nulls_with_array_column/explain.txt b/parser/testdata/00956_join_use_nulls_with_array_column/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00956_join_use_nulls_with_array_column/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00957_coalesce_const_nullable_crash/explain.txt b/parser/testdata/00957_coalesce_const_nullable_crash/explain.txt new file mode 100644 index 000000000..03ef9a9e1 --- /dev/null +++ b/parser/testdata/00957_coalesce_const_nullable_crash/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function coalesce (alias x) (children 1) + ExpressionList (children 2) + Function toNullable (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Function toNullable (children 1) + ExpressionList (children 1) + Literal UInt64_2 + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/00957_delta_diff_bug/explain.txt b/parser/testdata/00957_delta_diff_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00957_delta_diff_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00957_neighbor/explain.txt b/parser/testdata/00957_neighbor/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00957_neighbor/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00960_eval_ml_method_const/explain.txt b/parser/testdata/00960_eval_ml_method_const/explain.txt new file mode 100644 index 000000000..50c0e1b4d --- /dev/null +++ b/parser/testdata/00960_eval_ml_method_const/explain.txt @@ -0,0 +1,24 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Subquery (alias model) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function stochasticLinearRegressionState (children 1) + ExpressionList (children 3) + Literal UInt64_1 + Literal UInt64_2 + Literal UInt64_3 + ExpressionList (children 1) + Function evalMLMethod (children 1) + ExpressionList (children 3) + Identifier model + Function toFloat64 (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Function toFloat64 (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/00961_check_table/explain.txt b/parser/testdata/00961_check_table/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00961_check_table/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00961_checksums_in_system_parts_columns_table/explain.txt b/parser/testdata/00961_checksums_in_system_parts_columns_table/explain.txt new file mode 100644 index 000000000..baacb6cec --- /dev/null +++ b/parser/testdata/00961_checksums_in_system_parts_columns_table/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_00961 (children 1) + Identifier test_00961 diff --git a/parser/testdata/00961_visit_param_buffer_underflow/explain.txt b/parser/testdata/00961_visit_param_buffer_underflow/explain.txt new file mode 100644 index 000000000..4195e8395 --- /dev/null +++ b/parser/testdata/00961_visit_param_buffer_underflow/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function visitParamExtractRaw (children 1) + ExpressionList (children 2) + Literal \'"a":\' + Literal \'a\' diff --git a/parser/testdata/00962_enumNotExect/explain.txt b/parser/testdata/00962_enumNotExect/explain.txt new file mode 100644 index 000000000..8977c7a86 --- /dev/null +++ b/parser/testdata/00962_enumNotExect/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_enum8 (children 1) + Identifier t_enum8 diff --git a/parser/testdata/00962_visit_param_various/explain.txt b/parser/testdata/00962_visit_param_various/explain.txt new file mode 100644 index 000000000..279d99194 --- /dev/null +++ b/parser/testdata/00962_visit_param_various/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function visitParamExtractUInt (children 1) + ExpressionList (children 2) + Literal \'"a":123\' + Literal \'a\' diff --git a/parser/testdata/00963_achimbab/explain.txt b/parser/testdata/00963_achimbab/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00963_achimbab/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00963_startsWith_force_primary_key/explain.txt b/parser/testdata/00963_startsWith_force_primary_key/explain.txt new file mode 100644 index 000000000..af280e779 --- /dev/null +++ b/parser/testdata/00963_startsWith_force_primary_key/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_startsWith (children 1) + Identifier test_startsWith diff --git a/parser/testdata/00964_os_thread_priority/explain.txt b/parser/testdata/00964_os_thread_priority/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00964_os_thread_priority/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00965_shard_unresolvable_addresses/explain.txt b/parser/testdata/00965_shard_unresolvable_addresses/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00965_shard_unresolvable_addresses/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00966_invalid_json_must_not_parse/explain.txt b/parser/testdata/00966_invalid_json_must_not_parse/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00966_invalid_json_must_not_parse/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00967_insert_into_distributed_different_types/explain.txt b/parser/testdata/00967_insert_into_distributed_different_types/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00967_insert_into_distributed_different_types/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00968_file_engine_in_subquery/explain.txt b/parser/testdata/00968_file_engine_in_subquery/explain.txt new file mode 100644 index 000000000..b8b858917 --- /dev/null +++ b/parser/testdata/00968_file_engine_in_subquery/explain.txt @@ -0,0 +1,2 @@ +DropQuery tableFile_00968 (children 1) + Identifier tableFile_00968 diff --git a/parser/testdata/00968_roundAge/explain.txt b/parser/testdata/00968_roundAge/explain.txt new file mode 100644 index 000000000..405393b49 --- /dev/null +++ b/parser/testdata/00968_roundAge/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function roundAge (children 1) + ExpressionList (children 1) + Literal UInt64_0 diff --git a/parser/testdata/00969_columns_clause/explain.txt b/parser/testdata/00969_columns_clause/explain.txt new file mode 100644 index 000000000..2dc633ec1 --- /dev/null +++ b/parser/testdata/00969_columns_clause/explain.txt @@ -0,0 +1,2 @@ +DropQuery ColumnsClauseTest (children 1) + Identifier ColumnsClauseTest diff --git a/parser/testdata/00969_roundDuration/explain.txt b/parser/testdata/00969_roundDuration/explain.txt new file mode 100644 index 000000000..7c090ae82 --- /dev/null +++ b/parser/testdata/00969_roundDuration/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function roundDuration (children 1) + ExpressionList (children 1) + Literal UInt64_0 diff --git a/parser/testdata/00971_merge_tree_uniform_read_distribution_and_max_rows_to_read/explain.txt b/parser/testdata/00971_merge_tree_uniform_read_distribution_and_max_rows_to_read/explain.txt new file mode 100644 index 000000000..eaf9d7dce --- /dev/null +++ b/parser/testdata/00971_merge_tree_uniform_read_distribution_and_max_rows_to_read/explain.txt @@ -0,0 +1,2 @@ +DropQuery merge_tree (children 1) + Identifier merge_tree diff --git a/parser/testdata/00972_desc_table_virtual_columns/explain.txt b/parser/testdata/00972_desc_table_virtual_columns/explain.txt new file mode 100644 index 000000000..d7b998d34 --- /dev/null +++ b/parser/testdata/00972_desc_table_virtual_columns/explain.txt @@ -0,0 +1,2 @@ +DropQuery upyachka (children 1) + Identifier upyachka diff --git a/parser/testdata/00972_geohashesInBox/explain.txt b/parser/testdata/00972_geohashesInBox/explain.txt new file mode 100644 index 000000000..372172a18 --- /dev/null +++ b/parser/testdata/00972_geohashesInBox/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'center\' diff --git a/parser/testdata/00973_create_table_as_table_function/explain.txt b/parser/testdata/00973_create_table_as_table_function/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/00973_create_table_as_table_function/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/00973_uniq_non_associativity/metadata.json b/parser/testdata/00973_uniq_non_associativity/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00973_uniq_non_associativity/metadata.json +++ b/parser/testdata/00973_uniq_non_associativity/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00974_adaptive_granularity_secondary_index/explain.txt b/parser/testdata/00974_adaptive_granularity_secondary_index/explain.txt new file mode 100644 index 000000000..beabf2626 --- /dev/null +++ b/parser/testdata/00974_adaptive_granularity_secondary_index/explain.txt @@ -0,0 +1,2 @@ +DropQuery indexed_table (children 1) + Identifier indexed_table diff --git a/parser/testdata/00974_bitmapContains_with_primary_key/explain.txt b/parser/testdata/00974_bitmapContains_with_primary_key/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/00974_bitmapContains_with_primary_key/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/00974_distributed_join_on/explain.txt b/parser/testdata/00974_distributed_join_on/explain.txt new file mode 100644 index 000000000..7cf8c1116 --- /dev/null +++ b/parser/testdata/00974_distributed_join_on/explain.txt @@ -0,0 +1,2 @@ +DropQuery source_table1 (children 1) + Identifier source_table1 diff --git a/parser/testdata/00974_final_predicate_push_down/explain.txt b/parser/testdata/00974_final_predicate_push_down/explain.txt new file mode 100644 index 000000000..9253e44b0 --- /dev/null +++ b/parser/testdata/00974_final_predicate_push_down/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_00974 (children 1) + Identifier test_00974 diff --git a/parser/testdata/00974_fix_join_on/explain.txt b/parser/testdata/00974_fix_join_on/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/00974_fix_join_on/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/00974_full_outer_join/metadata.json b/parser/testdata/00974_full_outer_join/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00974_full_outer_join/metadata.json +++ b/parser/testdata/00974_full_outer_join/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00974_low_cardinality_cast/explain.txt b/parser/testdata/00974_low_cardinality_cast/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00974_low_cardinality_cast/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00974_query_profiler/explain.txt b/parser/testdata/00974_query_profiler/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00974_query_profiler/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00975_json_hang/explain.txt b/parser/testdata/00975_json_hang/explain.txt new file mode 100644 index 000000000..bae429349 --- /dev/null +++ b/parser/testdata/00975_json_hang/explain.txt @@ -0,0 +1,29 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function JSONExtractRaw (alias res) (children 1) + ExpressionList (children 2) + Function concat (children 1) + ExpressionList (children 3) + Literal \'{"x":\' + Function if (children 1) + ExpressionList (children 3) + Function modulo (children 1) + ExpressionList (children 2) + Function rand (children 1) + ExpressionList + Literal UInt64_2 + Literal \'true\' + Literal \'false\' + Literal \'}\' + Literal \'x\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1000000 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier res diff --git a/parser/testdata/00975_move_partition_merge_tree/explain.txt b/parser/testdata/00975_move_partition_merge_tree/explain.txt new file mode 100644 index 000000000..44406409c --- /dev/null +++ b/parser/testdata/00975_move_partition_merge_tree/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_move_partition_src (children 1) + Identifier test_move_partition_src diff --git a/parser/testdata/00975_recursive_materialized_view/explain.txt b/parser/testdata/00975_recursive_materialized_view/explain.txt new file mode 100644 index 000000000..86d217994 --- /dev/null +++ b/parser/testdata/00975_recursive_materialized_view/explain.txt @@ -0,0 +1,2 @@ +DropQuery src (children 1) + Identifier src diff --git a/parser/testdata/00975_sample_prewhere_distributed/explain.txt b/parser/testdata/00975_sample_prewhere_distributed/explain.txt new file mode 100644 index 000000000..b7e0e1906 --- /dev/null +++ b/parser/testdata/00975_sample_prewhere_distributed/explain.txt @@ -0,0 +1,23 @@ +CreateQuery sample_prewhere (children 3) + Identifier sample_prewhere + Columns definition (children 1) + ExpressionList (children 3) + ColumnDeclaration date (children 1) + DataType Date + ColumnDeclaration id (children 1) + DataType Int32 + ColumnDeclaration time (children 1) + DataType Int64 + Storage definition (children 4) + Function MergeTree + Identifier date + Function tuple (children 1) + ExpressionList (children 3) + Identifier id + Identifier time + Function intHash64 (children 1) + ExpressionList (children 1) + Identifier time + Function intHash64 (children 1) + ExpressionList (children 1) + Identifier time diff --git a/parser/testdata/00975_values_list/explain.txt b/parser/testdata/00975_values_list/explain.txt new file mode 100644 index 000000000..1340928ef --- /dev/null +++ b/parser/testdata/00975_values_list/explain.txt @@ -0,0 +1,2 @@ +DropQuery values_list (children 1) + Identifier values_list diff --git a/parser/testdata/00976_max_execution_speed/explain.txt b/parser/testdata/00976_max_execution_speed/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00976_max_execution_speed/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00976_shard_low_cardinality_achimbab/explain.txt b/parser/testdata/00976_shard_low_cardinality_achimbab/explain.txt new file mode 100644 index 000000000..0dd7b1872 --- /dev/null +++ b/parser/testdata/00976_shard_low_cardinality_achimbab/explain.txt @@ -0,0 +1,2 @@ +DropQuery han_1 (children 1) + Identifier han_1 diff --git a/parser/testdata/00976_system_stop_ttl_merges/explain.txt b/parser/testdata/00976_system_stop_ttl_merges/explain.txt new file mode 100644 index 000000000..9e20a5fdb --- /dev/null +++ b/parser/testdata/00976_system_stop_ttl_merges/explain.txt @@ -0,0 +1,2 @@ +DropQuery ttl (children 1) + Identifier ttl diff --git a/parser/testdata/00976_ttl_with_old_parts/explain.txt b/parser/testdata/00976_ttl_with_old_parts/explain.txt new file mode 100644 index 000000000..9e20a5fdb --- /dev/null +++ b/parser/testdata/00976_ttl_with_old_parts/explain.txt @@ -0,0 +1,2 @@ +DropQuery ttl (children 1) + Identifier ttl diff --git a/parser/testdata/00977_int_div/metadata.json b/parser/testdata/00977_int_div/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00977_int_div/metadata.json +++ b/parser/testdata/00977_int_div/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00977_join_use_nulls_denny_crane/explain.txt b/parser/testdata/00977_join_use_nulls_denny_crane/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/00977_join_use_nulls_denny_crane/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/00978_ml_math/metadata.json b/parser/testdata/00978_ml_math/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00978_ml_math/metadata.json +++ b/parser/testdata/00978_ml_math/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00978_sum_map_bugfix/explain.txt b/parser/testdata/00978_sum_map_bugfix/explain.txt new file mode 100644 index 000000000..08dbfe945 --- /dev/null +++ b/parser/testdata/00978_sum_map_bugfix/explain.txt @@ -0,0 +1,31 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Identifier number + Function arrayReduce (children 1) + ExpressionList (children 3) + Literal \'sumMap\' + Function array (children 1) + ExpressionList (children 1) + Identifier a + Function array (children 1) + ExpressionList (children 1) + Identifier b + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 3) + Literal Array_[UInt64_100, UInt64_100, UInt64_200] (alias a) + Literal Array_[UInt64_10, UInt64_20, UInt64_30] (alias b) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/00978_table_function_values_alias/explain.txt b/parser/testdata/00978_table_function_values_alias/explain.txt new file mode 100644 index 000000000..85fc8669d --- /dev/null +++ b/parser/testdata/00978_table_function_values_alias/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 3) + Identifier x + Identifier s + Identifier z + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function VALUES (children 1) + ExpressionList (children 3) + Literal \'x UInt64, s String, z ALIAS concat(toString(x), \\\': \\\', s)\' + Literal Tuple_(UInt64_1, \'hello\') + Literal Tuple_(UInt64_2, \'world\') diff --git a/parser/testdata/00979_quantileExcatExclusive_and_Inclusive/explain.txt b/parser/testdata/00979_quantileExcatExclusive_and_Inclusive/explain.txt new file mode 100644 index 000000000..108ea18a1 --- /dev/null +++ b/parser/testdata/00979_quantileExcatExclusive_and_Inclusive/explain.txt @@ -0,0 +1,2 @@ +DropQuery num (children 1) + Identifier num diff --git a/parser/testdata/00979_set_index_not/explain.txt b/parser/testdata/00979_set_index_not/explain.txt new file mode 100644 index 000000000..7e951838b --- /dev/null +++ b/parser/testdata/00979_set_index_not/explain.txt @@ -0,0 +1,2 @@ +DropQuery set_index_not (children 1) + Identifier set_index_not diff --git a/parser/testdata/00979_toFloat_monotonicity/explain.txt b/parser/testdata/00979_toFloat_monotonicity/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00979_toFloat_monotonicity/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00979_yandex_consistent_hash_fpe/explain.txt b/parser/testdata/00979_yandex_consistent_hash_fpe/explain.txt new file mode 100644 index 000000000..74e4b3993 --- /dev/null +++ b/parser/testdata/00979_yandex_consistent_hash_fpe/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function kostikConsistentHash (children 1) + ExpressionList (children 2) + Literal Int64_-1 + Literal UInt64_40000 +The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT kostikConsistentHash(-1, 40000); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/00980_crash_nullable_decimal/explain.txt b/parser/testdata/00980_crash_nullable_decimal/explain.txt new file mode 100644 index 000000000..017944cca --- /dev/null +++ b/parser/testdata/00980_crash_nullable_decimal/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayReduce (children 1) + ExpressionList (children 2) + Literal \'median\' + Function array (children 1) + ExpressionList (children 1) + Function toDecimal32OrNull (children 1) + ExpressionList (children 2) + Literal \'1\' + Literal UInt64_2 diff --git a/parser/testdata/00980_full_join_crash_fancyqlx/explain.txt b/parser/testdata/00980_full_join_crash_fancyqlx/explain.txt new file mode 100644 index 000000000..3764df584 --- /dev/null +++ b/parser/testdata/00980_full_join_crash_fancyqlx/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_join (children 1) + Identifier test_join diff --git a/parser/testdata/00980_merge_alter_settings/explain.txt b/parser/testdata/00980_merge_alter_settings/explain.txt new file mode 100644 index 000000000..3f1f119d4 --- /dev/null +++ b/parser/testdata/00980_merge_alter_settings/explain.txt @@ -0,0 +1,2 @@ +DropQuery log_for_alter (children 1) + Identifier log_for_alter diff --git a/parser/testdata/00980_shard_aggregation_state_deserialization/explain.txt b/parser/testdata/00980_shard_aggregation_state_deserialization/explain.txt new file mode 100644 index 000000000..0ef6da9a7 --- /dev/null +++ b/parser/testdata/00980_shard_aggregation_state_deserialization/explain.txt @@ -0,0 +1,2 @@ +DropQuery numbers500k (children 1) + Identifier numbers500k diff --git a/parser/testdata/00980_skip_unused_shards_without_sharding_key/explain.txt b/parser/testdata/00980_skip_unused_shards_without_sharding_key/explain.txt new file mode 100644 index 000000000..acee1101e --- /dev/null +++ b/parser/testdata/00980_skip_unused_shards_without_sharding_key/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_local (children 1) + Identifier t_local diff --git a/parser/testdata/00980_zookeeper_merge_tree_alter_settings/explain.txt b/parser/testdata/00980_zookeeper_merge_tree_alter_settings/explain.txt new file mode 100644 index 000000000..50064ff83 --- /dev/null +++ b/parser/testdata/00980_zookeeper_merge_tree_alter_settings/explain.txt @@ -0,0 +1,2 @@ +DropQuery replicated_table_for_alter1 (children 1) + Identifier replicated_table_for_alter1 diff --git a/parser/testdata/00981_no_virtual_columns/explain.txt b/parser/testdata/00981_no_virtual_columns/explain.txt new file mode 100644 index 000000000..e22f0675e --- /dev/null +++ b/parser/testdata/00981_no_virtual_columns/explain.txt @@ -0,0 +1,2 @@ +DropQuery merge_a (children 1) + Identifier merge_a diff --git a/parser/testdata/00981_topK_topKWeighted_long/explain.txt b/parser/testdata/00981_topK_topKWeighted_long/explain.txt new file mode 100644 index 000000000..280d98ebd --- /dev/null +++ b/parser/testdata/00981_topK_topKWeighted_long/explain.txt @@ -0,0 +1,2 @@ +DropQuery topk (children 1) + Identifier topk diff --git a/parser/testdata/00982_array_enumerate_uniq_ranked/explain.txt b/parser/testdata/00982_array_enumerate_uniq_ranked/explain.txt new file mode 100644 index 000000000..833e219ce --- /dev/null +++ b/parser/testdata/00982_array_enumerate_uniq_ranked/explain.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function arrayEnumerateUniqRanked (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_2 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function VALUES (children 1) + ExpressionList (children 4) + Literal \'x Array(Array(String))\' + Function array (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList + Literal Array_[Array_[\'a\'], Array_[\'a\'], Array_[\'b\']] + Literal Array_[Array_[\'a\'], Array_[\'a\'], Array_[\'b\']] diff --git a/parser/testdata/00982_low_cardinality_setting_in_mv/explain.txt b/parser/testdata/00982_low_cardinality_setting_in_mv/explain.txt new file mode 100644 index 000000000..5cbd34a73 --- /dev/null +++ b/parser/testdata/00982_low_cardinality_setting_in_mv/explain.txt @@ -0,0 +1,2 @@ +DropQuery test1 (children 1) + Identifier test1 diff --git a/parser/testdata/00983_summing_merge_tree_not_an_identifier/explain.txt b/parser/testdata/00983_summing_merge_tree_not_an_identifier/explain.txt new file mode 100644 index 000000000..f01388c95 --- /dev/null +++ b/parser/testdata/00983_summing_merge_tree_not_an_identifier/explain.txt @@ -0,0 +1,2 @@ +CreateQuery xx (children 1) + Identifier xx diff --git a/parser/testdata/00984_materialized_view_to_columns/explain.txt b/parser/testdata/00984_materialized_view_to_columns/explain.txt new file mode 100644 index 000000000..5cbd34a73 --- /dev/null +++ b/parser/testdata/00984_materialized_view_to_columns/explain.txt @@ -0,0 +1,2 @@ +DropQuery test1 (children 1) + Identifier test1 diff --git a/parser/testdata/00985_merge_stack_overflow/explain.txt b/parser/testdata/00985_merge_stack_overflow/explain.txt new file mode 100644 index 000000000..8940ae51d --- /dev/null +++ b/parser/testdata/00985_merge_stack_overflow/explain.txt @@ -0,0 +1,2 @@ +DropQuery merge1 (children 1) + Identifier merge1 diff --git a/parser/testdata/00986_materialized_view_stack_overflow/explain.txt b/parser/testdata/00986_materialized_view_stack_overflow/explain.txt new file mode 100644 index 000000000..5cbd34a73 --- /dev/null +++ b/parser/testdata/00986_materialized_view_stack_overflow/explain.txt @@ -0,0 +1,2 @@ +DropQuery test1 (children 1) + Identifier test1 diff --git a/parser/testdata/00987_distributed_stack_overflow/explain.txt b/parser/testdata/00987_distributed_stack_overflow/explain.txt new file mode 100644 index 000000000..7e1a277e1 --- /dev/null +++ b/parser/testdata/00987_distributed_stack_overflow/explain.txt @@ -0,0 +1,2 @@ +DropQuery distr0 (children 1) + Identifier distr0 diff --git a/parser/testdata/00988_constraints_replication_zookeeper_long/explain.txt b/parser/testdata/00988_constraints_replication_zookeeper_long/explain.txt new file mode 100644 index 000000000..80b9c857b --- /dev/null +++ b/parser/testdata/00988_constraints_replication_zookeeper_long/explain.txt @@ -0,0 +1,2 @@ +DropQuery replicated_constraints1 (children 1) + Identifier replicated_constraints1 diff --git a/parser/testdata/00988_expansion_aliases_limit/explain.txt b/parser/testdata/00988_expansion_aliases_limit/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00988_expansion_aliases_limit/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00988_parallel_parts_removal/explain.txt b/parser/testdata/00988_parallel_parts_removal/explain.txt new file mode 100644 index 000000000..38773513b --- /dev/null +++ b/parser/testdata/00988_parallel_parts_removal/explain.txt @@ -0,0 +1,2 @@ +DropQuery mt (children 1) + Identifier mt diff --git a/parser/testdata/00989_parallel_parts_loading/explain.txt b/parser/testdata/00989_parallel_parts_loading/explain.txt new file mode 100644 index 000000000..38773513b --- /dev/null +++ b/parser/testdata/00989_parallel_parts_loading/explain.txt @@ -0,0 +1,2 @@ +DropQuery mt (children 1) + Identifier mt diff --git a/parser/testdata/00990_function_current_user/explain.txt b/parser/testdata/00990_function_current_user/explain.txt new file mode 100644 index 000000000..d0eec3995 --- /dev/null +++ b/parser/testdata/00990_function_current_user/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function isNotNull (children 1) + ExpressionList (children 1) + Function currentUser (children 1) + ExpressionList diff --git a/parser/testdata/00990_hasToken_and_tokenbf/explain.txt b/parser/testdata/00990_hasToken_and_tokenbf/explain.txt new file mode 100644 index 000000000..bfcd4326b --- /dev/null +++ b/parser/testdata/00990_hasToken_and_tokenbf/explain.txt @@ -0,0 +1,2 @@ +DropQuery bloom_filter (children 1) + Identifier bloom_filter diff --git a/parser/testdata/00990_metric_log_table_not_empty/explain.txt b/parser/testdata/00990_metric_log_table_not_empty/explain.txt new file mode 100644 index 000000000..363e21d55 --- /dev/null +++ b/parser/testdata/00990_metric_log_table_not_empty/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function sleep (children 1) + ExpressionList (children 1) + Literal UInt64_2 + Identifier Null diff --git a/parser/testdata/00990_request_splitting/explain.txt b/parser/testdata/00990_request_splitting/explain.txt new file mode 100644 index 000000000..465121b9c --- /dev/null +++ b/parser/testdata/00990_request_splitting/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function url (children 1) + ExpressionList (children 3) + Literal \'http://127.0.0.1:1337/? HTTP/1.1\\r\\nTest: test\' + Identifier CSV + Literal \'column1 String\' +The query succeeded but the server error '1000' was expected (query: EXPLAIN AST SELECT * FROM url('http://127.0.0.1:1337/? HTTP/1.1\r\nTest: test', CSV, 'column1 String'); -- { serverError POCO_EXCEPTION }). diff --git a/parser/testdata/00994_table_function_numbers_mt/explain.txt b/parser/testdata/00994_table_function_numbers_mt/explain.txt new file mode 100644 index 000000000..ebcad46a2 --- /dev/null +++ b/parser/testdata/00994_table_function_numbers_mt/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 3) + Function min (children 1) + ExpressionList (children 1) + Identifier number + Function max (children 1) + ExpressionList (children 1) + Identifier number + Function sum (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers_mt (children 1) + ExpressionList (children 1) + Literal UInt64_10000000 diff --git a/parser/testdata/00995_optimize_read_in_order_with_aggregation/explain.txt b/parser/testdata/00995_optimize_read_in_order_with_aggregation/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00995_optimize_read_in_order_with_aggregation/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00995_order_by_with_fill/explain.txt b/parser/testdata/00995_order_by_with_fill/explain.txt new file mode 100644 index 000000000..611c8388e --- /dev/null +++ b/parser/testdata/00995_order_by_with_fill/explain.txt @@ -0,0 +1,2 @@ +DropQuery fill (children 1) + Identifier fill diff --git a/parser/testdata/00996_limit_with_ties/explain.txt b/parser/testdata/00996_limit_with_ties/explain.txt new file mode 100644 index 000000000..72e83a9aa --- /dev/null +++ b/parser/testdata/00996_limit_with_ties/explain.txt @@ -0,0 +1,2 @@ +DropQuery ties (children 1) + Identifier ties diff --git a/parser/testdata/00996_neighbor/explain.txt b/parser/testdata/00996_neighbor/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00996_neighbor/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00997_extract_all_crash_6627/explain.txt b/parser/testdata/00997_extract_all_crash_6627/explain.txt new file mode 100644 index 000000000..c3a3d31ce --- /dev/null +++ b/parser/testdata/00997_extract_all_crash_6627/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function extractAll (children 1) + ExpressionList (children 2) + Literal \'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.143 YaBrowser/19.7.2.455 Yowser/2.5 Safari/537.36\' + Literal \'[Y][a-zA-Z]{8}/[1-9]([1-9]+)?(((.?)([0-9]+)?){0,4})?\' diff --git a/parser/testdata/00997_set_index_array/explain.txt b/parser/testdata/00997_set_index_array/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00997_set_index_array/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00997_trim/metadata.json b/parser/testdata/00997_trim/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/00997_trim/metadata.json +++ b/parser/testdata/00997_trim/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/00998_constraints_all_tables/explain.txt b/parser/testdata/00998_constraints_all_tables/explain.txt new file mode 100644 index 000000000..90e22026b --- /dev/null +++ b/parser/testdata/00998_constraints_all_tables/explain.txt @@ -0,0 +1,2 @@ +DropQuery constrained (children 1) + Identifier constrained diff --git a/parser/testdata/00999_full_join_dup_keys_crash/explain.txt b/parser/testdata/00999_full_join_dup_keys_crash/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00999_full_join_dup_keys_crash/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00999_join_not_nullable_types/explain.txt b/parser/testdata/00999_join_not_nullable_types/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/00999_join_not_nullable_types/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/00999_join_on_expression/explain.txt b/parser/testdata/00999_join_on_expression/explain.txt new file mode 100644 index 000000000..2d139630a --- /dev/null +++ b/parser/testdata/00999_join_on_expression/explain.txt @@ -0,0 +1,2 @@ +DropQuery X (children 1) + Identifier X diff --git a/parser/testdata/00999_nullable_nested_types_4877/explain.txt b/parser/testdata/00999_nullable_nested_types_4877/explain.txt new file mode 100644 index 000000000..4729043f2 --- /dev/null +++ b/parser/testdata/00999_nullable_nested_types_4877/explain.txt @@ -0,0 +1,2 @@ +DropQuery l (children 1) + Identifier l diff --git a/parser/testdata/00999_settings_no_extra_quotes/explain.txt b/parser/testdata/00999_settings_no_extra_quotes/explain.txt new file mode 100644 index 000000000..845499b8b --- /dev/null +++ b/parser/testdata/00999_settings_no_extra_quotes/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function like (children 1) + ExpressionList (children 2) + Identifier description + Literal \'"%"\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.settings diff --git a/parser/testdata/00999_test_skip_indices_with_alter_and_merge/explain.txt b/parser/testdata/00999_test_skip_indices_with_alter_and_merge/explain.txt new file mode 100644 index 000000000..3a7b5c221 --- /dev/null +++ b/parser/testdata/00999_test_skip_indices_with_alter_and_merge/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_vertical_merge (children 1) + Identifier test_vertical_merge diff --git a/parser/testdata/01000_bad_size_of_marks_skip_idx/explain.txt b/parser/testdata/01000_bad_size_of_marks_skip_idx/explain.txt new file mode 100644 index 000000000..d98780a8e --- /dev/null +++ b/parser/testdata/01000_bad_size_of_marks_skip_idx/explain.txt @@ -0,0 +1,2 @@ +DropQuery bad_skip_idx (children 1) + Identifier bad_skip_idx diff --git a/parser/testdata/01000_subquery_requires_alias/explain.txt b/parser/testdata/01000_subquery_requires_alias/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01000_subquery_requires_alias/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01001_enums_in_in_section/explain.txt b/parser/testdata/01001_enums_in_in_section/explain.txt new file mode 100644 index 000000000..b0da21f35 --- /dev/null +++ b/parser/testdata/01001_enums_in_in_section/explain.txt @@ -0,0 +1,2 @@ +DropQuery enums (children 1) + Identifier enums diff --git a/parser/testdata/01006_ttl_with_default_2/explain.txt b/parser/testdata/01006_ttl_with_default_2/explain.txt new file mode 100644 index 000000000..318bd4105 --- /dev/null +++ b/parser/testdata/01006_ttl_with_default_2/explain.txt @@ -0,0 +1,2 @@ +DropQuery ttl_with_default (children 1) + Identifier ttl_with_default diff --git a/parser/testdata/01008_materialized_view_henyihanwobushi/explain.txt b/parser/testdata/01008_materialized_view_henyihanwobushi/explain.txt new file mode 100644 index 000000000..275941d99 --- /dev/null +++ b/parser/testdata/01008_materialized_view_henyihanwobushi/explain.txt @@ -0,0 +1,2 @@ +DropQuery foo (children 1) + Identifier foo diff --git a/parser/testdata/01009_global_array_join_names/explain.txt b/parser/testdata/01009_global_array_join_names/explain.txt new file mode 100644 index 000000000..5cbd34a73 --- /dev/null +++ b/parser/testdata/01009_global_array_join_names/explain.txt @@ -0,0 +1,2 @@ +DropQuery test1 (children 1) + Identifier test1 diff --git a/parser/testdata/01009_insert_select_data_loss/explain.txt b/parser/testdata/01009_insert_select_data_loss/explain.txt new file mode 100644 index 000000000..0a00b06d1 --- /dev/null +++ b/parser/testdata/01009_insert_select_data_loss/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab (children 1) + Identifier tab diff --git a/parser/testdata/01009_insert_select_nicelulu/explain.txt b/parser/testdata/01009_insert_select_nicelulu/explain.txt new file mode 100644 index 000000000..10978cd0e --- /dev/null +++ b/parser/testdata/01009_insert_select_nicelulu/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_insert_t1 (children 1) + Identifier test_insert_t1 diff --git a/parser/testdata/01010_partial_merge_join/explain.txt b/parser/testdata/01010_partial_merge_join/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/01010_partial_merge_join/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/01010_partial_merge_join_const_and_lc/explain.txt b/parser/testdata/01010_partial_merge_join_const_and_lc/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01010_partial_merge_join_const_and_lc/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01010_partial_merge_join_negative/explain.txt b/parser/testdata/01010_partial_merge_join_negative/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/01010_partial_merge_join_negative/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/01010_pm_join_all_join_bug/explain.txt b/parser/testdata/01010_pm_join_all_join_bug/explain.txt new file mode 100644 index 000000000..7811fb443 --- /dev/null +++ b/parser/testdata/01010_pm_join_all_join_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery ints (children 1) + Identifier ints diff --git a/parser/testdata/01010_pmj_on_disk/explain.txt b/parser/testdata/01010_pmj_on_disk/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01010_pmj_on_disk/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01010_pmj_one_row_blocks/explain.txt b/parser/testdata/01010_pmj_one_row_blocks/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/01010_pmj_one_row_blocks/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/01010_pmj_right_table_memory_limits/explain.txt b/parser/testdata/01010_pmj_right_table_memory_limits/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01010_pmj_right_table_memory_limits/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01010_pmj_skip_blocks/explain.txt b/parser/testdata/01010_pmj_skip_blocks/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/01010_pmj_skip_blocks/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/01011_group_uniq_array_memsan/explain.txt b/parser/testdata/01011_group_uniq_array_memsan/explain.txt new file mode 100644 index 000000000..bb7a349ab --- /dev/null +++ b/parser/testdata/01011_group_uniq_array_memsan/explain.txt @@ -0,0 +1,24 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function groupUniqArray (children 1) + ExpressionList (children 1) + Identifier v + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function values (children 1) + ExpressionList (children 3) + Literal \'id int, v Array(int)\' + Function tuple (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal Array_[UInt64_2] + Function tuple (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Function array (children 1) + ExpressionList + ExpressionList (children 1) + Identifier id diff --git a/parser/testdata/01011_test_create_as_skip_indices/explain.txt b/parser/testdata/01011_test_create_as_skip_indices/explain.txt new file mode 100644 index 000000000..1f1fca169 --- /dev/null +++ b/parser/testdata/01011_test_create_as_skip_indices/explain.txt @@ -0,0 +1,15 @@ +CreateQuery foo (children 3) + Identifier foo + Columns definition (children 2) + ExpressionList (children 1) + ColumnDeclaration key (children 1) + DataType int + ExpressionList (children 1) + Index (children 2) + Identifier key + Function minmax (children 1) + ExpressionList + Storage definition (children 2) + Function MergeTree (children 1) + ExpressionList + Identifier key diff --git a/parser/testdata/01012_reset_running_accumulate/explain.txt b/parser/testdata/01012_reset_running_accumulate/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01012_reset_running_accumulate/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01012_select_limit_x_0/explain.txt b/parser/testdata/01012_select_limit_x_0/explain.txt new file mode 100644 index 000000000..63f005099 --- /dev/null +++ b/parser/testdata/01012_select_limit_x_0/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_1 + Literal UInt64_0 diff --git a/parser/testdata/01012_serialize_array_memory_usage/explain.txt b/parser/testdata/01012_serialize_array_memory_usage/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01012_serialize_array_memory_usage/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01012_show_tables_limit/metadata.json b/parser/testdata/01012_show_tables_limit/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01012_show_tables_limit/metadata.json +++ b/parser/testdata/01012_show_tables_limit/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01013_hex_decimal/explain.txt b/parser/testdata/01013_hex_decimal/explain.txt new file mode 100644 index 000000000..a08a465b4 --- /dev/null +++ b/parser/testdata/01013_hex_decimal/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function hex (children 1) + ExpressionList (children 1) + Function toDecimal32 (children 1) + ExpressionList (children 2) + Literal Float64_1 + Literal UInt64_2 diff --git a/parser/testdata/01013_hex_float/explain.txt b/parser/testdata/01013_hex_float/explain.txt new file mode 100644 index 000000000..093019396 --- /dev/null +++ b/parser/testdata/01013_hex_float/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function hex (children 1) + ExpressionList (children 1) + Literal Float64_1 diff --git a/parser/testdata/01013_repeat_function/explain.txt b/parser/testdata/01013_repeat_function/explain.txt new file mode 100644 index 000000000..d5fcf21a8 --- /dev/null +++ b/parser/testdata/01013_repeat_function/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function repeat (children 1) + ExpressionList (children 2) + Literal \'abc\' + Literal UInt64_10 diff --git a/parser/testdata/01013_totals_without_aggregation/explain.txt b/parser/testdata/01013_totals_without_aggregation/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01013_totals_without_aggregation/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01014_count_of_merges_metrics/explain.txt b/parser/testdata/01014_count_of_merges_metrics/explain.txt new file mode 100644 index 000000000..72506d746 --- /dev/null +++ b/parser/testdata/01014_count_of_merges_metrics/explain.txt @@ -0,0 +1,2 @@ +DropQuery new_table_test (children 1) + Identifier new_table_test diff --git a/parser/testdata/01014_function_repeat_corner_cases/explain.txt b/parser/testdata/01014_function_repeat_corner_cases/explain.txt new file mode 100644 index 000000000..01382b6a9 --- /dev/null +++ b/parser/testdata/01014_function_repeat_corner_cases/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function length (children 1) + ExpressionList (children 1) + Function repeat (children 1) + ExpressionList (children 2) + Literal \'x\' + Literal UInt64_1000000 diff --git a/parser/testdata/01015_array_split/explain.txt b/parser/testdata/01015_array_split/explain.txt new file mode 100644 index 000000000..f88325f29 --- /dev/null +++ b/parser/testdata/01015_array_split/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arraySplit (children 1) + ExpressionList (children 3) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 2) + Identifier x + Identifier y + Identifier y + Literal Array_[UInt64_1, UInt64_2, UInt64_3, UInt64_4, UInt64_5] + Literal Array_[UInt64_1, UInt64_0, UInt64_0, UInt64_1, UInt64_0] diff --git a/parser/testdata/01015_attach_part/explain.txt b/parser/testdata/01015_attach_part/explain.txt new file mode 100644 index 000000000..b3a168867 --- /dev/null +++ b/parser/testdata/01015_attach_part/explain.txt @@ -0,0 +1,2 @@ +DropQuery table_01 (children 1) + Identifier table_01 diff --git a/parser/testdata/01015_random_constant/explain.txt b/parser/testdata/01015_random_constant/explain.txt new file mode 100644 index 000000000..f6aaad94f --- /dev/null +++ b/parser/testdata/01015_random_constant/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Function randConstant (children 1) + ExpressionList + Literal UInt64_0 diff --git a/parser/testdata/01016_index_tuple_field_type/explain.txt b/parser/testdata/01016_index_tuple_field_type/explain.txt new file mode 100644 index 000000000..f7ae81df6 --- /dev/null +++ b/parser/testdata/01016_index_tuple_field_type/explain.txt @@ -0,0 +1,2 @@ +DropQuery tuple_01016 (children 1) + Identifier tuple_01016 diff --git a/parser/testdata/01016_macros/explain.txt b/parser/testdata/01016_macros/explain.txt new file mode 100644 index 000000000..f3cb0df12 --- /dev/null +++ b/parser/testdata/01016_macros/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.macros + Function equals (children 1) + ExpressionList (children 2) + Identifier macro + Literal \'test\' diff --git a/parser/testdata/01016_null_part_minmax/explain.txt b/parser/testdata/01016_null_part_minmax/explain.txt new file mode 100644 index 000000000..bf7d352e7 --- /dev/null +++ b/parser/testdata/01016_null_part_minmax/explain.txt @@ -0,0 +1,2 @@ +DropQuery null_01016 (children 1) + Identifier null_01016 diff --git a/parser/testdata/01016_simhash_minhash/explain.txt b/parser/testdata/01016_simhash_minhash/explain.txt new file mode 100644 index 000000000..0ddee2c7c --- /dev/null +++ b/parser/testdata/01016_simhash_minhash/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function ngramSimHash (children 1) + ExpressionList (children 1) + Literal \'\' diff --git a/parser/testdata/01016_simhash_minhash_ppc/explain.txt b/parser/testdata/01016_simhash_minhash_ppc/explain.txt new file mode 100644 index 000000000..0ddee2c7c --- /dev/null +++ b/parser/testdata/01016_simhash_minhash_ppc/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function ngramSimHash (children 1) + ExpressionList (children 1) + Literal \'\' diff --git a/parser/testdata/01016_uniqCombined64/explain.txt b/parser/testdata/01016_uniqCombined64/explain.txt new file mode 100644 index 000000000..36a687b3a --- /dev/null +++ b/parser/testdata/01016_uniqCombined64/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function uniqCombined (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal Float64_10000000 diff --git a/parser/testdata/01017_bithamming_distance/explain.txt b/parser/testdata/01017_bithamming_distance/explain.txt new file mode 100644 index 000000000..f371dcb91 --- /dev/null +++ b/parser/testdata/01017_bithamming_distance/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function bitHammingDistance (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal UInt64_5 diff --git a/parser/testdata/01017_in_unconvertible_complex_type/explain.txt b/parser/testdata/01017_in_unconvertible_complex_type/explain.txt new file mode 100644 index 000000000..f5754b834 --- /dev/null +++ b/parser/testdata/01017_in_unconvertible_complex_type/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function in (children 1) + ExpressionList (children 2) + Function toUInt8 (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Literal Int64_-1 diff --git a/parser/testdata/01017_tuplehamming_distance/explain.txt b/parser/testdata/01017_tuplehamming_distance/explain.txt new file mode 100644 index 000000000..a58f02af1 --- /dev/null +++ b/parser/testdata/01017_tuplehamming_distance/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function tupleHammingDistance (children 1) + ExpressionList (children 2) + Literal Tuple_(UInt64_1, UInt64_2) + Literal Tuple_(UInt64_3, UInt64_4) diff --git a/parser/testdata/01017_uniqCombined_memory_usage/explain.txt b/parser/testdata/01017_uniqCombined_memory_usage/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01017_uniqCombined_memory_usage/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01018_Distributed__shard_num/explain.txt b/parser/testdata/01018_Distributed__shard_num/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01018_Distributed__shard_num/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01018_ambiguous_column/explain.txt b/parser/testdata/01018_ambiguous_column/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01018_ambiguous_column/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01018_ddl_dictionaries_create/explain.txt b/parser/testdata/01018_ddl_dictionaries_create/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01018_ddl_dictionaries_create/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01018_ddl_dictionaries_select/explain.txt b/parser/testdata/01018_ddl_dictionaries_select/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01018_ddl_dictionaries_select/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01018_ddl_dictionaries_special/explain.txt b/parser/testdata/01018_ddl_dictionaries_special/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01018_ddl_dictionaries_special/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01018_dictionaries_from_dictionaries/explain.txt b/parser/testdata/01018_dictionaries_from_dictionaries/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01018_dictionaries_from_dictionaries/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01018_empty_aggregation_filling/explain.txt b/parser/testdata/01018_empty_aggregation_filling/explain.txt new file mode 100644 index 000000000..9506526df --- /dev/null +++ b/parser/testdata/01018_empty_aggregation_filling/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'--- Int Empty ---\' diff --git a/parser/testdata/01018_ip_dictionary_long/explain.txt b/parser/testdata/01018_ip_dictionary_long/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01018_ip_dictionary_long/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01018_optimize_read_in_order_with_in_subquery/explain.txt b/parser/testdata/01018_optimize_read_in_order_with_in_subquery/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01018_optimize_read_in_order_with_in_subquery/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01019_Buffer_and_max_memory_usage/explain.txt b/parser/testdata/01019_Buffer_and_max_memory_usage/explain.txt new file mode 100644 index 000000000..d3d3a88d3 --- /dev/null +++ b/parser/testdata/01019_Buffer_and_max_memory_usage/explain.txt @@ -0,0 +1,2 @@ +DropQuery null_ (children 1) + Identifier null_ diff --git a/parser/testdata/01019_alter_materialized_view_query/explain.txt b/parser/testdata/01019_alter_materialized_view_query/explain.txt new file mode 100644 index 000000000..4210e1b41 --- /dev/null +++ b/parser/testdata/01019_alter_materialized_view_query/explain.txt @@ -0,0 +1,2 @@ +DropQuery src_01019 (children 1) + Identifier src_01019 diff --git a/parser/testdata/01019_array_fill/explain.txt b/parser/testdata/01019_array_fill/explain.txt new file mode 100644 index 000000000..de01acf73 --- /dev/null +++ b/parser/testdata/01019_array_fill/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayFill (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Literal UInt64_0 + Literal Array_[UInt64_1, UInt64_2, UInt64_3, UInt64_11, UInt64_12, UInt64_13, UInt64_4, UInt64_5, UInt64_6, UInt64_14, UInt64_15, UInt64_16] diff --git a/parser/testdata/01019_materialized_view_select_extra_columns/explain.txt b/parser/testdata/01019_materialized_view_select_extra_columns/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01019_materialized_view_select_extra_columns/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01020_function_array_compact/explain.txt b/parser/testdata/01020_function_array_compact/explain.txt new file mode 100644 index 000000000..c533daada --- /dev/null +++ b/parser/testdata/01020_function_array_compact/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayCompact (children 1) + ExpressionList (children 1) + Literal Array_[UInt64_0] diff --git a/parser/testdata/01020_function_char/metadata.json b/parser/testdata/01020_function_char/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01020_function_char/metadata.json +++ b/parser/testdata/01020_function_char/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01020_having_without_group_by/explain.txt b/parser/testdata/01020_having_without_group_by/explain.txt new file mode 100644 index 000000000..5e7506d40 --- /dev/null +++ b/parser/testdata/01020_having_without_group_by/explain.txt @@ -0,0 +1,6 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Literal UInt64_1 + Literal UInt64_1 diff --git a/parser/testdata/01021_create_as_select/explain.txt b/parser/testdata/01021_create_as_select/explain.txt new file mode 100644 index 000000000..e03bca56c --- /dev/null +++ b/parser/testdata/01021_create_as_select/explain.txt @@ -0,0 +1,2 @@ +DropQuery create_as_select_01021 (children 1) + Identifier create_as_select_01021 diff --git a/parser/testdata/01021_only_tuple_columns/explain.txt b/parser/testdata/01021_only_tuple_columns/explain.txt new file mode 100644 index 000000000..2dc2d2a36 --- /dev/null +++ b/parser/testdata/01021_only_tuple_columns/explain.txt @@ -0,0 +1,2 @@ +CreateQuery test (children 1) + Identifier test diff --git a/parser/testdata/01021_tuple_parser/explain.txt b/parser/testdata/01021_tuple_parser/explain.txt new file mode 100644 index 000000000..b12a2b694 --- /dev/null +++ b/parser/testdata/01021_tuple_parser/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function toTypeName (children 1) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Function tuple (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/01023_materialized_view_query_context/explain.txt b/parser/testdata/01023_materialized_view_query_context/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01023_materialized_view_query_context/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01024__getScalar/explain.txt b/parser/testdata/01024__getScalar/explain.txt new file mode 100644 index 000000000..989922bfc --- /dev/null +++ b/parser/testdata/01024__getScalar/explain.txt @@ -0,0 +1,15 @@ +CreateQuery foo (children 3) + Identifier foo + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration key (children 1) + DataType String + ColumnDeclaration macro (children 2) + DataType String + Function __getScalar (children 1) + ExpressionList (children 1) + Identifier key + Storage definition (children 1) + Function Null (children 1) + ExpressionList +The query succeeded but the server error '43' was expected (query: EXPLAIN AST CREATE TABLE foo (key String, macro String MATERIALIZED __getScalar(key)) Engine=Null(); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }). diff --git a/parser/testdata/01025_array_compact_generic/explain.txt b/parser/testdata/01025_array_compact_generic/explain.txt new file mode 100644 index 000000000..70de92f38 --- /dev/null +++ b/parser/testdata/01025_array_compact_generic/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayCompact (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList diff --git a/parser/testdata/01026_char_utf8/explain.txt b/parser/testdata/01026_char_utf8/explain.txt new file mode 100644 index 000000000..3dc6aebe1 --- /dev/null +++ b/parser/testdata/01026_char_utf8/explain.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function char (alias hello) (children 1) + ExpressionList (children 12) + Literal UInt64_208 + Literal UInt64_191 + Literal UInt64_209 + Literal UInt64_128 + Literal UInt64_208 + Literal UInt64_184 + Literal UInt64_208 + Literal UInt64_178 + Literal UInt64_208 + Literal UInt64_181 + Literal UInt64_209 + Literal UInt64_130 diff --git a/parser/testdata/01029_early_constant_folding/explain.txt b/parser/testdata/01029_early_constant_folding/explain.txt new file mode 100644 index 000000000..4dd17ed35 --- /dev/null +++ b/parser/testdata/01029_early_constant_folding/explain.txt @@ -0,0 +1,10 @@ +Explain EXPLAIN SYNTAX (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Literal UInt64_1 + Function equals (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal UInt64_0 diff --git a/parser/testdata/01030_concatenate_equal_fixed_strings/explain.txt b/parser/testdata/01030_concatenate_equal_fixed_strings/explain.txt new file mode 100644 index 000000000..38e4054a0 --- /dev/null +++ b/parser/testdata/01030_concatenate_equal_fixed_strings/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function toFixedString (alias a) (children 1) + ExpressionList (children 2) + Literal \'aa\' + Literal UInt64_2 + Function concat (children 1) + ExpressionList (children 2) + Identifier a + Identifier a diff --git a/parser/testdata/01030_final_mark_empty_primary_key/explain.txt b/parser/testdata/01030_final_mark_empty_primary_key/explain.txt new file mode 100644 index 000000000..34a50bca5 --- /dev/null +++ b/parser/testdata/01030_final_mark_empty_primary_key/explain.txt @@ -0,0 +1,2 @@ +DropQuery empty_pk (children 1) + Identifier empty_pk diff --git a/parser/testdata/01030_incorrect_count_summing_merge_tree/explain.txt b/parser/testdata/01030_incorrect_count_summing_merge_tree/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01030_incorrect_count_summing_merge_tree/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01030_storage_set_supports_read/explain.txt b/parser/testdata/01030_storage_set_supports_read/explain.txt new file mode 100644 index 000000000..2e6aeca9d --- /dev/null +++ b/parser/testdata/01030_storage_set_supports_read/explain.txt @@ -0,0 +1,2 @@ +DropQuery userid_test (children 1) + Identifier userid_test diff --git a/parser/testdata/01030_storage_url_syntax/explain.txt b/parser/testdata/01030_storage_url_syntax/explain.txt new file mode 100644 index 000000000..1ec62dc61 --- /dev/null +++ b/parser/testdata/01030_storage_url_syntax/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_table_url_syntax (children 1) + Identifier test_table_url_syntax diff --git a/parser/testdata/01031_pmj_new_any_semi_join/explain.txt b/parser/testdata/01031_pmj_new_any_semi_join/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/01031_pmj_new_any_semi_join/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/01031_semi_anti_join/explain.txt b/parser/testdata/01031_semi_anti_join/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/01031_semi_anti_join/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/01032_cityHash64_for_UUID/explain.txt b/parser/testdata/01032_cityHash64_for_UUID/explain.txt new file mode 100644 index 000000000..db403899d --- /dev/null +++ b/parser/testdata/01032_cityHash64_for_UUID/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function cityHash64 (alias uuid) (children 1) + ExpressionList (children 1) + Function toUUID (children 1) + ExpressionList (children 1) + Literal \'61f0c404-5cb3-11e7-907b-a6006ad3dba0\' diff --git a/parser/testdata/01032_cityHash64_for_decimal/explain.txt b/parser/testdata/01032_cityHash64_for_decimal/explain.txt new file mode 100644 index 000000000..13585ce6d --- /dev/null +++ b/parser/testdata/01032_cityHash64_for_decimal/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function cityHash64 (children 1) + ExpressionList (children 1) + Function toDecimal32 (children 1) + ExpressionList (children 2) + Literal UInt64_32 + Literal UInt64_2 diff --git a/parser/testdata/01032_duplicate_column_insert_query/explain.txt b/parser/testdata/01032_duplicate_column_insert_query/explain.txt new file mode 100644 index 000000000..ee642dffe --- /dev/null +++ b/parser/testdata/01032_duplicate_column_insert_query/explain.txt @@ -0,0 +1,2 @@ +DropQuery sometable (children 1) + Identifier sometable diff --git a/parser/testdata/01033_dictionaries_lifetime/explain.txt b/parser/testdata/01033_dictionaries_lifetime/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01033_dictionaries_lifetime/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01033_function_substring/explain.txt b/parser/testdata/01033_function_substring/explain.txt new file mode 100644 index 000000000..d6eba2012 --- /dev/null +++ b/parser/testdata/01033_function_substring/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'-- argument validation\' diff --git a/parser/testdata/01033_quota_dcl/explain.txt b/parser/testdata/01033_quota_dcl/explain.txt new file mode 100644 index 000000000..210c143b8 --- /dev/null +++ b/parser/testdata/01033_quota_dcl/explain.txt @@ -0,0 +1 @@ +SHOW CREATE QUOTA query diff --git a/parser/testdata/01033_storage_odbc_parsing_exception_check/explain.txt b/parser/testdata/01033_storage_odbc_parsing_exception_check/explain.txt new file mode 100644 index 000000000..12ce33009 --- /dev/null +++ b/parser/testdata/01033_storage_odbc_parsing_exception_check/explain.txt @@ -0,0 +1,2 @@ +DropQuery BannerDict (children 1) + Identifier BannerDict diff --git a/parser/testdata/01034_JSONCompactEachRow/explain.txt b/parser/testdata/01034_JSONCompactEachRow/explain.txt new file mode 100644 index 000000000..d4bf1aa3f --- /dev/null +++ b/parser/testdata/01034_JSONCompactEachRow/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_table (children 1) + Identifier test_table diff --git a/parser/testdata/01034_order_by_pk_prefix/explain.txt b/parser/testdata/01034_order_by_pk_prefix/explain.txt new file mode 100644 index 000000000..d4bf1aa3f --- /dev/null +++ b/parser/testdata/01034_order_by_pk_prefix/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_table (children 1) + Identifier test_table diff --git a/parser/testdata/01034_prewhere_max_parallel_replicas_distributed/explain.txt b/parser/testdata/01034_prewhere_max_parallel_replicas_distributed/explain.txt new file mode 100644 index 000000000..261400939 --- /dev/null +++ b/parser/testdata/01034_prewhere_max_parallel_replicas_distributed/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_max_parallel_replicas_lr (children 1) + Identifier test_max_parallel_replicas_lr diff --git a/parser/testdata/01034_sample_final_distributed/explain.txt b/parser/testdata/01034_sample_final_distributed/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01034_sample_final_distributed/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01034_unknown_qualified_column_in_join/explain.txt b/parser/testdata/01034_unknown_qualified_column_in_join/explain.txt new file mode 100644 index 000000000..290f0ccb6 --- /dev/null +++ b/parser/testdata/01034_unknown_qualified_column_in_join/explain.txt @@ -0,0 +1,28 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier l.c + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias l) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_1 (alias a) + Literal UInt64_2 (alias b) + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias r) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_2 (alias b) + Literal UInt64_3 (alias c) + TableJoin (children 1) + ExpressionList (children 1) + Identifier b +The query succeeded but the server error '47' was expected (query: EXPLAIN AST SELECT l.c FROM (SELECT 1 AS a, 2 AS b) AS l join (SELECT 2 AS b, 3 AS c) AS r USING b; -- { serverError UNKNOWN_IDENTIFIER }). diff --git a/parser/testdata/01034_with_fill_and_push_down_predicate/explain.txt b/parser/testdata/01034_with_fill_and_push_down_predicate/explain.txt new file mode 100644 index 000000000..7fd337184 --- /dev/null +++ b/parser/testdata/01034_with_fill_and_push_down_predicate/explain.txt @@ -0,0 +1,40 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier date_time + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 2) + SelectQuery (children 1) + ExpressionList (children 1) + Function toDateTime (alias date_time) (children 1) + ExpressionList (children 1) + Literal \'2019-11-14 22:15:00\' + SelectQuery (children 1) + ExpressionList (children 1) + Function toDateTime (alias date_time) (children 1) + ExpressionList (children 1) + Literal \'2019-11-15 01:15:00\' + ExpressionList (children 1) + OrderByElement (children 2) + Identifier date_time + Literal UInt64_900 + Function less (children 1) + ExpressionList (children 2) + Identifier date_time + Function toDateTime (children 1) + ExpressionList (children 1) + Literal \'2019-11-15 00:15:00\' diff --git a/parser/testdata/01035_avg/metadata.json b/parser/testdata/01035_avg/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01035_avg/metadata.json +++ b/parser/testdata/01035_avg/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01035_prewhere_with_alias/explain.txt b/parser/testdata/01035_prewhere_with_alias/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/01035_prewhere_with_alias/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/01036_no_superfluous_dict_reload_on_create_database/explain.txt b/parser/testdata/01036_no_superfluous_dict_reload_on_create_database/explain.txt new file mode 100644 index 000000000..c9ba5c537 --- /dev/null +++ b/parser/testdata/01036_no_superfluous_dict_reload_on_create_database/explain.txt @@ -0,0 +1,11 @@ +CreateQuery dict_data (children 3) + Identifier dict_data + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration key (children 1) + DataType UInt64 + ColumnDeclaration val (children 1) + DataType UInt64 + Storage definition (children 1) + Function Memory (children 1) + ExpressionList diff --git a/parser/testdata/01036_no_superfluous_dict_reload_on_create_database_2/explain.txt b/parser/testdata/01036_no_superfluous_dict_reload_on_create_database_2/explain.txt new file mode 100644 index 000000000..e326f72da --- /dev/null +++ b/parser/testdata/01036_no_superfluous_dict_reload_on_create_database_2/explain.txt @@ -0,0 +1,2 @@ +DropQuery foo 1234 (children 1) + Identifier foo 1234 diff --git a/parser/testdata/01036_union_different_columns/explain.txt b/parser/testdata/01036_union_different_columns/explain.txt new file mode 100644 index 000000000..b8c85f714 --- /dev/null +++ b/parser/testdata/01036_union_different_columns/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 3) + SelectQuery (children 1) + ExpressionList (children 3) + Literal UInt64_1 (alias c1) + Literal UInt64_2 (alias c2) + Literal UInt64_3 (alias c3) + SelectQuery (children 1) + ExpressionList (children 3) + Literal UInt64_1 (alias c1) + Literal UInt64_2 (alias c2) + Literal UInt64_3 (alias c3) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_1 (alias c1) + Literal UInt64_2 (alias c2) +The query succeeded but the server error '258' was expected (query: EXPLAIN AST select 1 as c1, 2 as c2, 3 as c3 union all (select 1 as c1, 2 as c2, 3 as c3 union all select 1 as c1, 2 as c2) -- { serverError UNION_ALL_RESULT_STRUCTURES_MISMATCH }). diff --git a/parser/testdata/01037_zookeeper_check_table_empty_pk/explain.txt b/parser/testdata/01037_zookeeper_check_table_empty_pk/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01037_zookeeper_check_table_empty_pk/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01038_array_of_unnamed_tuples/explain.txt b/parser/testdata/01038_array_of_unnamed_tuples/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01038_array_of_unnamed_tuples/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01039_mergetree_exec_time/explain.txt b/parser/testdata/01039_mergetree_exec_time/explain.txt new file mode 100644 index 000000000..0a00b06d1 --- /dev/null +++ b/parser/testdata/01039_mergetree_exec_time/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab (children 1) + Identifier tab diff --git a/parser/testdata/01039_test_setting_parse/explain.txt b/parser/testdata/01039_test_setting_parse/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01039_test_setting_parse/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01040_distributed_background_insert_batch_inserts/explain.txt b/parser/testdata/01040_distributed_background_insert_batch_inserts/explain.txt new file mode 100644 index 000000000..7ef2f239a --- /dev/null +++ b/parser/testdata/01040_distributed_background_insert_batch_inserts/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_01040 (children 1) + Identifier test_01040 diff --git a/parser/testdata/01040_h3_get_resolution/explain.txt b/parser/testdata/01040_h3_get_resolution/explain.txt new file mode 100644 index 000000000..0258338bf --- /dev/null +++ b/parser/testdata/01040_h3_get_resolution/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function h3GetResolution (children 1) + ExpressionList (children 1) + Literal UInt64_581276613233082367 diff --git a/parser/testdata/01041_create_dictionary_if_not_exists/metadata.json b/parser/testdata/01041_create_dictionary_if_not_exists/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01041_create_dictionary_if_not_exists/metadata.json +++ b/parser/testdata/01041_create_dictionary_if_not_exists/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01041_h3_is_valid/explain.txt b/parser/testdata/01041_h3_is_valid/explain.txt new file mode 100644 index 000000000..554eb53ae --- /dev/null +++ b/parser/testdata/01041_h3_is_valid/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function h3IsValid (children 1) + ExpressionList (children 1) + Literal UInt64_581276613233082367 diff --git a/parser/testdata/01042_check_query_and_last_granule_size/explain.txt b/parser/testdata/01042_check_query_and_last_granule_size/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01042_check_query_and_last_granule_size/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01042_h3_k_ring/explain.txt b/parser/testdata/01042_h3_k_ring/explain.txt new file mode 100644 index 000000000..bbfaf0c0b --- /dev/null +++ b/parser/testdata/01042_h3_k_ring/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arraySort (children 1) + ExpressionList (children 1) + Function h3kRing (children 1) + ExpressionList (children 2) + Literal UInt64_581276613233082367 + Function toUInt16 (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/01043_categorical_iv/metadata.json b/parser/testdata/01043_categorical_iv/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01043_categorical_iv/metadata.json +++ b/parser/testdata/01043_categorical_iv/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01043_dictionary_attribute_properties_values/metadata.json b/parser/testdata/01043_dictionary_attribute_properties_values/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01043_dictionary_attribute_properties_values/metadata.json +++ b/parser/testdata/01043_dictionary_attribute_properties_values/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01043_geo_distance/explain.txt b/parser/testdata/01043_geo_distance/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01043_geo_distance/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01043_h3_edge_length_m/explain.txt b/parser/testdata/01043_h3_edge_length_m/explain.txt new file mode 100644 index 000000000..ef18c02ed --- /dev/null +++ b/parser/testdata/01043_h3_edge_length_m/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function h3EdgeLengthM (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/01044_great_circle_angle/explain.txt b/parser/testdata/01044_great_circle_angle/explain.txt new file mode 100644 index 000000000..9edb6fd50 --- /dev/null +++ b/parser/testdata/01044_great_circle_angle/explain.txt @@ -0,0 +1,26 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function minus (alias lat) (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_90 + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Function greatCircleAngle (children 1) + ExpressionList (children 4) + Literal UInt64_0 + Literal UInt64_0 + Literal UInt64_0 + Identifier lat + Function abs (children 1) + ExpressionList (children 1) + Identifier lat + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_180 diff --git a/parser/testdata/01044_h3_edge_angle/explain.txt b/parser/testdata/01044_h3_edge_angle/explain.txt new file mode 100644 index 000000000..3a336c6bc --- /dev/null +++ b/parser/testdata/01044_h3_edge_angle/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function h3EdgeAngle (children 1) + ExpressionList (children 1) + Literal UInt64_10 diff --git a/parser/testdata/01045_array_zip/explain.txt b/parser/testdata/01045_array_zip/explain.txt new file mode 100644 index 000000000..1870a23d2 --- /dev/null +++ b/parser/testdata/01045_array_zip/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayZip (children 1) + ExpressionList (children 2) + Literal Array_[\'a\', \'b\', \'c\'] + Literal Array_[\'d\', \'e\', \'f\'] diff --git a/parser/testdata/01045_bloom_filter_null_array/explain.txt b/parser/testdata/01045_bloom_filter_null_array/explain.txt new file mode 100644 index 000000000..d83089687 --- /dev/null +++ b/parser/testdata/01045_bloom_filter_null_array/explain.txt @@ -0,0 +1,2 @@ +DropQuery bloom_filter_null_array (children 1) + Identifier bloom_filter_null_array diff --git a/parser/testdata/01045_dictionaries_restrictions/metadata.json b/parser/testdata/01045_dictionaries_restrictions/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01045_dictionaries_restrictions/metadata.json +++ b/parser/testdata/01045_dictionaries_restrictions/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01046_materialized_view_with_join_over_distributed/explain.txt b/parser/testdata/01046_materialized_view_with_join_over_distributed/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01046_materialized_view_with_join_over_distributed/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01046_trivial_count_query_distributed/explain.txt b/parser/testdata/01046_trivial_count_query_distributed/explain.txt new file mode 100644 index 000000000..2cf08737d --- /dev/null +++ b/parser/testdata/01046_trivial_count_query_distributed/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_count (children 1) + Identifier test_count diff --git a/parser/testdata/01047_no_alias_columns_with_table_aliases/explain.txt b/parser/testdata/01047_no_alias_columns_with_table_aliases/explain.txt new file mode 100644 index 000000000..ef85f494a --- /dev/null +++ b/parser/testdata/01047_no_alias_columns_with_table_aliases/explain.txt @@ -0,0 +1,2 @@ +DropQuery requests (children 1) + Identifier requests diff --git a/parser/testdata/01047_nullable_rand/explain.txt b/parser/testdata/01047_nullable_rand/explain.txt new file mode 100644 index 000000000..d6bba047f --- /dev/null +++ b/parser/testdata/01047_nullable_rand/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toTypeName (children 1) + ExpressionList (children 1) + Function rand (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Literal UInt64_4 + Literal \'Nullable(UInt8)\' diff --git a/parser/testdata/01047_simple_aggregate_sizes_of_columns_bug/explain.txt b/parser/testdata/01047_simple_aggregate_sizes_of_columns_bug/explain.txt new file mode 100644 index 000000000..28cbd65d9 --- /dev/null +++ b/parser/testdata/01047_simple_aggregate_sizes_of_columns_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery column_size_bug (children 1) + Identifier column_size_bug diff --git a/parser/testdata/01048_exists_query/explain.txt b/parser/testdata/01048_exists_query/explain.txt new file mode 100644 index 000000000..c65dee381 --- /dev/null +++ b/parser/testdata/01048_exists_query/explain.txt @@ -0,0 +1,3 @@ +ExistsTableQuery db_01048 t_01048 (children 2) + Identifier db_01048 + Identifier t_01048 diff --git a/parser/testdata/01049_join_low_card_crash/explain.txt b/parser/testdata/01049_join_low_card_crash/explain.txt new file mode 100644 index 000000000..763c2854b --- /dev/null +++ b/parser/testdata/01049_join_low_card_crash/explain.txt @@ -0,0 +1,2 @@ +DropQuery Alpha (children 1) + Identifier Alpha diff --git a/parser/testdata/01049_window_view_window_functions/explain.txt b/parser/testdata/01049_window_view_window_functions/explain.txt new file mode 100644 index 000000000..91420dba4 --- /dev/null +++ b/parser/testdata/01049_window_view_window_functions/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function tumble (children 1) + ExpressionList (children 3) + Function toDateTime (children 1) + ExpressionList (children 2) + Literal \'2020-01-09 12:00:01\' + Literal \'US/Samoa\' + Function toIntervalSecond (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Literal \'US/Samoa\' diff --git a/parser/testdata/01049_zookeeper_synchronous_mutations_long/explain.txt b/parser/testdata/01049_zookeeper_synchronous_mutations_long/explain.txt new file mode 100644 index 000000000..f5bbee60b --- /dev/null +++ b/parser/testdata/01049_zookeeper_synchronous_mutations_long/explain.txt @@ -0,0 +1,2 @@ +DropQuery table_for_synchronous_mutations1 (children 1) + Identifier table_for_synchronous_mutations1 diff --git a/parser/testdata/01050_clickhouse_dict_source_with_subquery/metadata.json b/parser/testdata/01050_clickhouse_dict_source_with_subquery/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01050_clickhouse_dict_source_with_subquery/metadata.json +++ b/parser/testdata/01050_clickhouse_dict_source_with_subquery/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01050_engine_join_crash/explain.txt b/parser/testdata/01050_engine_join_crash/explain.txt new file mode 100644 index 000000000..3cf8aa804 --- /dev/null +++ b/parser/testdata/01050_engine_join_crash/explain.txt @@ -0,0 +1,2 @@ +DropQuery testJoinTable (children 1) + Identifier testJoinTable diff --git a/parser/testdata/01050_engine_join_view_crash/explain.txt b/parser/testdata/01050_engine_join_view_crash/explain.txt new file mode 100644 index 000000000..3b8a0aad6 --- /dev/null +++ b/parser/testdata/01050_engine_join_view_crash/explain.txt @@ -0,0 +1,2 @@ +DropQuery a (children 1) + Identifier a diff --git a/parser/testdata/01050_group_array_sample/explain.txt b/parser/testdata/01050_group_array_sample/explain.txt new file mode 100644 index 000000000..50a6269c4 --- /dev/null +++ b/parser/testdata/01050_group_array_sample/explain.txt @@ -0,0 +1,35 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 2) + Identifier k + Function groupArraySample (children 2) + ExpressionList (children 1) + Identifier v + ExpressionList (children 2) + Literal UInt64_10 + Literal UInt64_123456 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function modulo (alias k) (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_4 + Identifier number (alias v) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1024 + ExpressionList (children 1) + Identifier k + ExpressionList (children 1) + OrderByElement (children 1) + Identifier k diff --git a/parser/testdata/01051_aggregate_function_crash/explain.txt b/parser/testdata/01051_aggregate_function_crash/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01051_aggregate_function_crash/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01051_all_join_engine/explain.txt b/parser/testdata/01051_all_join_engine/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/01051_all_join_engine/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/01051_new_any_join_engine/explain.txt b/parser/testdata/01051_new_any_join_engine/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/01051_new_any_join_engine/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/01051_random_printable_ascii/explain.txt b/parser/testdata/01051_random_printable_ascii/explain.txt new file mode 100644 index 000000000..f949f24a7 --- /dev/null +++ b/parser/testdata/01051_random_printable_ascii/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toTypeName (children 1) + ExpressionList (children 1) + Function randomPrintableASCII (children 1) + ExpressionList (children 1) + Literal UInt64_1000 diff --git a/parser/testdata/01051_same_name_alias_with_joins/explain.txt b/parser/testdata/01051_same_name_alias_with_joins/explain.txt new file mode 100644 index 000000000..3b8a0aad6 --- /dev/null +++ b/parser/testdata/01051_same_name_alias_with_joins/explain.txt @@ -0,0 +1,2 @@ +DropQuery a (children 1) + Identifier a diff --git a/parser/testdata/01051_scalar_optimization/explain.txt b/parser/testdata/01051_scalar_optimization/explain.txt new file mode 100644 index 000000000..01898d49c --- /dev/null +++ b/parser/testdata/01051_scalar_optimization/explain.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_100 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier number + Literal UInt64_1 diff --git a/parser/testdata/01052_array_reduce_exception/explain.txt b/parser/testdata/01052_array_reduce_exception/explain.txt new file mode 100644 index 000000000..d63535e21 --- /dev/null +++ b/parser/testdata/01052_array_reduce_exception/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function arrayReduce (children 1) + ExpressionList (children 2) + Literal \'aggThrow(0.0001)\' + Function range (children 1) + ExpressionList (children 1) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Identifier Null +The query succeeded but the server error '503' was expected (query: EXPLAIN AST SELECT arrayReduce('aggThrow(0.0001)', range(number % 10)) FROM system.numbers FORMAT Null; -- { serverError AGGREGATE_FUNCTION_THROW }). diff --git a/parser/testdata/01053_drop_database_mat_view/explain.txt b/parser/testdata/01053_drop_database_mat_view/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01053_drop_database_mat_view/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01053_if_chain_check/explain.txt b/parser/testdata/01053_if_chain_check/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01053_if_chain_check/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01054_cache_dictionary_overflow_cell/explain.txt b/parser/testdata/01054_cache_dictionary_overflow_cell/explain.txt new file mode 100644 index 000000000..4133dea13 --- /dev/null +++ b/parser/testdata/01054_cache_dictionary_overflow_cell/explain.txt @@ -0,0 +1,2 @@ +CreateQuery test_01054_overflow (children 1) + Identifier test_01054_overflow diff --git a/parser/testdata/01055_compact_parts/explain.txt b/parser/testdata/01055_compact_parts/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01055_compact_parts/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01055_compact_parts_1/explain.txt b/parser/testdata/01055_compact_parts_1/explain.txt new file mode 100644 index 000000000..254d5b97b --- /dev/null +++ b/parser/testdata/01055_compact_parts_1/explain.txt @@ -0,0 +1,12 @@ +CreateQuery mt_compact (children 3) + Identifier mt_compact + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration a (children 1) + DataType Int + ColumnDeclaration s (children 1) + DataType String + Storage definition (children 3) + Function MergeTree + Identifier a + Identifier a diff --git a/parser/testdata/01055_prewhere_bugs/explain.txt b/parser/testdata/01055_prewhere_bugs/explain.txt new file mode 100644 index 000000000..6acf75c04 --- /dev/null +++ b/parser/testdata/01055_prewhere_bugs/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_prewhere_default_column (children 1) + Identifier test_prewhere_default_column diff --git a/parser/testdata/01056_create_table_as/explain.txt b/parser/testdata/01056_create_table_as/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/01056_create_table_as/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/01056_create_table_as_with_sorting_clauses/explain.txt b/parser/testdata/01056_create_table_as_with_sorting_clauses/explain.txt new file mode 100644 index 000000000..a60ff027e --- /dev/null +++ b/parser/testdata/01056_create_table_as_with_sorting_clauses/explain.txt @@ -0,0 +1,2 @@ +DropQuery x (children 1) + Identifier x diff --git a/parser/testdata/01056_negative_with_bloom_filter/explain.txt b/parser/testdata/01056_negative_with_bloom_filter/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/01056_negative_with_bloom_filter/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/01056_predicate_optimizer_bugs/explain.txt b/parser/testdata/01056_predicate_optimizer_bugs/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01056_predicate_optimizer_bugs/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01060_defaults_all_columns/explain.txt b/parser/testdata/01060_defaults_all_columns/explain.txt new file mode 100644 index 000000000..643291cba --- /dev/null +++ b/parser/testdata/01060_defaults_all_columns/explain.txt @@ -0,0 +1,2 @@ +DropQuery defaults_all_columns (children 1) + Identifier defaults_all_columns diff --git a/parser/testdata/01060_shutdown_table_after_detach/explain.txt b/parser/testdata/01060_shutdown_table_after_detach/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/01060_shutdown_table_after_detach/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/01061_alter_codec_with_type/explain.txt b/parser/testdata/01061_alter_codec_with_type/explain.txt new file mode 100644 index 000000000..1ae6595df --- /dev/null +++ b/parser/testdata/01061_alter_codec_with_type/explain.txt @@ -0,0 +1,2 @@ +DropQuery alter_bug (children 1) + Identifier alter_bug diff --git a/parser/testdata/01062_alter_on_mutataion_zookeeper_long/explain.txt b/parser/testdata/01062_alter_on_mutataion_zookeeper_long/explain.txt new file mode 100644 index 000000000..4289d52ea --- /dev/null +++ b/parser/testdata/01062_alter_on_mutataion_zookeeper_long/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_alter_on_mutation (children 1) + Identifier test_alter_on_mutation diff --git a/parser/testdata/01062_pm_all_join_with_block_continuation/explain.txt b/parser/testdata/01062_pm_all_join_with_block_continuation/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01062_pm_all_join_with_block_continuation/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01062_pm_multiple_all_join_same_value/explain.txt b/parser/testdata/01062_pm_multiple_all_join_same_value/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01062_pm_multiple_all_join_same_value/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01063_create_column_set/explain.txt b/parser/testdata/01063_create_column_set/explain.txt new file mode 100644 index 000000000..38773513b --- /dev/null +++ b/parser/testdata/01063_create_column_set/explain.txt @@ -0,0 +1,2 @@ +DropQuery mt (children 1) + Identifier mt diff --git a/parser/testdata/01064_arrayROCAUC/explain.txt b/parser/testdata/01064_arrayROCAUC/explain.txt new file mode 100644 index 000000000..7e213bc0d --- /dev/null +++ b/parser/testdata/01064_arrayROCAUC/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayROCAUC (children 1) + ExpressionList (children 2) + Literal Array_[Float64_0.1, Float64_0.4, Float64_0.35, Float64_0.8] + Literal Array_[UInt64_0, UInt64_0, UInt64_1, UInt64_1] diff --git a/parser/testdata/01064_incremental_streaming_from_2_src_with_feedback/explain.txt b/parser/testdata/01064_incremental_streaming_from_2_src_with_feedback/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01064_incremental_streaming_from_2_src_with_feedback/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01064_pm_all_join_const_and_nullable/explain.txt b/parser/testdata/01064_pm_all_join_const_and_nullable/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01064_pm_all_join_const_and_nullable/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01065_array_zip_mixed_const/explain.txt b/parser/testdata/01065_array_zip_mixed_const/explain.txt new file mode 100644 index 000000000..1557574d8 --- /dev/null +++ b/parser/testdata/01065_array_zip_mixed_const/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayZip (children 1) + ExpressionList (children 2) + Literal Array_[UInt64_0, UInt64_1] + Literal Array_[\'hello\', \'world\'] diff --git a/parser/testdata/01065_if_not_finite/explain.txt b/parser/testdata/01065_if_not_finite/explain.txt new file mode 100644 index 000000000..c3e9f128f --- /dev/null +++ b/parser/testdata/01065_if_not_finite/explain.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function ifNotFinite (children 1) + ExpressionList (children 2) + Function round (children 1) + ExpressionList (children 2) + Function divide (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Identifier number + Literal UInt64_2 + Literal UInt64_111 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 diff --git a/parser/testdata/01066_bit_count/explain.txt b/parser/testdata/01066_bit_count/explain.txt new file mode 100644 index 000000000..3a7bbfe41 --- /dev/null +++ b/parser/testdata/01066_bit_count/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function bitCount (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 diff --git a/parser/testdata/01067_join_null/explain.txt b/parser/testdata/01067_join_null/explain.txt new file mode 100644 index 000000000..ca78b01bb --- /dev/null +++ b/parser/testdata/01067_join_null/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Identifier id diff --git a/parser/testdata/01068_parens/explain.txt b/parser/testdata/01068_parens/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01068_parens/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01069_database_memory/explain.txt b/parser/testdata/01069_database_memory/explain.txt new file mode 100644 index 000000000..89f4ae012 --- /dev/null +++ b/parser/testdata/01069_database_memory/explain.txt @@ -0,0 +1,2 @@ +DropQuery memory_01069 (children 1) + Identifier memory_01069 diff --git a/parser/testdata/01069_insert_float_as_nullable_unit8/explain.txt b/parser/testdata/01069_insert_float_as_nullable_unit8/explain.txt new file mode 100644 index 000000000..dfff62698 --- /dev/null +++ b/parser/testdata/01069_insert_float_as_nullable_unit8/explain.txt @@ -0,0 +1,8 @@ +CreateQuery t1 (children 2) + Identifier t1 + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration a (children 1) + DataType Nullable (children 1) + ExpressionList (children 1) + DataType UInt8 diff --git a/parser/testdata/01069_materialized_view_alter_target_table/explain.txt b/parser/testdata/01069_materialized_view_alter_target_table/explain.txt new file mode 100644 index 000000000..4ef0197c6 --- /dev/null +++ b/parser/testdata/01069_materialized_view_alter_target_table/explain.txt @@ -0,0 +1,2 @@ +DropQuery mv (children 1) + Identifier mv diff --git a/parser/testdata/01069_materialized_view_alter_target_table_with_default_expression/explain.txt b/parser/testdata/01069_materialized_view_alter_target_table_with_default_expression/explain.txt new file mode 100644 index 000000000..4ef0197c6 --- /dev/null +++ b/parser/testdata/01069_materialized_view_alter_target_table_with_default_expression/explain.txt @@ -0,0 +1,2 @@ +DropQuery mv (children 1) + Identifier mv diff --git a/parser/testdata/01069_set_in_group_by/explain.txt b/parser/testdata/01069_set_in_group_by/explain.txt new file mode 100644 index 000000000..edfce8283 --- /dev/null +++ b/parser/testdata/01069_set_in_group_by/explain.txt @@ -0,0 +1,2 @@ +DropQuery testmt (children 1) + Identifier testmt diff --git a/parser/testdata/01070_alter_with_ttl/explain.txt b/parser/testdata/01070_alter_with_ttl/explain.txt new file mode 100644 index 000000000..eda24b9ef --- /dev/null +++ b/parser/testdata/01070_alter_with_ttl/explain.txt @@ -0,0 +1,2 @@ +DropQuery alter_ttl (children 1) + Identifier alter_ttl diff --git a/parser/testdata/01070_exception_code_in_query_log_table/explain.txt b/parser/testdata/01070_exception_code_in_query_log_table/explain.txt new file mode 100644 index 000000000..aad9f0e42 --- /dev/null +++ b/parser/testdata/01070_exception_code_in_query_log_table/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_table_for_01070_exception_code_in_query_log_table (children 1) + Identifier test_table_for_01070_exception_code_in_query_log_table diff --git a/parser/testdata/01070_h3_get_base_cell/explain.txt b/parser/testdata/01070_h3_get_base_cell/explain.txt new file mode 100644 index 000000000..e8d274c43 --- /dev/null +++ b/parser/testdata/01070_h3_get_base_cell/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function h3GetBaseCell (children 1) + ExpressionList (children 1) + Literal UInt64_612916788725809151 diff --git a/parser/testdata/01070_h3_hex_area_m2/explain.txt b/parser/testdata/01070_h3_hex_area_m2/explain.txt new file mode 100644 index 000000000..a53af7e27 --- /dev/null +++ b/parser/testdata/01070_h3_hex_area_m2/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function h3HexAreaM2 (children 1) + ExpressionList (children 1) + Literal UInt64_5 diff --git a/parser/testdata/01070_h3_indexes_are_neighbors/explain.txt b/parser/testdata/01070_h3_indexes_are_neighbors/explain.txt new file mode 100644 index 000000000..69dfbb29c --- /dev/null +++ b/parser/testdata/01070_h3_indexes_are_neighbors/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function h3IndexesAreNeighbors (children 1) + ExpressionList (children 2) + Literal UInt64_617420388352917503 + Literal UInt64_617420388352655359 diff --git a/parser/testdata/01070_h3_to_children/explain.txt b/parser/testdata/01070_h3_to_children/explain.txt new file mode 100644 index 000000000..05d2781d2 --- /dev/null +++ b/parser/testdata/01070_h3_to_children/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function h3ToChildren (children 1) + ExpressionList (children 2) + Literal UInt64_599405990164561919 + Literal UInt64_16 +The query succeeded but the server error '69' was expected (query: EXPLAIN AST SELECT h3ToChildren(599405990164561919, 16); -- { serverError ARGUMENT_OUT_OF_BOUND }). diff --git a/parser/testdata/01070_h3_to_parent/explain.txt b/parser/testdata/01070_h3_to_parent/explain.txt new file mode 100644 index 000000000..c07a0ad9a --- /dev/null +++ b/parser/testdata/01070_h3_to_parent/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function h3ToParent (children 1) + ExpressionList (children 2) + Literal UInt64_599405990164561919 + Literal UInt64_3 diff --git a/parser/testdata/01070_h3_to_string/explain.txt b/parser/testdata/01070_h3_to_string/explain.txt new file mode 100644 index 000000000..1ef7d87ce --- /dev/null +++ b/parser/testdata/01070_h3_to_string/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function h3ToString (children 1) + ExpressionList (children 1) + Literal UInt64_617420388352917503 diff --git a/parser/testdata/01070_materialize_ttl/explain.txt b/parser/testdata/01070_materialize_ttl/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01070_materialize_ttl/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01070_modify_ttl/explain.txt b/parser/testdata/01070_modify_ttl/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01070_modify_ttl/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01070_modify_ttl_recalc_only/explain.txt b/parser/testdata/01070_modify_ttl_recalc_only/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01070_modify_ttl_recalc_only/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01070_mutations_with_dependencies/explain.txt b/parser/testdata/01070_mutations_with_dependencies/explain.txt new file mode 100644 index 000000000..9e20a5fdb --- /dev/null +++ b/parser/testdata/01070_mutations_with_dependencies/explain.txt @@ -0,0 +1,2 @@ +DropQuery ttl (children 1) + Identifier ttl diff --git a/parser/testdata/01070_string_to_h3/explain.txt b/parser/testdata/01070_string_to_h3/explain.txt new file mode 100644 index 000000000..6d4e36d89 --- /dev/null +++ b/parser/testdata/01070_string_to_h3/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function stringToH3 (children 1) + ExpressionList (children 1) + Literal \'89184926cc3ffff\' diff --git a/parser/testdata/01070_template_empty_file/explain.txt b/parser/testdata/01070_template_empty_file/explain.txt new file mode 100644 index 000000000..4dfc7674f --- /dev/null +++ b/parser/testdata/01070_template_empty_file/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 3) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Identifier Template + Set +The query succeeded but the client error '107' was expected (query: EXPLAIN AST select 1 format Template settings format_template_row='01070_nonexistent_file.txt'; -- { clientError FILE_DOESNT_EXIST }). diff --git a/parser/testdata/01070_to_decimal_or_null_exception/explain.txt b/parser/testdata/01070_to_decimal_or_null_exception/explain.txt new file mode 100644 index 000000000..6b593c869 --- /dev/null +++ b/parser/testdata/01070_to_decimal_or_null_exception/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toDecimal32 (children 1) + ExpressionList (children 2) + Literal \'e\' + Literal UInt64_1 +The query succeeded but the server error '72' was expected (query: EXPLAIN AST SELECT toDecimal32('e', 1); -- { serverError CANNOT_PARSE_NUMBER }). diff --git a/parser/testdata/01071_force_optimize_skip_unused_shards/explain.txt b/parser/testdata/01071_force_optimize_skip_unused_shards/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01071_force_optimize_skip_unused_shards/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01071_in_array/explain.txt b/parser/testdata/01071_in_array/explain.txt new file mode 100644 index 000000000..ca978707e --- /dev/null +++ b/parser/testdata/01071_in_array/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function in (children 1) + ExpressionList (children 2) + Literal Array_[UInt64_1, UInt64_2] + Literal Array_[UInt64_1, UInt64_2] diff --git a/parser/testdata/01071_prohibition_secondary_index_with_old_format_merge_tree/explain.txt b/parser/testdata/01071_prohibition_secondary_index_with_old_format_merge_tree/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01071_prohibition_secondary_index_with_old_format_merge_tree/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01072_drop_temporary_table_with_same_name/explain.txt b/parser/testdata/01072_drop_temporary_table_with_same_name/explain.txt new file mode 100644 index 000000000..840995e46 --- /dev/null +++ b/parser/testdata/01072_drop_temporary_table_with_same_name/explain.txt @@ -0,0 +1,2 @@ +DropQuery table_to_drop (children 1) + Identifier table_to_drop diff --git a/parser/testdata/01072_json_each_row_data_in_square_brackets/explain.txt b/parser/testdata/01072_json_each_row_data_in_square_brackets/explain.txt new file mode 100644 index 000000000..7e433aa36 --- /dev/null +++ b/parser/testdata/01072_json_each_row_data_in_square_brackets/explain.txt @@ -0,0 +1,2 @@ +DropQuery json_square_brackets (children 1) + Identifier json_square_brackets diff --git a/parser/testdata/01072_nullable_jit/explain.txt b/parser/testdata/01072_nullable_jit/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01072_nullable_jit/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01072_optimize_skip_unused_shards_const_expr_eval/explain.txt b/parser/testdata/01072_optimize_skip_unused_shards_const_expr_eval/explain.txt new file mode 100644 index 000000000..311c53243 --- /dev/null +++ b/parser/testdata/01072_optimize_skip_unused_shards_const_expr_eval/explain.txt @@ -0,0 +1,2 @@ +DropQuery data_01072 (children 1) + Identifier data_01072 diff --git a/parser/testdata/01072_select_constant_limit/explain.txt b/parser/testdata/01072_select_constant_limit/explain.txt new file mode 100644 index 000000000..319e72d9b --- /dev/null +++ b/parser/testdata/01072_select_constant_limit/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Literal UInt64_42 (alias foo) + ExpressionList (children 1) + OrderByElement (children 1) + Identifier foo + Literal UInt64_2 diff --git a/parser/testdata/01073_attach_if_not_exists/explain.txt b/parser/testdata/01073_attach_if_not_exists/explain.txt new file mode 100644 index 000000000..bbec0fb2a --- /dev/null +++ b/parser/testdata/01073_attach_if_not_exists/explain.txt @@ -0,0 +1,8 @@ +CreateQuery aine (children 3) + Identifier aine + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration a (children 1) + DataType Int + Storage definition (children 1) + Function Log diff --git a/parser/testdata/01073_bad_alter_partition/explain.txt b/parser/testdata/01073_bad_alter_partition/explain.txt new file mode 100644 index 000000000..eaf9d7dce --- /dev/null +++ b/parser/testdata/01073_bad_alter_partition/explain.txt @@ -0,0 +1,2 @@ +DropQuery merge_tree (children 1) + Identifier merge_tree diff --git a/parser/testdata/01073_blockSerializedSize/explain.txt b/parser/testdata/01073_blockSerializedSize/explain.txt new file mode 100644 index 000000000..7d380ab9d --- /dev/null +++ b/parser/testdata/01073_blockSerializedSize/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal \'UInt8\' + Function blockSerializedSize (children 1) + ExpressionList (children 1) + Literal UInt64_0 diff --git a/parser/testdata/01073_crlf_end_of_line/explain.txt b/parser/testdata/01073_crlf_end_of_line/explain.txt new file mode 100644 index 000000000..fc4845ba5 --- /dev/null +++ b/parser/testdata/01073_crlf_end_of_line/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_01073_crlf_end_of_line (children 1) + Identifier test_01073_crlf_end_of_line diff --git a/parser/testdata/01073_grant_and_revoke/explain.txt b/parser/testdata/01073_grant_and_revoke/explain.txt new file mode 100644 index 000000000..24ba67fc3 --- /dev/null +++ b/parser/testdata/01073_grant_and_revoke/explain.txt @@ -0,0 +1 @@ +DROP USER query diff --git a/parser/testdata/01073_show_tables_not_like/explain.txt b/parser/testdata/01073_show_tables_not_like/explain.txt new file mode 100644 index 000000000..9cf4575c9 --- /dev/null +++ b/parser/testdata/01073_show_tables_not_like/explain.txt @@ -0,0 +1 @@ +ShowTables diff --git a/parser/testdata/01074_h3_range_check/explain.txt b/parser/testdata/01074_h3_range_check/explain.txt new file mode 100644 index 000000000..a0ab931b5 --- /dev/null +++ b/parser/testdata/01074_h3_range_check/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function h3EdgeLengthM (children 1) + ExpressionList (children 1) + Literal UInt64_100 +The query succeeded but the server error '69' was expected (query: EXPLAIN AST SELECT h3EdgeLengthM(100); -- { serverError ARGUMENT_OUT_OF_BOUND }). diff --git a/parser/testdata/01074_partial_revokes/explain.txt b/parser/testdata/01074_partial_revokes/explain.txt new file mode 100644 index 000000000..24ba67fc3 --- /dev/null +++ b/parser/testdata/01074_partial_revokes/explain.txt @@ -0,0 +1 @@ +DROP USER query diff --git a/parser/testdata/01075_allowed_client_hosts/explain.txt b/parser/testdata/01075_allowed_client_hosts/explain.txt new file mode 100644 index 000000000..24ba67fc3 --- /dev/null +++ b/parser/testdata/01075_allowed_client_hosts/explain.txt @@ -0,0 +1 @@ +DROP USER query diff --git a/parser/testdata/01075_in_arrays_enmk/explain.txt b/parser/testdata/01075_in_arrays_enmk/explain.txt new file mode 100644 index 000000000..9dc65d9e1 --- /dev/null +++ b/parser/testdata/01075_in_arrays_enmk/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function in (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal Array_[UInt64_1, UInt64_2] diff --git a/parser/testdata/01076_array_join_prewhere_const_folding/explain.txt b/parser/testdata/01076_array_join_prewhere_const_folding/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01076_array_join_prewhere_const_folding/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01076_predicate_optimizer_with_view/explain.txt b/parser/testdata/01076_predicate_optimizer_with_view/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/01076_predicate_optimizer_with_view/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/01076_range_reader_segfault/explain.txt b/parser/testdata/01076_range_reader_segfault/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/01076_range_reader_segfault/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/01077_yet_another_prewhere_test/explain.txt b/parser/testdata/01077_yet_another_prewhere_test/explain.txt new file mode 100644 index 000000000..8cff20d59 --- /dev/null +++ b/parser/testdata/01077_yet_another_prewhere_test/explain.txt @@ -0,0 +1,2 @@ +DropQuery t50 (children 1) + Identifier t50 diff --git a/parser/testdata/01078_bloom_filter_operator_not_has/explain.txt b/parser/testdata/01078_bloom_filter_operator_not_has/explain.txt new file mode 100644 index 000000000..1583eb9a0 --- /dev/null +++ b/parser/testdata/01078_bloom_filter_operator_not_has/explain.txt @@ -0,0 +1,2 @@ +DropQuery bloom_filter_not_has (children 1) + Identifier bloom_filter_not_has diff --git a/parser/testdata/01078_merge_tree_read_one_thread/explain.txt b/parser/testdata/01078_merge_tree_read_one_thread/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/01078_merge_tree_read_one_thread/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/01079_alter_default_zookeeper_long/explain.txt b/parser/testdata/01079_alter_default_zookeeper_long/explain.txt new file mode 100644 index 000000000..85edb5e0a --- /dev/null +++ b/parser/testdata/01079_alter_default_zookeeper_long/explain.txt @@ -0,0 +1,2 @@ +DropQuery alter_default (children 1) + Identifier alter_default diff --git a/parser/testdata/01079_bit_operations_using_bitset/explain.txt b/parser/testdata/01079_bit_operations_using_bitset/explain.txt new file mode 100644 index 000000000..1ecf39ba2 --- /dev/null +++ b/parser/testdata/01079_bit_operations_using_bitset/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function IPv6NumToString (children 1) + ExpressionList (children 1) + Function bitAnd (children 1) + ExpressionList (children 2) + Function IPv6StringToNum (children 1) + ExpressionList (children 1) + Literal \'2001:0db8:85a3:8d3a:b2da:8a2e:0370:7334\' + Function IPv6StringToNum (children 1) + ExpressionList (children 1) + Literal \'ffff:ffff:ffff:0000:0000:0000:0000:0000\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_10 diff --git a/parser/testdata/01079_new_range_reader_segfault/explain.txt b/parser/testdata/01079_new_range_reader_segfault/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/01079_new_range_reader_segfault/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/01079_order_by_pk/explain.txt b/parser/testdata/01079_order_by_pk/explain.txt new file mode 100644 index 000000000..dec24e34a --- /dev/null +++ b/parser/testdata/01079_order_by_pk/explain.txt @@ -0,0 +1,2 @@ +DropQuery mt_pk (children 1) + Identifier mt_pk diff --git a/parser/testdata/01079_reinterpret_as_fixed_string/explain.txt b/parser/testdata/01079_reinterpret_as_fixed_string/explain.txt new file mode 100644 index 000000000..39840f5e5 --- /dev/null +++ b/parser/testdata/01079_reinterpret_as_fixed_string/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toTypeName (children 1) + ExpressionList (children 1) + Function reinterpretAsFixedString (children 1) + ExpressionList (children 1) + Literal UInt64_3735928559 diff --git a/parser/testdata/01080_check_for_error_incorrect_size_of_nested_column/metadata.json b/parser/testdata/01080_check_for_error_incorrect_size_of_nested_column/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01080_check_for_error_incorrect_size_of_nested_column/metadata.json +++ b/parser/testdata/01080_check_for_error_incorrect_size_of_nested_column/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01080_engine_merge_prewhere_tupleelement_error/explain.txt b/parser/testdata/01080_engine_merge_prewhere_tupleelement_error/explain.txt new file mode 100644 index 000000000..5c0b8b880 --- /dev/null +++ b/parser/testdata/01080_engine_merge_prewhere_tupleelement_error/explain.txt @@ -0,0 +1,2 @@ +DropQuery A1 (children 1) + Identifier A1 diff --git a/parser/testdata/01080_join_get_null/explain.txt b/parser/testdata/01080_join_get_null/explain.txt new file mode 100644 index 000000000..20966d4a9 --- /dev/null +++ b/parser/testdata/01080_join_get_null/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_joinGet (children 1) + Identifier test_joinGet diff --git a/parser/testdata/01081_PartialSortingTransform_full_column/explain.txt b/parser/testdata/01081_PartialSortingTransform_full_column/explain.txt new file mode 100644 index 000000000..6327a2c82 --- /dev/null +++ b/parser/testdata/01081_PartialSortingTransform_full_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_01081 (children 1) + Identifier test_01081 diff --git a/parser/testdata/01081_demangle/explain.txt b/parser/testdata/01081_demangle/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01081_demangle/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01081_keywords_formatting/explain.txt b/parser/testdata/01081_keywords_formatting/explain.txt new file mode 100644 index 000000000..c2ec57841 --- /dev/null +++ b/parser/testdata/01081_keywords_formatting/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function plus (children 1) + ExpressionList (children 2) + Literal UInt64_1 (alias interval) + Identifier interval diff --git a/parser/testdata/01082_bit_test_out_of_bound/explain.txt b/parser/testdata/01082_bit_test_out_of_bound/explain.txt new file mode 100644 index 000000000..b3e46d677 --- /dev/null +++ b/parser/testdata/01082_bit_test_out_of_bound/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'-- bitTestAny\' diff --git a/parser/testdata/01083_aggregation_memory_efficient_bug/explain.txt b/parser/testdata/01083_aggregation_memory_efficient_bug/explain.txt new file mode 100644 index 000000000..90bd45a99 --- /dev/null +++ b/parser/testdata/01083_aggregation_memory_efficient_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery da_memory_efficient_shard (children 1) + Identifier da_memory_efficient_shard diff --git a/parser/testdata/01083_cross_to_inner_with_in_bug/explain.txt b/parser/testdata/01083_cross_to_inner_with_in_bug/explain.txt new file mode 100644 index 000000000..fe2aaf1d9 --- /dev/null +++ b/parser/testdata/01083_cross_to_inner_with_in_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery ax (children 1) + Identifier ax diff --git a/parser/testdata/01083_cross_to_inner_with_like/explain.txt b/parser/testdata/01083_cross_to_inner_with_like/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01083_cross_to_inner_with_like/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01083_expressions_in_engine_arguments/explain.txt b/parser/testdata/01083_expressions_in_engine_arguments/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01083_expressions_in_engine_arguments/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01083_functional_index_in_mergetree/explain.txt b/parser/testdata/01083_functional_index_in_mergetree/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01083_functional_index_in_mergetree/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01083_log_first_column_alias/explain.txt b/parser/testdata/01083_log_first_column_alias/explain.txt new file mode 100644 index 000000000..504ff13b6 --- /dev/null +++ b/parser/testdata/01083_log_first_column_alias/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_alias (children 1) + Identifier test_alias diff --git a/parser/testdata/01083_match_zero_byte/explain.txt b/parser/testdata/01083_match_zero_byte/explain.txt new file mode 100644 index 000000000..ea6a53af0 --- /dev/null +++ b/parser/testdata/01083_match_zero_byte/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function match (children 1) + ExpressionList (children 2) + Literal \'a key="v" \' + Literal \'key="(.*?)"\' diff --git a/parser/testdata/01084_defaults_on_aliases/explain.txt b/parser/testdata/01084_defaults_on_aliases/explain.txt new file mode 100644 index 000000000..cf7465230 --- /dev/null +++ b/parser/testdata/01084_defaults_on_aliases/explain.txt @@ -0,0 +1,2 @@ +DropQuery table_with_defaults_on_aliases (children 1) + Identifier table_with_defaults_on_aliases diff --git a/parser/testdata/01084_regexp_empty/metadata.json b/parser/testdata/01084_regexp_empty/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01084_regexp_empty/metadata.json +++ b/parser/testdata/01084_regexp_empty/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01085_datetime_arithmetic_preserve_timezone/explain.txt b/parser/testdata/01085_datetime_arithmetic_preserve_timezone/explain.txt new file mode 100644 index 000000000..27f75aa64 --- /dev/null +++ b/parser/testdata/01085_datetime_arithmetic_preserve_timezone/explain.txt @@ -0,0 +1,47 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 8) + Function toDateTime (alias t) (children 1) + ExpressionList (children 2) + Literal \'2020-01-01 00:00:00\' + Literal \'UTC\' + Function plus (children 1) + ExpressionList (children 2) + Identifier t + Literal UInt64_1 + Function plus (children 1) + ExpressionList (children 2) + Function toDate (children 1) + ExpressionList (children 1) + Identifier t + Literal UInt64_1 + Function plus (children 1) + ExpressionList (children 2) + Identifier t + Function toIntervalSecond (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Function plus (children 1) + ExpressionList (children 2) + Identifier t + Function toIntervalDay (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Function toTypeName (children 1) + ExpressionList (children 1) + Function plus (children 1) + ExpressionList (children 2) + Identifier t + Literal UInt64_1 + Function plus (alias dt64) (children 1) + ExpressionList (children 2) + Function toDateTime64 (children 1) + ExpressionList (children 3) + Identifier t + Literal UInt64_3 + Literal \'UTC\' + Literal UInt64_1 + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier dt64 diff --git a/parser/testdata/01085_extract_all_empty/explain.txt b/parser/testdata/01085_extract_all_empty/explain.txt new file mode 100644 index 000000000..46b44c4b4 --- /dev/null +++ b/parser/testdata/01085_extract_all_empty/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function extractAll (children 1) + ExpressionList (children 2) + Literal \'\\0\' + Literal \'\' diff --git a/parser/testdata/01085_simdjson_uint64/metadata.json b/parser/testdata/01085_simdjson_uint64/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01085_simdjson_uint64/metadata.json +++ b/parser/testdata/01085_simdjson_uint64/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01086_modulo_or_zero/explain.txt b/parser/testdata/01086_modulo_or_zero/explain.txt new file mode 100644 index 000000000..1ee73c24f --- /dev/null +++ b/parser/testdata/01086_modulo_or_zero/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Function moduloOrZero (children 1) + ExpressionList (children 2) + Literal UInt64_0 + Literal UInt64_0 + Literal UInt64_0 diff --git a/parser/testdata/01087_index_set_ubsan/explain.txt b/parser/testdata/01087_index_set_ubsan/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/01087_index_set_ubsan/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/01087_storage_generate/explain.txt b/parser/testdata/01087_storage_generate/explain.txt new file mode 100644 index 000000000..d4bf1aa3f --- /dev/null +++ b/parser/testdata/01087_storage_generate/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_table (children 1) + Identifier test_table diff --git a/parser/testdata/01087_table_function_generate/metadata.json b/parser/testdata/01087_table_function_generate/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01087_table_function_generate/metadata.json +++ b/parser/testdata/01087_table_function_generate/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01088_array_slice_of_aggregate_functions/explain.txt b/parser/testdata/01088_array_slice_of_aggregate_functions/explain.txt new file mode 100644 index 000000000..438be875a --- /dev/null +++ b/parser/testdata/01088_array_slice_of_aggregate_functions/explain.txt @@ -0,0 +1,33 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function arraySlice (alias y) (children 1) + ExpressionList (children 3) + Function groupArray (children 1) + ExpressionList (children 1) + Identifier x + Literal UInt64_1 + Literal UInt64_1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function uniqState (alias x) (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + ExpressionList (children 1) + Identifier number + ExpressionList (children 1) + OrderByElement (children 1) + Identifier number diff --git a/parser/testdata/01089_alter_settings_old_format/explain.txt b/parser/testdata/01089_alter_settings_old_format/explain.txt new file mode 100644 index 000000000..ee8a53ad0 --- /dev/null +++ b/parser/testdata/01089_alter_settings_old_format/explain.txt @@ -0,0 +1,2 @@ +DropQuery old_format_mt (children 1) + Identifier old_format_mt diff --git a/parser/testdata/01090_fixed_string_bit_ops/explain.txt b/parser/testdata/01090_fixed_string_bit_ops/explain.txt new file mode 100644 index 000000000..84fa174d8 --- /dev/null +++ b/parser/testdata/01090_fixed_string_bit_ops/explain.txt @@ -0,0 +1,22 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function bitXor (children 1) + ExpressionList (children 2) + Function materialize (children 1) + ExpressionList (children 1) + Function toFixedString (children 1) + ExpressionList (children 2) + Literal \'abc\' + Literal UInt64_3 + Function toFixedString (children 1) + ExpressionList (children 2) + Literal \'\\0\' + Literal UInt64_3 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 diff --git a/parser/testdata/01090_zookeeper_mutations_and_insert_quorum_long/explain.txt b/parser/testdata/01090_zookeeper_mutations_and_insert_quorum_long/explain.txt new file mode 100644 index 000000000..54566e370 --- /dev/null +++ b/parser/testdata/01090_zookeeper_mutations_and_insert_quorum_long/explain.txt @@ -0,0 +1,2 @@ +DropQuery mutations_and_quorum1 (children 1) + Identifier mutations_and_quorum1 diff --git a/parser/testdata/01091_insert_with_default_json/explain.txt b/parser/testdata/01091_insert_with_default_json/explain.txt new file mode 100644 index 000000000..f9f8cc3ad --- /dev/null +++ b/parser/testdata/01091_insert_with_default_json/explain.txt @@ -0,0 +1,2 @@ +DropQuery table_with_complex_default (children 1) + Identifier table_with_complex_default diff --git a/parser/testdata/01091_num_threads/explain.txt b/parser/testdata/01091_num_threads/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01091_num_threads/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01091_query_profiler_does_not_hang/explain.txt b/parser/testdata/01091_query_profiler_does_not_hang/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01091_query_profiler_does_not_hang/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01092_memory_profiler/explain.txt b/parser/testdata/01092_memory_profiler/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01092_memory_profiler/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01093_cyclic_defaults_filimonov/explain.txt b/parser/testdata/01093_cyclic_defaults_filimonov/explain.txt new file mode 100644 index 000000000..2dc2d2a36 --- /dev/null +++ b/parser/testdata/01093_cyclic_defaults_filimonov/explain.txt @@ -0,0 +1,2 @@ +CreateQuery test (children 1) + Identifier test diff --git a/parser/testdata/01095_tpch_like_smoke/explain.txt b/parser/testdata/01095_tpch_like_smoke/explain.txt new file mode 100644 index 000000000..fb577a6c8 --- /dev/null +++ b/parser/testdata/01095_tpch_like_smoke/explain.txt @@ -0,0 +1,2 @@ +DropQuery part (children 1) + Identifier part diff --git a/parser/testdata/01096_array_reduce_in_ranges/metadata.json b/parser/testdata/01096_array_reduce_in_ranges/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01096_array_reduce_in_ranges/metadata.json +++ b/parser/testdata/01096_array_reduce_in_ranges/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01096_block_serialized_state/explain.txt b/parser/testdata/01096_block_serialized_state/explain.txt new file mode 100644 index 000000000..10b60b720 --- /dev/null +++ b/parser/testdata/01096_block_serialized_state/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function ignore (children 1) + ExpressionList (children 1) + Function blockSerializedSize (children 1) + ExpressionList (children 1) + Literal Tuple_(UInt64_1, UInt64_1) diff --git a/parser/testdata/01096_zeros/explain.txt b/parser/testdata/01096_zeros/explain.txt new file mode 100644 index 000000000..b075164b1 --- /dev/null +++ b/parser/testdata/01096_zeros/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Identifier zero + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.zeros + Literal UInt64_10 + Set diff --git a/parser/testdata/01097_cyclic_defaults/explain.txt b/parser/testdata/01097_cyclic_defaults/explain.txt new file mode 100644 index 000000000..193f7b4c8 --- /dev/null +++ b/parser/testdata/01097_cyclic_defaults/explain.txt @@ -0,0 +1,2 @@ +DropQuery table_with_cyclic_defaults (children 1) + Identifier table_with_cyclic_defaults diff --git a/parser/testdata/01097_one_more_range_reader_test/explain.txt b/parser/testdata/01097_one_more_range_reader_test/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/01097_one_more_range_reader_test/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/01097_one_more_range_reader_test_wide_part/explain.txt b/parser/testdata/01097_one_more_range_reader_test_wide_part/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/01097_one_more_range_reader_test_wide_part/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/01097_pre_limit/explain.txt b/parser/testdata/01097_pre_limit/explain.txt new file mode 100644 index 000000000..9f2d0d4bd --- /dev/null +++ b/parser/testdata/01097_pre_limit/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers_mt + Function equals (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_1000000 + Literal UInt64_1 diff --git a/parser/testdata/01098_sum/explain.txt b/parser/testdata/01098_sum/explain.txt new file mode 100644 index 000000000..43f6fd726 --- /dev/null +++ b/parser/testdata/01098_sum/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function sumKahan (children 1) + ExpressionList (children 1) + Identifier dummy + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.{2,3}\' + Identifier system.one diff --git a/parser/testdata/01099_operators_date_and_timestamp/explain.txt b/parser/testdata/01099_operators_date_and_timestamp/explain.txt new file mode 100644 index 000000000..723d83bfa --- /dev/null +++ b/parser/testdata/01099_operators_date_and_timestamp/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 3) + Function toIntervalSecond (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Function toIntervalMinute (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Function toIntervalHour (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/01099_parallel_distributed_insert_select/explain.txt b/parser/testdata/01099_parallel_distributed_insert_select/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01099_parallel_distributed_insert_select/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01100_split_by_string/explain.txt b/parser/testdata/01100_split_by_string/explain.txt new file mode 100644 index 000000000..2e332fc66 --- /dev/null +++ b/parser/testdata/01100_split_by_string/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function splitByString (children 1) + ExpressionList (children 2) + Literal \'ab\' + Literal \'cdeabcde\' diff --git a/parser/testdata/01101_literal_column_clash/explain.txt b/parser/testdata/01101_literal_column_clash/explain.txt new file mode 100644 index 000000000..a9e31acd1 --- /dev/null +++ b/parser/testdata/01101_literal_column_clash/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal \'String\' diff --git a/parser/testdata/01101_prewhere_after_alter/explain.txt b/parser/testdata/01101_prewhere_after_alter/explain.txt new file mode 100644 index 000000000..ad6a4d9e1 --- /dev/null +++ b/parser/testdata/01101_prewhere_after_alter/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_a (children 1) + Identifier test_a diff --git a/parser/testdata/01102_distributed_local_in_bug/explain.txt b/parser/testdata/01102_distributed_local_in_bug/explain.txt new file mode 100644 index 000000000..ab244de9e --- /dev/null +++ b/parser/testdata/01102_distributed_local_in_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery hits (children 1) + Identifier hits diff --git a/parser/testdata/01103_distributed_product_mode_local_column_renames/explain.txt b/parser/testdata/01103_distributed_product_mode_local_column_renames/explain.txt new file mode 100644 index 000000000..cbdc9b488 --- /dev/null +++ b/parser/testdata/01103_distributed_product_mode_local_column_renames/explain.txt @@ -0,0 +1,2 @@ +CreateQuery test_01103 (children 1) + Identifier test_01103 diff --git a/parser/testdata/01104_distributed_numbers_test/explain.txt b/parser/testdata/01104_distributed_numbers_test/explain.txt new file mode 100644 index 000000000..b55818d6b --- /dev/null +++ b/parser/testdata/01104_distributed_numbers_test/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Asterisk diff --git a/parser/testdata/01104_distributed_one_test/explain.txt b/parser/testdata/01104_distributed_one_test/explain.txt new file mode 100644 index 000000000..6bc4d98d6 --- /dev/null +++ b/parser/testdata/01104_distributed_one_test/explain.txt @@ -0,0 +1,2 @@ +DropQuery d_one (children 1) + Identifier d_one diff --git a/parser/testdata/01104_fixed_string_like/explain.txt b/parser/testdata/01104_fixed_string_like/explain.txt new file mode 100644 index 000000000..29c1fac55 --- /dev/null +++ b/parser/testdata/01104_fixed_string_like/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function like (children 1) + ExpressionList (children 2) + Function arrayJoin (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Literal Array_[\'hello\', \'world\'] + Literal \'Array(FixedString(5))\' + Literal \'hello\' diff --git a/parser/testdata/01105_string_like/explain.txt b/parser/testdata/01105_string_like/explain.txt new file mode 100644 index 000000000..955847043 --- /dev/null +++ b/parser/testdata/01105_string_like/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function like (children 1) + ExpressionList (children 2) + Function arrayJoin (children 1) + ExpressionList (children 1) + Literal Array_[\'hello\', \'world\'] + Literal \'hello\' diff --git a/parser/testdata/01106_const_fixed_string_like/explain.txt b/parser/testdata/01106_const_fixed_string_like/explain.txt new file mode 100644 index 000000000..6fcf9b867 --- /dev/null +++ b/parser/testdata/01106_const_fixed_string_like/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function like (children 1) + ExpressionList (children 2) + Function CAST (children 1) + ExpressionList (children 2) + Literal \'hello\' + Literal \'FixedString(5)\' + Literal \'hello\' diff --git a/parser/testdata/01107_join_right_table_totals/explain.txt b/parser/testdata/01107_join_right_table_totals/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/01107_join_right_table_totals/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/01109_exchange_tables/explain.txt b/parser/testdata/01109_exchange_tables/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01109_exchange_tables/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01109_inflating_cross_join/explain.txt b/parser/testdata/01109_inflating_cross_join/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01109_inflating_cross_join/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01109_sc0rp10_string_hash_map_zero_bytes/explain.txt b/parser/testdata/01109_sc0rp10_string_hash_map_zero_bytes/explain.txt new file mode 100644 index 000000000..2b391f368 --- /dev/null +++ b/parser/testdata/01109_sc0rp10_string_hash_map_zero_bytes/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Function count (children 1) + ExpressionList (children 1) + Asterisk + Function plus (children 1) + ExpressionList (children 2) + Function multiply (children 1) + ExpressionList (children 2) + Function multiply (children 1) + ExpressionList (children 2) + Literal UInt64_18 + Literal UInt64_18 + Literal UInt64_17 + Literal UInt64_35 diff --git a/parser/testdata/01110_dictionary_layout_without_arguments/explain.txt b/parser/testdata/01110_dictionary_layout_without_arguments/explain.txt new file mode 100644 index 000000000..af5d14a86 --- /dev/null +++ b/parser/testdata/01110_dictionary_layout_without_arguments/explain.txt @@ -0,0 +1,2 @@ +DropQuery db_for_dict (children 1) + Identifier db_for_dict diff --git a/parser/testdata/01112_check_table_with_index/explain.txt b/parser/testdata/01112_check_table_with_index/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01112_check_table_with_index/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01113_local_dictionary_type_conversion/metadata.json b/parser/testdata/01113_local_dictionary_type_conversion/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01113_local_dictionary_type_conversion/metadata.json +++ b/parser/testdata/01113_local_dictionary_type_conversion/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01114_alter_modify_compact_parts/explain.txt b/parser/testdata/01114_alter_modify_compact_parts/explain.txt new file mode 100644 index 000000000..6235f144c --- /dev/null +++ b/parser/testdata/01114_alter_modify_compact_parts/explain.txt @@ -0,0 +1,2 @@ +DropQuery mt_compact (children 1) + Identifier mt_compact diff --git a/parser/testdata/01114_clear_column_compact_parts/explain.txt b/parser/testdata/01114_clear_column_compact_parts/explain.txt new file mode 100644 index 000000000..3c2c25467 --- /dev/null +++ b/parser/testdata/01114_clear_column_compact_parts/explain.txt @@ -0,0 +1,2 @@ +DropQuery clear_column (children 1) + Identifier clear_column diff --git a/parser/testdata/01114_materialize_clear_index_compact_parts/explain.txt b/parser/testdata/01114_materialize_clear_index_compact_parts/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01114_materialize_clear_index_compact_parts/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01114_mysql_database_engine_segfault/explain.txt b/parser/testdata/01114_mysql_database_engine_segfault/explain.txt new file mode 100644 index 000000000..3547addfd --- /dev/null +++ b/parser/testdata/01114_mysql_database_engine_segfault/explain.txt @@ -0,0 +1,2 @@ +DropQuery conv_main (children 1) + Identifier conv_main diff --git a/parser/testdata/01115_join_with_dictionary/explain.txt b/parser/testdata/01115_join_with_dictionary/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/01115_join_with_dictionary/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/01115_prewhere_array_join/explain.txt b/parser/testdata/01115_prewhere_array_join/explain.txt new file mode 100644 index 000000000..7b78485b5 --- /dev/null +++ b/parser/testdata/01115_prewhere_array_join/explain.txt @@ -0,0 +1,2 @@ +DropQuery prewhere (children 1) + Identifier prewhere diff --git a/parser/testdata/01116_asof_join_dolbyzerr/explain.txt b/parser/testdata/01116_asof_join_dolbyzerr/explain.txt new file mode 100644 index 000000000..fc6c2f8c9 --- /dev/null +++ b/parser/testdata/01116_asof_join_dolbyzerr/explain.txt @@ -0,0 +1,10 @@ +CreateQuery sessions (children 2) + Identifier sessions + Columns definition (children 1) + ExpressionList (children 3) + ColumnDeclaration date (children 1) + DataType DateTime + ColumnDeclaration visitorId (children 1) + DataType String + ColumnDeclaration sessionId (children 1) + DataType String diff --git a/parser/testdata/01116_cross_count_asterisks/explain.txt b/parser/testdata/01116_cross_count_asterisks/explain.txt new file mode 100644 index 000000000..1133f3d74 --- /dev/null +++ b/parser/testdata/01116_cross_count_asterisks/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function count (children 1) + ExpressionList (children 1) + Asterisk diff --git a/parser/testdata/01117_chain_finalize_bug/explain.txt b/parser/testdata/01117_chain_finalize_bug/explain.txt new file mode 100644 index 000000000..5419d5b60 --- /dev/null +++ b/parser/testdata/01117_chain_finalize_bug/explain.txt @@ -0,0 +1,21 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function arrayJoin (alias index) (children 1) + ExpressionList (children 1) + Function arrayMap (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier i + Function plus (children 1) + ExpressionList (children 2) + Identifier i + Literal UInt64_1 + Function range (children 1) + ExpressionList (children 1) + Literal UInt64_2 + Identifier number diff --git a/parser/testdata/01117_comma_and_others_join_mix/explain.txt b/parser/testdata/01117_comma_and_others_join_mix/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01117_comma_and_others_join_mix/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01117_greatest_least_case/explain.txt b/parser/testdata/01117_greatest_least_case/explain.txt new file mode 100644 index 000000000..8691dec74 --- /dev/null +++ b/parser/testdata/01117_greatest_least_case/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function GREATEST (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal UInt64_2 diff --git a/parser/testdata/01118_is_constant/explain.txt b/parser/testdata/01118_is_constant/explain.txt new file mode 100644 index 000000000..3416e8170 --- /dev/null +++ b/parser/testdata/01118_is_constant/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function isConstant (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/01119_optimize_trivial_insert_select/explain.txt b/parser/testdata/01119_optimize_trivial_insert_select/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/01119_optimize_trivial_insert_select/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/01119_weird_user_names/explain.txt b/parser/testdata/01119_weird_user_names/explain.txt new file mode 100644 index 000000000..24ba67fc3 --- /dev/null +++ b/parser/testdata/01119_weird_user_names/explain.txt @@ -0,0 +1 @@ +DROP USER query diff --git a/parser/testdata/01120_join_constants/metadata.json b/parser/testdata/01120_join_constants/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01120_join_constants/metadata.json +++ b/parser/testdata/01120_join_constants/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01121_remote_scalar_subquery/explain.txt b/parser/testdata/01121_remote_scalar_subquery/explain.txt new file mode 100644 index 000000000..e6685a274 --- /dev/null +++ b/parser/testdata/01121_remote_scalar_subquery/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.0.0.{1,2}\' + Identifier system.one diff --git a/parser/testdata/01122_totals_rollup_having_block_header/explain.txt b/parser/testdata/01122_totals_rollup_having_block_header/explain.txt new file mode 100644 index 000000000..3859843f7 --- /dev/null +++ b/parser/testdata/01122_totals_rollup_having_block_header/explain.txt @@ -0,0 +1,2 @@ +DropQuery rollup_having (children 1) + Identifier rollup_having diff --git a/parser/testdata/01123_parse_date_time_best_effort_even_more/explain.txt b/parser/testdata/01123_parse_date_time_best_effort_even_more/explain.txt new file mode 100644 index 000000000..d478624b3 --- /dev/null +++ b/parser/testdata/01123_parse_date_time_best_effort_even_more/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toTimeZone (children 1) + ExpressionList (children 2) + Function parseDateTimeBestEffort (children 1) + ExpressionList (children 1) + Literal \'Thu, 18 Aug 2018 07:22:16 GMT\' + Literal \'UTC\' diff --git a/parser/testdata/01124_view_bad_types/explain.txt b/parser/testdata/01124_view_bad_types/explain.txt new file mode 100644 index 000000000..a533b631d --- /dev/null +++ b/parser/testdata/01124_view_bad_types/explain.txt @@ -0,0 +1,2 @@ +DropQuery source_table (children 1) + Identifier source_table diff --git a/parser/testdata/01125_dict_ddl_cannot_add_column/explain.txt b/parser/testdata/01125_dict_ddl_cannot_add_column/explain.txt new file mode 100644 index 000000000..0c43bf903 --- /dev/null +++ b/parser/testdata/01125_dict_ddl_cannot_add_column/explain.txt @@ -0,0 +1,2 @@ +CreateQuery date_table (children 1) + Identifier date_table diff --git a/parser/testdata/01125_generate_random_qoega/explain.txt b/parser/testdata/01125_generate_random_qoega/explain.txt new file mode 100644 index 000000000..ba28cdfee --- /dev/null +++ b/parser/testdata/01125_generate_random_qoega/explain.txt @@ -0,0 +1,2 @@ +DropQuery mass_table_117 (children 1) + Identifier mass_table_117 diff --git a/parser/testdata/01126_month_partitioning_consistent_code/explain.txt b/parser/testdata/01126_month_partitioning_consistent_code/explain.txt new file mode 100644 index 000000000..38773513b --- /dev/null +++ b/parser/testdata/01126_month_partitioning_consistent_code/explain.txt @@ -0,0 +1,2 @@ +DropQuery mt (children 1) + Identifier mt diff --git a/parser/testdata/01127_month_partitioning_consistency_select/explain.txt b/parser/testdata/01127_month_partitioning_consistency_select/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01127_month_partitioning_consistency_select/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01128_generate_random_nested/explain.txt b/parser/testdata/01128_generate_random_nested/explain.txt new file mode 100644 index 000000000..1085157c6 --- /dev/null +++ b/parser/testdata/01128_generate_random_nested/explain.txt @@ -0,0 +1,2 @@ +DropQuery mass_table_312 (children 1) + Identifier mass_table_312 diff --git a/parser/testdata/01129_dict_get_join_lose_constness/explain.txt b/parser/testdata/01129_dict_get_join_lose_constness/explain.txt new file mode 100644 index 000000000..d25d923b9 --- /dev/null +++ b/parser/testdata/01129_dict_get_join_lose_constness/explain.txt @@ -0,0 +1,3 @@ +DropQuery system dict1 (children 2) + Identifier system + Identifier dict1 diff --git a/parser/testdata/01131_max_rows_to_sort/explain.txt b/parser/testdata/01131_max_rows_to_sort/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01131_max_rows_to_sort/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01132_max_rows_to_read/explain.txt b/parser/testdata/01132_max_rows_to_read/explain.txt new file mode 100644 index 000000000..95bc4b4cf --- /dev/null +++ b/parser/testdata/01132_max_rows_to_read/explain.txt @@ -0,0 +1,2 @@ +DropQuery row_limits_test (children 1) + Identifier row_limits_test diff --git a/parser/testdata/01134_max_rows_to_group_by/explain.txt b/parser/testdata/01134_max_rows_to_group_by/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01134_max_rows_to_group_by/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01134_set_overflow_mode/explain.txt b/parser/testdata/01134_set_overflow_mode/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01134_set_overflow_mode/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01135_default_and_alter_zookeeper/explain.txt b/parser/testdata/01135_default_and_alter_zookeeper/explain.txt new file mode 100644 index 000000000..db276ba6e --- /dev/null +++ b/parser/testdata/01135_default_and_alter_zookeeper/explain.txt @@ -0,0 +1,2 @@ +DropQuery default_table (children 1) + Identifier default_table diff --git a/parser/testdata/01136_multiple_sets/explain.txt b/parser/testdata/01136_multiple_sets/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/01136_multiple_sets/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/01137_order_by_func/explain.txt b/parser/testdata/01137_order_by_func/explain.txt new file mode 100644 index 000000000..67893cc4b --- /dev/null +++ b/parser/testdata/01137_order_by_func/explain.txt @@ -0,0 +1,2 @@ +DropQuery pk_func (children 1) + Identifier pk_func diff --git a/parser/testdata/01137_order_by_func_final/explain.txt b/parser/testdata/01137_order_by_func_final/explain.txt new file mode 100644 index 000000000..67893cc4b --- /dev/null +++ b/parser/testdata/01137_order_by_func_final/explain.txt @@ -0,0 +1,2 @@ +DropQuery pk_func (children 1) + Identifier pk_func diff --git a/parser/testdata/01137_sample_final/explain.txt b/parser/testdata/01137_sample_final/explain.txt new file mode 100644 index 000000000..0a00b06d1 --- /dev/null +++ b/parser/testdata/01137_sample_final/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab (children 1) + Identifier tab diff --git a/parser/testdata/01138_join_on_distributed_and_tmp/explain.txt b/parser/testdata/01138_join_on_distributed_and_tmp/explain.txt new file mode 100644 index 000000000..7a5f71d3b --- /dev/null +++ b/parser/testdata/01138_join_on_distributed_and_tmp/explain.txt @@ -0,0 +1,2 @@ +DropQuery foo_local (children 1) + Identifier foo_local diff --git a/parser/testdata/01139_asof_join_types/explain.txt b/parser/testdata/01139_asof_join_types/explain.txt new file mode 100644 index 000000000..5bb259b40 --- /dev/null +++ b/parser/testdata/01139_asof_join_types/explain.txt @@ -0,0 +1,32 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias t1) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_0 (alias k) + Function toInt8 (alias v) (children 1) + ExpressionList (children 1) + Literal UInt64_1 + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias t2) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_0 (alias k) + Function toInt8 (alias v) (children 1) + ExpressionList (children 1) + Literal UInt64_0 + TableJoin (children 1) + ExpressionList (children 2) + Identifier k + Identifier v diff --git a/parser/testdata/01140_select_from_storage_join_fix/explain.txt b/parser/testdata/01140_select_from_storage_join_fix/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/01140_select_from_storage_join_fix/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/01141_join_get_negative/explain.txt b/parser/testdata/01141_join_get_negative/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/01141_join_get_negative/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/01142_join_lc_and_nullable_in_key/explain.txt b/parser/testdata/01142_join_lc_and_nullable_in_key/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/01142_join_lc_and_nullable_in_key/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/01142_merge_join_lc_and_nullable_in_key/explain.txt b/parser/testdata/01142_merge_join_lc_and_nullable_in_key/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01142_merge_join_lc_and_nullable_in_key/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01142_with_ties_and_aliases/explain.txt b/parser/testdata/01142_with_ties_and_aliases/explain.txt new file mode 100644 index 000000000..c79bcf8ad --- /dev/null +++ b/parser/testdata/01142_with_ties_and_aliases/explain.txt @@ -0,0 +1,33 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 2) + Identifier number + Function intDiv (alias value) (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_5 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_20 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier value + Literal UInt64_3 + ExpressionList (children 2) + OrderByElement (children 1) + Identifier number + OrderByElement (children 1) + Identifier value diff --git a/parser/testdata/01143_trivial_count_with_join/explain.txt b/parser/testdata/01143_trivial_count_with_join/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/01143_trivial_count_with_join/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/01144_join_rewrite_with_ambiguous_column_and_view/explain.txt b/parser/testdata/01144_join_rewrite_with_ambiguous_column_and_view/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/01144_join_rewrite_with_ambiguous_column_and_view/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/01144_multiple_joins_rewriter_v2_and_lambdas/metadata.json b/parser/testdata/01144_multiple_joins_rewriter_v2_and_lambdas/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01144_multiple_joins_rewriter_v2_and_lambdas/metadata.json +++ b/parser/testdata/01144_multiple_joins_rewriter_v2_and_lambdas/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01144_multiword_data_types/explain.txt b/parser/testdata/01144_multiword_data_types/explain.txt new file mode 100644 index 000000000..3009530ca --- /dev/null +++ b/parser/testdata/01144_multiword_data_types/explain.txt @@ -0,0 +1,2 @@ +DropQuery multiword_types (children 1) + Identifier multiword_types diff --git a/parser/testdata/01145_with_fill_const/metadata.json b/parser/testdata/01145_with_fill_const/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01145_with_fill_const/metadata.json +++ b/parser/testdata/01145_with_fill_const/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01147_partial_merge_full_join/explain.txt b/parser/testdata/01147_partial_merge_full_join/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/01147_partial_merge_full_join/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/01148_zookeeper_path_macros_unfolding/explain.txt b/parser/testdata/01148_zookeeper_path_macros_unfolding/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01148_zookeeper_path_macros_unfolding/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01149_zookeeper_mutation_stuck_after_replace_partition/explain.txt b/parser/testdata/01149_zookeeper_mutation_stuck_after_replace_partition/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01149_zookeeper_mutation_stuck_after_replace_partition/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01151_storage_merge_filter_tables_by_virtual_column/explain.txt b/parser/testdata/01151_storage_merge_filter_tables_by_virtual_column/explain.txt new file mode 100644 index 000000000..d31630313 --- /dev/null +++ b/parser/testdata/01151_storage_merge_filter_tables_by_virtual_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery src_table_1 (children 1) + Identifier src_table_1 diff --git a/parser/testdata/01152_cross_replication/explain.txt b/parser/testdata/01152_cross_replication/explain.txt new file mode 100644 index 000000000..7e5182169 --- /dev/null +++ b/parser/testdata/01152_cross_replication/explain.txt @@ -0,0 +1,2 @@ +DropQuery shard_0 (children 1) + Identifier shard_0 diff --git a/parser/testdata/01153_attach_mv_uuid/explain.txt b/parser/testdata/01153_attach_mv_uuid/explain.txt new file mode 100644 index 000000000..86d217994 --- /dev/null +++ b/parser/testdata/01153_attach_mv_uuid/explain.txt @@ -0,0 +1,2 @@ +DropQuery src (children 1) + Identifier src diff --git a/parser/testdata/01155_rename_move_materialized_view/explain.txt b/parser/testdata/01155_rename_move_materialized_view/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01155_rename_move_materialized_view/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01157_replace_table/explain.txt b/parser/testdata/01157_replace_table/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/01157_replace_table/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/01158_zookeeper_log_long/explain.txt b/parser/testdata/01158_zookeeper_log_long/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01158_zookeeper_log_long/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01159_combinators_with_parameters/explain.txt b/parser/testdata/01159_combinators_with_parameters/explain.txt new file mode 100644 index 000000000..846a971b4 --- /dev/null +++ b/parser/testdata/01159_combinators_with_parameters/explain.txt @@ -0,0 +1,21 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function toTypeName (children 1) + ExpressionList (children 1) + Function topKArrayState (children 2) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 1) + Function toString (children 1) + ExpressionList (children 1) + Identifier number + ExpressionList (children 1) + Literal UInt64_10 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_100 diff --git a/parser/testdata/01161_information_schema/explain.txt b/parser/testdata/01161_information_schema/explain.txt new file mode 100644 index 000000000..db4acbe79 --- /dev/null +++ b/parser/testdata/01161_information_schema/explain.txt @@ -0,0 +1,2 @@ +ShowTables (children 1) + Identifier information_schema diff --git a/parser/testdata/01163_search_case_insensetive_utf8/explain.txt b/parser/testdata/01163_search_case_insensetive_utf8/explain.txt new file mode 100644 index 000000000..9c5fc79b7 --- /dev/null +++ b/parser/testdata/01163_search_case_insensetive_utf8/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function positionCaseInsensitiveUTF8 (children 1) + ExpressionList (children 2) + Function materialize (children 1) + ExpressionList (children 1) + Literal \'ÑÑÑÑÑÑ\' + Literal \'Ð\' diff --git a/parser/testdata/01164_alter_memory_database/explain.txt b/parser/testdata/01164_alter_memory_database/explain.txt new file mode 100644 index 000000000..3f518e9bf --- /dev/null +++ b/parser/testdata/01164_alter_memory_database/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_1164_memory (children 1) + Identifier test_1164_memory diff --git a/parser/testdata/01165_lost_part_empty_partition/explain.txt b/parser/testdata/01165_lost_part_empty_partition/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01165_lost_part_empty_partition/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01166_truncate_multiple_partitions/explain.txt b/parser/testdata/01166_truncate_multiple_partitions/explain.txt new file mode 100644 index 000000000..7533e66db --- /dev/null +++ b/parser/testdata/01166_truncate_multiple_partitions/explain.txt @@ -0,0 +1,2 @@ +DropQuery trunc (children 1) + Identifier trunc diff --git a/parser/testdata/01172_transaction_counters/explain.txt b/parser/testdata/01172_transaction_counters/explain.txt new file mode 100644 index 000000000..d3d1b7d3d --- /dev/null +++ b/parser/testdata/01172_transaction_counters/explain.txt @@ -0,0 +1,2 @@ +DropQuery txn_counters (children 1) + Identifier txn_counters diff --git a/parser/testdata/01173_transaction_control_queries/explain.txt b/parser/testdata/01173_transaction_control_queries/explain.txt new file mode 100644 index 000000000..7e7113939 --- /dev/null +++ b/parser/testdata/01173_transaction_control_queries/explain.txt @@ -0,0 +1,2 @@ +DropQuery mt1 (children 1) + Identifier mt1 diff --git a/parser/testdata/01177_group_array_moving/explain.txt b/parser/testdata/01177_group_array_moving/explain.txt new file mode 100644 index 000000000..f0eb055f4 --- /dev/null +++ b/parser/testdata/01177_group_array_moving/explain.txt @@ -0,0 +1,31 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 3) + Function groupArrayMovingSum (children 2) + ExpressionList (children 1) + Literal Int64_-9223372036854775808 + ExpressionList (children 1) + Literal UInt64_257 + Function groupArrayMovingSum (children 2) + ExpressionList (children 1) + Literal UInt64_18446744073709551615 + ExpressionList (children 1) + Literal UInt64_1048575 + Function groupArrayMovingSum (children 2) + ExpressionList (children 1) + Function multiply (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_9223372036854775807 + ExpressionList (children 1) + Literal UInt64_9223372036854775807 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.0.0.{1..2}\' + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_3 diff --git a/parser/testdata/01178_int_field_to_decimal/explain.txt b/parser/testdata/01178_int_field_to_decimal/explain.txt new file mode 100644 index 000000000..479db44a0 --- /dev/null +++ b/parser/testdata/01178_int_field_to_decimal/explain.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier d + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function values (children 1) + ExpressionList (children 3) + Literal \'d Decimal(8, 8)\' + Literal UInt64_0 + Literal UInt64_1 + Function notIn (children 1) + ExpressionList (children 2) + Identifier d + Literal Tuple_(Int64_-1, UInt64_0) +The query succeeded but the server error '69' was expected (query: EXPLAIN AST select d from values('d Decimal(8, 8)', 0, 1) where d not in (-1, 0); -- { serverError ARGUMENT_OUT_OF_BOUND }). diff --git a/parser/testdata/01181_db_atomic_drop_on_cluster/explain.txt b/parser/testdata/01181_db_atomic_drop_on_cluster/explain.txt new file mode 100644 index 000000000..108c54996 --- /dev/null +++ b/parser/testdata/01181_db_atomic_drop_on_cluster/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_repl (children 1) + Identifier test_repl diff --git a/parser/testdata/01182_materialized_view_different_structure/explain.txt b/parser/testdata/01182_materialized_view_different_structure/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01182_materialized_view_different_structure/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01185_create_or_replace_table/explain.txt b/parser/testdata/01185_create_or_replace_table/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/01185_create_or_replace_table/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/01186_conversion_to_nullable/explain.txt b/parser/testdata/01186_conversion_to_nullable/explain.txt new file mode 100644 index 000000000..fff5d5203 --- /dev/null +++ b/parser/testdata/01186_conversion_to_nullable/explain.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function toUInt8 (children 1) + ExpressionList (children 1) + Identifier x + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function values (children 1) + ExpressionList (children 6) + Literal \'x Nullable(String)\' + Literal \'42\' + Literal NULL + Literal \'0\' + Literal \'\' + Literal \'256\' diff --git a/parser/testdata/01188_attach_table_from_path/explain.txt b/parser/testdata/01188_attach_table_from_path/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/01188_attach_table_from_path/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/01189_create_as_table_as_table_function/explain.txt b/parser/testdata/01189_create_as_table_as_table_function/explain.txt new file mode 100644 index 000000000..7ee27f568 --- /dev/null +++ b/parser/testdata/01189_create_as_table_as_table_function/explain.txt @@ -0,0 +1,2 @@ +DropQuery table2 (children 1) + Identifier table2 diff --git a/parser/testdata/01191_rename_dictionary/explain.txt b/parser/testdata/01191_rename_dictionary/explain.txt new file mode 100644 index 000000000..28ecb7f47 --- /dev/null +++ b/parser/testdata/01191_rename_dictionary/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_01191 (children 1) + Identifier test_01191 diff --git a/parser/testdata/01197_summing_enum/explain.txt b/parser/testdata/01197_summing_enum/explain.txt new file mode 100644 index 000000000..d3910f73b --- /dev/null +++ b/parser/testdata/01197_summing_enum/explain.txt @@ -0,0 +1,2 @@ +DropQuery summing (children 1) + Identifier summing diff --git a/parser/testdata/01198_plus_inf/explain.txt b/parser/testdata/01198_plus_inf/explain.txt new file mode 100644 index 000000000..0c51382c8 --- /dev/null +++ b/parser/testdata/01198_plus_inf/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toFloat64 (children 1) + ExpressionList (children 1) + Function arrayJoin (children 1) + ExpressionList (children 1) + Literal Array_[\'+inf\', \'+Inf\', \'+INF\', \'+infinity\', \'+Infinity\'] diff --git a/parser/testdata/01199_url_functions_path_without_schema_yiurule/explain.txt b/parser/testdata/01199_url_functions_path_without_schema_yiurule/explain.txt new file mode 100644 index 000000000..913e715a6 --- /dev/null +++ b/parser/testdata/01199_url_functions_path_without_schema_yiurule/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function path (alias Path) (children 1) + ExpressionList (children 1) + Literal \'www.example.com:443/a/b/c\' diff --git a/parser/testdata/01200_mutations_memory_consumption/explain.txt b/parser/testdata/01200_mutations_memory_consumption/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01200_mutations_memory_consumption/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01201_drop_column_compact_part_replicated_zookeeper_long/explain.txt b/parser/testdata/01201_drop_column_compact_part_replicated_zookeeper_long/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01201_drop_column_compact_part_replicated_zookeeper_long/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01201_read_single_thread_in_order/explain.txt b/parser/testdata/01201_read_single_thread_in_order/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/01201_read_single_thread_in_order/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/01202_arrayROCAUC_special/explain.txt b/parser/testdata/01202_arrayROCAUC_special/explain.txt new file mode 100644 index 000000000..e1cd1e87b --- /dev/null +++ b/parser/testdata/01202_arrayROCAUC_special/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayROCAUC (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList + Function array (children 1) + ExpressionList +The query succeeded but the server error '43' was expected (query: EXPLAIN AST SELECT arrayROCAUC([], []); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }). diff --git a/parser/testdata/01210_drop_view/explain.txt b/parser/testdata/01210_drop_view/explain.txt new file mode 100644 index 000000000..e90abd432 --- /dev/null +++ b/parser/testdata/01210_drop_view/explain.txt @@ -0,0 +1,2 @@ +DropQuery v_01210 (children 1) + Identifier v_01210 diff --git a/parser/testdata/01211_optimize_skip_unused_shards_type_mismatch/explain.txt b/parser/testdata/01211_optimize_skip_unused_shards_type_mismatch/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01211_optimize_skip_unused_shards_type_mismatch/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01212_empty_join_and_totals/explain.txt b/parser/testdata/01212_empty_join_and_totals/explain.txt new file mode 100644 index 000000000..36a2b9611 --- /dev/null +++ b/parser/testdata/01212_empty_join_and_totals/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.one (alias t1) diff --git a/parser/testdata/01213_alter_rename_column/explain.txt b/parser/testdata/01213_alter_rename_column/explain.txt new file mode 100644 index 000000000..e724e5c8c --- /dev/null +++ b/parser/testdata/01213_alter_rename_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery table_for_rename (children 1) + Identifier table_for_rename diff --git a/parser/testdata/01213_alter_rename_compact_part/explain.txt b/parser/testdata/01213_alter_rename_compact_part/explain.txt new file mode 100644 index 000000000..1fa8a49ff --- /dev/null +++ b/parser/testdata/01213_alter_rename_compact_part/explain.txt @@ -0,0 +1,2 @@ +DropQuery table_with_compact_parts (children 1) + Identifier table_with_compact_parts diff --git a/parser/testdata/01213_alter_rename_nested/explain.txt b/parser/testdata/01213_alter_rename_nested/explain.txt new file mode 100644 index 000000000..ce82ebdde --- /dev/null +++ b/parser/testdata/01213_alter_rename_nested/explain.txt @@ -0,0 +1,2 @@ +DropQuery table_for_rename_nested (children 1) + Identifier table_for_rename_nested diff --git a/parser/testdata/01213_alter_rename_primary_key_zookeeper_long/explain.txt b/parser/testdata/01213_alter_rename_primary_key_zookeeper_long/explain.txt new file mode 100644 index 000000000..5b8b3201a --- /dev/null +++ b/parser/testdata/01213_alter_rename_primary_key_zookeeper_long/explain.txt @@ -0,0 +1,2 @@ +DropQuery table_for_rename_pk (children 1) + Identifier table_for_rename_pk diff --git a/parser/testdata/01213_alter_rename_with_default_zookeeper_long/explain.txt b/parser/testdata/01213_alter_rename_with_default_zookeeper_long/explain.txt new file mode 100644 index 000000000..4162d3a02 --- /dev/null +++ b/parser/testdata/01213_alter_rename_with_default_zookeeper_long/explain.txt @@ -0,0 +1,2 @@ +DropQuery table_rename_with_default (children 1) + Identifier table_rename_with_default diff --git a/parser/testdata/01213_alter_table_rename_nested/explain.txt b/parser/testdata/01213_alter_table_rename_nested/explain.txt new file mode 100644 index 000000000..ce82ebdde --- /dev/null +++ b/parser/testdata/01213_alter_table_rename_nested/explain.txt @@ -0,0 +1,2 @@ +DropQuery table_for_rename_nested (children 1) + Identifier table_for_rename_nested diff --git a/parser/testdata/01213_optimize_skip_unused_shards_DISTINCT/explain.txt b/parser/testdata/01213_optimize_skip_unused_shards_DISTINCT/explain.txt new file mode 100644 index 000000000..b23ec8ff3 --- /dev/null +++ b/parser/testdata/01213_optimize_skip_unused_shards_DISTINCT/explain.txt @@ -0,0 +1,10 @@ +CreateQuery local_01213 (children 3) + Identifier local_01213 + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration id (children 1) + DataType Int + Storage definition (children 2) + Function MergeTree + Function tuple (children 1) + ExpressionList diff --git a/parser/testdata/01213_point_in_Myanmar/explain.txt b/parser/testdata/01213_point_in_Myanmar/explain.txt new file mode 100644 index 000000000..2ccdaedc3 --- /dev/null +++ b/parser/testdata/01213_point_in_Myanmar/explain.txt @@ -0,0 +1,119 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function pointInPolygon (children 1) + ExpressionList (children 2) + Literal Tuple_(Float64_97.66905, Float64_16.5026053) + Function array (children 1) + ExpressionList (children 110) + Literal Tuple_(Float64_97.66905, Float64_16.5026053) + Literal Tuple_(Float64_97.667878, Float64_16.4979175) + Literal Tuple_(Float64_97.661433, Float64_16.4917645) + Literal Tuple_(Float64_97.656745, Float64_16.4859047) + Literal Tuple_(Float64_97.656745, Float64_16.4818029) + Literal Tuple_(Float64_97.658796, Float64_16.4785801) + Literal Tuple_(Float64_97.665535, Float64_16.4753572) + Literal Tuple_(Float64_97.670808, Float64_16.4730135) + Literal Tuple_(Float64_97.676082, Float64_16.4697907) + Literal Tuple_(Float64_97.680477, Float64_16.4677398) + Literal Tuple_(Float64_97.68575, Float64_16.4686189) + Literal Tuple_(Float64_97.689559, Float64_16.4727207) + Literal Tuple_(Float64_97.69454, Float64_16.4744788) + Literal Tuple_(Float64_97.698055, Float64_16.4747718) + Literal Tuple_(Float64_97.702157, Float64_16.4724279) + Literal Tuple_(Float64_97.703036, Float64_16.4683261) + Literal Tuple_(Float64_97.703036, Float64_16.4633453) + Literal Tuple_(Float64_97.702451, Float64_16.4594354) + Literal Tuple_(Float64_97.699533, Float64_16.4539205) + Literal Tuple_(Float64_97.699106, Float64_16.4521467) + Literal Tuple_(Float64_97.699896, Float64_16.4500714) + Literal Tuple_(Float64_97.701852, Float64_16.4474887) + Literal Tuple_(Float64_97.701272, Float64_16.4460233) + Literal Tuple_(Float64_97.699896, Float64_16.4439216) + Literal Tuple_(Float64_97.699857, Float64_16.4425297) + Literal Tuple_(Float64_97.700705, Float64_16.4417585) + Literal Tuple_(Float64_97.699266, Float64_16.4404319) + Literal Tuple_(Float64_97.696817, Float64_16.439585) + Literal Tuple_(Float64_97.69468, Float64_16.4391501) + Literal Tuple_(Float64_97.690854, Float64_16.439294) + Literal Tuple_(Float64_97.686571, Float64_16.4407665) + Literal Tuple_(Float64_97.683728, Float64_16.4428458) + Literal Tuple_(Float64_97.680647, Float64_16.444719) + Literal Tuple_(Float64_97.678369, Float64_16.445322) + Literal Tuple_(Float64_97.675195, Float64_16.4448526) + Literal Tuple_(Float64_97.672627, Float64_16.4435941) + Literal Tuple_(Float64_97.670568, Float64_16.4419727) + Literal Tuple_(Float64_97.667276, Float64_16.4410039) + Literal Tuple_(Float64_97.666215, Float64_16.439402) + Literal Tuple_(Float64_97.66599, Float64_16.43656) + Literal Tuple_(Float64_97.664579, Float64_16.435632) + Literal Tuple_(Float64_97.66195, Float64_16.4344612) + Literal Tuple_(Float64_97.659174, Float64_16.4324549) + Literal Tuple_(Float64_97.658693, Float64_16.4290256) + Literal Tuple_(Float64_97.659289, Float64_16.4246502) + Literal Tuple_(Float64_97.660882, Float64_16.422609) + Literal Tuple_(Float64_97.663533, Float64_16.4225057) + Literal Tuple_(Float64_97.666402, Float64_16.4210711) + Literal Tuple_(Float64_97.67148, Float64_16.4170395) + Literal Tuple_(Float64_97.673433, Float64_16.4146478) + Literal Tuple_(Float64_97.674184, Float64_16.4124121) + Literal Tuple_(Float64_97.6742, Float64_16.4085257) + Literal Tuple_(Float64_97.674894, Float64_16.4055148) + Literal Tuple_(Float64_97.675906, Float64_16.4019452) + Literal Tuple_(Float64_97.675287, Float64_16.3996593) + Literal Tuple_(Float64_97.675062, Float64_16.3963334) + Literal Tuple_(Float64_97.675798, Float64_16.3936434) + Literal Tuple_(Float64_97.675676, Float64_16.3909321) + Literal Tuple_(Float64_97.67508, Float64_16.386655) + Literal Tuple_(Float64_97.679839, Float64_16.386241) + Literal Tuple_(Float64_97.689403, Float64_16.3726191) + Literal Tuple_(Float64_97.692011, Float64_16.372909) + Literal Tuple_(Float64_97.696359, Float64_16.3679819) + Literal Tuple_(Float64_97.699866, Float64_16.360968) + Literal Tuple_(Float64_97.697233, Float64_16.3609438) + Literal Tuple_(Float64_97.693077, Float64_16.3596272) + Literal Tuple_(Float64_97.686631, Float64_16.3584552) + Literal Tuple_(Float64_97.68165, Float64_16.3558182) + Literal Tuple_(Float64_97.674619, Float64_16.3496653) + Literal Tuple_(Float64_97.667588, Float64_16.3482003) + Literal Tuple_(Float64_97.664072, Float64_16.3502511) + Literal Tuple_(Float64_97.659384, Float64_16.3540599) + Literal Tuple_(Float64_97.652353, Float64_16.3578686) + Literal Tuple_(Float64_97.649716, Float64_16.3625565) + Literal Tuple_(Float64_97.650595, Float64_16.3672443) + Literal Tuple_(Float64_97.65206, Float64_16.3701742) + Literal Tuple_(Float64_97.65206, Float64_16.3733971) + Literal Tuple_(Float64_97.651181, Float64_16.3760339) + Literal Tuple_(Float64_97.646493, Float64_16.3763268) + Literal Tuple_(Float64_97.6462, Float64_16.3801357) + Literal Tuple_(Float64_97.646786, Float64_16.3851165) + Literal Tuple_(Float64_97.643563, Float64_16.3883393) + Literal Tuple_(Float64_97.638583, Float64_16.3889252) + Literal Tuple_(Float64_97.636239, Float64_16.392148) + Literal Tuple_(Float64_97.630379, Float64_16.3933199) + Literal Tuple_(Float64_97.629132, Float64_16.3964903) + Literal Tuple_(Float64_97.624347, Float64_16.4056104) + Literal Tuple_(Float64_97.615377, Float64_16.4165245) + Literal Tuple_(Float64_97.614779, Float64_16.4229534) + Literal Tuple_(Float64_97.611938, Float64_16.4335685) + Literal Tuple_(Float64_97.613882, Float64_16.4410439) + Literal Tuple_(Float64_97.619713, Float64_16.4461272) + Literal Tuple_(Float64_97.62375, Float64_16.4542007) + Literal Tuple_(Float64_97.62345, Float64_16.4640683) + Literal Tuple_(Float64_97.618965, Float64_16.4793181) + Literal Tuple_(Float64_97.617321, Float64_16.4884382) + Literal Tuple_(Float64_97.617747, Float64_16.4985751) + Literal Tuple_(Float64_97.623301, Float64_16.5026416) + Literal Tuple_(Float64_97.629303, Float64_16.5016624) + Literal Tuple_(Float64_97.63272, Float64_16.4986048) + Literal Tuple_(Float64_97.640862, Float64_16.498226) + Literal Tuple_(Float64_97.647134, Float64_16.5006382) + Literal Tuple_(Float64_97.650873, Float64_16.5051263) + Literal Tuple_(Float64_97.654987, Float64_16.5089598) + Literal Tuple_(Float64_97.65639, Float64_16.5118583) + Literal Tuple_(Float64_97.658166, Float64_16.5160658) + Literal Tuple_(Float64_97.660395, Float64_16.5197566) + Literal Tuple_(Float64_97.66612, Float64_16.5140318) + Literal Tuple_(Float64_97.668757, Float64_16.507879) + Literal Tuple_(Float64_97.66905, Float64_16.5026053) diff --git a/parser/testdata/01214_point_in_Mecca/explain.txt b/parser/testdata/01214_point_in_Mecca/explain.txt new file mode 100644 index 000000000..bbde1bac3 --- /dev/null +++ b/parser/testdata/01214_point_in_Mecca/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'Outer part of Mecca\' diff --git a/parser/testdata/01214_test_storage_merge_aliases_with_where/explain.txt b/parser/testdata/01214_test_storage_merge_aliases_with_where/explain.txt new file mode 100644 index 000000000..c3dc0a5a2 --- /dev/null +++ b/parser/testdata/01214_test_storage_merge_aliases_with_where/explain.txt @@ -0,0 +1,2 @@ +DropQuery tt1 (children 1) + Identifier tt1 diff --git a/parser/testdata/01220_scalar_optimization_in_alter/explain.txt b/parser/testdata/01220_scalar_optimization_in_alter/explain.txt new file mode 100644 index 000000000..72738bf18 --- /dev/null +++ b/parser/testdata/01220_scalar_optimization_in_alter/explain.txt @@ -0,0 +1,2 @@ +DropQuery cdp_segments (children 1) + Identifier cdp_segments diff --git a/parser/testdata/01221_system_settings/explain.txt b/parser/testdata/01221_system_settings/explain.txt new file mode 100644 index 000000000..81260a5e4 --- /dev/null +++ b/parser/testdata/01221_system_settings/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.settings + Function equals (children 1) + ExpressionList (children 2) + Identifier name + Literal \'send_timeout\' diff --git a/parser/testdata/01222_system_codecs/explain.txt b/parser/testdata/01222_system_codecs/explain.txt new file mode 100644 index 000000000..6c75b8d41 --- /dev/null +++ b/parser/testdata/01222_system_codecs/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.codecs + ExpressionList (children 1) + OrderByElement (children 1) + Identifier all diff --git a/parser/testdata/01223_dist_on_dist/explain.txt b/parser/testdata/01223_dist_on_dist/explain.txt new file mode 100644 index 000000000..bac2d1db2 --- /dev/null +++ b/parser/testdata/01223_dist_on_dist/explain.txt @@ -0,0 +1,2 @@ +DropQuery merge_dist_01223 (children 1) + Identifier merge_dist_01223 diff --git a/parser/testdata/01224_no_superfluous_dict_reload/explain.txt b/parser/testdata/01224_no_superfluous_dict_reload/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01224_no_superfluous_dict_reload/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01225_drop_dictionary_as_table/explain.txt b/parser/testdata/01225_drop_dictionary_as_table/explain.txt new file mode 100644 index 000000000..c9ba5c537 --- /dev/null +++ b/parser/testdata/01225_drop_dictionary_as_table/explain.txt @@ -0,0 +1,11 @@ +CreateQuery dict_data (children 3) + Identifier dict_data + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration key (children 1) + DataType UInt64 + ColumnDeclaration val (children 1) + DataType UInt64 + Storage definition (children 1) + Function Memory (children 1) + ExpressionList diff --git a/parser/testdata/01225_show_create_table_from_dictionary/explain.txt b/parser/testdata/01225_show_create_table_from_dictionary/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01225_show_create_table_from_dictionary/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01226_dist_on_dist_global_in/explain.txt b/parser/testdata/01226_dist_on_dist_global_in/explain.txt new file mode 100644 index 000000000..e87b116e6 --- /dev/null +++ b/parser/testdata/01226_dist_on_dist_global_in/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'GLOBAL IN\' diff --git a/parser/testdata/01227_distributed_global_in_issue_2610/explain.txt b/parser/testdata/01227_distributed_global_in_issue_2610/explain.txt new file mode 100644 index 000000000..ab4d21d39 --- /dev/null +++ b/parser/testdata/01227_distributed_global_in_issue_2610/explain.txt @@ -0,0 +1,2 @@ +DropQuery data_01227 (children 1) + Identifier data_01227 diff --git a/parser/testdata/01227_distributed_merge_global_in_primary_key/explain.txt b/parser/testdata/01227_distributed_merge_global_in_primary_key/explain.txt new file mode 100644 index 000000000..0c99f08c9 --- /dev/null +++ b/parser/testdata/01227_distributed_merge_global_in_primary_key/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_merge (children 1) + Identifier test_merge diff --git a/parser/testdata/01230_join_get_truncate/explain.txt b/parser/testdata/01230_join_get_truncate/explain.txt new file mode 100644 index 000000000..7cee958f8 --- /dev/null +++ b/parser/testdata/01230_join_get_truncate/explain.txt @@ -0,0 +1,2 @@ +DropQuery join_test (children 1) + Identifier join_test diff --git a/parser/testdata/01231_distributed_aggregation_memory_efficient_mix_levels/explain.txt b/parser/testdata/01231_distributed_aggregation_memory_efficient_mix_levels/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01231_distributed_aggregation_memory_efficient_mix_levels/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01231_log_queries_min_type/explain.txt b/parser/testdata/01231_log_queries_min_type/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01231_log_queries_min_type/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01231_markdown_format/explain.txt b/parser/testdata/01231_markdown_format/explain.txt new file mode 100644 index 000000000..9fb98a25a --- /dev/null +++ b/parser/testdata/01231_markdown_format/explain.txt @@ -0,0 +1,2 @@ +DropQuery markdown (children 1) + Identifier markdown diff --git a/parser/testdata/01231_operator_null_in/explain.txt b/parser/testdata/01231_operator_null_in/explain.txt new file mode 100644 index 000000000..b81b7bc04 --- /dev/null +++ b/parser/testdata/01231_operator_null_in/explain.txt @@ -0,0 +1,2 @@ +DropQuery null_in (children 1) + Identifier null_in diff --git a/parser/testdata/01232_extremes/explain.txt b/parser/testdata/01232_extremes/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01232_extremes/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01232_untuple/explain.txt b/parser/testdata/01232_untuple/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01232_untuple/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01234_to_string_monotonic/explain.txt b/parser/testdata/01234_to_string_monotonic/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01234_to_string_monotonic/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01236_graphite_mt/explain.txt b/parser/testdata/01236_graphite_mt/explain.txt new file mode 100644 index 000000000..58be3090b --- /dev/null +++ b/parser/testdata/01236_graphite_mt/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_graphite (children 1) + Identifier test_graphite diff --git a/parser/testdata/01240_join_get_or_null/explain.txt b/parser/testdata/01240_join_get_or_null/explain.txt new file mode 100644 index 000000000..7cee958f8 --- /dev/null +++ b/parser/testdata/01240_join_get_or_null/explain.txt @@ -0,0 +1,2 @@ +DropQuery join_test (children 1) + Identifier join_test diff --git a/parser/testdata/01244_optimize_distributed_group_by_sharding_key/explain.txt b/parser/testdata/01244_optimize_distributed_group_by_sharding_key/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01244_optimize_distributed_group_by_sharding_key/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01245_distributed_group_by_no_merge_with-extremes_and_totals/explain.txt b/parser/testdata/01245_distributed_group_by_no_merge_with-extremes_and_totals/explain.txt new file mode 100644 index 000000000..e77f902cd --- /dev/null +++ b/parser/testdata/01245_distributed_group_by_no_merge_with-extremes_and_totals/explain.txt @@ -0,0 +1,25 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function sum (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.0.0.{1,2}\' + Identifier system.numbers + Literal UInt64_5 + Set diff --git a/parser/testdata/01245_limit_infinite_sources/explain.txt b/parser/testdata/01245_limit_infinite_sources/explain.txt new file mode 100644 index 000000000..6e53dc608 --- /dev/null +++ b/parser/testdata/01245_limit_infinite_sources/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Identifier number diff --git a/parser/testdata/01246_extractAllGroupsHorizontal/explain.txt b/parser/testdata/01246_extractAllGroupsHorizontal/explain.txt new file mode 100644 index 000000000..c262a6f80 --- /dev/null +++ b/parser/testdata/01246_extractAllGroupsHorizontal/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function extractAllGroupsHorizontal (children 1) + ExpressionList +The query succeeded but the server error '42' was expected (query: EXPLAIN AST SELECT extractAllGroupsHorizontal(); --{serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH} not enough arguments). diff --git a/parser/testdata/01246_extractAllGroupsVertical/explain.txt b/parser/testdata/01246_extractAllGroupsVertical/explain.txt new file mode 100644 index 000000000..d462691f1 --- /dev/null +++ b/parser/testdata/01246_extractAllGroupsVertical/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function extractAllGroupsVertical (children 1) + ExpressionList +The query succeeded but the server error '42' was expected (query: EXPLAIN AST SELECT extractAllGroupsVertical(); --{serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH} not enough arguments). diff --git a/parser/testdata/01246_finalize_aggregation_race/explain.txt b/parser/testdata/01246_finalize_aggregation_race/explain.txt new file mode 100644 index 000000000..fb15b29c0 --- /dev/null +++ b/parser/testdata/01246_finalize_aggregation_race/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_quantile (children 1) + Identifier test_quantile diff --git a/parser/testdata/01246_least_greatest_generic/explain.txt b/parser/testdata/01246_least_greatest_generic/explain.txt new file mode 100644 index 000000000..389a80485 --- /dev/null +++ b/parser/testdata/01246_least_greatest_generic/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function least (children 1) + ExpressionList (children 2) + Literal \'hello\' + Literal \'world\' diff --git a/parser/testdata/01247_least_greatest_filimonov/explain.txt b/parser/testdata/01247_least_greatest_filimonov/explain.txt new file mode 100644 index 000000000..88952c9c9 --- /dev/null +++ b/parser/testdata/01247_least_greatest_filimonov/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function GREATEST (children 1) + ExpressionList (children 2) + Literal UInt64_2 + Literal UInt64_0 diff --git a/parser/testdata/01247_optimize_distributed_group_by_sharding_key_dist_on_dist/explain.txt b/parser/testdata/01247_optimize_distributed_group_by_sharding_key_dist_on_dist/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01247_optimize_distributed_group_by_sharding_key_dist_on_dist/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01247_some_msan_crashs_from_22517/explain.txt b/parser/testdata/01247_some_msan_crashs_from_22517/explain.txt new file mode 100644 index 000000000..0db1bfd77 --- /dev/null +++ b/parser/testdata/01247_some_msan_crashs_from_22517/explain.txt @@ -0,0 +1,22 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier a + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function ignore (alias a) (children 1) + ExpressionList (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Identifier a (alias b) diff --git a/parser/testdata/01248_least_greatest_mixed_const/explain.txt b/parser/testdata/01248_least_greatest_mixed_const/explain.txt new file mode 100644 index 000000000..67588ebd1 --- /dev/null +++ b/parser/testdata/01248_least_greatest_mixed_const/explain.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function least (children 1) + ExpressionList (children 3) + Literal UInt64_4 + Identifier number + Literal UInt64_6 + Function greatest (children 1) + ExpressionList (children 3) + Literal UInt64_4 + Identifier number + Literal UInt64_6 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 diff --git a/parser/testdata/01249_bad_arguments_for_bloom_filter/explain.txt b/parser/testdata/01249_bad_arguments_for_bloom_filter/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01249_bad_arguments_for_bloom_filter/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01250_fixed_string_comparison/metadata.json b/parser/testdata/01250_fixed_string_comparison/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01250_fixed_string_comparison/metadata.json +++ b/parser/testdata/01250_fixed_string_comparison/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01251_dict_is_in_infinite_loop/explain.txt b/parser/testdata/01251_dict_is_in_infinite_loop/explain.txt new file mode 100644 index 000000000..12350680f --- /dev/null +++ b/parser/testdata/01251_dict_is_in_infinite_loop/explain.txt @@ -0,0 +1,2 @@ +DropQuery database_for_dict (children 1) + Identifier database_for_dict diff --git a/parser/testdata/01251_string_comparison/explain.txt b/parser/testdata/01251_string_comparison/explain.txt new file mode 100644 index 000000000..c49713b66 --- /dev/null +++ b/parser/testdata/01251_string_comparison/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function isConstant (children 1) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Literal \'a\' + Literal \'b\' diff --git a/parser/testdata/01252_weird_time_zone/explain.txt b/parser/testdata/01252_weird_time_zone/explain.txt new file mode 100644 index 000000000..8fdb87c6b --- /dev/null +++ b/parser/testdata/01252_weird_time_zone/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 4) + Literal \'Pacific/Kiritimati\' + Function toDateTime (alias x) (children 1) + ExpressionList (children 2) + Literal \'2020-01-02 03:04:05\' + Literal \'Pacific/Kiritimati\' + Function toStartOfDay (children 1) + ExpressionList (children 1) + Identifier x + Function toHour (children 1) + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/01253_subquery_in_aggregate_function_JustStranger/explain.txt b/parser/testdata/01253_subquery_in_aggregate_function_JustStranger/explain.txt new file mode 100644 index 000000000..d4bf1aa3f --- /dev/null +++ b/parser/testdata/01253_subquery_in_aggregate_function_JustStranger/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_table (children 1) + Identifier test_table diff --git a/parser/testdata/01254_array_of_unnamed_tuples/explain.txt b/parser/testdata/01254_array_of_unnamed_tuples/explain.txt new file mode 100644 index 000000000..811793e88 --- /dev/null +++ b/parser/testdata/01254_array_of_unnamed_tuples/explain.txt @@ -0,0 +1,2 @@ +DropQuery mass_table_457 (children 1) + Identifier mass_table_457 diff --git a/parser/testdata/01254_dict_create_without_db/explain.txt b/parser/testdata/01254_dict_create_without_db/explain.txt new file mode 100644 index 000000000..c9ba5c537 --- /dev/null +++ b/parser/testdata/01254_dict_create_without_db/explain.txt @@ -0,0 +1,11 @@ +CreateQuery dict_data (children 3) + Identifier dict_data + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration key (children 1) + DataType UInt64 + ColumnDeclaration val (children 1) + DataType UInt64 + Storage definition (children 1) + Function Memory (children 1) + ExpressionList diff --git a/parser/testdata/01254_dict_load_after_detach_attach/explain.txt b/parser/testdata/01254_dict_load_after_detach_attach/explain.txt new file mode 100644 index 000000000..c9ba5c537 --- /dev/null +++ b/parser/testdata/01254_dict_load_after_detach_attach/explain.txt @@ -0,0 +1,11 @@ +CreateQuery dict_data (children 3) + Identifier dict_data + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration key (children 1) + DataType UInt64 + ColumnDeclaration val (children 1) + DataType UInt64 + Storage definition (children 1) + Function Memory (children 1) + ExpressionList diff --git a/parser/testdata/01255_geo_types_livace/explain.txt b/parser/testdata/01255_geo_types_livace/explain.txt new file mode 100644 index 000000000..628f28439 --- /dev/null +++ b/parser/testdata/01255_geo_types_livace/explain.txt @@ -0,0 +1,2 @@ +DropQuery tutorial (children 1) + Identifier tutorial diff --git a/parser/testdata/01256_misspell_layout_name_podshumok/metadata.json b/parser/testdata/01256_misspell_layout_name_podshumok/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01256_misspell_layout_name_podshumok/metadata.json +++ b/parser/testdata/01256_misspell_layout_name_podshumok/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01256_negative_generate_random/explain.txt b/parser/testdata/01256_negative_generate_random/explain.txt new file mode 100644 index 000000000..4aaea8911 --- /dev/null +++ b/parser/testdata/01256_negative_generate_random/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function generateRandom (children 1) + ExpressionList (children 4) + Literal \'i8\' + Literal UInt64_1 + Literal UInt64_10 + Literal UInt64_10 +The query succeeded but the server error '62' was expected (query: EXPLAIN AST SELECT * FROM generateRandom('i8', 1, 10, 10); -- { serverError SYNTAX_ERROR }). diff --git a/parser/testdata/01257_dictionary_mismatch_types/explain.txt b/parser/testdata/01257_dictionary_mismatch_types/explain.txt new file mode 100644 index 000000000..7304c350c --- /dev/null +++ b/parser/testdata/01257_dictionary_mismatch_types/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_dict_db (children 1) + Identifier test_dict_db diff --git a/parser/testdata/01258_wrong_cast_filimonov/explain.txt b/parser/testdata/01258_wrong_cast_filimonov/explain.txt new file mode 100644 index 000000000..7d52f3d46 --- /dev/null +++ b/parser/testdata/01258_wrong_cast_filimonov/explain.txt @@ -0,0 +1,38 @@ +CreateQuery x (children 3) + Identifier x + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration id (children 1) + DataType UInt64 + ColumnDeclaration t (children 2) + DataType AggregateFunction (children 1) + ExpressionList (children 3) + Identifier argMax + DataType Enum8 (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Literal \'\' + Literal Int64_-1 + Function equals (children 1) + ExpressionList (children 2) + Literal \'Male\' + Literal UInt64_1 + Function equals (children 1) + ExpressionList (children 2) + Literal \'Female\' + Literal UInt64_2 + DataType UInt64 + Function arrayReduce (children 1) + ExpressionList (children 3) + Literal \'argMaxState\' + Literal Array_[\'cast(-1, \\\'Enum8(\\\'\\\' = -1, \\\'Male\\\' = 1, \\\'Female\\\' = 2)\'] + Function array (children 1) + ExpressionList (children 1) + Function toUInt64 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Storage definition (children 2) + Function MergeTree + Identifier id +The query succeeded but the server error '70' was expected (query: EXPLAIN AST create table x( id UInt64, t AggregateFunction(argMax, Enum8('' = -1, 'Male' = 1, 'Female' = 2), UInt64) DEFAULT arrayReduce('argMaxState', ['cast(-1, \'Enum8(\'\' = -1, \'Male\' = 1, \'Female\' = 2)'], [toUInt64(0)]) ) Engine=MergeTree ORDER BY id; -- { serverError CANNOT_CONVERT_TYPE }). diff --git a/parser/testdata/01259_combinator_distinct/explain.txt b/parser/testdata/01259_combinator_distinct/explain.txt new file mode 100644 index 000000000..6e8050e0a --- /dev/null +++ b/parser/testdata/01259_combinator_distinct/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function sumDistinct (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers_mt (children 1) + ExpressionList (children 1) + Literal UInt64_100000 diff --git a/parser/testdata/01259_combinator_distinct_distributed/explain.txt b/parser/testdata/01259_combinator_distinct_distributed/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01259_combinator_distinct_distributed/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01259_datetime64_ubsan/explain.txt b/parser/testdata/01259_datetime64_ubsan/explain.txt new file mode 100644 index 000000000..7e8d64987 --- /dev/null +++ b/parser/testdata/01259_datetime64_ubsan/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function now64 (children 1) + ExpressionList (children 1) + Literal UInt64_10 +The query succeeded but the server error '69' was expected (query: EXPLAIN AST select now64(10); -- { serverError ARGUMENT_OUT_OF_BOUND }). diff --git a/parser/testdata/01259_dictionary_custom_settings_ddl/explain.txt b/parser/testdata/01259_dictionary_custom_settings_ddl/explain.txt new file mode 100644 index 000000000..1b4dc8ea3 --- /dev/null +++ b/parser/testdata/01259_dictionary_custom_settings_ddl/explain.txt @@ -0,0 +1,2 @@ +CreateQuery table_for_dict (children 1) + Identifier table_for_dict diff --git a/parser/testdata/01260_ubsan_decimal_parse/explain.txt b/parser/testdata/01260_ubsan_decimal_parse/explain.txt new file mode 100644 index 000000000..e300ea813 --- /dev/null +++ b/parser/testdata/01260_ubsan_decimal_parse/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toDecimal32OrZero (children 1) + ExpressionList (children 2) + Function CAST (children 1) + ExpressionList (children 2) + Literal Int64_-7174046 + Literal \'String\' + Literal UInt64_6 diff --git a/parser/testdata/01262_fractional_timezone_near_start_of_epoch/explain.txt b/parser/testdata/01262_fractional_timezone_near_start_of_epoch/explain.txt new file mode 100644 index 000000000..07c665ac6 --- /dev/null +++ b/parser/testdata/01262_fractional_timezone_near_start_of_epoch/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toDateTime (children 1) + ExpressionList (children 2) + Literal UInt64_10000 + Literal \'Asia/Calcutta\' diff --git a/parser/testdata/01262_low_cardinality_remove/explain.txt b/parser/testdata/01262_low_cardinality_remove/explain.txt new file mode 100644 index 000000000..6cc5f14d6 --- /dev/null +++ b/parser/testdata/01262_low_cardinality_remove/explain.txt @@ -0,0 +1,2 @@ +DropQuery testView (children 1) + Identifier testView diff --git a/parser/testdata/01263_type_conversion_nvartolomei/explain.txt b/parser/testdata/01263_type_conversion_nvartolomei/explain.txt new file mode 100644 index 000000000..d55ffe596 --- /dev/null +++ b/parser/testdata/01263_type_conversion_nvartolomei/explain.txt @@ -0,0 +1,2 @@ +DropQuery m (children 1) + Identifier m diff --git a/parser/testdata/01264_nested_baloo_bear/explain.txt b/parser/testdata/01264_nested_baloo_bear/explain.txt new file mode 100644 index 000000000..137e2a7a3 --- /dev/null +++ b/parser/testdata/01264_nested_baloo_bear/explain.txt @@ -0,0 +1,2 @@ +DropQuery LOG_T (children 1) + Identifier LOG_T diff --git a/parser/testdata/01265_datetime_string_comparison_felix_mueller/explain.txt b/parser/testdata/01265_datetime_string_comparison_felix_mueller/explain.txt new file mode 100644 index 000000000..ec1c54517 --- /dev/null +++ b/parser/testdata/01265_datetime_string_comparison_felix_mueller/explain.txt @@ -0,0 +1,2 @@ +DropQuery tztest (children 1) + Identifier tztest diff --git a/parser/testdata/01266_default_prewhere_reqq/explain.txt b/parser/testdata/01266_default_prewhere_reqq/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/01266_default_prewhere_reqq/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/01267_alter_default_key_columns_zookeeper_long/explain.txt b/parser/testdata/01267_alter_default_key_columns_zookeeper_long/explain.txt new file mode 100644 index 000000000..1ffa55c28 --- /dev/null +++ b/parser/testdata/01267_alter_default_key_columns_zookeeper_long/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_alter (children 1) + Identifier test_alter diff --git a/parser/testdata/01268_DateTime64_in_WHERE/explain.txt b/parser/testdata/01268_DateTime64_in_WHERE/explain.txt new file mode 100644 index 000000000..a529acc46 --- /dev/null +++ b/parser/testdata/01268_DateTime64_in_WHERE/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Literal \'2020-02-05 14:34:12.333\' (alias S) + Function toDateTime64 (alias DT64) (children 1) + ExpressionList (children 2) + Identifier S + Literal UInt64_3 + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier DT64 + Function materialize (children 1) + ExpressionList (children 1) + Identifier S +The query succeeded but the server error '43' was expected (query: EXPLAIN AST WITH '2020-02-05 14:34:12.333' as S, toDateTime64(S, 3) as DT64 SELECT DT64 = materialize(S); -- {serverError ILLEGAL_TYPE_OF_ARGUMENT}). diff --git a/parser/testdata/01268_data_numeric_parameters/explain.txt b/parser/testdata/01268_data_numeric_parameters/explain.txt new file mode 100644 index 000000000..7811fb443 --- /dev/null +++ b/parser/testdata/01268_data_numeric_parameters/explain.txt @@ -0,0 +1,2 @@ +DropQuery ints (children 1) + Identifier ints diff --git a/parser/testdata/01268_dictionary_direct_layout/explain.txt b/parser/testdata/01268_dictionary_direct_layout/explain.txt new file mode 100644 index 000000000..393f893db --- /dev/null +++ b/parser/testdata/01268_dictionary_direct_layout/explain.txt @@ -0,0 +1,2 @@ +DropQuery database_for_dict_01268 (children 1) + Identifier database_for_dict_01268 diff --git a/parser/testdata/01268_mergine_sorted_limit/explain.txt b/parser/testdata/01268_mergine_sorted_limit/explain.txt new file mode 100644 index 000000000..0a00b06d1 --- /dev/null +++ b/parser/testdata/01268_mergine_sorted_limit/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab (children 1) + Identifier tab diff --git a/parser/testdata/01268_mv_scalars/explain.txt b/parser/testdata/01268_mv_scalars/explain.txt new file mode 100644 index 000000000..7228197ee --- /dev/null +++ b/parser/testdata/01268_mv_scalars/explain.txt @@ -0,0 +1,2 @@ +DropQuery dest_table_mv (children 1) + Identifier dest_table_mv diff --git a/parser/testdata/01268_shard_avgweighted/explain.txt b/parser/testdata/01268_shard_avgweighted/explain.txt new file mode 100644 index 000000000..4f81d9e7e --- /dev/null +++ b/parser/testdata/01268_shard_avgweighted/explain.txt @@ -0,0 +1,9 @@ +CreateQuery dummy (children 3) + Identifier dummy + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration foo (children 1) + DataType Int64 + Storage definition (children 1) + Function Memory (children 1) + ExpressionList diff --git a/parser/testdata/01269_alias_type_differs/explain.txt b/parser/testdata/01269_alias_type_differs/explain.txt new file mode 100644 index 000000000..fe5d44254 --- /dev/null +++ b/parser/testdata/01269_alias_type_differs/explain.txt @@ -0,0 +1,2 @@ +DropQuery data_01269 (children 1) + Identifier data_01269 diff --git a/parser/testdata/01269_create_with_null/explain.txt b/parser/testdata/01269_create_with_null/explain.txt new file mode 100644 index 000000000..ac2f3cb65 --- /dev/null +++ b/parser/testdata/01269_create_with_null/explain.txt @@ -0,0 +1,2 @@ +DropQuery data_null (children 1) + Identifier data_null diff --git a/parser/testdata/01269_toStartOfSecond/explain.txt b/parser/testdata/01269_toStartOfSecond/explain.txt new file mode 100644 index 000000000..f62763122 --- /dev/null +++ b/parser/testdata/01269_toStartOfSecond/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toStartOfSecond (children 1) + ExpressionList (children 1) + Literal \'123\' +The query succeeded but the server error '43' was expected (query: EXPLAIN AST SELECT toStartOfSecond('123'); -- {serverError ILLEGAL_TYPE_OF_ARGUMENT}). diff --git a/parser/testdata/01270_optimize_skip_unused_shards_low_cardinality/explain.txt b/parser/testdata/01270_optimize_skip_unused_shards_low_cardinality/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01270_optimize_skip_unused_shards_low_cardinality/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01271_optimize_arithmetic_operations_in_aggr_func_long/explain.txt b/parser/testdata/01271_optimize_arithmetic_operations_in_aggr_func_long/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01271_optimize_arithmetic_operations_in_aggr_func_long/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01271_optimize_arithmetic_operations_in_aggr_func_with_alias/explain.txt b/parser/testdata/01271_optimize_arithmetic_operations_in_aggr_func_with_alias/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01271_optimize_arithmetic_operations_in_aggr_func_with_alias/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01271_show_privileges/explain.txt b/parser/testdata/01271_show_privileges/explain.txt new file mode 100644 index 000000000..5423d36fd --- /dev/null +++ b/parser/testdata/01271_show_privileges/explain.txt @@ -0,0 +1 @@ +ShowPrivilegesQuery diff --git a/parser/testdata/01272_offset_without_limit/explain.txt b/parser/testdata/01272_offset_without_limit/explain.txt new file mode 100644 index 000000000..b45e7a853 --- /dev/null +++ b/parser/testdata/01272_offset_without_limit/explain.txt @@ -0,0 +1,2 @@ +DropQuery offset_without_limit (children 1) + Identifier offset_without_limit diff --git a/parser/testdata/01272_suspicious_codecs/explain.txt b/parser/testdata/01272_suspicious_codecs/explain.txt new file mode 100644 index 000000000..fa876ce12 --- /dev/null +++ b/parser/testdata/01272_suspicious_codecs/explain.txt @@ -0,0 +1,2 @@ +DropQuery codecs (children 1) + Identifier codecs diff --git a/parser/testdata/01272_totals_and_filter_bug/explain.txt b/parser/testdata/01272_totals_and_filter_bug/explain.txt new file mode 100644 index 000000000..42e1e5aeb --- /dev/null +++ b/parser/testdata/01272_totals_and_filter_bug/explain.txt @@ -0,0 +1,29 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Identifier number + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_2 + ExpressionList (children 1) + Identifier number + Function greater (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_0 + Set diff --git a/parser/testdata/01273_extractGroups/explain.txt b/parser/testdata/01273_extractGroups/explain.txt new file mode 100644 index 000000000..e739794fb --- /dev/null +++ b/parser/testdata/01273_extractGroups/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function extractGroups (children 1) + ExpressionList +The query succeeded but the server error '42' was expected (query: EXPLAIN AST SELECT extractGroups(); --{serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH} not enough arguments). diff --git a/parser/testdata/01273_h3EdgeAngle_range_check/explain.txt b/parser/testdata/01273_h3EdgeAngle_range_check/explain.txt new file mode 100644 index 000000000..3ab4afd3e --- /dev/null +++ b/parser/testdata/01273_h3EdgeAngle_range_check/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function h3EdgeAngle (children 1) + ExpressionList (children 1) + Literal UInt64_100 +The query succeeded but the server error '69' was expected (query: EXPLAIN AST SELECT h3EdgeAngle(100); -- { serverError ARGUMENT_OUT_OF_BOUND }). diff --git a/parser/testdata/01273_lc_fixed_string_field/explain.txt b/parser/testdata/01273_lc_fixed_string_field/explain.txt new file mode 100644 index 000000000..11ed2798b --- /dev/null +++ b/parser/testdata/01273_lc_fixed_string_field/explain.txt @@ -0,0 +1,2 @@ +CreateQuery t (children 1) + Identifier t diff --git a/parser/testdata/01274_alter_rename_column_distributed/explain.txt b/parser/testdata/01274_alter_rename_column_distributed/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01274_alter_rename_column_distributed/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01275_alter_rename_column_default_expr/explain.txt b/parser/testdata/01275_alter_rename_column_default_expr/explain.txt new file mode 100644 index 000000000..e724e5c8c --- /dev/null +++ b/parser/testdata/01275_alter_rename_column_default_expr/explain.txt @@ -0,0 +1,2 @@ +DropQuery table_for_rename (children 1) + Identifier table_for_rename diff --git a/parser/testdata/01275_extract_groups_check/explain.txt b/parser/testdata/01275_extract_groups_check/explain.txt new file mode 100644 index 000000000..58febb1fa --- /dev/null +++ b/parser/testdata/01275_extract_groups_check/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function extractGroups (children 1) + ExpressionList (children 2) + Literal \'hello\' + Literal \'\' +The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT extractGroups('hello', ''); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/01276_alter_rename_column_materialized_expr/explain.txt b/parser/testdata/01276_alter_rename_column_materialized_expr/explain.txt new file mode 100644 index 000000000..e724e5c8c --- /dev/null +++ b/parser/testdata/01276_alter_rename_column_materialized_expr/explain.txt @@ -0,0 +1,2 @@ +DropQuery table_for_rename (children 1) + Identifier table_for_rename diff --git a/parser/testdata/01276_random_string/explain.txt b/parser/testdata/01276_random_string/explain.txt new file mode 100644 index 000000000..ae0ac748e --- /dev/null +++ b/parser/testdata/01276_random_string/explain.txt @@ -0,0 +1,53 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function greater (children 1) + ExpressionList (children 2) + Identifier c + Literal UInt64_30000 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 2) + Function arrayJoin (alias byte) (children 1) + ExpressionList (children 1) + Function arrayMap (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function reinterpretAsUInt8 (children 1) + ExpressionList (children 1) + Function substring (children 1) + ExpressionList (children 3) + Function randomString (children 1) + ExpressionList (children 1) + Literal UInt64_100 + Function plus (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_1 + Literal UInt64_1 + Function range (children 1) + ExpressionList (children 1) + Literal UInt64_100 + Function count (alias c) (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_100000 + ExpressionList (children 1) + Identifier byte + ExpressionList (children 1) + OrderByElement (children 1) + Identifier byte diff --git a/parser/testdata/01276_system_licenses/explain.txt b/parser/testdata/01276_system_licenses/explain.txt new file mode 100644 index 000000000..4724c2ac0 --- /dev/null +++ b/parser/testdata/01276_system_licenses/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function greater (children 1) + ExpressionList (children 2) + Function count (children 1) + ExpressionList + Literal UInt64_10 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.licenses diff --git a/parser/testdata/01277_alter_rename_column_constraint/explain.txt b/parser/testdata/01277_alter_rename_column_constraint/explain.txt new file mode 100644 index 000000000..e724e5c8c --- /dev/null +++ b/parser/testdata/01277_alter_rename_column_constraint/explain.txt @@ -0,0 +1,2 @@ +DropQuery table_for_rename (children 1) + Identifier table_for_rename diff --git a/parser/testdata/01277_alter_rename_column_constraint_zookeeper_long/explain.txt b/parser/testdata/01277_alter_rename_column_constraint_zookeeper_long/explain.txt new file mode 100644 index 000000000..54bdcc7d1 --- /dev/null +++ b/parser/testdata/01277_alter_rename_column_constraint_zookeeper_long/explain.txt @@ -0,0 +1,2 @@ +DropQuery table_for_rename1 (children 1) + Identifier table_for_rename1 diff --git a/parser/testdata/01277_buffer_column_order/explain.txt b/parser/testdata/01277_buffer_column_order/explain.txt new file mode 100644 index 000000000..302ef8af0 --- /dev/null +++ b/parser/testdata/01277_buffer_column_order/explain.txt @@ -0,0 +1,2 @@ +DropQuery out_01277 (children 1) + Identifier out_01277 diff --git a/parser/testdata/01277_convert_field_to_type_logical_error/explain.txt b/parser/testdata/01277_convert_field_to_type_logical_error/explain.txt new file mode 100644 index 000000000..33212e3ca --- /dev/null +++ b/parser/testdata/01277_convert_field_to_type_logical_error/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 3) + Literal Int64_-2487 + Function globalNullIn (children 1) + ExpressionList (children 2) + Function toIntervalMinute (children 1) + ExpressionList (children 1) + Literal Int64_-88074 + Literal \'qEkek..\' + Literal Array_[Float64_-27.537293] +The query succeeded but the server error '53' was expected (query: EXPLAIN AST SELECT -2487, globalNullIn(toIntervalMinute(-88074), 'qEkek..'), [-27.537293]; -- { serverError TYPE_MISMATCH }). diff --git a/parser/testdata/01277_fromUnixTimestamp64/explain.txt b/parser/testdata/01277_fromUnixTimestamp64/explain.txt new file mode 100644 index 000000000..18df226ed --- /dev/null +++ b/parser/testdata/01277_fromUnixTimestamp64/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function fromUnixTimestamp64Second (children 1) + ExpressionList +The query succeeded but the server error '42' was expected (query: EXPLAIN AST SELECT fromUnixTimestamp64Second(); -- {serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH}). diff --git a/parser/testdata/01277_large_tuples/metadata.json b/parser/testdata/01277_large_tuples/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01277_large_tuples/metadata.json +++ b/parser/testdata/01277_large_tuples/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01277_random_fixed_string/explain.txt b/parser/testdata/01277_random_fixed_string/explain.txt new file mode 100644 index 000000000..c6d0b2999 --- /dev/null +++ b/parser/testdata/01277_random_fixed_string/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function randomFixedString (children 1) + ExpressionList (children 1) + Literal \'string\' +The query succeeded but the server error '43' was expected (query: EXPLAIN AST SELECT randomFixedString('string'); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }). diff --git a/parser/testdata/01277_toUnixTimestamp64/explain.txt b/parser/testdata/01277_toUnixTimestamp64/explain.txt new file mode 100644 index 000000000..b4b95a828 --- /dev/null +++ b/parser/testdata/01277_toUnixTimestamp64/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toUnixTimestamp64Second (children 1) + ExpressionList +The query succeeded but the server error '42' was expected (query: EXPLAIN AST SELECT toUnixTimestamp64Second(); -- {serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH}). diff --git a/parser/testdata/01277_unixTimestamp64_compatibility/metadata.json b/parser/testdata/01277_unixTimestamp64_compatibility/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01277_unixTimestamp64_compatibility/metadata.json +++ b/parser/testdata/01277_unixTimestamp64_compatibility/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01278_alter_rename_combination/explain.txt b/parser/testdata/01278_alter_rename_combination/explain.txt new file mode 100644 index 000000000..bbfffd2e7 --- /dev/null +++ b/parser/testdata/01278_alter_rename_combination/explain.txt @@ -0,0 +1,2 @@ +DropQuery rename_table (children 1) + Identifier rename_table diff --git a/parser/testdata/01278_random_string_utf8/explain.txt b/parser/testdata/01278_random_string_utf8/explain.txt new file mode 100644 index 000000000..8e529edcf --- /dev/null +++ b/parser/testdata/01278_random_string_utf8/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function randomStringUTF8 (children 1) + ExpressionList (children 1) + Literal \'string\' +The query succeeded but the server error '43' was expected (query: EXPLAIN AST SELECT randomStringUTF8('string'); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }). diff --git a/parser/testdata/01278_variance_nonnegative/explain.txt b/parser/testdata/01278_variance_nonnegative/explain.txt new file mode 100644 index 000000000..b19abe861 --- /dev/null +++ b/parser/testdata/01278_variance_nonnegative/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function varSamp (children 1) + ExpressionList (children 1) + Literal Float64_0.1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1000000 diff --git a/parser/testdata/01279_dist_group_by/explain.txt b/parser/testdata/01279_dist_group_by/explain.txt new file mode 100644 index 000000000..20dfd934a --- /dev/null +++ b/parser/testdata/01279_dist_group_by/explain.txt @@ -0,0 +1,2 @@ +DropQuery data_01279 (children 1) + Identifier data_01279 diff --git a/parser/testdata/01280_min_map_max_map/explain.txt b/parser/testdata/01280_min_map_max_map/explain.txt new file mode 100644 index 000000000..a7dd4ae7e --- /dev/null +++ b/parser/testdata/01280_min_map_max_map/explain.txt @@ -0,0 +1,35 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function minMap (alias m) (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList (children 2) + Function toInt32 (children 1) + ExpressionList (children 1) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 + Function plus (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 + Literal UInt64_1 + Function array (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_1 + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier m + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal UInt64_100 diff --git a/parser/testdata/01280_null_in/explain.txt b/parser/testdata/01280_null_in/explain.txt new file mode 100644 index 000000000..4ff8ddb9b --- /dev/null +++ b/parser/testdata/01280_null_in/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function count (children 1) + ExpressionList (children 1) + Function in (children 1) + ExpressionList (children 2) + Literal NULL + Function array (children 1) + ExpressionList diff --git a/parser/testdata/01280_opencl_bitonic_order_by/explain.txt b/parser/testdata/01280_opencl_bitonic_order_by/explain.txt new file mode 100644 index 000000000..b979b29a2 --- /dev/null +++ b/parser/testdata/01280_opencl_bitonic_order_by/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function toUInt8 (alias x) (children 1) + ExpressionList (children 1) + Function multiply (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_42 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier x diff --git a/parser/testdata/01280_ttl_where_group_by_negative/explain.txt b/parser/testdata/01280_ttl_where_group_by_negative/explain.txt new file mode 100644 index 000000000..27fe0fd19 --- /dev/null +++ b/parser/testdata/01280_ttl_where_group_by_negative/explain.txt @@ -0,0 +1,29 @@ +CreateQuery ttl_01280_error (children 3) + Identifier ttl_01280_error + Columns definition (children 1) + ExpressionList (children 5) + ColumnDeclaration a (children 1) + DataType Int + ColumnDeclaration b (children 1) + DataType Int + ColumnDeclaration x (children 1) + DataType Int64 + ColumnDeclaration y (children 1) + DataType Int64 + ColumnDeclaration d (children 1) + DataType DateTime + Storage definition (children 3) + Function MergeTree + Function tuple (children 1) + ExpressionList (children 2) + Identifier a + Identifier b + ExpressionList (children 1) + TTLElement (children 1) + Function plus (children 1) + ExpressionList (children 2) + Identifier d + Function toIntervalSecond (children 1) + ExpressionList (children 1) + Literal UInt64_1 +The query succeeded but the server error '450' was expected (query: EXPLAIN AST create table ttl_01280_error (a Int, b Int, x Int64, y Int64, d DateTime) engine = MergeTree order by (a, b) ttl d + interval 1 second group by x set y = max(y); -- { serverError BAD_TTL_EXPRESSION}). diff --git a/parser/testdata/01280_unicode_whitespaces_lexer/explain.txt b/parser/testdata/01280_unicode_whitespaces_lexer/explain.txt new file mode 100644 index 000000000..8827c47de --- /dev/null +++ b/parser/testdata/01280_unicode_whitespaces_lexer/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/01281_alter_rename_and_other_renames/explain.txt b/parser/testdata/01281_alter_rename_and_other_renames/explain.txt new file mode 100644 index 000000000..8942e6dd2 --- /dev/null +++ b/parser/testdata/01281_alter_rename_and_other_renames/explain.txt @@ -0,0 +1,2 @@ +DropQuery rename_table_multiple (children 1) + Identifier rename_table_multiple diff --git a/parser/testdata/01281_join_with_prewhere_fix/explain.txt b/parser/testdata/01281_join_with_prewhere_fix/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/01281_join_with_prewhere_fix/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/01281_parseDateTime64BestEffort/explain.txt b/parser/testdata/01281_parseDateTime64BestEffort/explain.txt new file mode 100644 index 000000000..d17a1120b --- /dev/null +++ b/parser/testdata/01281_parseDateTime64BestEffort/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function parseDateTime64BestEffort (children 1) + ExpressionList +The query succeeded but the server error '42' was expected (query: EXPLAIN AST SELECT parseDateTime64BestEffort(); -- {serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH}). diff --git a/parser/testdata/01281_sum_nullable/explain.txt b/parser/testdata/01281_sum_nullable/explain.txt new file mode 100644 index 000000000..a29ac3c98 --- /dev/null +++ b/parser/testdata/01281_sum_nullable/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function sumKahan (children 1) + ExpressionList (children 1) + Function toFloat64 (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 diff --git a/parser/testdata/01281_unsucceeded_insert_select_queries_counter/explain.txt b/parser/testdata/01281_unsucceeded_insert_select_queries_counter/explain.txt new file mode 100644 index 000000000..5ab2b9106 --- /dev/null +++ b/parser/testdata/01281_unsucceeded_insert_select_queries_counter/explain.txt @@ -0,0 +1,2 @@ +DropQuery to_insert (children 1) + Identifier to_insert diff --git a/parser/testdata/01282_system_parts_ttl_info/explain.txt b/parser/testdata/01282_system_parts_ttl_info/explain.txt new file mode 100644 index 000000000..9e20a5fdb --- /dev/null +++ b/parser/testdata/01282_system_parts_ttl_info/explain.txt @@ -0,0 +1,2 @@ +DropQuery ttl (children 1) + Identifier ttl diff --git a/parser/testdata/01283_max_threads_simple_query_optimization/explain.txt b/parser/testdata/01283_max_threads_simple_query_optimization/explain.txt new file mode 100644 index 000000000..2c6729695 --- /dev/null +++ b/parser/testdata/01283_max_threads_simple_query_optimization/explain.txt @@ -0,0 +1,2 @@ +DropQuery data_01283 (children 1) + Identifier data_01283 diff --git a/parser/testdata/01283_strict_resize_bug/explain.txt b/parser/testdata/01283_strict_resize_bug/explain.txt new file mode 100644 index 000000000..a90ad85ce --- /dev/null +++ b/parser/testdata/01283_strict_resize_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery num_10m (children 1) + Identifier num_10m diff --git a/parser/testdata/01284_escape_sequences_php_mysql_style/explain.txt b/parser/testdata/01284_escape_sequences_php_mysql_style/explain.txt new file mode 100644 index 000000000..6a8193a41 --- /dev/null +++ b/parser/testdata/01284_escape_sequences_php_mysql_style/explain.txt @@ -0,0 +1,6 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal \'a\\\\_\\\\c\\\\l\\\\i\\\\c\\\\k\\\\h\\\\o\\\\u\\\\s\' + Literal \'a\\\\_\\\\c\\\\l\\\\i\\\\c\\\\k\\\\h\\\\o\\\\u\\\\s\\\\e\' diff --git a/parser/testdata/01284_fuzz_bits/explain.txt b/parser/testdata/01284_fuzz_bits/explain.txt new file mode 100644 index 000000000..dfb1e6a5b --- /dev/null +++ b/parser/testdata/01284_fuzz_bits/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function fuzzBits (children 1) + ExpressionList (children 2) + Function toString (children 1) + ExpressionList (children 1) + Literal \'string\' + Literal UInt64_1 +The query succeeded but the server error '43' was expected (query: EXPLAIN AST SELECT fuzzBits(toString('string'), 1); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }). diff --git a/parser/testdata/01284_view_and_extremes_bug/explain.txt b/parser/testdata/01284_view_and_extremes_bug/explain.txt new file mode 100644 index 000000000..201306160 --- /dev/null +++ b/parser/testdata/01284_view_and_extremes_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery view_bug_const (children 1) + Identifier view_bug_const diff --git a/parser/testdata/01285_data_skip_index_over_aggregation/explain.txt b/parser/testdata/01285_data_skip_index_over_aggregation/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01285_data_skip_index_over_aggregation/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01285_date_datetime_key_condition/explain.txt b/parser/testdata/01285_date_datetime_key_condition/explain.txt new file mode 100644 index 000000000..a52f39908 --- /dev/null +++ b/parser/testdata/01285_date_datetime_key_condition/explain.txt @@ -0,0 +1,2 @@ +DropQuery date_datetime_key_condition (children 1) + Identifier date_datetime_key_condition diff --git a/parser/testdata/01286_constraints_on_default/explain.txt b/parser/testdata/01286_constraints_on_default/explain.txt new file mode 100644 index 000000000..737745399 --- /dev/null +++ b/parser/testdata/01286_constraints_on_default/explain.txt @@ -0,0 +1,2 @@ +DropQuery default_constraints (children 1) + Identifier default_constraints diff --git a/parser/testdata/01287_max_execution_speed/explain.txt b/parser/testdata/01287_max_execution_speed/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01287_max_execution_speed/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01288_shard_max_network_bandwidth/explain.txt b/parser/testdata/01288_shard_max_network_bandwidth/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01288_shard_max_network_bandwidth/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01289_min_execution_speed_not_too_early/explain.txt b/parser/testdata/01289_min_execution_speed_not_too_early/explain.txt new file mode 100644 index 000000000..cf17c5ae5 --- /dev/null +++ b/parser/testdata/01289_min_execution_speed_not_too_early/explain.txt @@ -0,0 +1,2 @@ +DropQuery ES (children 1) + Identifier ES diff --git a/parser/testdata/01290_empty_array_index_analysis/explain.txt b/parser/testdata/01290_empty_array_index_analysis/explain.txt new file mode 100644 index 000000000..e85e2eaef --- /dev/null +++ b/parser/testdata/01290_empty_array_index_analysis/explain.txt @@ -0,0 +1,2 @@ +DropQuery count_lc_test (children 1) + Identifier count_lc_test diff --git a/parser/testdata/01290_max_execution_speed_distributed/explain.txt b/parser/testdata/01290_max_execution_speed_distributed/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01290_max_execution_speed_distributed/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01291_aggregation_in_order/explain.txt b/parser/testdata/01291_aggregation_in_order/explain.txt new file mode 100644 index 000000000..f75153e55 --- /dev/null +++ b/parser/testdata/01291_aggregation_in_order/explain.txt @@ -0,0 +1,2 @@ +DropQuery pk_order (children 1) + Identifier pk_order diff --git a/parser/testdata/01291_distributed_low_cardinality_memory_efficient/explain.txt b/parser/testdata/01291_distributed_low_cardinality_memory_efficient/explain.txt new file mode 100644 index 000000000..5092c825d --- /dev/null +++ b/parser/testdata/01291_distributed_low_cardinality_memory_efficient/explain.txt @@ -0,0 +1,2 @@ +DropQuery data (children 1) + Identifier data diff --git a/parser/testdata/01291_geo_types/explain.txt b/parser/testdata/01291_geo_types/explain.txt new file mode 100644 index 000000000..a399d181b --- /dev/null +++ b/parser/testdata/01291_geo_types/explain.txt @@ -0,0 +1,2 @@ +DropQuery geo (children 1) + Identifier geo diff --git a/parser/testdata/01291_unsupported_conversion_from_decimal/explain.txt b/parser/testdata/01291_unsupported_conversion_from_decimal/explain.txt new file mode 100644 index 000000000..0e87d9d99 --- /dev/null +++ b/parser/testdata/01291_unsupported_conversion_from_decimal/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toIntervalSecond (children 1) + ExpressionList (children 1) + Function now64 (children 1) + ExpressionList +The query succeeded but the server error '70' was expected (query: EXPLAIN AST SELECT toIntervalSecond(now64()); -- { serverError CANNOT_CONVERT_TYPE }). diff --git a/parser/testdata/01292_create_user/explain.txt b/parser/testdata/01292_create_user/explain.txt new file mode 100644 index 000000000..24ba67fc3 --- /dev/null +++ b/parser/testdata/01292_create_user/explain.txt @@ -0,0 +1 @@ +DROP USER query diff --git a/parser/testdata/01292_optimize_data_skip_idx_order_by_expr/explain.txt b/parser/testdata/01292_optimize_data_skip_idx_order_by_expr/explain.txt new file mode 100644 index 000000000..d51f10df6 --- /dev/null +++ b/parser/testdata/01292_optimize_data_skip_idx_order_by_expr/explain.txt @@ -0,0 +1,2 @@ +DropQuery data_01292 (children 1) + Identifier data_01292 diff --git a/parser/testdata/01292_quantile_array_bug/explain.txt b/parser/testdata/01292_quantile_array_bug/explain.txt new file mode 100644 index 000000000..126310eb8 --- /dev/null +++ b/parser/testdata/01292_quantile_array_bug/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function quantilesExactWeightedArray (children 2) + ExpressionList (children 2) + Function range (children 1) + ExpressionList (children 1) + Literal UInt64_10 + Function range (children 1) + ExpressionList (children 1) + Literal UInt64_10 + ExpressionList (children 1) + Literal Float64_0.5 diff --git a/parser/testdata/01293_create_role/explain.txt b/parser/testdata/01293_create_role/explain.txt new file mode 100644 index 000000000..1dc8d65df --- /dev/null +++ b/parser/testdata/01293_create_role/explain.txt @@ -0,0 +1 @@ +DROP ROLE query diff --git a/parser/testdata/01293_external_sorting_limit_bug/explain.txt b/parser/testdata/01293_external_sorting_limit_bug/explain.txt new file mode 100644 index 000000000..e40fa8b11 --- /dev/null +++ b/parser/testdata/01293_external_sorting_limit_bug/explain.txt @@ -0,0 +1,26 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_999990 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier number + Literal UInt64_100 + Literal UInt64_65535 + Set + Identifier Null diff --git a/parser/testdata/01293_pretty_max_value_width/explain.txt b/parser/testdata/01293_pretty_max_value_width/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01293_pretty_max_value_width/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01293_show_settings/explain.txt b/parser/testdata/01293_show_settings/explain.txt new file mode 100644 index 000000000..9cf4575c9 --- /dev/null +++ b/parser/testdata/01293_show_settings/explain.txt @@ -0,0 +1 @@ +ShowTables diff --git a/parser/testdata/01293_system_distribution_queue/explain.txt b/parser/testdata/01293_system_distribution_queue/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01293_system_distribution_queue/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01294_create_settings_profile/explain.txt b/parser/testdata/01294_create_settings_profile/explain.txt new file mode 100644 index 000000000..5d4d45fba --- /dev/null +++ b/parser/testdata/01294_create_settings_profile/explain.txt @@ -0,0 +1 @@ +DROP SETTINGS PROFILE query diff --git a/parser/testdata/01294_system_distributed_on_cluster/explain.txt b/parser/testdata/01294_system_distributed_on_cluster/explain.txt new file mode 100644 index 000000000..0f936f4b9 --- /dev/null +++ b/parser/testdata/01294_system_distributed_on_cluster/explain.txt @@ -0,0 +1,2 @@ +DropQuery db_01294 (children 1) + Identifier db_01294 diff --git a/parser/testdata/01295_aggregation_bug_11413/explain.txt b/parser/testdata/01295_aggregation_bug_11413/explain.txt new file mode 100644 index 000000000..91c4e09be --- /dev/null +++ b/parser/testdata/01295_aggregation_bug_11413/explain.txt @@ -0,0 +1,31 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Literal UInt64_1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.0.0.{1,2}\' + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_99 + ExpressionList (children 1) + Function materialize (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Function and (children 1) + ExpressionList (children 2) + Function greater (children 1) + ExpressionList (children 2) + Function count (children 1) + ExpressionList + Literal UInt64_0 + Function argMax (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Function tuple (children 1) + ExpressionList (children 1) + Literal UInt64_0 diff --git a/parser/testdata/01295_create_row_policy/explain.txt b/parser/testdata/01295_create_row_policy/explain.txt new file mode 100644 index 000000000..ed0ed194e --- /dev/null +++ b/parser/testdata/01295_create_row_policy/explain.txt @@ -0,0 +1 @@ +DROP ROW POLICY query diff --git a/parser/testdata/01296_codecs_bad_arguments/explain.txt b/parser/testdata/01296_codecs_bad_arguments/explain.txt new file mode 100644 index 000000000..6aa66317d --- /dev/null +++ b/parser/testdata/01296_codecs_bad_arguments/explain.txt @@ -0,0 +1,2 @@ +DropQuery delta_table (children 1) + Identifier delta_table diff --git a/parser/testdata/01296_create_row_policy_in_current_database/explain.txt b/parser/testdata/01296_create_row_policy_in_current_database/explain.txt new file mode 100644 index 000000000..ed0ed194e --- /dev/null +++ b/parser/testdata/01296_create_row_policy_in_current_database/explain.txt @@ -0,0 +1 @@ +DROP ROW POLICY query diff --git a/parser/testdata/01296_pipeline_stuck/explain.txt b/parser/testdata/01296_pipeline_stuck/explain.txt new file mode 100644 index 000000000..927fc6f78 --- /dev/null +++ b/parser/testdata/01296_pipeline_stuck/explain.txt @@ -0,0 +1,2 @@ +DropQuery data_01295 (children 1) + Identifier data_01295 diff --git a/parser/testdata/01297_alter_distributed/explain.txt b/parser/testdata/01297_alter_distributed/explain.txt new file mode 100644 index 000000000..c8d11a3a1 --- /dev/null +++ b/parser/testdata/01297_alter_distributed/explain.txt @@ -0,0 +1,2 @@ +DropQuery merge_distributed (children 1) + Identifier merge_distributed diff --git a/parser/testdata/01297_create_quota/metadata.json b/parser/testdata/01297_create_quota/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01297_create_quota/metadata.json +++ b/parser/testdata/01297_create_quota/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01298_alter_merge/explain.txt b/parser/testdata/01298_alter_merge/explain.txt new file mode 100644 index 000000000..3dd3b7693 --- /dev/null +++ b/parser/testdata/01298_alter_merge/explain.txt @@ -0,0 +1,2 @@ +DropQuery merge (children 1) + Identifier merge diff --git a/parser/testdata/01299_alter_merge_tree/explain.txt b/parser/testdata/01299_alter_merge_tree/explain.txt new file mode 100644 index 000000000..eaf9d7dce --- /dev/null +++ b/parser/testdata/01299_alter_merge_tree/explain.txt @@ -0,0 +1,2 @@ +DropQuery merge_tree (children 1) + Identifier merge_tree diff --git a/parser/testdata/01300_group_by_other_keys/explain.txt b/parser/testdata/01300_group_by_other_keys/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01300_group_by_other_keys/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01300_group_by_other_keys_having/explain.txt b/parser/testdata/01300_group_by_other_keys_having/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01300_group_by_other_keys_having/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01300_polygon_convex_hull/explain.txt b/parser/testdata/01300_polygon_convex_hull/explain.txt new file mode 100644 index 000000000..a67b8400f --- /dev/null +++ b/parser/testdata/01300_polygon_convex_hull/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function polygonConvexHullCartesian (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 5) + Literal Tuple_(Float64_0, Float64_0) + Literal Tuple_(Float64_0, Float64_5) + Literal Tuple_(Float64_5, Float64_5) + Literal Tuple_(Float64_5, Float64_0) + Literal Tuple_(Float64_2, Float64_3) diff --git a/parser/testdata/01300_read_wkt/explain.txt b/parser/testdata/01300_read_wkt/explain.txt new file mode 100644 index 000000000..d94980776 --- /dev/null +++ b/parser/testdata/01300_read_wkt/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function readWKTPoint (children 1) + ExpressionList (children 1) + Literal \'POINT(0 0)\' diff --git a/parser/testdata/01300_svg/explain.txt b/parser/testdata/01300_svg/explain.txt new file mode 100644 index 000000000..45701cfd8 --- /dev/null +++ b/parser/testdata/01300_svg/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function SVG (children 1) + ExpressionList (children 1) + Literal Tuple_(Float64_0, Float64_0) diff --git a/parser/testdata/01300_wkt/explain.txt b/parser/testdata/01300_wkt/explain.txt new file mode 100644 index 000000000..719e24784 --- /dev/null +++ b/parser/testdata/01300_wkt/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function wkt (children 1) + ExpressionList (children 1) + Literal Tuple_(Float64_0, Float64_0) diff --git a/parser/testdata/01301_polygons_within/explain.txt b/parser/testdata/01301_polygons_within/explain.txt new file mode 100644 index 000000000..23cce9bc7 --- /dev/null +++ b/parser/testdata/01301_polygons_within/explain.txt @@ -0,0 +1,31 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function polygonsWithinCartesian (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 8) + Literal Tuple_(UInt64_0, UInt64_0) + Literal Tuple_(UInt64_0, UInt64_3) + Literal Tuple_(UInt64_1, Float64_2.9) + Literal Tuple_(UInt64_2, Float64_2.6) + Literal Tuple_(Float64_2.6, UInt64_2) + Literal Tuple_(Float64_2.9, UInt64_1) + Literal Tuple_(UInt64_3, UInt64_0) + Literal Tuple_(UInt64_0, UInt64_0) + Function array (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 5) + Literal Tuple_(Float64_1, Float64_1) + Literal Tuple_(Float64_1, Float64_4) + Literal Tuple_(Float64_4, Float64_4) + Literal Tuple_(Float64_4, Float64_1) + Literal Tuple_(Float64_1, Float64_1) diff --git a/parser/testdata/01302_polygons_distance/explain.txt b/parser/testdata/01302_polygons_distance/explain.txt new file mode 100644 index 000000000..b4a121682 --- /dev/null +++ b/parser/testdata/01302_polygons_distance/explain.txt @@ -0,0 +1,31 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function polygonsDistanceCartesian (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 8) + Literal Tuple_(UInt64_0, UInt64_0) + Literal Tuple_(UInt64_0, UInt64_3) + Literal Tuple_(UInt64_1, Float64_2.9) + Literal Tuple_(UInt64_2, Float64_2.6) + Literal Tuple_(Float64_2.6, UInt64_2) + Literal Tuple_(Float64_2.9, UInt64_1) + Literal Tuple_(UInt64_3, UInt64_0) + Literal Tuple_(UInt64_0, UInt64_0) + Function array (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 5) + Literal Tuple_(Float64_1, Float64_1) + Literal Tuple_(Float64_1, Float64_4) + Literal Tuple_(Float64_4, Float64_4) + Literal Tuple_(Float64_4, Float64_1) + Literal Tuple_(Float64_1, Float64_1) diff --git a/parser/testdata/01303_polygons_equals/explain.txt b/parser/testdata/01303_polygons_equals/explain.txt new file mode 100644 index 000000000..771ba3ca3 --- /dev/null +++ b/parser/testdata/01303_polygons_equals/explain.txt @@ -0,0 +1,31 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function polygonsEqualsCartesian (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 8) + Literal Tuple_(UInt64_0, UInt64_0) + Literal Tuple_(UInt64_0, UInt64_3) + Literal Tuple_(UInt64_1, Float64_2.9) + Literal Tuple_(UInt64_2, Float64_2.6) + Literal Tuple_(Float64_2.6, UInt64_2) + Literal Tuple_(Float64_2.9, UInt64_1) + Literal Tuple_(UInt64_3, UInt64_0) + Literal Tuple_(UInt64_0, UInt64_0) + Function array (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 5) + Literal Tuple_(Float64_1, Float64_1) + Literal Tuple_(Float64_1, Float64_4) + Literal Tuple_(Float64_4, Float64_4) + Literal Tuple_(Float64_4, Float64_1) + Literal Tuple_(Float64_1, Float64_1) diff --git a/parser/testdata/01304_polygons_sym_difference/explain.txt b/parser/testdata/01304_polygons_sym_difference/explain.txt new file mode 100644 index 000000000..e491a1ffd --- /dev/null +++ b/parser/testdata/01304_polygons_sym_difference/explain.txt @@ -0,0 +1,31 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function polygonsSymDifferenceCartesian (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 8) + Literal Tuple_(UInt64_0, UInt64_0) + Literal Tuple_(UInt64_0, UInt64_3) + Literal Tuple_(UInt64_1, Float64_2.9) + Literal Tuple_(UInt64_2, Float64_2.6) + Literal Tuple_(Float64_2.6, UInt64_2) + Literal Tuple_(Float64_2.9, UInt64_1) + Literal Tuple_(UInt64_3, UInt64_0) + Literal Tuple_(UInt64_0, UInt64_0) + Function array (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 5) + Literal Tuple_(Float64_1, Float64_1) + Literal Tuple_(Float64_1, Float64_4) + Literal Tuple_(Float64_4, Float64_4) + Literal Tuple_(Float64_4, Float64_1) + Literal Tuple_(Float64_1, Float64_1) diff --git a/parser/testdata/01305_array_join_prewhere_in_subquery/explain.txt b/parser/testdata/01305_array_join_prewhere_in_subquery/explain.txt new file mode 100644 index 000000000..73a6a47fc --- /dev/null +++ b/parser/testdata/01305_array_join_prewhere_in_subquery/explain.txt @@ -0,0 +1,2 @@ +DropQuery h (children 1) + Identifier h diff --git a/parser/testdata/01305_buffer_final_bug/explain.txt b/parser/testdata/01305_buffer_final_bug/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/01305_buffer_final_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/01305_nullable-prewhere_bug/explain.txt b/parser/testdata/01305_nullable-prewhere_bug/explain.txt new file mode 100644 index 000000000..5092c825d --- /dev/null +++ b/parser/testdata/01305_nullable-prewhere_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery data (children 1) + Identifier data diff --git a/parser/testdata/01305_polygons_union/explain.txt b/parser/testdata/01305_polygons_union/explain.txt new file mode 100644 index 000000000..0813f5f8e --- /dev/null +++ b/parser/testdata/01305_polygons_union/explain.txt @@ -0,0 +1,31 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function polygonsUnionCartesian (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 8) + Literal Tuple_(Float64_0, Float64_0) + Literal Tuple_(Float64_0, Float64_3) + Literal Tuple_(Float64_1, Float64_2.9) + Literal Tuple_(Float64_2, Float64_2.6) + Literal Tuple_(Float64_2.6, Float64_2) + Literal Tuple_(Float64_2.9, UInt64_1) + Literal Tuple_(Float64_3, Float64_0) + Literal Tuple_(Float64_0, Float64_0) + Function array (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 5) + Literal Tuple_(Float64_1, Float64_1) + Literal Tuple_(Float64_1, Float64_4) + Literal Tuple_(Float64_4, Float64_4) + Literal Tuple_(Float64_4, Float64_1) + Literal Tuple_(Float64_1, Float64_1) diff --git a/parser/testdata/01306_polygons_intersection/explain.txt b/parser/testdata/01306_polygons_intersection/explain.txt new file mode 100644 index 000000000..39ab3e243 --- /dev/null +++ b/parser/testdata/01306_polygons_intersection/explain.txt @@ -0,0 +1,31 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function polygonsIntersectionCartesian (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 8) + Literal Tuple_(Float64_0, Float64_0) + Literal Tuple_(Float64_0, Float64_3) + Literal Tuple_(Float64_1, Float64_2.9) + Literal Tuple_(Float64_2, Float64_2.6) + Literal Tuple_(Float64_2.6, Float64_2) + Literal Tuple_(Float64_2.9, Float64_1) + Literal Tuple_(Float64_3, Float64_0) + Literal Tuple_(Float64_0, Float64_0) + Function array (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 5) + Literal Tuple_(Float64_1, Float64_1) + Literal Tuple_(Float64_1, Float64_4) + Literal Tuple_(Float64_4, Float64_4) + Literal Tuple_(Float64_4, Float64_1) + Literal Tuple_(Float64_1, Float64_1) diff --git a/parser/testdata/01307_bloom_filter_index_string_multi_granulas/explain.txt b/parser/testdata/01307_bloom_filter_index_string_multi_granulas/explain.txt new file mode 100644 index 000000000..1c93af7b1 --- /dev/null +++ b/parser/testdata/01307_bloom_filter_index_string_multi_granulas/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_01307 (children 1) + Identifier test_01307 diff --git a/parser/testdata/01307_polygon_perimeter/explain.txt b/parser/testdata/01307_polygon_perimeter/explain.txt new file mode 100644 index 000000000..a12c1fbb6 --- /dev/null +++ b/parser/testdata/01307_polygon_perimeter/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function polygonPerimeterCartesian (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 5) + Literal Tuple_(Float64_0, Float64_0) + Literal Tuple_(Float64_0, Float64_5) + Literal Tuple_(Float64_5, Float64_5) + Literal Tuple_(Float64_5, Float64_0) + Literal Tuple_(Float64_0, Float64_0) diff --git a/parser/testdata/01308_polygon_area/explain.txt b/parser/testdata/01308_polygon_area/explain.txt new file mode 100644 index 000000000..5ab97de66 --- /dev/null +++ b/parser/testdata/01308_polygon_area/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function polygonAreaCartesian (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 4) + Literal Tuple_(Float64_0, Float64_0) + Literal Tuple_(Float64_0, Float64_5) + Literal Tuple_(Float64_5, Float64_5) + Literal Tuple_(Float64_5, Float64_0) diff --git a/parser/testdata/01308_row_policy_and_trivial_count_query/explain.txt b/parser/testdata/01308_row_policy_and_trivial_count_query/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01308_row_policy_and_trivial_count_query/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01310_enum_comparison/explain.txt b/parser/testdata/01310_enum_comparison/explain.txt new file mode 100644 index 000000000..8a175b529 --- /dev/null +++ b/parser/testdata/01310_enum_comparison/explain.txt @@ -0,0 +1,15 @@ +CreateQuery enum (children 2) + Identifier enum + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration x (children 1) + DataType Enum (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Literal \'hello\' + Literal UInt64_1 + Function equals (children 1) + ExpressionList (children 2) + Literal \'world\' + Literal UInt64_2 diff --git a/parser/testdata/01311_comparison_with_constant_string/explain.txt b/parser/testdata/01311_comparison_with_constant_string/explain.txt new file mode 100644 index 000000000..b99354a1c --- /dev/null +++ b/parser/testdata/01311_comparison_with_constant_string/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier number + Literal \'1\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_3 diff --git a/parser/testdata/01312_case_insensitive_regexp/explain.txt b/parser/testdata/01312_case_insensitive_regexp/explain.txt new file mode 100644 index 000000000..668759720 --- /dev/null +++ b/parser/testdata/01312_case_insensitive_regexp/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function match (children 1) + ExpressionList (children 2) + Literal \'Too late\' + Literal \'Too late\' diff --git a/parser/testdata/01312_comparison_with_constant_string_in_index_analysis/explain.txt b/parser/testdata/01312_comparison_with_constant_string_in_index_analysis/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01312_comparison_with_constant_string_in_index_analysis/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01313_parse_date_time_best_effort_null_zero/explain.txt b/parser/testdata/01313_parse_date_time_best_effort_null_zero/explain.txt new file mode 100644 index 000000000..8578d0a16 --- /dev/null +++ b/parser/testdata/01313_parse_date_time_best_effort_null_zero/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function parseDateTimeBestEffort (children 1) + ExpressionList (children 1) + Literal \'\' +The query succeeded but the server error '41' was expected (query: EXPLAIN AST SELECT parseDateTimeBestEffort(''); -- { serverError CANNOT_PARSE_DATETIME }). diff --git a/parser/testdata/01314_position_in_system_columns/explain.txt b/parser/testdata/01314_position_in_system_columns/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/01314_position_in_system_columns/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/01315_count_distinct_return_not_nullable/explain.txt b/parser/testdata/01315_count_distinct_return_not_nullable/explain.txt new file mode 100644 index 000000000..8e98f3a67 --- /dev/null +++ b/parser/testdata/01315_count_distinct_return_not_nullable/explain.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function uniq (children 1) + ExpressionList (children 1) + Function if (children 1) + ExpressionList (children 3) + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 + Identifier number + Literal NULL + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 diff --git a/parser/testdata/01318_alter_add_column_exists/explain.txt b/parser/testdata/01318_alter_add_column_exists/explain.txt new file mode 100644 index 000000000..1d562d8b3 --- /dev/null +++ b/parser/testdata/01318_alter_add_column_exists/explain.txt @@ -0,0 +1,2 @@ +DropQuery add_table (children 1) + Identifier add_table diff --git a/parser/testdata/01318_decrypt/explain.txt b/parser/testdata/01318_decrypt/explain.txt new file mode 100644 index 000000000..b98b92fbe --- /dev/null +++ b/parser/testdata/01318_decrypt/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function aes_decrypt_mysql (children 1) + ExpressionList +The query succeeded but the server error '42' was expected (query: EXPLAIN AST SELECT aes_decrypt_mysql(); --{serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH} not enough arguments). diff --git a/parser/testdata/01318_encrypt/explain.txt b/parser/testdata/01318_encrypt/explain.txt new file mode 100644 index 000000000..203ed918e --- /dev/null +++ b/parser/testdata/01318_encrypt/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function aes_encrypt_mysql (children 1) + ExpressionList +The query succeeded but the server error '42' was expected (query: EXPLAIN AST SELECT aes_encrypt_mysql(); --{serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH} not enough arguments). diff --git a/parser/testdata/01318_map_add_map_subtract/explain.txt b/parser/testdata/01318_map_add_map_subtract/explain.txt new file mode 100644 index 000000000..0a00b06d1 --- /dev/null +++ b/parser/testdata/01318_map_add_map_subtract/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab (children 1) + Identifier tab diff --git a/parser/testdata/01318_map_add_map_subtract_on_map_type/explain.txt b/parser/testdata/01318_map_add_map_subtract_on_map_type/explain.txt new file mode 100644 index 000000000..0a00b06d1 --- /dev/null +++ b/parser/testdata/01318_map_add_map_subtract_on_map_type/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab (children 1) + Identifier tab diff --git a/parser/testdata/01318_map_populate_series/explain.txt b/parser/testdata/01318_map_populate_series/explain.txt new file mode 100644 index 000000000..2791aaa46 --- /dev/null +++ b/parser/testdata/01318_map_populate_series/explain.txt @@ -0,0 +1,2 @@ +DropQuery map_test (children 1) + Identifier map_test diff --git a/parser/testdata/01318_parallel_final_stuck/explain.txt b/parser/testdata/01318_parallel_final_stuck/explain.txt new file mode 100644 index 000000000..4b08ac35e --- /dev/null +++ b/parser/testdata/01318_parallel_final_stuck/explain.txt @@ -0,0 +1,2 @@ +DropQuery final_bug (children 1) + Identifier final_bug diff --git a/parser/testdata/01319_manual_write_to_replicas_long/explain.txt b/parser/testdata/01319_manual_write_to_replicas_long/explain.txt new file mode 100644 index 000000000..c723618ab --- /dev/null +++ b/parser/testdata/01319_manual_write_to_replicas_long/explain.txt @@ -0,0 +1,2 @@ +DropQuery r1 (children 1) + Identifier r1 diff --git a/parser/testdata/01319_mv_constants_bug/explain.txt b/parser/testdata/01319_mv_constants_bug/explain.txt new file mode 100644 index 000000000..a62e77beb --- /dev/null +++ b/parser/testdata/01319_mv_constants_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery distributed_table_merged (children 1) + Identifier distributed_table_merged diff --git a/parser/testdata/01319_optimize_skip_unused_shards_nesting/explain.txt b/parser/testdata/01319_optimize_skip_unused_shards_nesting/explain.txt new file mode 100644 index 000000000..12282f343 --- /dev/null +++ b/parser/testdata/01319_optimize_skip_unused_shards_nesting/explain.txt @@ -0,0 +1,2 @@ +DropQuery data_01319 (children 1) + Identifier data_01319 diff --git a/parser/testdata/01319_query_formatting_in_server_log/metadata.json b/parser/testdata/01319_query_formatting_in_server_log/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01319_query_formatting_in_server_log/metadata.json +++ b/parser/testdata/01319_query_formatting_in_server_log/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01320_optimize_skip_unused_shards_no_non_deterministic/explain.txt b/parser/testdata/01320_optimize_skip_unused_shards_no_non_deterministic/explain.txt new file mode 100644 index 000000000..0f2c9c2e2 --- /dev/null +++ b/parser/testdata/01320_optimize_skip_unused_shards_no_non_deterministic/explain.txt @@ -0,0 +1,2 @@ +DropQuery data_01320 (children 1) + Identifier data_01320 diff --git a/parser/testdata/01321_aggregate_functions_of_group_by_keys/explain.txt b/parser/testdata/01321_aggregate_functions_of_group_by_keys/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01321_aggregate_functions_of_group_by_keys/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01321_monotonous_functions_in_order_by_bug/metadata.json b/parser/testdata/01321_monotonous_functions_in_order_by_bug/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01321_monotonous_functions_in_order_by_bug/metadata.json +++ b/parser/testdata/01321_monotonous_functions_in_order_by_bug/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01322_cast_keep_nullable/explain.txt b/parser/testdata/01322_cast_keep_nullable/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01322_cast_keep_nullable/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01323_add_scalars_in_time/explain.txt b/parser/testdata/01323_add_scalars_in_time/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01323_add_scalars_in_time/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01323_bad_arg_in_arithmetic_operations/explain.txt b/parser/testdata/01323_bad_arg_in_arithmetic_operations/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01323_bad_arg_in_arithmetic_operations/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01323_if_with_nulls/explain.txt b/parser/testdata/01323_if_with_nulls/explain.txt new file mode 100644 index 000000000..5c1b86307 --- /dev/null +++ b/parser/testdata/01323_if_with_nulls/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function if (alias x) (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal UInt64_0 + Function toNullable (children 1) + ExpressionList (children 1) + Function toUInt8 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal NULL + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/01323_redundant_functions_in_order_by/explain.txt b/parser/testdata/01323_redundant_functions_in_order_by/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01323_redundant_functions_in_order_by/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01323_too_many_threads_bug/explain.txt b/parser/testdata/01323_too_many_threads_bug/explain.txt new file mode 100644 index 000000000..93bac11c9 --- /dev/null +++ b/parser/testdata/01323_too_many_threads_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery table_01323_many_parts (children 1) + Identifier table_01323_many_parts diff --git a/parser/testdata/01324_if_transform_strings_to_enum/explain.txt b/parser/testdata/01324_if_transform_strings_to_enum/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01324_if_transform_strings_to_enum/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01324_insert_tsv_raw/explain.txt b/parser/testdata/01324_insert_tsv_raw/explain.txt new file mode 100644 index 000000000..822b12c17 --- /dev/null +++ b/parser/testdata/01324_insert_tsv_raw/explain.txt @@ -0,0 +1,2 @@ +DropQuery tsv_raw (children 1) + Identifier tsv_raw diff --git a/parser/testdata/01324_settings_documentation/explain.txt b/parser/testdata/01324_settings_documentation/explain.txt new file mode 100644 index 000000000..239b6379f --- /dev/null +++ b/parser/testdata/01324_settings_documentation/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'Settings description should start with capital letter\' diff --git a/parser/testdata/01325_freeze_mutation_stuck/explain.txt b/parser/testdata/01325_freeze_mutation_stuck/explain.txt new file mode 100644 index 000000000..38773513b --- /dev/null +++ b/parser/testdata/01325_freeze_mutation_stuck/explain.txt @@ -0,0 +1,2 @@ +DropQuery mt (children 1) + Identifier mt diff --git a/parser/testdata/01326_build_id/explain.txt b/parser/testdata/01326_build_id/explain.txt new file mode 100644 index 000000000..2bbba92d1 --- /dev/null +++ b/parser/testdata/01326_build_id/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Function length (children 1) + ExpressionList (children 1) + Function buildId (children 1) + ExpressionList + Literal UInt64_16 diff --git a/parser/testdata/01326_fixed_string_comparison_denny_crane/explain.txt b/parser/testdata/01326_fixed_string_comparison_denny_crane/explain.txt new file mode 100644 index 000000000..bc2971d91 --- /dev/null +++ b/parser/testdata/01326_fixed_string_comparison_denny_crane/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function greater (alias r) (children 1) + ExpressionList (children 2) + Function toFixedString (children 1) + ExpressionList (children 2) + Function unhex (children 1) + ExpressionList (children 1) + Literal \'202005295555\' + Literal UInt64_15 + Function unhex (children 1) + ExpressionList (children 1) + Literal \'20200529\' diff --git a/parser/testdata/01326_hostname_alias/explain.txt b/parser/testdata/01326_hostname_alias/explain.txt new file mode 100644 index 000000000..9b98f5736 --- /dev/null +++ b/parser/testdata/01326_hostname_alias/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Function hostname (children 1) + ExpressionList + Function hostName (children 1) + ExpressionList diff --git a/parser/testdata/01327_decimal_cut_extra_digits_after_point/explain.txt b/parser/testdata/01327_decimal_cut_extra_digits_after_point/explain.txt new file mode 100644 index 000000000..0af49ecd6 --- /dev/null +++ b/parser/testdata/01327_decimal_cut_extra_digits_after_point/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Literal \'1.1\' + Literal \'Decimal(10, 5)\' diff --git a/parser/testdata/01328_bad_peephole_optimization/explain.txt b/parser/testdata/01328_bad_peephole_optimization/explain.txt new file mode 100644 index 000000000..53e10f6ab --- /dev/null +++ b/parser/testdata/01328_bad_peephole_optimization/explain.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function max (children 1) + ExpressionList (children 1) + Function plus (children 1) + ExpressionList (children 2) + Identifier a + Identifier b + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_1 (alias a) + Literal UInt64_2 (alias b) diff --git a/parser/testdata/01329_compare_tuple_string_constant/explain.txt b/parser/testdata/01329_compare_tuple_string_constant/explain.txt new file mode 100644 index 000000000..f46ca40c3 --- /dev/null +++ b/parser/testdata/01329_compare_tuple_string_constant/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function less (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Literal \'\' +The query succeeded but the server error '27' was expected (query: EXPLAIN AST SELECT tuple(1) < ''; -- { serverError CANNOT_PARSE_INPUT_ASSERTION_FAILED }). diff --git a/parser/testdata/01330_array_join_in_higher_order_function/explain.txt b/parser/testdata/01330_array_join_in_higher_order_function/explain.txt new file mode 100644 index 000000000..7d541cb9b --- /dev/null +++ b/parser/testdata/01330_array_join_in_higher_order_function/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayMap (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function arrayJoin (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_1 + Literal Array_[UInt64_1, UInt64_2] +The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT arrayMap(x -> arrayJoin([x, 1]), [1, 2]); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/01332_join_type_syntax_position/explain.txt b/parser/testdata/01332_join_type_syntax_position/explain.txt new file mode 100644 index 000000000..d4e9aa7ca --- /dev/null +++ b/parser/testdata/01332_join_type_syntax_position/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (alias t1) (children 1) + ExpressionList (children 1) + Literal UInt64_1 + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Function numbers (alias t2) (children 1) + ExpressionList (children 1) + Literal UInt64_1 + TableJoin (children 1) + ExpressionList (children 1) + Identifier number diff --git a/parser/testdata/01333_select_abc_asterisk/explain.txt b/parser/testdata/01333_select_abc_asterisk/explain.txt new file mode 100644 index 000000000..b55818d6b --- /dev/null +++ b/parser/testdata/01333_select_abc_asterisk/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Asterisk diff --git a/parser/testdata/01337_mysql_global_variables/explain.txt b/parser/testdata/01337_mysql_global_variables/explain.txt new file mode 100644 index 000000000..b9111489f --- /dev/null +++ b/parser/testdata/01337_mysql_global_variables/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function globalVariable (alias @@test) (children 1) + ExpressionList (children 1) + Literal \'test\' diff --git a/parser/testdata/01338_sha256_fixedstring/explain.txt b/parser/testdata/01338_sha256_fixedstring/explain.txt new file mode 100644 index 000000000..b552a715b --- /dev/null +++ b/parser/testdata/01338_sha256_fixedstring/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function hex (children 1) + ExpressionList (children 1) + Function SHA256 (children 1) + ExpressionList (children 1) + Literal \'\' diff --git a/parser/testdata/01338_uuid_without_separator/explain.txt b/parser/testdata/01338_uuid_without_separator/explain.txt new file mode 100644 index 000000000..e48ad52a6 --- /dev/null +++ b/parser/testdata/01338_uuid_without_separator/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toUUID (children 1) + ExpressionList (children 1) + Literal \'417ddc5de5564d2795dda34d84e46a50\' diff --git a/parser/testdata/01340_datetime64_fpe/explain.txt b/parser/testdata/01340_datetime64_fpe/explain.txt new file mode 100644 index 000000000..c967f9478 --- /dev/null +++ b/parser/testdata/01340_datetime64_fpe/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function toDateTime64 (alias dt64) (children 1) + ExpressionList (children 2) + Literal \'2019-09-16 19:20:12.3456789102019-09-16 19:20:12.345678910\' + Literal UInt64_0 + ExpressionList (children 1) + Identifier dt64 +The query succeeded but the server error '6' was expected (query: EXPLAIN AST WITH toDateTime64('2019-09-16 19:20:12.3456789102019-09-16 19:20:12.345678910', 0) AS dt64 SELECT dt64; -- { serverError CANNOT_PARSE_TEXT }). diff --git a/parser/testdata/01341_datetime64_wrong_supertype/explain.txt b/parser/testdata/01341_datetime64_wrong_supertype/explain.txt new file mode 100644 index 000000000..ba504f699 --- /dev/null +++ b/parser/testdata/01341_datetime64_wrong_supertype/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 2) + Function toDateTime64 (children 1) + ExpressionList (children 2) + Literal \'2000-01-01 01:01:01.123\' + Literal UInt64_3 + Function toDateTime64 (children 1) + ExpressionList (children 2) + Literal \'2000-01-01 01:01:01.123456\' + Literal UInt64_6 diff --git a/parser/testdata/01343_min_bytes_to_use_mmap_io/explain.txt b/parser/testdata/01343_min_bytes_to_use_mmap_io/explain.txt new file mode 100644 index 000000000..616f325d2 --- /dev/null +++ b/parser/testdata/01343_min_bytes_to_use_mmap_io/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_01343 (children 1) + Identifier test_01343 diff --git a/parser/testdata/01344_alter_enum_partition_key/explain.txt b/parser/testdata/01344_alter_enum_partition_key/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/01344_alter_enum_partition_key/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/01344_min_bytes_to_use_mmap_io_index/explain.txt b/parser/testdata/01344_min_bytes_to_use_mmap_io_index/explain.txt new file mode 100644 index 000000000..bfe5ad245 --- /dev/null +++ b/parser/testdata/01344_min_bytes_to_use_mmap_io_index/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_01344 (children 1) + Identifier test_01344 diff --git a/parser/testdata/01345_array_join_LittleMaverick/explain.txt b/parser/testdata/01345_array_join_LittleMaverick/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/01345_array_join_LittleMaverick/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/01345_index_date_vs_datetime/explain.txt b/parser/testdata/01345_index_date_vs_datetime/explain.txt new file mode 100644 index 000000000..9d569da06 --- /dev/null +++ b/parser/testdata/01345_index_date_vs_datetime/explain.txt @@ -0,0 +1,2 @@ +DropQuery index (children 1) + Identifier index diff --git a/parser/testdata/01346_alter_enum_partition_key_replicated_zookeeper_long/explain.txt b/parser/testdata/01346_alter_enum_partition_key_replicated_zookeeper_long/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01346_alter_enum_partition_key_replicated_zookeeper_long/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01346_array_join_mrxotey/explain.txt b/parser/testdata/01346_array_join_mrxotey/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/01346_array_join_mrxotey/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/01347_partition_date_vs_datetime/explain.txt b/parser/testdata/01347_partition_date_vs_datetime/explain.txt new file mode 100644 index 000000000..7de926e3d --- /dev/null +++ b/parser/testdata/01347_partition_date_vs_datetime/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_datetime (children 1) + Identifier test_datetime diff --git a/parser/testdata/01349_mutation_datetime_key/explain.txt b/parser/testdata/01349_mutation_datetime_key/explain.txt new file mode 100644 index 000000000..748bc8ef9 --- /dev/null +++ b/parser/testdata/01349_mutation_datetime_key/explain.txt @@ -0,0 +1,2 @@ +DropQuery cdp_orders (children 1) + Identifier cdp_orders diff --git a/parser/testdata/01350_intdiv_nontrivial_fpe/explain.txt b/parser/testdata/01350_intdiv_nontrivial_fpe/explain.txt new file mode 100644 index 000000000..94ec51c59 --- /dev/null +++ b/parser/testdata/01350_intdiv_nontrivial_fpe/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function intDiv (children 1) + ExpressionList (children 2) + Literal Int64_-9223372036854775808 + Literal UInt64_255 diff --git a/parser/testdata/01351_geohash_assert/explain.txt b/parser/testdata/01351_geohash_assert/explain.txt new file mode 100644 index 000000000..3bc4cc201 --- /dev/null +++ b/parser/testdata/01351_geohash_assert/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arraySort (children 1) + ExpressionList (children 1) + Function geohashesInBox (children 1) + ExpressionList (children 5) + Literal Float64_-1 + Literal Float64_-1 + Literal Float64_1 + Literal Float64_inf + Literal UInt64_3 diff --git a/parser/testdata/01351_parse_date_time_best_effort_us/explain.txt b/parser/testdata/01351_parse_date_time_best_effort_us/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01351_parse_date_time_best_effort_us/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01352_add_datetime_bad_get/explain.txt b/parser/testdata/01352_add_datetime_bad_get/explain.txt new file mode 100644 index 000000000..818468fc4 --- /dev/null +++ b/parser/testdata/01352_add_datetime_bad_get/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function addMonths (children 1) + ExpressionList (children 2) + Function materialize (children 1) + ExpressionList (children 1) + Function toDateTime (children 1) + ExpressionList (children 1) + Literal \'2017-11-05 08:07:47\' + Literal Float64_1 diff --git a/parser/testdata/01352_generate_random_overflow/explain.txt b/parser/testdata/01352_generate_random_overflow/explain.txt new file mode 100644 index 000000000..efc1f6873 --- /dev/null +++ b/parser/testdata/01352_generate_random_overflow/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier i + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function generateRandom (children 1) + ExpressionList (children 4) + Literal \'i Array(Nullable(Enum8(\\\'hello\\\' = 1, \\\'world\\\' = 5)))\' + Literal UInt64_1025 + Literal UInt64_65535 + Literal UInt64_9223372036854775807 + Literal UInt64_10 +The query succeeded but the server error '128' was expected (query: EXPLAIN AST SELECT i FROM generateRandom('i Array(Nullable(Enum8(\'hello\' = 1, \'world\' = 5)))', 1025, 65535, 9223372036854775807) LIMIT 10; -- { serverError TOO_LARGE_ARRAY_SIZE }). diff --git a/parser/testdata/01353_low_cardinality_join_types/metadata.json b/parser/testdata/01353_low_cardinality_join_types/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01353_low_cardinality_join_types/metadata.json +++ b/parser/testdata/01353_low_cardinality_join_types/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01353_neighbor_overflow/explain.txt b/parser/testdata/01353_neighbor_overflow/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01353_neighbor_overflow/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01353_nullable_tuple/explain.txt b/parser/testdata/01353_nullable_tuple/explain.txt new file mode 100644 index 000000000..e57f37df7 --- /dev/null +++ b/parser/testdata/01353_nullable_tuple/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'single argument\' diff --git a/parser/testdata/01353_topk_enum/explain.txt b/parser/testdata/01353_topk_enum/explain.txt new file mode 100644 index 000000000..9ea80d488 --- /dev/null +++ b/parser/testdata/01353_topk_enum/explain.txt @@ -0,0 +1,27 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function CAST (alias x) (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Function round (children 1) + ExpressionList (children 1) + Function sqrt (children 1) + ExpressionList (children 1) + Identifier number + Literal UInt64_4 + Literal \'Enum(\\\'\\\' = 0, \\\'hello\\\' = 1, \\\'world\\\' = 2, \\\'test\\\' = 3)\' + ExpressionList (children 1) + Function topK (children 2) + ExpressionList (children 1) + Identifier x + ExpressionList (children 1) + Literal UInt64_10 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1000 diff --git a/parser/testdata/01354_order_by_tuple_collate_const/explain.txt b/parser/testdata/01354_order_by_tuple_collate_const/explain.txt new file mode 100644 index 000000000..09c52c775 --- /dev/null +++ b/parser/testdata/01354_order_by_tuple_collate_const/explain.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_11 + ExpressionList (children 3) + OrderByElement (children 1) + Function arrayJoin (children 1) + ExpressionList (children 1) + Literal Array_[\'а\', \'Ñ\', \'\\0�\', \'\', \'Я\', \'\'] + OrderByElement (children 1) + Function toString (children 1) + ExpressionList (children 1) + Identifier number + OrderByElement (children 2) + Literal \'y\' + Literal \'el\' diff --git a/parser/testdata/01354_tuple_low_cardinality_array_mapped_bug/explain.txt b/parser/testdata/01354_tuple_low_cardinality_array_mapped_bug/explain.txt new file mode 100644 index 000000000..29d8615a6 --- /dev/null +++ b/parser/testdata/01354_tuple_low_cardinality_array_mapped_bug/explain.txt @@ -0,0 +1,27 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayExists (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function equals (children 1) + ExpressionList (children 2) + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_1 + Literal \'pattern\' + Function CAST (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList (children 2) + Literal \'a\' + Literal UInt64_1 + Literal \'Array(Tuple(LowCardinality(String), UInt8))\' diff --git a/parser/testdata/01355_alter_column_with_order/explain.txt b/parser/testdata/01355_alter_column_with_order/explain.txt new file mode 100644 index 000000000..932d2a4aa --- /dev/null +++ b/parser/testdata/01355_alter_column_with_order/explain.txt @@ -0,0 +1,2 @@ +DropQuery alter_01355 (children 1) + Identifier alter_01355 diff --git a/parser/testdata/01355_defaultValueOfArgumentType_bug/metadata.json b/parser/testdata/01355_defaultValueOfArgumentType_bug/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01355_defaultValueOfArgumentType_bug/metadata.json +++ b/parser/testdata/01355_defaultValueOfArgumentType_bug/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01355_if_fixed_string/explain.txt b/parser/testdata/01355_if_fixed_string/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01355_if_fixed_string/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01355_ilike/explain.txt b/parser/testdata/01355_ilike/explain.txt new file mode 100644 index 000000000..c796f7ec9 --- /dev/null +++ b/parser/testdata/01355_ilike/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function ilike (children 1) + ExpressionList (children 2) + Literal \'Hello\' + Literal \'\' diff --git a/parser/testdata/01356_initialize_aggregation/explain.txt b/parser/testdata/01356_initialize_aggregation/explain.txt new file mode 100644 index 000000000..c61c819b9 --- /dev/null +++ b/parser/testdata/01356_initialize_aggregation/explain.txt @@ -0,0 +1,27 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function uniqMerge (children 1) + ExpressionList (children 1) + Identifier state + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function initializeAggregation (alias state) (children 1) + ExpressionList (children 2) + Literal \'uniqState\' + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_3 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_10000 diff --git a/parser/testdata/01356_state_resample/explain.txt b/parser/testdata/01356_state_resample/explain.txt new file mode 100644 index 000000000..13b0e8bf4 --- /dev/null +++ b/parser/testdata/01356_state_resample/explain.txt @@ -0,0 +1,21 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function sumResample (children 2) + ExpressionList (children 2) + Identifier number + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_20 + ExpressionList (children 3) + Literal UInt64_0 + Literal UInt64_20 + Literal UInt64_1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_200 diff --git a/parser/testdata/01356_view_threads/explain.txt b/parser/testdata/01356_view_threads/explain.txt new file mode 100644 index 000000000..c7e1605d3 --- /dev/null +++ b/parser/testdata/01356_view_threads/explain.txt @@ -0,0 +1,2 @@ +DropQuery table_01356_view_threads (children 1) + Identifier table_01356_view_threads diff --git a/parser/testdata/01356_wrong_filter-type_bug/explain.txt b/parser/testdata/01356_wrong_filter-type_bug/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/01356_wrong_filter-type_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/01357_result_rows/explain.txt b/parser/testdata/01357_result_rows/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01357_result_rows/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01357_version_collapsing_attach_detach_zookeeper/explain.txt b/parser/testdata/01357_version_collapsing_attach_detach_zookeeper/explain.txt new file mode 100644 index 000000000..cd3dacf3c --- /dev/null +++ b/parser/testdata/01357_version_collapsing_attach_detach_zookeeper/explain.txt @@ -0,0 +1,2 @@ +DropQuery versioned_collapsing_table (children 1) + Identifier versioned_collapsing_table diff --git a/parser/testdata/01358_constexpr_constraint/explain.txt b/parser/testdata/01358_constexpr_constraint/explain.txt new file mode 100644 index 000000000..d8d36f73c --- /dev/null +++ b/parser/testdata/01358_constexpr_constraint/explain.txt @@ -0,0 +1,2 @@ +CreateQuery constrained (children 1) + Identifier constrained diff --git a/parser/testdata/01358_mutation_delete_null_rows/explain.txt b/parser/testdata/01358_mutation_delete_null_rows/explain.txt new file mode 100644 index 000000000..d46e1214d --- /dev/null +++ b/parser/testdata/01358_mutation_delete_null_rows/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'--------\' diff --git a/parser/testdata/01358_union_threads_bug/explain.txt b/parser/testdata/01358_union_threads_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01358_union_threads_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01359_codeql/explain.txt b/parser/testdata/01359_codeql/explain.txt new file mode 100644 index 000000000..e41554538 --- /dev/null +++ b/parser/testdata/01359_codeql/explain.txt @@ -0,0 +1,24 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function round (children 1) + ExpressionList (children 1) + Function avgWeighted (children 1) + ExpressionList (children 2) + Identifier x + Identifier y + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 2) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_4294967295 (alias x) + Literal UInt64_1000000000 (alias y) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_1 (alias x) + Literal UInt64_1 (alias y) diff --git a/parser/testdata/01359_geodistance_loop/explain.txt b/parser/testdata/01359_geodistance_loop/explain.txt new file mode 100644 index 000000000..1743c0a84 --- /dev/null +++ b/parser/testdata/01359_geodistance_loop/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function geoDistance (children 1) + ExpressionList (children 4) + Literal Float64_0 + Literal Float64_0 + Literal Float64_-inf + Literal Float64_1 diff --git a/parser/testdata/01360_division_overflow/explain.txt b/parser/testdata/01360_division_overflow/explain.txt new file mode 100644 index 000000000..d3dc3f452 --- /dev/null +++ b/parser/testdata/01360_division_overflow/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function intDiv (children 1) + ExpressionList (children 2) + Function materialize (children 1) + ExpressionList (children 1) + Function toInt32 (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Literal UInt64_4294967296 diff --git a/parser/testdata/01360_materialized_view_with_join_on_query_log/explain.txt b/parser/testdata/01360_materialized_view_with_join_on_query_log/explain.txt new file mode 100644 index 000000000..77ffe6a80 --- /dev/null +++ b/parser/testdata/01360_materialized_view_with_join_on_query_log/explain.txt @@ -0,0 +1,2 @@ +DropQuery slow_log (children 1) + Identifier slow_log diff --git a/parser/testdata/01361_buffer_table_flush_with_materialized_view/explain.txt b/parser/testdata/01361_buffer_table_flush_with_materialized_view/explain.txt new file mode 100644 index 000000000..4626b6cbe --- /dev/null +++ b/parser/testdata/01361_buffer_table_flush_with_materialized_view/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1_01361 (children 1) + Identifier t1_01361 diff --git a/parser/testdata/01362_year_of_ISO8601_week_modificators_for_formatDateTime/explain.txt b/parser/testdata/01362_year_of_ISO8601_week_modificators_for_formatDateTime/explain.txt new file mode 100644 index 000000000..b700048fa --- /dev/null +++ b/parser/testdata/01362_year_of_ISO8601_week_modificators_for_formatDateTime/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function formatDateTime (children 1) + ExpressionList (children 2) + Function toDate (children 1) + ExpressionList (children 1) + Literal \'2010-01-01\' + Literal \'%G\' diff --git a/parser/testdata/01372_remote_table_function_empty_table/explain.txt b/parser/testdata/01372_remote_table_function_empty_table/explain.txt new file mode 100644 index 000000000..251863f68 --- /dev/null +++ b/parser/testdata/01372_remote_table_function_empty_table/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127..2\' + Literal \'a.\' +The query succeeded but the server error '62' was expected (query: EXPLAIN AST SELECT * FROM remote('127..2', 'a.'); -- { serverError SYNTAX_ERROR }). diff --git a/parser/testdata/01372_wrong_order_by_removal/explain.txt b/parser/testdata/01372_wrong_order_by_removal/explain.txt new file mode 100644 index 000000000..dc23d935c --- /dev/null +++ b/parser/testdata/01372_wrong_order_by_removal/explain.txt @@ -0,0 +1,2 @@ +CreateQuery moving_sum_num (children 1) + Identifier moving_sum_num diff --git a/parser/testdata/01373_is_zero_or_null/explain.txt b/parser/testdata/01373_is_zero_or_null/explain.txt new file mode 100644 index 000000000..0cf93e753 --- /dev/null +++ b/parser/testdata/01373_is_zero_or_null/explain.txt @@ -0,0 +1,24 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function not (children 1) + ExpressionList (children 1) + Identifier x + Function isZeroOrNull (children 1) + ExpressionList (children 1) + Identifier x + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function equals (alias x) (children 1) + ExpressionList (children 2) + Function arrayJoin (children 1) + ExpressionList (children 1) + Literal Array_[UInt64_1, UInt64_2, UInt64_3, NULL] + Literal UInt64_3 diff --git a/parser/testdata/01373_summing_merge_tree_exclude_partition_key/explain.txt b/parser/testdata/01373_summing_merge_tree_exclude_partition_key/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01373_summing_merge_tree_exclude_partition_key/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01373_summing_merge_tree_explicit_columns_definition/explain.txt b/parser/testdata/01373_summing_merge_tree_explicit_columns_definition/explain.txt new file mode 100644 index 000000000..7ad8b2f3e --- /dev/null +++ b/parser/testdata/01373_summing_merge_tree_explicit_columns_definition/explain.txt @@ -0,0 +1,2 @@ +DropQuery tt_error_1373 (children 1) + Identifier tt_error_1373 diff --git a/parser/testdata/01374_if_nullable_filimonov/metadata.json b/parser/testdata/01374_if_nullable_filimonov/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01374_if_nullable_filimonov/metadata.json +++ b/parser/testdata/01374_if_nullable_filimonov/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01375_GROUP_BY_injective_elimination_dictGet_BAD_ARGUMENTS/explain.txt b/parser/testdata/01375_GROUP_BY_injective_elimination_dictGet_BAD_ARGUMENTS/explain.txt new file mode 100644 index 000000000..0588fbf5c --- /dev/null +++ b/parser/testdata/01375_GROUP_BY_injective_elimination_dictGet_BAD_ARGUMENTS/explain.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function dictGetString (alias country) (children 1) + ExpressionList (children 3) + Function concat (children 1) + ExpressionList (children 2) + Literal \'default\' + Literal \'.countryId\' + Literal \'country\' + Function toUInt64 (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_2 + ExpressionList (children 1) + Identifier country +The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT dictGetString(concat('default', '.countryId'), 'country', toUInt64(number)) AS country FROM numbers(2) GROUP BY country; -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/01375_compact_parts_codecs/explain.txt b/parser/testdata/01375_compact_parts_codecs/explain.txt new file mode 100644 index 000000000..fa876ce12 --- /dev/null +++ b/parser/testdata/01375_compact_parts_codecs/explain.txt @@ -0,0 +1,2 @@ +DropQuery codecs (children 1) + Identifier codecs diff --git a/parser/testdata/01375_null_issue_3767/explain.txt b/parser/testdata/01375_null_issue_3767/explain.txt new file mode 100644 index 000000000..0c860f23c --- /dev/null +++ b/parser/testdata/01375_null_issue_3767/explain.txt @@ -0,0 +1,2 @@ +DropQuery null_issue_3767 (children 1) + Identifier null_issue_3767 diff --git a/parser/testdata/01375_storage_file_write_prefix_csv_with_names/explain.txt b/parser/testdata/01375_storage_file_write_prefix_csv_with_names/explain.txt new file mode 100644 index 000000000..f16bb54c6 --- /dev/null +++ b/parser/testdata/01375_storage_file_write_prefix_csv_with_names/explain.txt @@ -0,0 +1,2 @@ +DropQuery tmp_01375 (children 1) + Identifier tmp_01375 diff --git a/parser/testdata/01375_storage_file_write_prefix_tsv_with_names/explain.txt b/parser/testdata/01375_storage_file_write_prefix_tsv_with_names/explain.txt new file mode 100644 index 000000000..f16bb54c6 --- /dev/null +++ b/parser/testdata/01375_storage_file_write_prefix_tsv_with_names/explain.txt @@ -0,0 +1,2 @@ +DropQuery tmp_01375 (children 1) + Identifier tmp_01375 diff --git a/parser/testdata/01376_GROUP_BY_injective_elimination_dictGet/explain.txt b/parser/testdata/01376_GROUP_BY_injective_elimination_dictGet/explain.txt new file mode 100644 index 000000000..b97c72d18 --- /dev/null +++ b/parser/testdata/01376_GROUP_BY_injective_elimination_dictGet/explain.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function dictGet (alias country) (children 1) + ExpressionList (children 3) + Literal \'default.countryId\' + Literal \'country\' + Function toUInt64 (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_2 + ExpressionList (children 1) + Identifier country +The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT dictGet('default.countryId', 'country', toUInt64(number)) AS country FROM numbers(2) GROUP BY country; -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/01376_array_fill_empty/explain.txt b/parser/testdata/01376_array_fill_empty/explain.txt new file mode 100644 index 000000000..fd0ab56c9 --- /dev/null +++ b/parser/testdata/01376_array_fill_empty/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayFill (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function less (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_10 + Function array (children 1) + ExpressionList diff --git a/parser/testdata/01376_null_logical/explain.txt b/parser/testdata/01376_null_logical/explain.txt new file mode 100644 index 000000000..e30140586 --- /dev/null +++ b/parser/testdata/01376_null_logical/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function or (children 1) + ExpressionList (children 2) + Literal NULL + Literal UInt64_1 diff --git a/parser/testdata/01377_supertype_low_cardinality/explain.txt b/parser/testdata/01377_supertype_low_cardinality/explain.txt new file mode 100644 index 000000000..8f1ada7ac --- /dev/null +++ b/parser/testdata/01377_supertype_low_cardinality/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 2) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'hello\' + SelectQuery (children 1) + ExpressionList (children 1) + Function toLowCardinality (children 1) + ExpressionList (children 1) + Literal \'hello\' diff --git a/parser/testdata/01378_alter_rename_with_ttl_zookeeper/explain.txt b/parser/testdata/01378_alter_rename_with_ttl_zookeeper/explain.txt new file mode 100644 index 000000000..5263d4afd --- /dev/null +++ b/parser/testdata/01378_alter_rename_with_ttl_zookeeper/explain.txt @@ -0,0 +1,2 @@ +DropQuery table_rename_with_ttl (children 1) + Identifier table_rename_with_ttl diff --git a/parser/testdata/01379_with_fill_several_columns/metadata.json b/parser/testdata/01379_with_fill_several_columns/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01379_with_fill_several_columns/metadata.json +++ b/parser/testdata/01379_with_fill_several_columns/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01380_coded_delta_exception_code/explain.txt b/parser/testdata/01380_coded_delta_exception_code/explain.txt new file mode 100644 index 000000000..6dcc3f18b --- /dev/null +++ b/parser/testdata/01380_coded_delta_exception_code/explain.txt @@ -0,0 +1,21 @@ +CreateQuery delta_codec_synthetic (children 3) + Identifier delta_codec_synthetic + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration id (children 2) + DataType Decimal (children 1) + ExpressionList (children 2) + Literal UInt64_38 + Literal UInt64_10 + Function CODEC (children 1) + ExpressionList (children 2) + Function Delta + Function ZSTD (children 1) + ExpressionList (children 1) + Literal UInt64_22 + Storage definition (children 2) + Function MergeTree (children 1) + ExpressionList + Function tuple (children 1) + ExpressionList +The query succeeded but the server error '36' was expected (query: EXPLAIN AST CREATE TABLE delta_codec_synthetic (`id` Decimal(38, 10) CODEC(Delta, ZSTD(22))) ENGINE = MergeTree() ORDER BY tuple(); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/01380_nullable_state/explain.txt b/parser/testdata/01380_nullable_state/explain.txt new file mode 100644 index 000000000..ac8072d52 --- /dev/null +++ b/parser/testdata/01380_nullable_state/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function hex (children 1) + ExpressionList (children 1) + Function toString (children 1) + ExpressionList (children 1) + Function uniqState (children 1) + ExpressionList (children 1) + Function toNullable (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/01381_for_each_with_states/explain.txt b/parser/testdata/01381_for_each_with_states/explain.txt new file mode 100644 index 000000000..3e69aebe1 --- /dev/null +++ b/parser/testdata/01381_for_each_with_states/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function hex (children 1) + ExpressionList (children 1) + Function toString (children 1) + ExpressionList (children 1) + Function uniqStateForEach (children 1) + ExpressionList (children 1) + Literal Array_[UInt64_1, NULL] diff --git a/parser/testdata/01383_remote_ambiguous_column_shard/explain.txt b/parser/testdata/01383_remote_ambiguous_column_shard/explain.txt new file mode 100644 index 000000000..e0a92eab8 --- /dev/null +++ b/parser/testdata/01383_remote_ambiguous_column_shard/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_01383 (children 1) + Identifier test_01383 diff --git a/parser/testdata/01384_bloom_filter_bad_arguments/explain.txt b/parser/testdata/01384_bloom_filter_bad_arguments/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/01384_bloom_filter_bad_arguments/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/01385_not_function/explain.txt b/parser/testdata/01385_not_function/explain.txt new file mode 100644 index 000000000..b2118385b --- /dev/null +++ b/parser/testdata/01385_not_function/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function notEquals (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Function not (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/01386_negative_float_constant_key_condition/explain.txt b/parser/testdata/01386_negative_float_constant_key_condition/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01386_negative_float_constant_key_condition/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01387_clear_column_default_depends/explain.txt b/parser/testdata/01387_clear_column_default_depends/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/01387_clear_column_default_depends/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/01388_clear_all_columns/explain.txt b/parser/testdata/01388_clear_all_columns/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/01388_clear_all_columns/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/01388_multi_if_optimization/explain.txt b/parser/testdata/01388_multi_if_optimization/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01388_multi_if_optimization/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01389_filter_by_virtual_columns/explain.txt b/parser/testdata/01389_filter_by_virtual_columns/explain.txt new file mode 100644 index 000000000..a04066e96 --- /dev/null +++ b/parser/testdata/01389_filter_by_virtual_columns/explain.txt @@ -0,0 +1,21 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.parts + Function and (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier table + Literal NULL + Function equals (children 1) + ExpressionList (children 2) + Identifier database + Function currentDatabase (children 1) + ExpressionList diff --git a/parser/testdata/01390_check_table_codec/explain.txt b/parser/testdata/01390_check_table_codec/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01390_check_table_codec/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01390_remove_injective_in_uniq/explain.txt b/parser/testdata/01390_remove_injective_in_uniq/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01390_remove_injective_in_uniq/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01391_join_on_dict_crash/explain.txt b/parser/testdata/01391_join_on_dict_crash/explain.txt new file mode 100644 index 000000000..f4b240e2f --- /dev/null +++ b/parser/testdata/01391_join_on_dict_crash/explain.txt @@ -0,0 +1,10 @@ +CreateQuery t (children 3) + Identifier t + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration click_city_id (children 1) + DataType UInt32 + ColumnDeclaration click_country_id (children 1) + DataType UInt32 + Storage definition (children 1) + Function Memory diff --git a/parser/testdata/01391_limit_overflow/explain.txt b/parser/testdata/01391_limit_overflow/explain.txt new file mode 100644 index 000000000..04e45926e --- /dev/null +++ b/parser/testdata/01391_limit_overflow/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier number + Literal UInt64_2 + Literal UInt64_9223372036854775807 diff --git a/parser/testdata/01392_column_resolve/explain.txt b/parser/testdata/01392_column_resolve/explain.txt new file mode 100644 index 000000000..a03ab94af --- /dev/null +++ b/parser/testdata/01392_column_resolve/explain.txt @@ -0,0 +1,13 @@ +CreateQuery tableConversion (children 3) + Identifier tableConversion + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration conversionId (children 1) + DataType String + ColumnDeclaration value (children 1) + DataType Nullable (children 1) + ExpressionList (children 1) + DataType Double + Storage definition (children 1) + Function Log (children 1) + ExpressionList diff --git a/parser/testdata/01396_low_cardinality_fixed_string_default/explain.txt b/parser/testdata/01396_low_cardinality_fixed_string_default/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/01396_low_cardinality_fixed_string_default/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/01396_negative_datetime_saturate_to_zero/explain.txt b/parser/testdata/01396_negative_datetime_saturate_to_zero/explain.txt new file mode 100644 index 000000000..4bbdcd41c --- /dev/null +++ b/parser/testdata/01396_negative_datetime_saturate_to_zero/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function greater (children 1) + ExpressionList (children 2) + Function toTimeZone (children 1) + ExpressionList (children 2) + Function now (children 1) + ExpressionList + Literal \'Asia/Istanbul\' + Literal \'1970-01-01 00:00:00\' diff --git a/parser/testdata/01397_in_bad_arguments/explain.txt b/parser/testdata/01397_in_bad_arguments/explain.txt new file mode 100644 index 000000000..cfff0e5d9 --- /dev/null +++ b/parser/testdata/01397_in_bad_arguments/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function in (children 1) + ExpressionList (children 1) + Literal Tuple_(UInt64_1, UInt64_1, UInt64_1, UInt64_1) +The query succeeded but the server error '42' was expected (query: EXPLAIN AST select in((1, 1, 1, 1)); -- { serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH }). diff --git a/parser/testdata/01398_in_tuple_func/explain.txt b/parser/testdata/01398_in_tuple_func/explain.txt new file mode 100644 index 000000000..5f47c959c --- /dev/null +++ b/parser/testdata/01398_in_tuple_func/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function in (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Function tuple (children 1) + ExpressionList (children 5) + Literal UInt64_1 + Literal UInt64_2 + Literal UInt64_3 + Literal UInt64_4 + Literal UInt64_5 + Set diff --git a/parser/testdata/01400_join_get_with_multi_keys/explain.txt b/parser/testdata/01400_join_get_with_multi_keys/explain.txt new file mode 100644 index 000000000..20966d4a9 --- /dev/null +++ b/parser/testdata/01400_join_get_with_multi_keys/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_joinGet (children 1) + Identifier test_joinGet diff --git a/parser/testdata/01402_cast_nullable_string_to_enum/explain.txt b/parser/testdata/01402_cast_nullable_string_to_enum/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01402_cast_nullable_string_to_enum/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01403_datetime64_constant_arg/explain.txt b/parser/testdata/01403_datetime64_constant_arg/explain.txt new file mode 100644 index 000000000..c97851c71 --- /dev/null +++ b/parser/testdata/01403_datetime64_constant_arg/explain.txt @@ -0,0 +1,25 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function toDateTime (alias ts) (children 1) + ExpressionList (children 2) + Function fromUnixTimestamp64Micro (children 1) + ExpressionList (children 1) + Function toInt64 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal \'UTC\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers_mt (children 1) + ExpressionList (children 1) + Literal UInt64_2 + Function equals (children 1) + ExpressionList (children 2) + Function plus (children 1) + ExpressionList (children 2) + Identifier ts + Literal UInt64_1 + Identifier ts diff --git a/parser/testdata/01404_roundUpToPowerOfTwoOrZero_safety/explain.txt b/parser/testdata/01404_roundUpToPowerOfTwoOrZero_safety/explain.txt new file mode 100644 index 000000000..e8cba50d3 --- /dev/null +++ b/parser/testdata/01404_roundUpToPowerOfTwoOrZero_safety/explain.txt @@ -0,0 +1,24 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function repeat (children 1) + ExpressionList (children 2) + Literal \'0.0001048576\' + Function multiply (children 1) + ExpressionList (children 2) + Identifier number + Function multiply (children 1) + ExpressionList (children 2) + Identifier number + Function multiply (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_255 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_65535 +The query succeeded but the server error '131' was expected (query: EXPLAIN AST SELECT repeat('0.0001048576', number * (number * (number * 255))) FROM numbers(65535); -- { serverError TOO_LARGE_STRING_SIZE }). diff --git a/parser/testdata/01407_lambda_arrayJoin/explain.txt b/parser/testdata/01407_lambda_arrayJoin/explain.txt new file mode 100644 index 000000000..a359e6675 --- /dev/null +++ b/parser/testdata/01407_lambda_arrayJoin/explain.txt @@ -0,0 +1,26 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayFilter (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier a + Function in (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 2) + Identifier a + Function arrayJoin (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList + Function tuple (children 1) + ExpressionList (children 2) + Literal NULL + Literal Array_[NULL] + Function array (children 1) + ExpressionList diff --git a/parser/testdata/01408_range_overflow/explain.txt b/parser/testdata/01408_range_overflow/explain.txt new file mode 100644 index 000000000..a9d51884e --- /dev/null +++ b/parser/testdata/01408_range_overflow/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function range (children 1) + ExpressionList (children 3) + Literal UInt64_1025 + Function plus (children 1) + ExpressionList (children 2) + Literal UInt64_1048576 + Literal UInt64_9223372036854775807 + Literal UInt64_9223372036854775807 diff --git a/parser/testdata/01409_topK_merge/explain.txt b/parser/testdata/01409_topK_merge/explain.txt new file mode 100644 index 000000000..8069f3307 --- /dev/null +++ b/parser/testdata/01409_topK_merge/explain.txt @@ -0,0 +1,2 @@ +DropQuery data_01409 (children 1) + Identifier data_01409 diff --git a/parser/testdata/01410_full_join_and_null_predicates/explain.txt b/parser/testdata/01410_full_join_and_null_predicates/explain.txt new file mode 100644 index 000000000..4729043f2 --- /dev/null +++ b/parser/testdata/01410_full_join_and_null_predicates/explain.txt @@ -0,0 +1,2 @@ +DropQuery l (children 1) + Identifier l diff --git a/parser/testdata/01410_nullable_key_and_index/explain.txt b/parser/testdata/01410_nullable_key_and_index/explain.txt new file mode 100644 index 000000000..86b933365 --- /dev/null +++ b/parser/testdata/01410_nullable_key_and_index/explain.txt @@ -0,0 +1,2 @@ +DropQuery nullable_key (children 1) + Identifier nullable_key diff --git a/parser/testdata/01410_nullable_key_and_index_negate_cond/explain.txt b/parser/testdata/01410_nullable_key_and_index_negate_cond/explain.txt new file mode 100644 index 000000000..0ccf5078b --- /dev/null +++ b/parser/testdata/01410_nullable_key_and_index_negate_cond/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_23634 (children 1) + Identifier test_23634 diff --git a/parser/testdata/01411_from_unixtime/explain.txt b/parser/testdata/01411_from_unixtime/explain.txt new file mode 100644 index 000000000..7d65b992e --- /dev/null +++ b/parser/testdata/01411_from_unixtime/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function formatDateTime (children 1) + ExpressionList (children 3) + Function FROM_UNIXTIME (children 1) + ExpressionList (children 1) + Literal UInt64_123 + Literal \'%Y-%m-%d %R:%S\' + Literal \'UTC\' diff --git a/parser/testdata/01411_xor_itai_shirav/explain.txt b/parser/testdata/01411_xor_itai_shirav/explain.txt new file mode 100644 index 000000000..baff30c80 --- /dev/null +++ b/parser/testdata/01411_xor_itai_shirav/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function xor (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal UInt64_0 diff --git a/parser/testdata/01412_group_array_moving_shard/explain.txt b/parser/testdata/01412_group_array_moving_shard/explain.txt new file mode 100644 index 000000000..1bb8d10f7 --- /dev/null +++ b/parser/testdata/01412_group_array_moving_shard/explain.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function groupArrayMovingSum (children 2) + ExpressionList (children 1) + Literal UInt64_1 + ExpressionList (children 1) + Literal UInt64_10 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.0.0.{1,2}\' + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_100 diff --git a/parser/testdata/01412_mod_float/explain.txt b/parser/testdata/01412_mod_float/explain.txt new file mode 100644 index 000000000..ae4cbc972 --- /dev/null +++ b/parser/testdata/01412_mod_float/explain.txt @@ -0,0 +1,31 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Literal Float64_8.5 (alias a) + Literal Float64_2.5 (alias b) + ExpressionList (children 4) + Function modulo (children 1) + ExpressionList (children 2) + Identifier a + Identifier b + Function modulo (children 1) + ExpressionList (children 2) + Function negate (children 1) + ExpressionList (children 1) + Identifier a + Identifier b + Function modulo (children 1) + ExpressionList (children 2) + Identifier a + Function negate (children 1) + ExpressionList (children 1) + Identifier b + Function modulo (children 1) + ExpressionList (children 2) + Function negate (children 1) + ExpressionList (children 1) + Identifier a + Function negate (children 1) + ExpressionList (children 1) + Identifier b diff --git a/parser/testdata/01412_optimize_deduplicate_bug/explain.txt b/parser/testdata/01412_optimize_deduplicate_bug/explain.txt new file mode 100644 index 000000000..40dda5ced --- /dev/null +++ b/parser/testdata/01412_optimize_deduplicate_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery tesd_dedupl (children 1) + Identifier tesd_dedupl diff --git a/parser/testdata/01412_row_from_totals/explain.txt b/parser/testdata/01412_row_from_totals/explain.txt new file mode 100644 index 000000000..45c6a34bd --- /dev/null +++ b/parser/testdata/01412_row_from_totals/explain.txt @@ -0,0 +1,2 @@ +DropQuery tracking_events_tmp (children 1) + Identifier tracking_events_tmp diff --git a/parser/testdata/01413_allow_non_metadata_alters/explain.txt b/parser/testdata/01413_allow_non_metadata_alters/explain.txt new file mode 100644 index 000000000..4a8b8017f --- /dev/null +++ b/parser/testdata/01413_allow_non_metadata_alters/explain.txt @@ -0,0 +1,2 @@ +DropQuery non_metadata_alters (children 1) + Identifier non_metadata_alters diff --git a/parser/testdata/01413_alter_update_supertype/explain.txt b/parser/testdata/01413_alter_update_supertype/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/01413_alter_update_supertype/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/01413_if_array_uuid/explain.txt b/parser/testdata/01413_if_array_uuid/explain.txt new file mode 100644 index 000000000..44efbce11 --- /dev/null +++ b/parser/testdata/01413_if_array_uuid/explain.txt @@ -0,0 +1,29 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function if (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + Literal UInt64_0 + Function array (children 1) + ExpressionList (children 1) + Function toUUID (children 1) + ExpressionList (children 1) + Literal \'00000000-e1fe-11e9-bb8f-853d60c00749\' + Function array (children 1) + ExpressionList (children 1) + Function toUUID (children 1) + ExpressionList (children 1) + Literal \'11111111-e1fe-11e9-bb8f-853d60c00749\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_5 diff --git a/parser/testdata/01413_rows_events/explain.txt b/parser/testdata/01413_rows_events/explain.txt new file mode 100644 index 000000000..2c8c3ac64 --- /dev/null +++ b/parser/testdata/01413_rows_events/explain.txt @@ -0,0 +1,2 @@ +DropQuery rows_events_test (children 1) + Identifier rows_events_test diff --git a/parser/testdata/01413_truncate_without_table_keyword/explain.txt b/parser/testdata/01413_truncate_without_table_keyword/explain.txt new file mode 100644 index 000000000..ef25cddd6 --- /dev/null +++ b/parser/testdata/01413_truncate_without_table_keyword/explain.txt @@ -0,0 +1,2 @@ +DropQuery truncate_test (children 1) + Identifier truncate_test diff --git a/parser/testdata/01414_bloom_filter_index_with_const_column/explain.txt b/parser/testdata/01414_bloom_filter_index_with_const_column/explain.txt new file mode 100644 index 000000000..e61695371 --- /dev/null +++ b/parser/testdata/01414_bloom_filter_index_with_const_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_bloom_filter_index (children 1) + Identifier test_bloom_filter_index diff --git a/parser/testdata/01414_freeze_does_not_prevent_alters/explain.txt b/parser/testdata/01414_freeze_does_not_prevent_alters/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/01414_freeze_does_not_prevent_alters/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/01414_low_cardinality_nullable/explain.txt b/parser/testdata/01414_low_cardinality_nullable/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01414_low_cardinality_nullable/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01414_mutations_and_errors/explain.txt b/parser/testdata/01414_mutations_and_errors/explain.txt new file mode 100644 index 000000000..e8ee8dc33 --- /dev/null +++ b/parser/testdata/01414_mutations_and_errors/explain.txt @@ -0,0 +1,2 @@ +DropQuery mutation_table (children 1) + Identifier mutation_table diff --git a/parser/testdata/01414_push_predicate_when_contains_with_clause/explain.txt b/parser/testdata/01414_push_predicate_when_contains_with_clause/explain.txt new file mode 100644 index 000000000..783922f9c --- /dev/null +++ b/parser/testdata/01414_push_predicate_when_contains_with_clause/explain.txt @@ -0,0 +1,2 @@ +DropQuery numbers_indexed (children 1) + Identifier numbers_indexed diff --git a/parser/testdata/01415_inconsistent_merge_tree_settings/explain.txt b/parser/testdata/01415_inconsistent_merge_tree_settings/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/01415_inconsistent_merge_tree_settings/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/01415_overlimiting_threads_for_repica_bug/explain.txt b/parser/testdata/01415_overlimiting_threads_for_repica_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01415_overlimiting_threads_for_repica_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01415_table_function_view/explain.txt b/parser/testdata/01415_table_function_view/explain.txt new file mode 100644 index 000000000..a4582f9a7 --- /dev/null +++ b/parser/testdata/01415_table_function_view/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function view (children 1) + ExpressionList (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/01416_clear_column_pk/explain.txt b/parser/testdata/01416_clear_column_pk/explain.txt new file mode 100644 index 000000000..9fa65330a --- /dev/null +++ b/parser/testdata/01416_clear_column_pk/explain.txt @@ -0,0 +1,2 @@ +DropQuery table_with_pk_clear (children 1) + Identifier table_with_pk_clear diff --git a/parser/testdata/01416_join_totals_header_bug/explain.txt b/parser/testdata/01416_join_totals_header_bug/explain.txt new file mode 100644 index 000000000..8a60b5845 --- /dev/null +++ b/parser/testdata/01416_join_totals_header_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery tableCommon (children 1) + Identifier tableCommon diff --git a/parser/testdata/01417_update_permutation_crash/explain.txt b/parser/testdata/01417_update_permutation_crash/explain.txt new file mode 100644 index 000000000..41f7e03f4 --- /dev/null +++ b/parser/testdata/01417_update_permutation_crash/explain.txt @@ -0,0 +1,21 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function tuple (alias t) (children 1) + ExpressionList (children 3) + Literal UInt64_1 + Literal UInt64_1 + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers_mt (children 1) + ExpressionList (children 1) + Literal UInt64_1000001 + ExpressionList (children 2) + OrderByElement (children 1) + Identifier t + OrderByElement (children 1) + Identifier number + Literal UInt64_1 diff --git a/parser/testdata/01418_custom_settings/explain.txt b/parser/testdata/01418_custom_settings/explain.txt new file mode 100644 index 000000000..5d4d45fba --- /dev/null +++ b/parser/testdata/01418_custom_settings/explain.txt @@ -0,0 +1 @@ +DROP SETTINGS PROFILE query diff --git a/parser/testdata/01418_index_analysis_bug/explain.txt b/parser/testdata/01418_index_analysis_bug/explain.txt new file mode 100644 index 000000000..25da89162 --- /dev/null +++ b/parser/testdata/01418_index_analysis_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery mytable_local (children 1) + Identifier mytable_local diff --git a/parser/testdata/01418_query_scope_constants_and_remote/explain.txt b/parser/testdata/01418_query_scope_constants_and_remote/explain.txt new file mode 100644 index 000000000..772bd9cc1 --- /dev/null +++ b/parser/testdata/01418_query_scope_constants_and_remote/explain.txt @@ -0,0 +1,27 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Identifier c + Literal UInt64_0 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function randConstant (alias c) (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.0.0.{1,2}\' + Function numbers_mt (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/01419_materialize_null/explain.txt b/parser/testdata/01419_materialize_null/explain.txt new file mode 100644 index 000000000..c3adcb6fa --- /dev/null +++ b/parser/testdata/01419_materialize_null/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function isConstant (children 1) + ExpressionList (children 1) + Literal NULL diff --git a/parser/testdata/01419_merge_tree_settings_sanity_check/explain.txt b/parser/testdata/01419_merge_tree_settings_sanity_check/explain.txt new file mode 100644 index 000000000..25da89162 --- /dev/null +++ b/parser/testdata/01419_merge_tree_settings_sanity_check/explain.txt @@ -0,0 +1,2 @@ +DropQuery mytable_local (children 1) + Identifier mytable_local diff --git a/parser/testdata/01419_skip_index_compact_parts/explain.txt b/parser/testdata/01419_skip_index_compact_parts/explain.txt new file mode 100644 index 000000000..ab5d8c194 --- /dev/null +++ b/parser/testdata/01419_skip_index_compact_parts/explain.txt @@ -0,0 +1,2 @@ +DropQuery index_compact (children 1) + Identifier index_compact diff --git a/parser/testdata/01420_logical_functions_materialized_null/explain.txt b/parser/testdata/01420_logical_functions_materialized_null/explain.txt new file mode 100644 index 000000000..39d68e5d1 --- /dev/null +++ b/parser/testdata/01420_logical_functions_materialized_null/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function and (children 1) + ExpressionList (children 2) + Literal NULL + Literal UInt64_1 diff --git a/parser/testdata/01421_array_nullable_element_nullable_index/explain.txt b/parser/testdata/01421_array_nullable_element_nullable_index/explain.txt new file mode 100644 index 000000000..30eec263f --- /dev/null +++ b/parser/testdata/01421_array_nullable_element_nullable_index/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function array (alias x) (children 1) + ExpressionList (children 1) + Function toNullable (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Function arrayElement (alias y) (children 1) + ExpressionList (children 2) + Identifier x + Function toNullable (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/01421_assert_in_in/explain.txt b/parser/testdata/01421_assert_in_in/explain.txt new file mode 100644 index 000000000..226a59faf --- /dev/null +++ b/parser/testdata/01421_assert_in_in/explain.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function in (children 1) + ExpressionList (children 2) + Literal Tuple_(UInt64_1, UInt64_2) + Function tuple (children 1) + ExpressionList (children 2) + Literal Tuple_(UInt64_1, Tuple_(UInt64_2, UInt64_3)) + Function tuple (children 1) + ExpressionList (children 2) + Function plus (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal UInt64_1 + Literal UInt64_1 +The query succeeded but the server error '53' was expected (query: EXPLAIN AST SELECT (1, 2) IN ((1, (2, 3)), (1 + 1, 1)); -- { serverError TYPE_MISMATCH }). diff --git a/parser/testdata/01422_array_nullable_element_nullable_index/explain.txt b/parser/testdata/01422_array_nullable_element_nullable_index/explain.txt new file mode 100644 index 000000000..5d6809bb4 --- /dev/null +++ b/parser/testdata/01422_array_nullable_element_nullable_index/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayElement (children 1) + ExpressionList (children 2) + Literal Array_[UInt64_1, NULL] + Function toNullable (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/01422_map_skip_null/explain.txt b/parser/testdata/01422_map_skip_null/explain.txt new file mode 100644 index 000000000..8de03a954 --- /dev/null +++ b/parser/testdata/01422_map_skip_null/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function minMap (children 1) + ExpressionList (children 1) + Function arrayJoin (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 2) + Literal Array_[UInt64_1] + Literal Array_[NULL] + Function tuple (children 1) + ExpressionList (children 2) + Literal Array_[UInt64_1] + Literal Array_[NULL] +The query succeeded but the server error '43' was expected (query: EXPLAIN AST select minMap(arrayJoin([([1], [null]), ([1], [null])])); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }). diff --git a/parser/testdata/01423_if_nullable_cond/explain.txt b/parser/testdata/01423_if_nullable_cond/explain.txt new file mode 100644 index 000000000..a3a0bd170 --- /dev/null +++ b/parser/testdata/01423_if_nullable_cond/explain.txt @@ -0,0 +1,24 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 3) + Function if (alias x) (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Function CAST (children 1) + ExpressionList (children 2) + Literal NULL + Literal \'Nullable(UInt8)\' + Literal UInt64_1 + Function CAST (children 1) + ExpressionList (children 2) + Literal NULL + Literal \'Nullable(UInt8)\' + Literal Int64_-1 + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier x + Function dumpColumnStructure (children 1) + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/01424_parse_date_time_bad_date/explain.txt b/parser/testdata/01424_parse_date_time_bad_date/explain.txt new file mode 100644 index 000000000..743e8bf6a --- /dev/null +++ b/parser/testdata/01424_parse_date_time_bad_date/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function parseDateTime64BestEffort (children 1) + ExpressionList (children 1) + Literal \'2.55\' +The query succeeded but the server error '41' was expected (query: EXPLAIN AST select parseDateTime64BestEffort('2.55'); -- { serverError CANNOT_PARSE_DATETIME }). diff --git a/parser/testdata/01425_decimal_parse_big_negative_exponent/explain.txt b/parser/testdata/01425_decimal_parse_big_negative_exponent/explain.txt new file mode 100644 index 000000000..084a1d5ce --- /dev/null +++ b/parser/testdata/01425_decimal_parse_big_negative_exponent/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal \'-1E9-1E9-1E9-1E9\' (alias x) + Function toDecimal32 (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_0 +The query succeeded but the server error '69' was expected (query: EXPLAIN AST SELECT '-1E9-1E9-1E9-1E9' AS x, toDecimal32(x, 0); -- { serverError ARGUMENT_OUT_OF_BOUND }). diff --git a/parser/testdata/01425_default_value_of_type_name/metadata.json b/parser/testdata/01425_default_value_of_type_name/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01425_default_value_of_type_name/metadata.json +++ b/parser/testdata/01425_default_value_of_type_name/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01426_geohash_constants/explain.txt b/parser/testdata/01426_geohash_constants/explain.txt new file mode 100644 index 000000000..633ead441 --- /dev/null +++ b/parser/testdata/01426_geohash_constants/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function geohashesInBox (children 1) + ExpressionList (children 5) + Literal Float64_1 + Literal Float64_2 + Literal Float64_3 + Literal Float64_4 + Literal UInt64_1 diff --git a/parser/testdata/01427_pk_and_expression_with_different_type/explain.txt b/parser/testdata/01427_pk_and_expression_with_different_type/explain.txt new file mode 100644 index 000000000..643c5f350 --- /dev/null +++ b/parser/testdata/01427_pk_and_expression_with_different_type/explain.txt @@ -0,0 +1,2 @@ +DropQuery pk (children 1) + Identifier pk diff --git a/parser/testdata/01428_h3_range_check/explain.txt b/parser/testdata/01428_h3_range_check/explain.txt new file mode 100644 index 000000000..697a6d92c --- /dev/null +++ b/parser/testdata/01428_h3_range_check/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function h3ToChildren (children 1) + ExpressionList (children 2) + Literal UInt64_599405990164561919 + Literal UInt64_100 +The query succeeded but the server error '69' was expected (query: EXPLAIN AST SELECT h3ToChildren(599405990164561919, 100); -- { serverError ARGUMENT_OUT_OF_BOUND }). diff --git a/parser/testdata/01428_hash_set_nan_key/explain.txt b/parser/testdata/01428_hash_set_nan_key/explain.txt new file mode 100644 index 000000000..20e930d2a --- /dev/null +++ b/parser/testdata/01428_hash_set_nan_key/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function uniqExact (children 1) + ExpressionList (children 1) + Literal Float64_nan + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1000 diff --git a/parser/testdata/01428_nullable_asof_join/explain.txt b/parser/testdata/01428_nullable_asof_join/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01428_nullable_asof_join/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01429_join_on_error_messages/explain.txt b/parser/testdata/01429_join_on_error_messages/explain.txt new file mode 100644 index 000000000..dc0b5d780 --- /dev/null +++ b/parser/testdata/01429_join_on_error_messages/explain.txt @@ -0,0 +1,27 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Literal UInt64_1 + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias A) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 (alias a) + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias B) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 (alias b) + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 1) + Identifier a +The query succeeded but the server error '[42, 62]' was expected (query: EXPLAIN AST SELECT 1 FROM (select 1 a) A JOIN (select 1 b) B ON equals(a); -- { serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH, 62 }). diff --git a/parser/testdata/01430_fix_any_rewrite_aliases/explain.txt b/parser/testdata/01430_fix_any_rewrite_aliases/explain.txt new file mode 100644 index 000000000..caf9d3227 --- /dev/null +++ b/parser/testdata/01430_fix_any_rewrite_aliases/explain.txt @@ -0,0 +1,24 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function any (children 1) + ExpressionList (children 1) + Function if (children 1) + ExpressionList (children 3) + Function if (alias a_) (children 1) + ExpressionList (children 3) + Identifier x + Literal UInt64_1 + Literal UInt64_2 + Identifier a_ + Literal UInt64_0 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 (alias x) diff --git a/parser/testdata/01430_modify_sample_by_zookeeper_long/explain.txt b/parser/testdata/01430_modify_sample_by_zookeeper_long/explain.txt new file mode 100644 index 000000000..4dc1f2b86 --- /dev/null +++ b/parser/testdata/01430_modify_sample_by_zookeeper_long/explain.txt @@ -0,0 +1,2 @@ +DropQuery modify_sample (children 1) + Identifier modify_sample diff --git a/parser/testdata/01430_moving_sum_empty_state/explain.txt b/parser/testdata/01430_moving_sum_empty_state/explain.txt new file mode 100644 index 000000000..da50280a1 --- /dev/null +++ b/parser/testdata/01430_moving_sum_empty_state/explain.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function groupArrayMovingSum (children 2) + ExpressionList (children 1) + Literal UInt64_0 + ExpressionList (children 1) + Literal UInt64_10 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.0.0.{1,2}\' + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_0 diff --git a/parser/testdata/01431_finish_sorting_with_consts/explain.txt b/parser/testdata/01431_finish_sorting_with_consts/explain.txt new file mode 100644 index 000000000..67893cc4b --- /dev/null +++ b/parser/testdata/01431_finish_sorting_with_consts/explain.txt @@ -0,0 +1,2 @@ +DropQuery pk_func (children 1) + Identifier pk_func diff --git a/parser/testdata/01431_utf8_ubsan/explain.txt b/parser/testdata/01431_utf8_ubsan/explain.txt new file mode 100644 index 000000000..6be2612b8 --- /dev/null +++ b/parser/testdata/01431_utf8_ubsan/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function hex (children 1) + ExpressionList (children 1) + Function lowerUTF8 (children 1) + ExpressionList (children 1) + Literal \'ÿ\' diff --git a/parser/testdata/01432_parse_date_time_best_effort_timestamp/explain.txt b/parser/testdata/01432_parse_date_time_best_effort_timestamp/explain.txt new file mode 100644 index 000000000..bab98088a --- /dev/null +++ b/parser/testdata/01432_parse_date_time_best_effort_timestamp/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function parseDateTimeBestEffort (children 1) + ExpressionList (children 2) + Literal \'1596752940\' + Literal \'Asia/Istanbul\' diff --git a/parser/testdata/01433_hex_float/explain.txt b/parser/testdata/01433_hex_float/explain.txt new file mode 100644 index 000000000..6761f1413 --- /dev/null +++ b/parser/testdata/01433_hex_float/explain.txt @@ -0,0 +1,6 @@ +CreateQuery t (children 2) + Identifier t + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration x (children 1) + DataType Float64 diff --git a/parser/testdata/01434_netloc_fuzz/explain.txt b/parser/testdata/01434_netloc_fuzz/explain.txt new file mode 100644 index 000000000..64c4117b8 --- /dev/null +++ b/parser/testdata/01434_netloc_fuzz/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function netloc (children 1) + ExpressionList (children 1) + Literal \'<\\\'[%UzO\' diff --git a/parser/testdata/01435_lcm_overflow/explain.txt b/parser/testdata/01435_lcm_overflow/explain.txt new file mode 100644 index 000000000..72ec9cc3d --- /dev/null +++ b/parser/testdata/01435_lcm_overflow/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function lcm (children 1) + ExpressionList (children 2) + Literal UInt64_15 + Literal UInt64_10 diff --git a/parser/testdata/01436_storage_merge_with_join_push_down/explain.txt b/parser/testdata/01436_storage_merge_with_join_push_down/explain.txt new file mode 100644 index 000000000..5cbd34a73 --- /dev/null +++ b/parser/testdata/01436_storage_merge_with_join_push_down/explain.txt @@ -0,0 +1,2 @@ +DropQuery test1 (children 1) + Identifier test1 diff --git a/parser/testdata/01440_big_int_arithm/explain.txt b/parser/testdata/01440_big_int_arithm/explain.txt new file mode 100644 index 000000000..d46cb7621 --- /dev/null +++ b/parser/testdata/01440_big_int_arithm/explain.txt @@ -0,0 +1,26 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 4) + Function plus (alias x) (children 1) + ExpressionList (children 2) + Function toInt128 (children 1) + ExpressionList (children 1) + Literal Int64_-1 + Function toInt8 (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Function plus (alias y) (children 1) + ExpressionList (children 2) + Function toInt256 (children 1) + ExpressionList (children 1) + Literal Int64_-1 + Function toInt8 (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier x + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier y diff --git a/parser/testdata/01440_big_int_exotic_casts/explain.txt b/parser/testdata/01440_big_int_exotic_casts/explain.txt new file mode 100644 index 000000000..16de735a1 --- /dev/null +++ b/parser/testdata/01440_big_int_exotic_casts/explain.txt @@ -0,0 +1,38 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 5) + Function multiply (alias y) (children 1) + ExpressionList (children 2) + Function toUInt32 (children 1) + ExpressionList (children 1) + Function multiply (children 1) + ExpressionList (children 2) + Identifier number + Identifier number + Identifier number + Function toDecimal32 (children 1) + ExpressionList (children 2) + Identifier y + Literal UInt64_1 + Function toDecimal64 (children 1) + ExpressionList (children 2) + Identifier y + Literal UInt64_2 + Function toDecimal128 (children 1) + ExpressionList (children 2) + Identifier y + Literal UInt64_6 + Function toDecimal256 (children 1) + ExpressionList (children 2) + Identifier y + Literal UInt64_7 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers_mt (children 1) + ExpressionList (children 1) + Literal UInt64_10 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier number diff --git a/parser/testdata/01440_big_int_least_greatest/metadata.json b/parser/testdata/01440_big_int_least_greatest/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01440_big_int_least_greatest/metadata.json +++ b/parser/testdata/01440_big_int_least_greatest/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01440_big_int_shift/explain.txt b/parser/testdata/01440_big_int_shift/explain.txt new file mode 100644 index 000000000..f184fe7fe --- /dev/null +++ b/parser/testdata/01440_big_int_shift/explain.txt @@ -0,0 +1,29 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 4) + Function bitShiftLeft (alias x) (children 1) + ExpressionList (children 2) + Function toInt128 (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Identifier number + Function bitShiftRight (alias y) (children 1) + ExpressionList (children 2) + Identifier x + Identifier number + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier x + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier y + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_127 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier number diff --git a/parser/testdata/01440_to_date_monotonicity/explain.txt b/parser/testdata/01440_to_date_monotonicity/explain.txt new file mode 100644 index 000000000..e56c71444 --- /dev/null +++ b/parser/testdata/01440_to_date_monotonicity/explain.txt @@ -0,0 +1,2 @@ +DropQuery tdm (children 1) + Identifier tdm diff --git a/parser/testdata/01441_array_combinator/explain.txt b/parser/testdata/01441_array_combinator/explain.txt new file mode 100644 index 000000000..158573b7a --- /dev/null +++ b/parser/testdata/01441_array_combinator/explain.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 2) + Function modulo (alias k) (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_100 + Function sumArray (alias v) (children 1) + ExpressionList (children 1) + Function emptyArrayUInt8 (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + ExpressionList (children 1) + Identifier k + ExpressionList (children 1) + OrderByElement (children 1) + Identifier k diff --git a/parser/testdata/01441_low_cardinality_array_index/explain.txt b/parser/testdata/01441_low_cardinality_array_index/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01441_low_cardinality_array_index/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01442_date_time_with_params/explain.txt b/parser/testdata/01442_date_time_with_params/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/01442_date_time_with_params/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/01442_h3kring_range_check/explain.txt b/parser/testdata/01442_h3kring_range_check/explain.txt new file mode 100644 index 000000000..eb6acfc1b --- /dev/null +++ b/parser/testdata/01442_h3kring_range_check/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function h3kRing (children 1) + ExpressionList (children 2) + Literal UInt64_581276613233082367 + Literal UInt64_65535 +The query succeeded but the server error '12' was expected (query: EXPLAIN AST SELECT h3kRing(581276613233082367, 65535); -- { serverError PARAMETER_OUT_OF_BOUND }). diff --git a/parser/testdata/01447_json_strings/explain.txt b/parser/testdata/01447_json_strings/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01447_json_strings/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01448_json_compact_strings_each_row/explain.txt b/parser/testdata/01448_json_compact_strings_each_row/explain.txt new file mode 100644 index 000000000..d4bf1aa3f --- /dev/null +++ b/parser/testdata/01448_json_compact_strings_each_row/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_table (children 1) + Identifier test_table diff --git a/parser/testdata/01449_json_compact_strings/explain.txt b/parser/testdata/01449_json_compact_strings/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01449_json_compact_strings/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01450_set_null_const/explain.txt b/parser/testdata/01450_set_null_const/explain.txt new file mode 100644 index 000000000..82b7b9e79 --- /dev/null +++ b/parser/testdata/01450_set_null_const/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_mtree (children 1) + Identifier test_mtree diff --git a/parser/testdata/01451_detach_drop_part/explain.txt b/parser/testdata/01451_detach_drop_part/explain.txt new file mode 100644 index 000000000..5da0c76ca --- /dev/null +++ b/parser/testdata/01451_detach_drop_part/explain.txt @@ -0,0 +1,2 @@ +DropQuery mt_01451 (children 1) + Identifier mt_01451 diff --git a/parser/testdata/01451_normalize_query/explain.txt b/parser/testdata/01451_normalize_query/explain.txt new file mode 100644 index 000000000..b82e5f4e8 --- /dev/null +++ b/parser/testdata/01451_normalize_query/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function normalizeQuery (children 1) + ExpressionList (children 1) + Literal \'SELECT 1\' diff --git a/parser/testdata/01451_replicated_detach_drop_and_quorum_long/explain.txt b/parser/testdata/01451_replicated_detach_drop_and_quorum_long/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01451_replicated_detach_drop_and_quorum_long/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01451_replicated_detach_drop_part_long/explain.txt b/parser/testdata/01451_replicated_detach_drop_part_long/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01451_replicated_detach_drop_part_long/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01452_normalized_query_hash/explain.txt b/parser/testdata/01452_normalized_query_hash/explain.txt new file mode 100644 index 000000000..c1fbe9a5e --- /dev/null +++ b/parser/testdata/01452_normalized_query_hash/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Function normalizedQueryHash (children 1) + ExpressionList (children 1) + Literal \'SELECT 1\' + Function normalizedQueryHash (children 1) + ExpressionList (children 1) + Literal \'SELECT 2\' diff --git a/parser/testdata/01453_fixsed_string_sort/explain.txt b/parser/testdata/01453_fixsed_string_sort/explain.txt new file mode 100644 index 000000000..0df1ec93e --- /dev/null +++ b/parser/testdata/01453_fixsed_string_sort/explain.txt @@ -0,0 +1,2 @@ +DropQuery badFixedStringSort (children 1) + Identifier badFixedStringSort diff --git a/parser/testdata/01453_normalize_query_alias_uuid/explain.txt b/parser/testdata/01453_normalize_query_alias_uuid/explain.txt new file mode 100644 index 000000000..65a5392d1 --- /dev/null +++ b/parser/testdata/01453_normalize_query_alias_uuid/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function normalizeQuery (children 1) + ExpressionList (children 1) + Literal \'SELECT 1 AS `aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee`\' diff --git a/parser/testdata/01455_default_compression/explain.txt b/parser/testdata/01455_default_compression/explain.txt new file mode 100644 index 000000000..abebe768a --- /dev/null +++ b/parser/testdata/01455_default_compression/explain.txt @@ -0,0 +1,2 @@ +DropQuery compress_table (children 1) + Identifier compress_table diff --git a/parser/testdata/01455_nullable_type_with_if_agg_combinator/explain.txt b/parser/testdata/01455_nullable_type_with_if_agg_combinator/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01455_nullable_type_with_if_agg_combinator/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01455_optimize_trivial_insert_select/explain.txt b/parser/testdata/01455_optimize_trivial_insert_select/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01455_optimize_trivial_insert_select/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01455_rank_correlation_spearman/explain.txt b/parser/testdata/01455_rank_correlation_spearman/explain.txt new file mode 100644 index 000000000..2aa524118 --- /dev/null +++ b/parser/testdata/01455_rank_correlation_spearman/explain.txt @@ -0,0 +1,2 @@ +CreateQuery db_01455_rank_correlation (children 1) + Identifier db_01455_rank_correlation diff --git a/parser/testdata/01455_shard_leaf_max_rows_bytes_to_read/explain.txt b/parser/testdata/01455_shard_leaf_max_rows_bytes_to_read/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01455_shard_leaf_max_rows_bytes_to_read/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01455_time_zones/explain.txt b/parser/testdata/01455_time_zones/explain.txt new file mode 100644 index 000000000..cb6eed629 --- /dev/null +++ b/parser/testdata/01455_time_zones/explain.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function if (children 1) + ExpressionList (children 3) + Function greater (children 1) + ExpressionList (children 2) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function count (children 1) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.time_zones + Literal UInt64_500 + Literal \'ok\' + Literal \'fail\' diff --git a/parser/testdata/01456_ast_optimizations_over_distributed/explain.txt b/parser/testdata/01456_ast_optimizations_over_distributed/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01456_ast_optimizations_over_distributed/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01456_low_cardinality_sorting_bugfix/explain.txt b/parser/testdata/01456_low_cardinality_sorting_bugfix/explain.txt new file mode 100644 index 000000000..2db518a62 --- /dev/null +++ b/parser/testdata/01456_low_cardinality_sorting_bugfix/explain.txt @@ -0,0 +1,2 @@ +DropQuery order_test1 (children 1) + Identifier order_test1 diff --git a/parser/testdata/01456_min_negative_decimal_formatting/explain.txt b/parser/testdata/01456_min_negative_decimal_formatting/explain.txt new file mode 100644 index 000000000..897ac221e --- /dev/null +++ b/parser/testdata/01456_min_negative_decimal_formatting/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toDecimal64 (children 1) + ExpressionList (children 2) + Literal Int64_-9223372036854775808 + Literal UInt64_0 diff --git a/parser/testdata/01456_modify_column_type_via_add_drop_update/explain.txt b/parser/testdata/01456_modify_column_type_via_add_drop_update/explain.txt new file mode 100644 index 000000000..ff737eb65 --- /dev/null +++ b/parser/testdata/01456_modify_column_type_via_add_drop_update/explain.txt @@ -0,0 +1,2 @@ +DropQuery tbl (children 1) + Identifier tbl diff --git a/parser/testdata/01457_compile_expressions_fuzzer/explain.txt b/parser/testdata/01457_compile_expressions_fuzzer/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01457_compile_expressions_fuzzer/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01457_create_as_table_function_structure/explain.txt b/parser/testdata/01457_create_as_table_function_structure/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01457_create_as_table_function_structure/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01457_int256_hashing/explain.txt b/parser/testdata/01457_int256_hashing/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01457_int256_hashing/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01457_min_index_granularity_bytes_setting/explain.txt b/parser/testdata/01457_min_index_granularity_bytes_setting/explain.txt new file mode 100644 index 000000000..74b8345f3 --- /dev/null +++ b/parser/testdata/01457_min_index_granularity_bytes_setting/explain.txt @@ -0,0 +1,2 @@ +DropQuery invalid_min_index_granularity_bytes_setting (children 1) + Identifier invalid_min_index_granularity_bytes_setting diff --git a/parser/testdata/01457_order_by_limit/explain.txt b/parser/testdata/01457_order_by_limit/explain.txt new file mode 100644 index 000000000..32a05420a --- /dev/null +++ b/parser/testdata/01457_order_by_limit/explain.txt @@ -0,0 +1,2 @@ +DropQuery order_by_another (children 1) + Identifier order_by_another diff --git a/parser/testdata/01457_order_by_nulls_first/explain.txt b/parser/testdata/01457_order_by_nulls_first/explain.txt new file mode 100644 index 000000000..7223c88f5 --- /dev/null +++ b/parser/testdata/01457_order_by_nulls_first/explain.txt @@ -0,0 +1,2 @@ +DropQuery order_by_nulls_first (children 1) + Identifier order_by_nulls_first diff --git a/parser/testdata/01458_count_digits/explain.txt b/parser/testdata/01458_count_digits/explain.txt new file mode 100644 index 000000000..e34c691e4 --- /dev/null +++ b/parser/testdata/01458_count_digits/explain.txt @@ -0,0 +1,22 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 3) + Function countDigits (children 1) + ExpressionList (children 1) + Function toDecimal32 (children 1) + ExpressionList (children 2) + Literal UInt64_0 + Literal UInt64_0 + Function countDigits (children 1) + ExpressionList (children 1) + Function toDecimal32 (children 1) + ExpressionList (children 2) + Literal UInt64_42 + Literal UInt64_0 + Function countDigits (children 1) + ExpressionList (children 1) + Function toDecimal32 (children 1) + ExpressionList (children 2) + Literal Float64_4.2 + Literal UInt64_1 diff --git a/parser/testdata/01458_is_decimal_overflow/explain.txt b/parser/testdata/01458_is_decimal_overflow/explain.txt new file mode 100644 index 000000000..632c277f0 --- /dev/null +++ b/parser/testdata/01458_is_decimal_overflow/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function isDecimalOverflow (children 1) + ExpressionList (children 2) + Function toDecimal32 (children 1) + ExpressionList (children 2) + Literal UInt64_0 + Literal UInt64_0 + Literal UInt64_0 diff --git a/parser/testdata/01458_named_tuple_millin/explain.txt b/parser/testdata/01458_named_tuple_millin/explain.txt new file mode 100644 index 000000000..48d265bdc --- /dev/null +++ b/parser/testdata/01458_named_tuple_millin/explain.txt @@ -0,0 +1,2 @@ +DropQuery tuple (children 1) + Identifier tuple diff --git a/parser/testdata/01459_decimal_casts/explain.txt b/parser/testdata/01459_decimal_casts/explain.txt new file mode 100644 index 000000000..54dc72329 --- /dev/null +++ b/parser/testdata/01459_decimal_casts/explain.txt @@ -0,0 +1,29 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 5) + Function toUInt32 (alias y) (children 1) + ExpressionList (children 1) + Identifier number + Function toDecimal32 (children 1) + ExpressionList (children 2) + Identifier y + Literal UInt64_1 + Function toDecimal64 (children 1) + ExpressionList (children 2) + Identifier y + Literal UInt64_5 + Function toDecimal128 (children 1) + ExpressionList (children 2) + Identifier y + Literal UInt64_6 + Function toDecimal256 (children 1) + ExpressionList (children 2) + Identifier y + Literal UInt64_7 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/01459_default_value_of_argument_type_nullptr_dereference/explain.txt b/parser/testdata/01459_default_value_of_argument_type_nullptr_dereference/explain.txt new file mode 100644 index 000000000..ba0f1f75f --- /dev/null +++ b/parser/testdata/01459_default_value_of_argument_type_nullptr_dereference/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function defaultValueOfTypeName (children 1) + ExpressionList (children 1) + Function FQDN (children 1) + ExpressionList +The query succeeded but the server error '44' was expected (query: EXPLAIN AST SELECT defaultValueOfTypeName(FQDN()); -- { serverError ILLEGAL_COLUMN }). diff --git a/parser/testdata/01460_allow_dollar_and_number_in_identifier/explain.txt b/parser/testdata/01460_allow_dollar_and_number_in_identifier/explain.txt new file mode 100644 index 000000000..0ec43e7ee --- /dev/null +++ b/parser/testdata/01460_allow_dollar_and_number_in_identifier/explain.txt @@ -0,0 +1,6 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 (alias $alias$name$) + Identifier TSVWithNames diff --git a/parser/testdata/01460_mark_inclusion_search_crash/explain.txt b/parser/testdata/01460_mark_inclusion_search_crash/explain.txt new file mode 100644 index 000000000..643c5f350 --- /dev/null +++ b/parser/testdata/01460_mark_inclusion_search_crash/explain.txt @@ -0,0 +1,2 @@ +DropQuery pk (children 1) + Identifier pk diff --git a/parser/testdata/01461_alter_table_function/explain.txt b/parser/testdata/01461_alter_table_function/explain.txt new file mode 100644 index 000000000..30e426604 --- /dev/null +++ b/parser/testdata/01461_alter_table_function/explain.txt @@ -0,0 +1,2 @@ +DropQuery table_from_remote (children 1) + Identifier table_from_remote diff --git a/parser/testdata/01461_query_start_time_microseconds/explain.txt b/parser/testdata/01461_query_start_time_microseconds/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01461_query_start_time_microseconds/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01462_test_codec_on_alias/explain.txt b/parser/testdata/01462_test_codec_on_alias/explain.txt new file mode 100644 index 000000000..7c7d589c5 --- /dev/null +++ b/parser/testdata/01462_test_codec_on_alias/explain.txt @@ -0,0 +1,2 @@ +DropQuery compression_codec_on_alias (children 1) + Identifier compression_codec_on_alias diff --git a/parser/testdata/01463_resample_overflow/explain.txt b/parser/testdata/01463_resample_overflow/explain.txt new file mode 100644 index 000000000..ed73c5504 --- /dev/null +++ b/parser/testdata/01463_resample_overflow/explain.txt @@ -0,0 +1,21 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function groupArrayResample (children 2) + ExpressionList (children 2) + Identifier number + Function toInt64 (children 1) + ExpressionList (children 1) + Identifier number + ExpressionList (children 3) + Literal Int64_-9223372036854775808 + Literal UInt64_9223372036854775807 + Literal UInt64_9223372036854775807 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_7 +The query succeeded but the server error '69' was expected (query: EXPLAIN AST select groupArrayResample(-9223372036854775808, 9223372036854775807, 9223372036854775807)(number, toInt64(number)) FROM numbers(7); -- { serverError ARGUMENT_OUT_OF_BOUND }). diff --git a/parser/testdata/01465_ttl_recompression/explain.txt b/parser/testdata/01465_ttl_recompression/explain.txt new file mode 100644 index 000000000..11b24bcb3 --- /dev/null +++ b/parser/testdata/01465_ttl_recompression/explain.txt @@ -0,0 +1,2 @@ +DropQuery recompression_table (children 1) + Identifier recompression_table diff --git a/parser/testdata/01470_columns_transformers/explain.txt b/parser/testdata/01470_columns_transformers/explain.txt new file mode 100644 index 000000000..3b44e7c31 --- /dev/null +++ b/parser/testdata/01470_columns_transformers/explain.txt @@ -0,0 +1,2 @@ +DropQuery columns_transformers (children 1) + Identifier columns_transformers diff --git a/parser/testdata/01470_columns_transformers2/explain.txt b/parser/testdata/01470_columns_transformers2/explain.txt new file mode 100644 index 000000000..3b44e7c31 --- /dev/null +++ b/parser/testdata/01470_columns_transformers2/explain.txt @@ -0,0 +1,2 @@ +DropQuery columns_transformers (children 1) + Identifier columns_transformers diff --git a/parser/testdata/01470_explain/explain.txt b/parser/testdata/01470_explain/explain.txt new file mode 100644 index 000000000..0c559aef5 --- /dev/null +++ b/parser/testdata/01470_explain/explain.txt @@ -0,0 +1,15 @@ +Explain EXPLAIN PIPELINE (children 3) + Set + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.{1,2}\' + Identifier system.one + Identifier Null diff --git a/parser/testdata/01470_show_databases_like/explain.txt b/parser/testdata/01470_show_databases_like/explain.txt new file mode 100644 index 000000000..2dc79a806 --- /dev/null +++ b/parser/testdata/01470_show_databases_like/explain.txt @@ -0,0 +1,2 @@ +CreateQuery test_01470 (children 1) + Identifier test_01470 diff --git a/parser/testdata/01470_test_insert_select_asterisk/explain.txt b/parser/testdata/01470_test_insert_select_asterisk/explain.txt new file mode 100644 index 000000000..2403e936b --- /dev/null +++ b/parser/testdata/01470_test_insert_select_asterisk/explain.txt @@ -0,0 +1,2 @@ +DropQuery insert_select_dst (children 1) + Identifier insert_select_dst diff --git a/parser/testdata/01471_calculate_ttl_during_merge/explain.txt b/parser/testdata/01471_calculate_ttl_during_merge/explain.txt new file mode 100644 index 000000000..53170363b --- /dev/null +++ b/parser/testdata/01471_calculate_ttl_during_merge/explain.txt @@ -0,0 +1,2 @@ +DropQuery table_for_ttl (children 1) + Identifier table_for_ttl diff --git a/parser/testdata/01471_limit_by_format/explain.txt b/parser/testdata/01471_limit_by_format/explain.txt new file mode 100644 index 000000000..93500b0a3 --- /dev/null +++ b/parser/testdata/01471_limit_by_format/explain.txt @@ -0,0 +1,14 @@ +Explain EXPLAIN SYNTAX (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.one + Literal UInt64_1 + ExpressionList (children 1) + Asterisk + Literal UInt64_1 diff --git a/parser/testdata/01471_top_k_range_check/explain.txt b/parser/testdata/01471_top_k_range_check/explain.txt new file mode 100644 index 000000000..306751150 --- /dev/null +++ b/parser/testdata/01471_top_k_range_check/explain.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function length (children 1) + ExpressionList (children 1) + Function topKWeighted (children 2) + ExpressionList (children 2) + Identifier number + Literal UInt64_1025 + ExpressionList (children 2) + Literal UInt64_2 + Literal Int64_-9223372036854775808 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers +The query succeeded but the server error '69' was expected (query: EXPLAIN AST SELECT length(topKWeighted(2, -9223372036854775808)(number, 1025)) FROM system.numbers; -- { serverError ARGUMENT_OUT_OF_BOUND }). diff --git a/parser/testdata/01471_with_format/explain.txt b/parser/testdata/01471_with_format/explain.txt new file mode 100644 index 000000000..4a31bc1cf --- /dev/null +++ b/parser/testdata/01471_with_format/explain.txt @@ -0,0 +1,8 @@ +Explain EXPLAIN SYNTAX (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Literal UInt64_1 + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/01472_many_rows_in_totals/explain.txt b/parser/testdata/01472_many_rows_in_totals/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01472_many_rows_in_totals/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01472_toBoundsOfInterval_disallow_empty_tz_field/explain.txt b/parser/testdata/01472_toBoundsOfInterval_disallow_empty_tz_field/explain.txt new file mode 100644 index 000000000..1615b68cf --- /dev/null +++ b/parser/testdata/01472_toBoundsOfInterval_disallow_empty_tz_field/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toStartOfDay (children 1) + ExpressionList (children 2) + Function toDateTime (children 1) + ExpressionList (children 2) + Literal \'2017-12-31 00:00:00\' + Literal \'UTC\' + Literal \'\' +The query succeeded but the server error '43' was expected (query: EXPLAIN AST SELECT toStartOfDay(toDateTime('2017-12-31 00:00:00', 'UTC'), ''); -- {serverError ILLEGAL_TYPE_OF_ARGUMENT}). diff --git a/parser/testdata/01473_event_time_microseconds/explain.txt b/parser/testdata/01473_event_time_microseconds/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01473_event_time_microseconds/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01473_system_events_zeroes/explain.txt b/parser/testdata/01473_system_events_zeroes/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01473_system_events_zeroes/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01474_bad_global_join/explain.txt b/parser/testdata/01474_bad_global_join/explain.txt new file mode 100644 index 000000000..33b732ab4 --- /dev/null +++ b/parser/testdata/01474_bad_global_join/explain.txt @@ -0,0 +1,2 @@ +DropQuery local_table (children 1) + Identifier local_table diff --git a/parser/testdata/01474_decimal_scale_bug/explain.txt b/parser/testdata/01474_decimal_scale_bug/explain.txt new file mode 100644 index 000000000..3649cef50 --- /dev/null +++ b/parser/testdata/01474_decimal_scale_bug/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function multiply (alias x) (children 1) + ExpressionList (children 2) + Function toDecimal32 (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal UInt64_2 + Function toDecimal32 (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal UInt64_1 + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/01474_executable_dictionary/explain.txt b/parser/testdata/01474_executable_dictionary/explain.txt new file mode 100644 index 000000000..d2caaa7fa --- /dev/null +++ b/parser/testdata/01474_executable_dictionary/explain.txt @@ -0,0 +1,31 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 3) + Identifier number + Function dictGet (alias a) (children 1) + ExpressionList (children 3) + Literal \'executable_complex\' + Literal \'a\' + Function tuple (children 1) + ExpressionList (children 2) + Identifier number + Identifier number + Function dictGet (alias b) (children 1) + ExpressionList (children 3) + Literal \'executable_complex\' + Literal \'b\' + Function tuple (children 1) + ExpressionList (children 2) + Identifier number + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1000000 + Function equals (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_999999 diff --git a/parser/testdata/01475_fix_bigint_shift/explain.txt b/parser/testdata/01475_fix_bigint_shift/explain.txt new file mode 100644 index 000000000..25466964e --- /dev/null +++ b/parser/testdata/01475_fix_bigint_shift/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function bitShiftLeft (children 1) + ExpressionList (children 2) + Function toInt64 (children 1) + ExpressionList (children 1) + Literal Int64_-2 + Literal UInt64_1 diff --git a/parser/testdata/01475_mutation_with_if/explain.txt b/parser/testdata/01475_mutation_with_if/explain.txt new file mode 100644 index 000000000..e8ee8dc33 --- /dev/null +++ b/parser/testdata/01475_mutation_with_if/explain.txt @@ -0,0 +1,2 @@ +DropQuery mutation_table (children 1) + Identifier mutation_table diff --git a/parser/testdata/01475_read_subcolumns/explain.txt b/parser/testdata/01475_read_subcolumns/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01475_read_subcolumns/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01475_read_subcolumns_2/explain.txt b/parser/testdata/01475_read_subcolumns_2/explain.txt new file mode 100644 index 000000000..0db82aac0 --- /dev/null +++ b/parser/testdata/01475_read_subcolumns_2/explain.txt @@ -0,0 +1,2 @@ +DropQuery subcolumns (children 1) + Identifier subcolumns diff --git a/parser/testdata/01475_read_subcolumns_3/explain.txt b/parser/testdata/01475_read_subcolumns_3/explain.txt new file mode 100644 index 000000000..47cb2d5be --- /dev/null +++ b/parser/testdata/01475_read_subcolumns_3/explain.txt @@ -0,0 +1,2 @@ +DropQuery null_subcolumns (children 1) + Identifier null_subcolumns diff --git a/parser/testdata/01476_right_full_join_switch/explain.txt b/parser/testdata/01476_right_full_join_switch/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01476_right_full_join_switch/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01478_not_equi-join_on/explain.txt b/parser/testdata/01478_not_equi-join_on/explain.txt new file mode 100644 index 000000000..26285a220 --- /dev/null +++ b/parser/testdata/01478_not_equi-join_on/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias foo) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal NULL (alias a) + Literal UInt64_1 (alias b) diff --git a/parser/testdata/01479_cross_join_9855/explain.txt b/parser/testdata/01479_cross_join_9855/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01479_cross_join_9855/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01480_binary_operator_monotonicity/explain.txt b/parser/testdata/01480_binary_operator_monotonicity/explain.txt new file mode 100644 index 000000000..bc9a1bd80 --- /dev/null +++ b/parser/testdata/01480_binary_operator_monotonicity/explain.txt @@ -0,0 +1,2 @@ +DropQuery binary_op_mono1 (children 1) + Identifier binary_op_mono1 diff --git a/parser/testdata/01481_join_with_materialized/explain.txt b/parser/testdata/01481_join_with_materialized/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/01481_join_with_materialized/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/01482_move_to_prewhere_and_cast/explain.txt b/parser/testdata/01482_move_to_prewhere_and_cast/explain.txt new file mode 100644 index 000000000..4ec46f5d6 --- /dev/null +++ b/parser/testdata/01482_move_to_prewhere_and_cast/explain.txt @@ -0,0 +1,2 @@ +DropQuery APPLICATION (children 1) + Identifier APPLICATION diff --git a/parser/testdata/01483_merge_table_join_and_group_by/explain.txt b/parser/testdata/01483_merge_table_join_and_group_by/explain.txt new file mode 100644 index 000000000..3b8a0aad6 --- /dev/null +++ b/parser/testdata/01483_merge_table_join_and_group_by/explain.txt @@ -0,0 +1,2 @@ +DropQuery a (children 1) + Identifier a diff --git a/parser/testdata/01485_256_bit_multiply/explain.txt b/parser/testdata/01485_256_bit_multiply/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01485_256_bit_multiply/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01486_json_array_output/explain.txt b/parser/testdata/01486_json_array_output/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01486_json_array_output/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01490_nullable_string_to_enum/explain.txt b/parser/testdata/01490_nullable_string_to_enum/explain.txt new file mode 100644 index 000000000..49484e748 --- /dev/null +++ b/parser/testdata/01490_nullable_string_to_enum/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_enum (children 1) + Identifier t_enum diff --git a/parser/testdata/01491_nested_multiline_comments/explain.txt b/parser/testdata/01491_nested_multiline_comments/explain.txt new file mode 100644 index 000000000..8827c47de --- /dev/null +++ b/parser/testdata/01491_nested_multiline_comments/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/01492_array_join_crash_13829/explain.txt b/parser/testdata/01492_array_join_crash_13829/explain.txt new file mode 100644 index 000000000..f0ec0ed69 --- /dev/null +++ b/parser/testdata/01492_array_join_crash_13829/explain.txt @@ -0,0 +1,27 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Literal NULL + Function countEqual (children 1) + ExpressionList (children 2) + Function materialize (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 4) + Function arrayJoin (children 1) + ExpressionList (children 1) + Literal Array_[NULL, NULL, NULL] + Literal NULL (alias x) + Function arrayJoin (children 1) + ExpressionList (children 1) + Literal Array_[UInt64_255, UInt64_1025, NULL, NULL] + Function arrayJoin (children 1) + ExpressionList (children 1) + Literal Array_[UInt64_2, UInt64_1048576, NULL, NULL] + Function materialize (children 1) + ExpressionList (children 1) + Identifier x + Identifier Null diff --git a/parser/testdata/01492_format_readable_quantity/metadata.json b/parser/testdata/01492_format_readable_quantity/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01492_format_readable_quantity/metadata.json +++ b/parser/testdata/01492_format_readable_quantity/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01493_alter_remove_no_property_zookeeper_long/explain.txt b/parser/testdata/01493_alter_remove_no_property_zookeeper_long/explain.txt new file mode 100644 index 000000000..a75be9b0e --- /dev/null +++ b/parser/testdata/01493_alter_remove_no_property_zookeeper_long/explain.txt @@ -0,0 +1,2 @@ +DropQuery no_prop_table (children 1) + Identifier no_prop_table diff --git a/parser/testdata/01493_alter_remove_properties/explain.txt b/parser/testdata/01493_alter_remove_properties/explain.txt new file mode 100644 index 000000000..51d4fa1ff --- /dev/null +++ b/parser/testdata/01493_alter_remove_properties/explain.txt @@ -0,0 +1,2 @@ +DropQuery prop_table (children 1) + Identifier prop_table diff --git a/parser/testdata/01493_alter_remove_properties_zookeeper/explain.txt b/parser/testdata/01493_alter_remove_properties_zookeeper/explain.txt new file mode 100644 index 000000000..042c38c19 --- /dev/null +++ b/parser/testdata/01493_alter_remove_properties_zookeeper/explain.txt @@ -0,0 +1,2 @@ +DropQuery r_prop_table1 (children 1) + Identifier r_prop_table1 diff --git a/parser/testdata/01493_alter_remove_wrong_default/explain.txt b/parser/testdata/01493_alter_remove_wrong_default/explain.txt new file mode 100644 index 000000000..db276ba6e --- /dev/null +++ b/parser/testdata/01493_alter_remove_wrong_default/explain.txt @@ -0,0 +1,2 @@ +DropQuery default_table (children 1) + Identifier default_table diff --git a/parser/testdata/01493_storage_set_persistency/explain.txt b/parser/testdata/01493_storage_set_persistency/explain.txt new file mode 100644 index 000000000..def46520e --- /dev/null +++ b/parser/testdata/01493_storage_set_persistency/explain.txt @@ -0,0 +1,2 @@ +DropQuery set (children 1) + Identifier set diff --git a/parser/testdata/01493_table_function_null/explain.txt b/parser/testdata/01493_table_function_null/explain.txt new file mode 100644 index 000000000..1882ebeb6 --- /dev/null +++ b/parser/testdata/01493_table_function_null/explain.txt @@ -0,0 +1,15 @@ +InsertQuery (children 2) + Function null (children 1) + ExpressionList (children 1) + Literal \'number UInt64\' + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers_mt (children 1) + ExpressionList (children 1) + Literal UInt64_10000 diff --git a/parser/testdata/01494_storage_join_persistency/explain.txt b/parser/testdata/01494_storage_join_persistency/explain.txt new file mode 100644 index 000000000..6a9ce0e7b --- /dev/null +++ b/parser/testdata/01494_storage_join_persistency/explain.txt @@ -0,0 +1,2 @@ +DropQuery join (children 1) + Identifier join diff --git a/parser/testdata/01495_subqueries_in_with_statement/explain.txt b/parser/testdata/01495_subqueries_in_with_statement/explain.txt new file mode 100644 index 000000000..5cbd34a73 --- /dev/null +++ b/parser/testdata/01495_subqueries_in_with_statement/explain.txt @@ -0,0 +1,2 @@ +DropQuery test1 (children 1) + Identifier test1 diff --git a/parser/testdata/01495_subqueries_in_with_statement_2/metadata.json b/parser/testdata/01495_subqueries_in_with_statement_2/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01495_subqueries_in_with_statement_2/metadata.json +++ b/parser/testdata/01495_subqueries_in_with_statement_2/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01495_subqueries_in_with_statement_3/explain.txt b/parser/testdata/01495_subqueries_in_with_statement_3/explain.txt new file mode 100644 index 000000000..200123eb7 --- /dev/null +++ b/parser/testdata/01495_subqueries_in_with_statement_3/explain.txt @@ -0,0 +1,2 @@ +DropQuery cte1 (children 1) + Identifier cte1 diff --git a/parser/testdata/01495_subqueries_in_with_statement_4/explain.txt b/parser/testdata/01495_subqueries_in_with_statement_4/explain.txt new file mode 100644 index 000000000..9240ab302 --- /dev/null +++ b/parser/testdata/01495_subqueries_in_with_statement_4/explain.txt @@ -0,0 +1,24 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + WithElement (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1 + ExpressionList (children 2) + Identifier it.number + Identifier i.number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier it (alias i) diff --git a/parser/testdata/01496_signedness_conversion_monotonicity/explain.txt b/parser/testdata/01496_signedness_conversion_monotonicity/explain.txt new file mode 100644 index 000000000..5cbd34a73 --- /dev/null +++ b/parser/testdata/01496_signedness_conversion_monotonicity/explain.txt @@ -0,0 +1,2 @@ +DropQuery test1 (children 1) + Identifier test1 diff --git a/parser/testdata/01497_alias_on_default_array/explain.txt b/parser/testdata/01497_alias_on_default_array/explain.txt new file mode 100644 index 000000000..9f06f06b1 --- /dev/null +++ b/parser/testdata/01497_alias_on_default_array/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_new_col (children 1) + Identifier test_new_col diff --git a/parser/testdata/01497_extract_all_groups_empty_match/explain.txt b/parser/testdata/01497_extract_all_groups_empty_match/explain.txt new file mode 100644 index 000000000..1012f3d74 --- /dev/null +++ b/parser/testdata/01497_extract_all_groups_empty_match/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function extractAllGroupsVertical (children 1) + ExpressionList (children 2) + Literal \'@#$%^&*\' + Literal \'(\\\\w*)\' diff --git a/parser/testdata/01497_mutation_support_for_storage_memory/explain.txt b/parser/testdata/01497_mutation_support_for_storage_memory/explain.txt new file mode 100644 index 000000000..d1b720b41 --- /dev/null +++ b/parser/testdata/01497_mutation_support_for_storage_memory/explain.txt @@ -0,0 +1,2 @@ +DropQuery defaults (children 1) + Identifier defaults diff --git a/parser/testdata/01497_now_support_timezone/explain.txt b/parser/testdata/01497_now_support_timezone/explain.txt new file mode 100644 index 000000000..596aa1dfa --- /dev/null +++ b/parser/testdata/01497_now_support_timezone/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function in (children 1) + ExpressionList (children 2) + Function minus (children 1) + ExpressionList (children 2) + Function toHour (children 1) + ExpressionList (children 1) + Function now (children 1) + ExpressionList (children 1) + Literal \'Asia/Shanghai\' + Function toHour (children 1) + ExpressionList (children 1) + Function now (children 1) + ExpressionList (children 1) + Literal \'UTC\' + Literal Tuple_(UInt64_8, Int64_-16) diff --git a/parser/testdata/01498_alter_column_storage_memory/explain.txt b/parser/testdata/01498_alter_column_storage_memory/explain.txt new file mode 100644 index 000000000..d1b720b41 --- /dev/null +++ b/parser/testdata/01498_alter_column_storage_memory/explain.txt @@ -0,0 +1,2 @@ +DropQuery defaults (children 1) + Identifier defaults diff --git a/parser/testdata/01499_json_named_tuples/explain.txt b/parser/testdata/01499_json_named_tuples/explain.txt new file mode 100644 index 000000000..eb588419b --- /dev/null +++ b/parser/testdata/01499_json_named_tuples/explain.txt @@ -0,0 +1,6 @@ +CreateQuery named_tuples (children 2) + Identifier named_tuples + Storage definition (children 1) + Function File (children 1) + ExpressionList (children 1) + Identifier JSONEachRow diff --git a/parser/testdata/01499_log_deadlock/explain.txt b/parser/testdata/01499_log_deadlock/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/01499_log_deadlock/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/01501_cache_dictionary_all_fields/explain.txt b/parser/testdata/01501_cache_dictionary_all_fields/explain.txt new file mode 100644 index 000000000..a66792299 --- /dev/null +++ b/parser/testdata/01501_cache_dictionary_all_fields/explain.txt @@ -0,0 +1,2 @@ +DropQuery db_01501 (children 1) + Identifier db_01501 diff --git a/parser/testdata/01502_bar_overflow/explain.txt b/parser/testdata/01502_bar_overflow/explain.txt new file mode 100644 index 000000000..856d0951a --- /dev/null +++ b/parser/testdata/01502_bar_overflow/explain.txt @@ -0,0 +1,28 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function bar (children 1) + ExpressionList (children 4) + Function multiply (children 1) + ExpressionList (children 2) + Function minus (children 1) + ExpressionList (children 2) + Function greatCircleAngle (children 1) + ExpressionList (children 4) + Literal UInt64_100 + Literal Int64_-1 + Identifier number + Identifier number + Identifier number + Literal UInt64_2 + Literal Int64_-9223372036854775808 + Literal UInt64_1023 + Literal UInt64_100 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1048575 + Identifier Null diff --git a/parser/testdata/01503_fixed_string_primary_key/explain.txt b/parser/testdata/01503_fixed_string_primary_key/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/01503_fixed_string_primary_key/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/01503_if_const_optimization/explain.txt b/parser/testdata/01503_if_const_optimization/explain.txt new file mode 100644 index 000000000..95cc27590 --- /dev/null +++ b/parser/testdata/01503_if_const_optimization/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function if (alias x) (children 1) + ExpressionList (children 3) + Function CAST (children 1) + ExpressionList (children 2) + Literal NULL + Literal \'Nullable(UInt8)\' + Literal \'2.55\' + Literal NULL diff --git a/parser/testdata/01504_compression_multiple_streams/explain.txt b/parser/testdata/01504_compression_multiple_streams/explain.txt new file mode 100644 index 000000000..b0f7c9094 --- /dev/null +++ b/parser/testdata/01504_compression_multiple_streams/explain.txt @@ -0,0 +1,2 @@ +DropQuery columns_with_multiple_streams (children 1) + Identifier columns_with_multiple_streams diff --git a/parser/testdata/01504_rocksdb/explain.txt b/parser/testdata/01504_rocksdb/explain.txt new file mode 100644 index 000000000..7bef9d54d --- /dev/null +++ b/parser/testdata/01504_rocksdb/explain.txt @@ -0,0 +1,2 @@ +DropQuery 01504_test (children 1) + Identifier 01504_test diff --git a/parser/testdata/01504_view_type_conversion/explain.txt b/parser/testdata/01504_view_type_conversion/explain.txt new file mode 100644 index 000000000..483ad5fdf --- /dev/null +++ b/parser/testdata/01504_view_type_conversion/explain.txt @@ -0,0 +1,2 @@ +DropQuery testv (children 1) + Identifier testv diff --git a/parser/testdata/01505_distributed_local_type_conversion_enum/explain.txt b/parser/testdata/01505_distributed_local_type_conversion_enum/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/01505_distributed_local_type_conversion_enum/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/01505_log_distributed_deadlock/explain.txt b/parser/testdata/01505_log_distributed_deadlock/explain.txt new file mode 100644 index 000000000..acee1101e --- /dev/null +++ b/parser/testdata/01505_log_distributed_deadlock/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_local (children 1) + Identifier t_local diff --git a/parser/testdata/01505_trivial_count_with_partition_predicate/explain.txt b/parser/testdata/01505_trivial_count_with_partition_predicate/explain.txt new file mode 100644 index 000000000..5cbd34a73 --- /dev/null +++ b/parser/testdata/01505_trivial_count_with_partition_predicate/explain.txt @@ -0,0 +1,2 @@ +DropQuery test1 (children 1) + Identifier test1 diff --git a/parser/testdata/01506_buffer_table_alter_block_structure/explain.txt b/parser/testdata/01506_buffer_table_alter_block_structure/explain.txt new file mode 100644 index 000000000..860b70743 --- /dev/null +++ b/parser/testdata/01506_buffer_table_alter_block_structure/explain.txt @@ -0,0 +1,2 @@ +DropQuery buf_dest (children 1) + Identifier buf_dest diff --git a/parser/testdata/01506_buffer_table_alter_block_structure_2/explain.txt b/parser/testdata/01506_buffer_table_alter_block_structure_2/explain.txt new file mode 100644 index 000000000..860b70743 --- /dev/null +++ b/parser/testdata/01506_buffer_table_alter_block_structure_2/explain.txt @@ -0,0 +1,2 @@ +DropQuery buf_dest (children 1) + Identifier buf_dest diff --git a/parser/testdata/01506_ttl_same_with_order_by/explain.txt b/parser/testdata/01506_ttl_same_with_order_by/explain.txt new file mode 100644 index 000000000..121f7b1ff --- /dev/null +++ b/parser/testdata/01506_ttl_same_with_order_by/explain.txt @@ -0,0 +1,2 @@ +DropQuery derived_metrics_local (children 1) + Identifier derived_metrics_local diff --git a/parser/testdata/01507_multiversion_storage_for_storagememory/explain.txt b/parser/testdata/01507_multiversion_storage_for_storagememory/explain.txt new file mode 100644 index 000000000..d1b720b41 --- /dev/null +++ b/parser/testdata/01507_multiversion_storage_for_storagememory/explain.txt @@ -0,0 +1,2 @@ +DropQuery defaults (children 1) + Identifier defaults diff --git a/parser/testdata/01507_transform_null_in/explain.txt b/parser/testdata/01507_transform_null_in/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01507_transform_null_in/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01508_explain_header/explain.txt b/parser/testdata/01508_explain_header/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01508_explain_header/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01509_output_format_pretty_row_numbers/explain.txt b/parser/testdata/01509_output_format_pretty_row_numbers/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01509_output_format_pretty_row_numbers/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01509_parallel_quorum_insert_no_replicas_long/explain.txt b/parser/testdata/01509_parallel_quorum_insert_no_replicas_long/explain.txt new file mode 100644 index 000000000..c723618ab --- /dev/null +++ b/parser/testdata/01509_parallel_quorum_insert_no_replicas_long/explain.txt @@ -0,0 +1,2 @@ +DropQuery r1 (children 1) + Identifier r1 diff --git a/parser/testdata/01511_alter_version_versioned_collapsing_merge_tree/explain.txt b/parser/testdata/01511_alter_version_versioned_collapsing_merge_tree/explain.txt new file mode 100644 index 000000000..ca71abf4c --- /dev/null +++ b/parser/testdata/01511_alter_version_versioned_collapsing_merge_tree/explain.txt @@ -0,0 +1,2 @@ +DropQuery table_with_version (children 1) + Identifier table_with_version diff --git a/parser/testdata/01511_alter_version_versioned_collapsing_merge_tree_zookeeper/explain.txt b/parser/testdata/01511_alter_version_versioned_collapsing_merge_tree_zookeeper/explain.txt new file mode 100644 index 000000000..c2f9baa81 --- /dev/null +++ b/parser/testdata/01511_alter_version_versioned_collapsing_merge_tree_zookeeper/explain.txt @@ -0,0 +1,2 @@ +DropQuery table_with_version_replicated_1 (children 1) + Identifier table_with_version_replicated_1 diff --git a/parser/testdata/01511_different_expression_with_same_alias/explain.txt b/parser/testdata/01511_different_expression_with_same_alias/explain.txt new file mode 100644 index 000000000..42d7da3da --- /dev/null +++ b/parser/testdata/01511_different_expression_with_same_alias/explain.txt @@ -0,0 +1,2 @@ +DropQuery repro_hits (children 1) + Identifier repro_hits diff --git a/parser/testdata/01511_format_readable_timedelta/metadata.json b/parser/testdata/01511_format_readable_timedelta/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01511_format_readable_timedelta/metadata.json +++ b/parser/testdata/01511_format_readable_timedelta/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01511_prewhere_with_virtuals/explain.txt b/parser/testdata/01511_prewhere_with_virtuals/explain.txt new file mode 100644 index 000000000..22e4d0611 --- /dev/null +++ b/parser/testdata/01511_prewhere_with_virtuals/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_not_found_column_nothing (children 1) + Identifier test_not_found_column_nothing diff --git a/parser/testdata/01512_create_replicate_merge_tree_one_arg/explain.txt b/parser/testdata/01512_create_replicate_merge_tree_one_arg/explain.txt new file mode 100644 index 000000000..d1957e000 --- /dev/null +++ b/parser/testdata/01512_create_replicate_merge_tree_one_arg/explain.txt @@ -0,0 +1,10 @@ +CreateQuery mt (children 3) + Identifier mt + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration v (children 1) + DataType UInt8 + Storage definition (children 1) + Function ReplicatedMergeTree (children 1) + ExpressionList (children 1) + Literal \'/clickhouse/tables/{database}/test_01497/mt\' diff --git a/parser/testdata/01513_count_without_select_sequence_consistency_zookeeper_long/explain.txt b/parser/testdata/01513_count_without_select_sequence_consistency_zookeeper_long/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01513_count_without_select_sequence_consistency_zookeeper_long/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01513_defaults_on_defaults_no_column/explain.txt b/parser/testdata/01513_defaults_on_defaults_no_column/explain.txt new file mode 100644 index 000000000..16ab2236e --- /dev/null +++ b/parser/testdata/01513_defaults_on_defaults_no_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery defaults_on_defaults (children 1) + Identifier defaults_on_defaults diff --git a/parser/testdata/01513_ilike_like_cache/explain.txt b/parser/testdata/01513_ilike_like_cache/explain.txt new file mode 100644 index 000000000..f5c35f3fc --- /dev/null +++ b/parser/testdata/01513_ilike_like_cache/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function like (children 1) + ExpressionList (children 2) + Literal \'hello\' + Literal \'hell%\' diff --git a/parser/testdata/01513_optimize_aggregation_in_order_memory_long/explain.txt b/parser/testdata/01513_optimize_aggregation_in_order_memory_long/explain.txt new file mode 100644 index 000000000..560473604 --- /dev/null +++ b/parser/testdata/01513_optimize_aggregation_in_order_memory_long/explain.txt @@ -0,0 +1,2 @@ +DropQuery data_01513 (children 1) + Identifier data_01513 diff --git a/parser/testdata/01514_empty_buffer_different_types/explain.txt b/parser/testdata/01514_empty_buffer_different_types/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01514_empty_buffer_different_types/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01514_input_format_csv_enum_as_number_setting/explain.txt b/parser/testdata/01514_input_format_csv_enum_as_number_setting/explain.txt new file mode 100644 index 000000000..171801fc7 --- /dev/null +++ b/parser/testdata/01514_input_format_csv_enum_as_number_setting/explain.txt @@ -0,0 +1,2 @@ +DropQuery table_with_enum_column_for_csv_insert (children 1) + Identifier table_with_enum_column_for_csv_insert diff --git a/parser/testdata/01514_input_format_json_enum_as_number/explain.txt b/parser/testdata/01514_input_format_json_enum_as_number/explain.txt new file mode 100644 index 000000000..5b216a8d7 --- /dev/null +++ b/parser/testdata/01514_input_format_json_enum_as_number/explain.txt @@ -0,0 +1,2 @@ +DropQuery table_with_enum_column_for_json_insert (children 1) + Identifier table_with_enum_column_for_json_insert diff --git a/parser/testdata/01514_input_format_tsv_enum_as_number_setting/explain.txt b/parser/testdata/01514_input_format_tsv_enum_as_number_setting/explain.txt new file mode 100644 index 000000000..06878a139 --- /dev/null +++ b/parser/testdata/01514_input_format_tsv_enum_as_number_setting/explain.txt @@ -0,0 +1,2 @@ +DropQuery table_with_enum_column_for_tsv_insert (children 1) + Identifier table_with_enum_column_for_tsv_insert diff --git a/parser/testdata/01514_parallel_formatting/explain.txt b/parser/testdata/01514_parallel_formatting/explain.txt new file mode 100644 index 000000000..d286ba507 --- /dev/null +++ b/parser/testdata/01514_parallel_formatting/explain.txt @@ -0,0 +1,2 @@ +DropQuery tsv (children 1) + Identifier tsv diff --git a/parser/testdata/01514_tid_function/explain.txt b/parser/testdata/01514_tid_function/explain.txt new file mode 100644 index 000000000..9ee04fc12 --- /dev/null +++ b/parser/testdata/01514_tid_function/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function tid (children 1) + ExpressionList + Identifier Null diff --git a/parser/testdata/01515_force_data_skipping_indices/explain.txt b/parser/testdata/01515_force_data_skipping_indices/explain.txt new file mode 100644 index 000000000..7c98e68d8 --- /dev/null +++ b/parser/testdata/01515_force_data_skipping_indices/explain.txt @@ -0,0 +1,2 @@ +DropQuery data_01515 (children 1) + Identifier data_01515 diff --git a/parser/testdata/01515_mv_and_array_join_optimisation_bag/explain.txt b/parser/testdata/01515_mv_and_array_join_optimisation_bag/explain.txt new file mode 100644 index 000000000..a359d673e --- /dev/null +++ b/parser/testdata/01515_mv_and_array_join_optimisation_bag/explain.txt @@ -0,0 +1,2 @@ +CreateQuery visits (children 1) + Identifier visits diff --git a/parser/testdata/01515_with_global_and_with_propagation/explain.txt b/parser/testdata/01515_with_global_and_with_propagation/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01515_with_global_and_with_propagation/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01516_create_table_primary_key/explain.txt b/parser/testdata/01516_create_table_primary_key/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01516_create_table_primary_key/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01516_date_time_output_format/explain.txt b/parser/testdata/01516_date_time_output_format/explain.txt new file mode 100644 index 000000000..7de926e3d --- /dev/null +++ b/parser/testdata/01516_date_time_output_format/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_datetime (children 1) + Identifier test_datetime diff --git a/parser/testdata/01517_drop_mv_with_inner_table/explain.txt b/parser/testdata/01517_drop_mv_with_inner_table/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01517_drop_mv_with_inner_table/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01517_select_final_distributed/explain.txt b/parser/testdata/01517_select_final_distributed/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01517_select_final_distributed/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01518_cast_nullable_virtual_system_column/explain.txt b/parser/testdata/01518_cast_nullable_virtual_system_column/explain.txt new file mode 100644 index 000000000..d4ab3b504 --- /dev/null +++ b/parser/testdata/01518_cast_nullable_virtual_system_column/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier database + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.tables + Function like (children 1) + ExpressionList (children 2) + Identifier database + Literal \'%\' + Identifier Null diff --git a/parser/testdata/01518_filtering_aliased_materialized_column/explain.txt b/parser/testdata/01518_filtering_aliased_materialized_column/explain.txt new file mode 100644 index 000000000..c4ab29447 --- /dev/null +++ b/parser/testdata/01518_filtering_aliased_materialized_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery logs (children 1) + Identifier logs diff --git a/parser/testdata/01518_nullable_aggregate_states1/explain.txt b/parser/testdata/01518_nullable_aggregate_states1/explain.txt new file mode 100644 index 000000000..79aad8b76 --- /dev/null +++ b/parser/testdata/01518_nullable_aggregate_states1/explain.txt @@ -0,0 +1,24 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 7) + Function count (children 1) + ExpressionList + Function count (children 1) + ExpressionList (children 1) + Identifier a + Function max (children 1) + ExpressionList (children 1) + Identifier a + Function min (children 1) + ExpressionList (children 1) + Identifier a + Function avg (children 1) + ExpressionList (children 1) + Identifier a + Function sum (children 1) + ExpressionList (children 1) + Identifier a + Function any (children 1) + ExpressionList (children 1) + Identifier a diff --git a/parser/testdata/01518_nullable_aggregate_states2/explain.txt b/parser/testdata/01518_nullable_aggregate_states2/explain.txt new file mode 100644 index 000000000..bec70fded --- /dev/null +++ b/parser/testdata/01518_nullable_aggregate_states2/explain.txt @@ -0,0 +1,2 @@ +DropQuery testNullableStates (children 1) + Identifier testNullableStates diff --git a/parser/testdata/01518_select_in_null/explain.txt b/parser/testdata/01518_select_in_null/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/01518_select_in_null/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/01519_topK_distributed_parametrized/explain.txt b/parser/testdata/01519_topK_distributed_parametrized/explain.txt new file mode 100644 index 000000000..16ae7ba8b --- /dev/null +++ b/parser/testdata/01519_topK_distributed_parametrized/explain.txt @@ -0,0 +1,8 @@ +CreateQuery topXtest (children 3) + Identifier topXtest + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration A (children 1) + DataType Int64 + Storage definition (children 1) + Function Memory diff --git a/parser/testdata/01521_alter_enum_and_reverse_read/explain.txt b/parser/testdata/01521_alter_enum_and_reverse_read/explain.txt new file mode 100644 index 000000000..f914d620a --- /dev/null +++ b/parser/testdata/01521_alter_enum_and_reverse_read/explain.txt @@ -0,0 +1,2 @@ +DropQuery enum_test (children 1) + Identifier enum_test diff --git a/parser/testdata/01521_distributed_query_hang/explain.txt b/parser/testdata/01521_distributed_query_hang/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01521_distributed_query_hang/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01521_format_readable_time_delta2/explain.txt b/parser/testdata/01521_format_readable_time_delta2/explain.txt new file mode 100644 index 000000000..a670df72c --- /dev/null +++ b/parser/testdata/01521_format_readable_time_delta2/explain.txt @@ -0,0 +1,30 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function formatReadableTimeDelta (children 1) + ExpressionList (children 1) + Function negate (children 1) + ExpressionList (children 1) + Function plus (children 1) + ExpressionList (children 2) + Function plus (children 1) + ExpressionList (children 2) + Function plus (children 1) + ExpressionList (children 2) + Function plus (children 1) + ExpressionList (children 2) + Function plus (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal UInt64_60 + Literal UInt64_3600 + Literal UInt64_86400 + Function multiply (children 1) + ExpressionList (children 2) + Literal Float64_30.5 + Literal UInt64_86400 + Function multiply (children 1) + ExpressionList (children 2) + Literal UInt64_365 + Literal UInt64_86400 diff --git a/parser/testdata/01521_global_in_prewhere_15792/explain.txt b/parser/testdata/01521_global_in_prewhere_15792/explain.txt new file mode 100644 index 000000000..a0ffa4e85 --- /dev/null +++ b/parser/testdata/01521_global_in_prewhere_15792/explain.txt @@ -0,0 +1,2 @@ +DropQuery xp (children 1) + Identifier xp diff --git a/parser/testdata/01521_max_length_alias/explain.txt b/parser/testdata/01521_max_length_alias/explain.txt new file mode 100644 index 000000000..6832340a1 --- /dev/null +++ b/parser/testdata/01521_max_length_alias/explain.txt @@ -0,0 +1,2 @@ +DropQuery max_length_alias_14053 (children 1) + Identifier max_length_alias_14053 diff --git a/parser/testdata/01522_validate_alter_default/explain.txt b/parser/testdata/01522_validate_alter_default/explain.txt new file mode 100644 index 000000000..7ee27f568 --- /dev/null +++ b/parser/testdata/01522_validate_alter_default/explain.txt @@ -0,0 +1,2 @@ +DropQuery table2 (children 1) + Identifier table2 diff --git a/parser/testdata/01523_date_time_compare_with_date_literal/explain.txt b/parser/testdata/01523_date_time_compare_with_date_literal/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/01523_date_time_compare_with_date_literal/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/01523_interval_operator_support_string_literal/explain.txt b/parser/testdata/01523_interval_operator_support_string_literal/explain.txt new file mode 100644 index 000000000..c5b782595 --- /dev/null +++ b/parser/testdata/01523_interval_operator_support_string_literal/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toIntervalYear (children 1) + ExpressionList (children 1) + Literal UInt64_2 diff --git a/parser/testdata/01524_do_not_merge_across_partitions_select_final/explain.txt b/parser/testdata/01524_do_not_merge_across_partitions_select_final/explain.txt new file mode 100644 index 000000000..f7b4eac1f --- /dev/null +++ b/parser/testdata/01524_do_not_merge_across_partitions_select_final/explain.txt @@ -0,0 +1,2 @@ +DropQuery select_final (children 1) + Identifier select_final diff --git a/parser/testdata/01525_select_with_offset_fetch_clause/explain.txt b/parser/testdata/01525_select_with_offset_fetch_clause/explain.txt new file mode 100644 index 000000000..b65098134 --- /dev/null +++ b/parser/testdata/01525_select_with_offset_fetch_clause/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier number + Literal UInt64_2 + Literal UInt64_3 diff --git a/parser/testdata/01526_alter_add_and_modify_order_zookeeper/explain.txt b/parser/testdata/01526_alter_add_and_modify_order_zookeeper/explain.txt new file mode 100644 index 000000000..721732737 --- /dev/null +++ b/parser/testdata/01526_alter_add_and_modify_order_zookeeper/explain.txt @@ -0,0 +1,2 @@ +DropQuery table_for_alter (children 1) + Identifier table_for_alter diff --git a/parser/testdata/01526_complex_key_dict_direct_layout/explain.txt b/parser/testdata/01526_complex_key_dict_direct_layout/explain.txt new file mode 100644 index 000000000..ce990295a --- /dev/null +++ b/parser/testdata/01526_complex_key_dict_direct_layout/explain.txt @@ -0,0 +1,2 @@ +DropQuery db_01526 (children 1) + Identifier db_01526 diff --git a/parser/testdata/01527_bad_aggregation_in_lambda/explain.txt b/parser/testdata/01527_bad_aggregation_in_lambda/explain.txt new file mode 100644 index 000000000..6060f30f0 --- /dev/null +++ b/parser/testdata/01527_bad_aggregation_in_lambda/explain.txt @@ -0,0 +1,21 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayMap (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function multiply (children 1) + ExpressionList (children 2) + Identifier x + Function sum (children 1) + ExpressionList (children 1) + Identifier x + Function range (children 1) + ExpressionList (children 1) + Literal UInt64_10 +The query succeeded but the server error '[10, 47]' was expected (query: EXPLAIN AST SELECT arrayMap(x -> x * sum(x), range(10)); -- { serverError NOT_FOUND_COLUMN_IN_BLOCK, 47 }). diff --git a/parser/testdata/01527_dist_sharding_key_dictGet_reload/explain.txt b/parser/testdata/01527_dist_sharding_key_dictGet_reload/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01527_dist_sharding_key_dictGet_reload/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01527_materialized_view_stack_overflow/explain.txt b/parser/testdata/01527_materialized_view_stack_overflow/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01527_materialized_view_stack_overflow/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01528_allow_nondeterministic_optimize_skip_unused_shards/explain.txt b/parser/testdata/01528_allow_nondeterministic_optimize_skip_unused_shards/explain.txt new file mode 100644 index 000000000..f60bd0a3e --- /dev/null +++ b/parser/testdata/01528_allow_nondeterministic_optimize_skip_unused_shards/explain.txt @@ -0,0 +1,2 @@ +DropQuery dist_01528 (children 1) + Identifier dist_01528 diff --git a/parser/testdata/01528_setting_aggregate_functions_null_for_empty/explain.txt b/parser/testdata/01528_setting_aggregate_functions_null_for_empty/explain.txt new file mode 100644 index 000000000..d1b720b41 --- /dev/null +++ b/parser/testdata/01528_setting_aggregate_functions_null_for_empty/explain.txt @@ -0,0 +1,2 @@ +DropQuery defaults (children 1) + Identifier defaults diff --git a/parser/testdata/01528_to_uuid_or_null_or_zero/explain.txt b/parser/testdata/01528_to_uuid_or_null_or_zero/explain.txt new file mode 100644 index 000000000..b77bf0818 --- /dev/null +++ b/parser/testdata/01528_to_uuid_or_null_or_zero/explain.txt @@ -0,0 +1,2 @@ +DropQuery to_uuid_test (children 1) + Identifier to_uuid_test diff --git a/parser/testdata/01529_union_distinct_and_setting_union_default_mode/explain.txt b/parser/testdata/01529_union_distinct_and_setting_union_default_mode/explain.txt new file mode 100644 index 000000000..8827c47de --- /dev/null +++ b/parser/testdata/01529_union_distinct_and_setting_union_default_mode/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/01530_drop_database_atomic_sync/explain.txt b/parser/testdata/01530_drop_database_atomic_sync/explain.txt new file mode 100644 index 000000000..62c300c13 --- /dev/null +++ b/parser/testdata/01530_drop_database_atomic_sync/explain.txt @@ -0,0 +1,2 @@ +DropQuery db_01530_atomic (children 1) + Identifier db_01530_atomic diff --git a/parser/testdata/01531_query_log_query_comment/explain.txt b/parser/testdata/01531_query_log_query_comment/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01531_query_log_query_comment/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01532_collate_in_low_cardinality/explain.txt b/parser/testdata/01532_collate_in_low_cardinality/explain.txt new file mode 100644 index 000000000..7a5ec146f --- /dev/null +++ b/parser/testdata/01532_collate_in_low_cardinality/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_collate (children 1) + Identifier test_collate diff --git a/parser/testdata/01532_execute_merges_on_single_replica_long/explain.txt b/parser/testdata/01532_execute_merges_on_single_replica_long/explain.txt new file mode 100644 index 000000000..b73a49cb5 --- /dev/null +++ b/parser/testdata/01532_execute_merges_on_single_replica_long/explain.txt @@ -0,0 +1,2 @@ +DropQuery execute_on_single_replica_r1 (children 1) + Identifier execute_on_single_replica_r1 diff --git a/parser/testdata/01532_having_with_totals/explain.txt b/parser/testdata/01532_having_with_totals/explain.txt new file mode 100644 index 000000000..5a79450c9 --- /dev/null +++ b/parser/testdata/01532_having_with_totals/explain.txt @@ -0,0 +1,2 @@ +DropQuery local_t (children 1) + Identifier local_t diff --git a/parser/testdata/01532_min_max_with_modifiers/explain.txt b/parser/testdata/01532_min_max_with_modifiers/explain.txt new file mode 100644 index 000000000..9f66b4edd --- /dev/null +++ b/parser/testdata/01532_min_max_with_modifiers/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'totals\' diff --git a/parser/testdata/01532_primary_key_without_order_by_zookeeper/explain.txt b/parser/testdata/01532_primary_key_without_order_by_zookeeper/explain.txt new file mode 100644 index 000000000..297d86c8f --- /dev/null +++ b/parser/testdata/01532_primary_key_without_order_by_zookeeper/explain.txt @@ -0,0 +1,2 @@ +DropQuery merge_tree_pk (children 1) + Identifier merge_tree_pk diff --git a/parser/testdata/01532_tuple_with_name_type/explain.txt b/parser/testdata/01532_tuple_with_name_type/explain.txt new file mode 100644 index 000000000..fba9166d4 --- /dev/null +++ b/parser/testdata/01532_tuple_with_name_type/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_01532_1 (children 1) + Identifier test_01532_1 diff --git a/parser/testdata/01533_collate_in_nullable/explain.txt b/parser/testdata/01533_collate_in_nullable/explain.txt new file mode 100644 index 000000000..7a5ec146f --- /dev/null +++ b/parser/testdata/01533_collate_in_nullable/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_collate (children 1) + Identifier test_collate diff --git a/parser/testdata/01533_distinct_depends_on_max_threads/explain.txt b/parser/testdata/01533_distinct_depends_on_max_threads/explain.txt new file mode 100644 index 000000000..1527175d7 --- /dev/null +++ b/parser/testdata/01533_distinct_depends_on_max_threads/explain.txt @@ -0,0 +1,2 @@ +DropQuery bug_13492 (children 1) + Identifier bug_13492 diff --git a/parser/testdata/01533_distinct_nullable_uuid/explain.txt b/parser/testdata/01533_distinct_nullable_uuid/explain.txt new file mode 100644 index 000000000..902fef60f --- /dev/null +++ b/parser/testdata/01533_distinct_nullable_uuid/explain.txt @@ -0,0 +1,2 @@ +DropQuery bug_14144 (children 1) + Identifier bug_14144 diff --git a/parser/testdata/01533_multiple_nested/explain.txt b/parser/testdata/01533_multiple_nested/explain.txt new file mode 100644 index 000000000..b42a45886 --- /dev/null +++ b/parser/testdata/01533_multiple_nested/explain.txt @@ -0,0 +1,2 @@ +DropQuery nested (children 1) + Identifier nested diff --git a/parser/testdata/01533_optimize_skip_merged_partitions/explain.txt b/parser/testdata/01533_optimize_skip_merged_partitions/explain.txt new file mode 100644 index 000000000..27b27beaa --- /dev/null +++ b/parser/testdata/01533_optimize_skip_merged_partitions/explain.txt @@ -0,0 +1,2 @@ +DropQuery optimize_final (children 1) + Identifier optimize_final diff --git a/parser/testdata/01533_quantile_deterministic_assert/explain.txt b/parser/testdata/01533_quantile_deterministic_assert/explain.txt new file mode 100644 index 000000000..e464a8654 --- /dev/null +++ b/parser/testdata/01533_quantile_deterministic_assert/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function quantileDeterministic (children 1) + ExpressionList (children 2) + Identifier number + Function sipHash64 (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.0.0.{1,2}\' + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_8193 diff --git a/parser/testdata/01533_sum_if_nullable_bug/explain.txt b/parser/testdata/01533_sum_if_nullable_bug/explain.txt new file mode 100644 index 000000000..81b1828d9 --- /dev/null +++ b/parser/testdata/01533_sum_if_nullable_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery T (children 1) + Identifier T diff --git a/parser/testdata/01534_lambda_array_join/explain.txt b/parser/testdata/01534_lambda_array_join/explain.txt new file mode 100644 index 000000000..a1c0b3252 --- /dev/null +++ b/parser/testdata/01534_lambda_array_join/explain.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayMap (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function concat (children 1) + ExpressionList (children 3) + Identifier x + Function concat (children 1) + ExpressionList (children 3) + Function arrayJoin (children 1) + ExpressionList (children 1) + Literal Array_[UInt64_1] + Identifier x + Literal NULL + Literal \'\' + Literal Array_[UInt64_1] diff --git a/parser/testdata/01535_decimal_round_scale_overflow_check/explain.txt b/parser/testdata/01535_decimal_round_scale_overflow_check/explain.txt new file mode 100644 index 000000000..d4f07a49f --- /dev/null +++ b/parser/testdata/01535_decimal_round_scale_overflow_check/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function round (children 1) + ExpressionList (children 2) + Function toDecimal32 (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal UInt64_0 + Literal Int64_-9223372036854775806 +The query succeeded but the server error '69' was expected (query: EXPLAIN AST SELECT round(toDecimal32(1, 0), -9223372036854775806); -- { serverError ARGUMENT_OUT_OF_BOUND }). diff --git a/parser/testdata/01536_fuzz_cast/explain.txt b/parser/testdata/01536_fuzz_cast/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01536_fuzz_cast/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01537_fuzz_count_equal/explain.txt b/parser/testdata/01537_fuzz_count_equal/explain.txt new file mode 100644 index 000000000..655646447 --- /dev/null +++ b/parser/testdata/01537_fuzz_count_equal/explain.txt @@ -0,0 +1,26 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Literal NULL + Function countEqual (children 1) + ExpressionList (children 2) + Function materialize (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 4) + Function arrayJoin (children 1) + ExpressionList (children 1) + Literal Array_[NULL, NULL, NULL] + Literal NULL (alias x) + Function arrayJoin (children 1) + ExpressionList (children 1) + Literal Array_[UInt64_255, UInt64_1025, NULL, NULL] + Function arrayJoin (children 1) + ExpressionList (children 1) + Literal Array_[UInt64_2, UInt64_1048576, NULL, NULL] + Function materialize (children 1) + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/01538_fuzz_aggregate/metadata.json b/parser/testdata/01538_fuzz_aggregate/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01538_fuzz_aggregate/metadata.json +++ b/parser/testdata/01538_fuzz_aggregate/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01540_verbatim_partition_pruning/explain.txt b/parser/testdata/01540_verbatim_partition_pruning/explain.txt new file mode 100644 index 000000000..2cbad0264 --- /dev/null +++ b/parser/testdata/01540_verbatim_partition_pruning/explain.txt @@ -0,0 +1,2 @@ +DropQuery xy (children 1) + Identifier xy diff --git a/parser/testdata/01542_collate_in_array/explain.txt b/parser/testdata/01542_collate_in_array/explain.txt new file mode 100644 index 000000000..6c6bd78c3 --- /dev/null +++ b/parser/testdata/01542_collate_in_array/explain.txt @@ -0,0 +1,2 @@ +DropQuery collate_test1 (children 1) + Identifier collate_test1 diff --git a/parser/testdata/01543_collate_in_tuple/explain.txt b/parser/testdata/01543_collate_in_tuple/explain.txt new file mode 100644 index 000000000..6c6bd78c3 --- /dev/null +++ b/parser/testdata/01543_collate_in_tuple/explain.txt @@ -0,0 +1,2 @@ +DropQuery collate_test1 (children 1) + Identifier collate_test1 diff --git a/parser/testdata/01543_parse_datetime_besteffort_or_null_empty_string/explain.txt b/parser/testdata/01543_parse_datetime_besteffort_or_null_empty_string/explain.txt new file mode 100644 index 000000000..d451212c9 --- /dev/null +++ b/parser/testdata/01543_parse_datetime_besteffort_or_null_empty_string/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function parseDateTimeBestEffortOrNull (children 1) + ExpressionList (children 1) + Literal \'2010-01-01\' diff --git a/parser/testdata/01543_toModifiedJulianDay/explain.txt b/parser/testdata/01543_toModifiedJulianDay/explain.txt new file mode 100644 index 000000000..af161dc0e --- /dev/null +++ b/parser/testdata/01543_toModifiedJulianDay/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'Invocation with constant\' diff --git a/parser/testdata/01544_errorCodeToName/explain.txt b/parser/testdata/01544_errorCodeToName/explain.txt new file mode 100644 index 000000000..b31503932 --- /dev/null +++ b/parser/testdata/01544_errorCodeToName/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function errorCodeToName (children 1) + ExpressionList (children 1) + Function toUInt32 (children 1) + ExpressionList (children 1) + Literal Int64_-1 diff --git a/parser/testdata/01544_fromModifiedJulianDay/explain.txt b/parser/testdata/01544_fromModifiedJulianDay/explain.txt new file mode 100644 index 000000000..af161dc0e --- /dev/null +++ b/parser/testdata/01544_fromModifiedJulianDay/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'Invocation with constant\' diff --git a/parser/testdata/01545_url_file_format_settings/explain.txt b/parser/testdata/01545_url_file_format_settings/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01545_url_file_format_settings/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01546_log_queries_min_query_duration_ms/explain.txt b/parser/testdata/01546_log_queries_min_query_duration_ms/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01546_log_queries_min_query_duration_ms/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01547_query_log_current_database/explain.txt b/parser/testdata/01547_query_log_current_database/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01547_query_log_current_database/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01548_lzy305/explain.txt b/parser/testdata/01548_lzy305/explain.txt new file mode 100644 index 000000000..dbaaa64de --- /dev/null +++ b/parser/testdata/01548_lzy305/explain.txt @@ -0,0 +1,2 @@ +DropQuery fct_rt_dc_shop_sku_vender_day (children 1) + Identifier fct_rt_dc_shop_sku_vender_day diff --git a/parser/testdata/01548_uncomparable_columns_in_keys/explain.txt b/parser/testdata/01548_uncomparable_columns_in_keys/explain.txt new file mode 100644 index 000000000..a4d167359 --- /dev/null +++ b/parser/testdata/01548_uncomparable_columns_in_keys/explain.txt @@ -0,0 +1,2 @@ +DropQuery uncomparable_keys (children 1) + Identifier uncomparable_keys diff --git a/parser/testdata/01548_with_totals_having/explain.txt b/parser/testdata/01548_with_totals_having/explain.txt new file mode 100644 index 000000000..a7c241fbb --- /dev/null +++ b/parser/testdata/01548_with_totals_having/explain.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_4 + ExpressionList (children 1) + Identifier number + Function lessOrEquals (children 1) + ExpressionList (children 2) + Function sum (children 1) + ExpressionList (children 1) + Identifier number + Function arrayJoin (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList +The query succeeded but the server error '[44, 59]' was expected (query: EXPLAIN AST SELECT * FROM numbers(4) GROUP BY number WITH TOTALS HAVING sum(number) <= arrayJoin([]); -- { serverError ILLEGAL_COLUMN, 59 }). diff --git a/parser/testdata/01549_low_cardinality_materialized_view/explain.txt b/parser/testdata/01549_low_cardinality_materialized_view/explain.txt new file mode 100644 index 000000000..468c3f3b0 --- /dev/null +++ b/parser/testdata/01549_low_cardinality_materialized_view/explain.txt @@ -0,0 +1,2 @@ +DropQuery HASH_MV (children 1) + Identifier HASH_MV diff --git a/parser/testdata/01549_low_cardinality_mv_fuzz/explain.txt b/parser/testdata/01549_low_cardinality_mv_fuzz/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01549_low_cardinality_mv_fuzz/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01550_create_map_type/explain.txt b/parser/testdata/01550_create_map_type/explain.txt new file mode 100644 index 000000000..57de1f3ca --- /dev/null +++ b/parser/testdata/01550_create_map_type/explain.txt @@ -0,0 +1,2 @@ +DropQuery table_map (children 1) + Identifier table_map diff --git a/parser/testdata/01550_mutation_subquery/explain.txt b/parser/testdata/01550_mutation_subquery/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/01550_mutation_subquery/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/01550_type_map_formats/explain.txt b/parser/testdata/01550_type_map_formats/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01550_type_map_formats/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01551_context_uaf/explain.txt b/parser/testdata/01551_context_uaf/explain.txt new file mode 100644 index 000000000..ad6cc8af7 --- /dev/null +++ b/parser/testdata/01551_context_uaf/explain.txt @@ -0,0 +1,2 @@ +DropQuery f (children 1) + Identifier f diff --git a/parser/testdata/01551_mergetree_read_in_order_spread/explain.txt b/parser/testdata/01551_mergetree_read_in_order_spread/explain.txt new file mode 100644 index 000000000..820f052d3 --- /dev/null +++ b/parser/testdata/01551_mergetree_read_in_order_spread/explain.txt @@ -0,0 +1,2 @@ +DropQuery data_01551 (children 1) + Identifier data_01551 diff --git a/parser/testdata/01552_alter_name_collision/explain.txt b/parser/testdata/01552_alter_name_collision/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/01552_alter_name_collision/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/01552_dict_fixedstring/explain.txt b/parser/testdata/01552_dict_fixedstring/explain.txt new file mode 100644 index 000000000..86d217994 --- /dev/null +++ b/parser/testdata/01552_dict_fixedstring/explain.txt @@ -0,0 +1,2 @@ +DropQuery src (children 1) + Identifier src diff --git a/parser/testdata/01552_impl_aggfunc_cloneresize/explain.txt b/parser/testdata/01552_impl_aggfunc_cloneresize/explain.txt new file mode 100644 index 000000000..0c8e9e864 --- /dev/null +++ b/parser/testdata/01552_impl_aggfunc_cloneresize/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_bm (children 1) + Identifier test_bm diff --git a/parser/testdata/01553_datetime64_comparison/explain.txt b/parser/testdata/01553_datetime64_comparison/explain.txt new file mode 100644 index 000000000..ed6a33656 --- /dev/null +++ b/parser/testdata/01553_datetime64_comparison/explain.txt @@ -0,0 +1,2 @@ +CreateQuery datetime64_cmp (children 1) + Identifier datetime64_cmp diff --git a/parser/testdata/01553_settings_early_apply/explain.txt b/parser/testdata/01553_settings_early_apply/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01553_settings_early_apply/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01554_bloom_filter_index_big_integer_uuid/explain.txt b/parser/testdata/01554_bloom_filter_index_big_integer_uuid/explain.txt new file mode 100644 index 000000000..203c5e6a0 --- /dev/null +++ b/parser/testdata/01554_bloom_filter_index_big_integer_uuid/explain.txt @@ -0,0 +1,17 @@ +CreateQuery 01154_test (children 3) + Identifier 01154_test + Columns definition (children 2) + ExpressionList (children 1) + ColumnDeclaration x (children 1) + DataType Int128 + ExpressionList (children 1) + Index (children 2) + Identifier x + Function bloom_filter (children 1) + ExpressionList (children 1) + Literal Float64_0.01 + Storage definition (children 3) + Function MergeTree (children 1) + ExpressionList + Identifier x + Set diff --git a/parser/testdata/01554_interpreter_integer_float/explain.txt b/parser/testdata/01554_interpreter_integer_float/explain.txt new file mode 100644 index 000000000..adcf63ddc --- /dev/null +++ b/parser/testdata/01554_interpreter_integer_float/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function reinterpretAsFloat32 (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Literal UInt64_123456 + Literal \'UInt32\' diff --git a/parser/testdata/01555_or_fill/metadata.json b/parser/testdata/01555_or_fill/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01555_or_fill/metadata.json +++ b/parser/testdata/01555_or_fill/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01555_system_distribution_queue_mask/explain.txt b/parser/testdata/01555_system_distribution_queue_mask/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01555_system_distribution_queue_mask/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01556_accurate_cast_or_null/explain.txt b/parser/testdata/01556_accurate_cast_or_null/explain.txt new file mode 100644 index 000000000..141fca1c4 --- /dev/null +++ b/parser/testdata/01556_accurate_cast_or_null/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function accurateCastOrNull (children 1) + ExpressionList (children 2) + Literal Int64_-1 + Literal \'UInt8\' diff --git a/parser/testdata/01556_explain_select_with_union_query/explain.txt b/parser/testdata/01556_explain_select_with_union_query/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01556_explain_select_with_union_query/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01556_if_null/metadata.json b/parser/testdata/01556_if_null/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01556_if_null/metadata.json +++ b/parser/testdata/01556_if_null/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01557_max_parallel_replicas_no_sample/explain.txt b/parser/testdata/01557_max_parallel_replicas_no_sample/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01557_max_parallel_replicas_no_sample/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01558_enum_as_num_in_tsv_csv_input/explain.txt b/parser/testdata/01558_enum_as_num_in_tsv_csv_input/explain.txt new file mode 100644 index 000000000..d48cf2950 --- /dev/null +++ b/parser/testdata/01558_enum_as_num_in_tsv_csv_input/explain.txt @@ -0,0 +1,2 @@ +DropQuery enum_as_num (children 1) + Identifier enum_as_num diff --git a/parser/testdata/01558_transform_null_in/explain.txt b/parser/testdata/01558_transform_null_in/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01558_transform_null_in/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01558_ttest/explain.txt b/parser/testdata/01558_ttest/explain.txt new file mode 100644 index 000000000..91cca2de1 --- /dev/null +++ b/parser/testdata/01558_ttest/explain.txt @@ -0,0 +1,2 @@ +DropQuery welch_ttest (children 1) + Identifier welch_ttest diff --git a/parser/testdata/01559_aggregate_null_for_empty_fix/explain.txt b/parser/testdata/01559_aggregate_null_for_empty_fix/explain.txt new file mode 100644 index 000000000..1906da2e9 --- /dev/null +++ b/parser/testdata/01559_aggregate_null_for_empty_fix/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function MAX (children 1) + ExpressionList (children 1) + Identifier aggr diff --git a/parser/testdata/01559_misplaced_codec_diagnostics/explain.txt b/parser/testdata/01559_misplaced_codec_diagnostics/explain.txt new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/parser/testdata/01559_misplaced_codec_diagnostics/explain.txt @@ -0,0 +1 @@ + diff --git a/parser/testdata/01560_DateTime_and_DateTime64_comparision/metadata.json b/parser/testdata/01560_DateTime_and_DateTime64_comparision/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01560_DateTime_and_DateTime64_comparision/metadata.json +++ b/parser/testdata/01560_DateTime_and_DateTime64_comparision/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01560_cancel_agg_func_combinator_native_name_constraint/explain.txt b/parser/testdata/01560_cancel_agg_func_combinator_native_name_constraint/explain.txt new file mode 100644 index 000000000..3adae2b27 --- /dev/null +++ b/parser/testdata/01560_cancel_agg_func_combinator_native_name_constraint/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function Sum (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/01560_crash_in_agg_empty_arglist/explain.txt b/parser/testdata/01560_crash_in_agg_empty_arglist/explain.txt new file mode 100644 index 000000000..8827c47de --- /dev/null +++ b/parser/testdata/01560_crash_in_agg_empty_arglist/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/01560_mann_whitney/explain.txt b/parser/testdata/01560_mann_whitney/explain.txt new file mode 100644 index 000000000..9c8c76898 --- /dev/null +++ b/parser/testdata/01560_mann_whitney/explain.txt @@ -0,0 +1,2 @@ +DropQuery mann_whitney_test (children 1) + Identifier mann_whitney_test diff --git a/parser/testdata/01560_merge_distributed_join/explain.txt b/parser/testdata/01560_merge_distributed_join/explain.txt new file mode 100644 index 000000000..aa0007fbb --- /dev/null +++ b/parser/testdata/01560_merge_distributed_join/explain.txt @@ -0,0 +1,2 @@ +DropQuery cat_hist (children 1) + Identifier cat_hist diff --git a/parser/testdata/01560_monotonicity_check_multiple_args_bug/metadata.json b/parser/testdata/01560_monotonicity_check_multiple_args_bug/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01560_monotonicity_check_multiple_args_bug/metadata.json +++ b/parser/testdata/01560_monotonicity_check_multiple_args_bug/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01560_optimize_on_insert_long/explain.txt b/parser/testdata/01560_optimize_on_insert_long/explain.txt new file mode 100644 index 000000000..7fb8cc2a3 --- /dev/null +++ b/parser/testdata/01560_optimize_on_insert_long/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'Replacing Merge Tree\' diff --git a/parser/testdata/01560_optimize_on_insert_zookeeper/explain.txt b/parser/testdata/01560_optimize_on_insert_zookeeper/explain.txt new file mode 100644 index 000000000..17268eed8 --- /dev/null +++ b/parser/testdata/01560_optimize_on_insert_zookeeper/explain.txt @@ -0,0 +1,2 @@ +DropQuery empty1 (children 1) + Identifier empty1 diff --git a/parser/testdata/01561_Date_and_DateTime64_comparision/metadata.json b/parser/testdata/01561_Date_and_DateTime64_comparision/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01561_Date_and_DateTime64_comparision/metadata.json +++ b/parser/testdata/01561_Date_and_DateTime64_comparision/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01561_aggregate_functions_of_key_with_join/explain.txt b/parser/testdata/01561_aggregate_functions_of_key_with_join/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01561_aggregate_functions_of_key_with_join/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01562_agg_null_for_empty_ahead/explain.txt b/parser/testdata/01562_agg_null_for_empty_ahead/explain.txt new file mode 100644 index 000000000..4f464aeb3 --- /dev/null +++ b/parser/testdata/01562_agg_null_for_empty_ahead/explain.txt @@ -0,0 +1,24 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function sumMerge (children 1) + ExpressionList (children 1) + Identifier s + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function sumState (alias s) (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_0 diff --git a/parser/testdata/01564_test_hint_woes/metadata.json b/parser/testdata/01564_test_hint_woes/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01564_test_hint_woes/metadata.json +++ b/parser/testdata/01564_test_hint_woes/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01566_negate_formatting/explain.txt b/parser/testdata/01566_negate_formatting/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01566_negate_formatting/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01567_system_processes_current_database/explain.txt b/parser/testdata/01567_system_processes_current_database/explain.txt new file mode 100644 index 000000000..f6522d45c --- /dev/null +++ b/parser/testdata/01567_system_processes_current_database/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function count (children 1) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.processes + Function equals (children 1) + ExpressionList (children 2) + Identifier current_database + Function currentDatabase (children 1) + ExpressionList diff --git a/parser/testdata/01568_window_functions_distributed/explain.txt b/parser/testdata/01568_window_functions_distributed/explain.txt new file mode 100644 index 000000000..9b604cca0 --- /dev/null +++ b/parser/testdata/01568_window_functions_distributed/explain.txt @@ -0,0 +1,30 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function row_number (alias x) (children 2) + ExpressionList + WindowDefinition (children 1) + ExpressionList (children 1) + OrderByElement (children 1) + Identifier dummy + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 3) + Literal \'127.0.0.{1,2}\' + Identifier system + Identifier one + ExpressionList (children 1) + OrderByElement (children 1) + Identifier x diff --git a/parser/testdata/01570_aggregator_combinator_simple_state/explain.txt b/parser/testdata/01570_aggregator_combinator_simple_state/explain.txt new file mode 100644 index 000000000..1c30db217 --- /dev/null +++ b/parser/testdata/01570_aggregator_combinator_simple_state/explain.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function anySimpleState (alias c) (children 1) + ExpressionList (children 1) + Identifier number + ExpressionList (children 2) + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier c + Identifier c + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/01571_window_functions/explain.txt b/parser/testdata/01571_window_functions/explain.txt new file mode 100644 index 000000000..38680770f --- /dev/null +++ b/parser/testdata/01571_window_functions/explain.txt @@ -0,0 +1,2 @@ +CreateQuery order_by_const (children 1) + Identifier order_by_const diff --git a/parser/testdata/01575_disable_detach_table_of_dictionary/explain.txt b/parser/testdata/01575_disable_detach_table_of_dictionary/explain.txt new file mode 100644 index 000000000..12350680f --- /dev/null +++ b/parser/testdata/01575_disable_detach_table_of_dictionary/explain.txt @@ -0,0 +1,2 @@ +DropQuery database_for_dict (children 1) + Identifier database_for_dict diff --git a/parser/testdata/01576_alias_column_rewrite/explain.txt b/parser/testdata/01576_alias_column_rewrite/explain.txt new file mode 100644 index 000000000..d4bf1aa3f --- /dev/null +++ b/parser/testdata/01576_alias_column_rewrite/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_table (children 1) + Identifier test_table diff --git a/parser/testdata/01576_if_null_external_aggregation/explain.txt b/parser/testdata/01576_if_null_external_aggregation/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01576_if_null_external_aggregation/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01579_date_datetime_index_comparison/explain.txt b/parser/testdata/01579_date_datetime_index_comparison/explain.txt new file mode 100644 index 000000000..844ee484e --- /dev/null +++ b/parser/testdata/01579_date_datetime_index_comparison/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_index (children 1) + Identifier test_index diff --git a/parser/testdata/01580_column_const_comparision/explain.txt b/parser/testdata/01580_column_const_comparision/explain.txt new file mode 100644 index 000000000..d7a1f0061 --- /dev/null +++ b/parser/testdata/01580_column_const_comparision/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Literal \'1111\' (alias name) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers_mt + ExpressionList (children 1) + OrderByElement (children 1) + Identifier name + Literal UInt64_10000 + Identifier Null diff --git a/parser/testdata/01581_deduplicate_by_columns_local/explain.txt b/parser/testdata/01581_deduplicate_by_columns_local/explain.txt new file mode 100644 index 000000000..a4f497645 --- /dev/null +++ b/parser/testdata/01581_deduplicate_by_columns_local/explain.txt @@ -0,0 +1,2 @@ +DropQuery source_data (children 1) + Identifier source_data diff --git a/parser/testdata/01581_deduplicate_by_columns_replicated_long/explain.txt b/parser/testdata/01581_deduplicate_by_columns_replicated_long/explain.txt new file mode 100644 index 000000000..a9db95669 --- /dev/null +++ b/parser/testdata/01581_deduplicate_by_columns_replicated_long/explain.txt @@ -0,0 +1,2 @@ +DropQuery replicated_deduplicate_by_columns_r1 (children 1) + Identifier replicated_deduplicate_by_columns_r1 diff --git a/parser/testdata/01581_to_int_inf_nan/explain.txt b/parser/testdata/01581_to_int_inf_nan/explain.txt new file mode 100644 index 000000000..7690b2cfc --- /dev/null +++ b/parser/testdata/01581_to_int_inf_nan/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toInt64 (children 1) + ExpressionList (children 1) + Literal Float64_inf +The query succeeded but the server error '70' was expected (query: EXPLAIN AST SELECT toInt64(inf); -- { serverError CANNOT_CONVERT_TYPE }). diff --git a/parser/testdata/01582_any_join_supertype/explain.txt b/parser/testdata/01582_any_join_supertype/explain.txt new file mode 100644 index 000000000..275941d99 --- /dev/null +++ b/parser/testdata/01582_any_join_supertype/explain.txt @@ -0,0 +1,2 @@ +DropQuery foo (children 1) + Identifier foo diff --git a/parser/testdata/01582_deterministic_function_with_predicate/explain.txt b/parser/testdata/01582_deterministic_function_with_predicate/explain.txt new file mode 100644 index 000000000..98ec19872 --- /dev/null +++ b/parser/testdata/01582_deterministic_function_with_predicate/explain.txt @@ -0,0 +1,40 @@ +Explain EXPLAIN SYNTAX (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function count (children 1) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1000000 + Function less (children 1) + ExpressionList (children 2) + Function rand64 (children 1) + ExpressionList + Function multiply (children 1) + ExpressionList (children 2) + Literal Float64_0.01 + Literal Float64_18446744073709552000 diff --git a/parser/testdata/01582_distinct_subquery_groupby/explain.txt b/parser/testdata/01582_distinct_subquery_groupby/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/01582_distinct_subquery_groupby/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/01582_move_to_prewhere_compact_parts/explain.txt b/parser/testdata/01582_move_to_prewhere_compact_parts/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01582_move_to_prewhere_compact_parts/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01583_const_column_in_set_index/explain.txt b/parser/testdata/01583_const_column_in_set_index/explain.txt new file mode 100644 index 000000000..6555a550f --- /dev/null +++ b/parser/testdata/01583_const_column_in_set_index/explain.txt @@ -0,0 +1,2 @@ +DropQuery insub (children 1) + Identifier insub diff --git a/parser/testdata/01584_distributed_buffer_cannot_find_column/explain.txt b/parser/testdata/01584_distributed_buffer_cannot_find_column/explain.txt new file mode 100644 index 000000000..11e93562e --- /dev/null +++ b/parser/testdata/01584_distributed_buffer_cannot_find_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery realtimedrep (children 1) + Identifier realtimedrep diff --git a/parser/testdata/01585_fuzz_bits_with_bugfix/explain.txt b/parser/testdata/01585_fuzz_bits_with_bugfix/explain.txt new file mode 100644 index 000000000..fa263a080 --- /dev/null +++ b/parser/testdata/01585_fuzz_bits_with_bugfix/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function toTypeName (children 1) + ExpressionList (children 1) + Function fuzzBits (children 1) + ExpressionList (children 2) + Literal \'stringstring\' + Literal Float64_0.5 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_3 diff --git a/parser/testdata/01585_use_index_for_global_in/explain.txt b/parser/testdata/01585_use_index_for_global_in/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01585_use_index_for_global_in/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01585_use_index_for_global_in_with_null/explain.txt b/parser/testdata/01585_use_index_for_global_in_with_null/explain.txt new file mode 100644 index 000000000..a0ffa4e85 --- /dev/null +++ b/parser/testdata/01585_use_index_for_global_in_with_null/explain.txt @@ -0,0 +1,2 @@ +DropQuery xp (children 1) + Identifier xp diff --git a/parser/testdata/01586_columns_pruning/explain.txt b/parser/testdata/01586_columns_pruning/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01586_columns_pruning/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01586_replicated_mutations_empty_partition/explain.txt b/parser/testdata/01586_replicated_mutations_empty_partition/explain.txt new file mode 100644 index 000000000..aa6c6aa81 --- /dev/null +++ b/parser/testdata/01586_replicated_mutations_empty_partition/explain.txt @@ -0,0 +1,2 @@ +DropQuery replicated_mutations_empty_partitions (children 1) + Identifier replicated_mutations_empty_partitions diff --git a/parser/testdata/01586_storage_join_low_cardinality_key/explain.txt b/parser/testdata/01586_storage_join_low_cardinality_key/explain.txt new file mode 100644 index 000000000..74c99bb3b --- /dev/null +++ b/parser/testdata/01586_storage_join_low_cardinality_key/explain.txt @@ -0,0 +1,2 @@ +CreateQuery low_card (children 1) + Identifier low_card diff --git a/parser/testdata/01590_countSubstrings/explain.txt b/parser/testdata/01590_countSubstrings/explain.txt new file mode 100644 index 000000000..bae561d0d --- /dev/null +++ b/parser/testdata/01590_countSubstrings/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'\' diff --git a/parser/testdata/01591_window_functions/explain.txt b/parser/testdata/01591_window_functions/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01591_window_functions/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01592_length_map/explain.txt b/parser/testdata/01592_length_map/explain.txt new file mode 100644 index 000000000..2fc311337 --- /dev/null +++ b/parser/testdata/01592_length_map/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function length (children 1) + ExpressionList (children 1) + Function map (children 1) + ExpressionList (children 4) + Literal UInt64_1 + Literal UInt64_2 + Literal UInt64_3 + Literal UInt64_4 diff --git a/parser/testdata/01592_long_window_functions1/explain.txt b/parser/testdata/01592_long_window_functions1/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01592_long_window_functions1/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01592_toUnixTimestamp_Date/explain.txt b/parser/testdata/01592_toUnixTimestamp_Date/explain.txt new file mode 100644 index 000000000..56b6cce78 --- /dev/null +++ b/parser/testdata/01592_toUnixTimestamp_Date/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toUnixTimestamp (children 1) + ExpressionList (children 1) + Function makeDate (children 1) + ExpressionList (children 3) + Literal UInt64_2023 + Literal UInt64_5 + Literal UInt64_10 diff --git a/parser/testdata/01592_window_functions/explain.txt b/parser/testdata/01592_window_functions/explain.txt new file mode 100644 index 000000000..111392309 --- /dev/null +++ b/parser/testdata/01592_window_functions/explain.txt @@ -0,0 +1,2 @@ +DropQuery product_groups (children 1) + Identifier product_groups diff --git a/parser/testdata/01593_functions_in_order_by/metadata.json b/parser/testdata/01593_functions_in_order_by/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01593_functions_in_order_by/metadata.json +++ b/parser/testdata/01593_functions_in_order_by/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01593_insert_settings/explain.txt b/parser/testdata/01593_insert_settings/explain.txt new file mode 100644 index 000000000..f77c17252 --- /dev/null +++ b/parser/testdata/01593_insert_settings/explain.txt @@ -0,0 +1,2 @@ +DropQuery data_01593 (children 1) + Identifier data_01593 diff --git a/parser/testdata/01594_storage_join_uuid/explain.txt b/parser/testdata/01594_storage_join_uuid/explain.txt new file mode 100644 index 000000000..9f138a6a6 --- /dev/null +++ b/parser/testdata/01594_storage_join_uuid/explain.txt @@ -0,0 +1,2 @@ +DropQuery joint (children 1) + Identifier joint diff --git a/parser/testdata/01595_countMatches/explain.txt b/parser/testdata/01595_countMatches/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01595_countMatches/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01596_full_join_chertus/explain.txt b/parser/testdata/01596_full_join_chertus/explain.txt new file mode 100644 index 000000000..8ab2af610 --- /dev/null +++ b/parser/testdata/01596_full_join_chertus/explain.txt @@ -0,0 +1,24 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 4) + Function toTypeName (children 1) + ExpressionList (children 1) + Function materialize (children 1) + ExpressionList (children 1) + Identifier js1.k + Function toTypeName (children 1) + ExpressionList (children 1) + Function materialize (children 1) + ExpressionList (children 1) + Identifier js2.k + Function toTypeName (children 1) + ExpressionList (children 1) + Function materialize (children 1) + ExpressionList (children 1) + Identifier js1.s + Function toTypeName (children 1) + ExpressionList (children 1) + Function materialize (children 1) + ExpressionList (children 1) + Identifier js2.s diff --git a/parser/testdata/01596_null_as_default_nullable/explain.txt b/parser/testdata/01596_null_as_default_nullable/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01596_null_as_default_nullable/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01596_setting_limit_offset/explain.txt b/parser/testdata/01596_setting_limit_offset/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/01596_setting_limit_offset/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/01598_memory_limit_zeros/explain.txt b/parser/testdata/01598_memory_limit_zeros/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01598_memory_limit_zeros/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01600_encode_XML/explain.txt b/parser/testdata/01600_encode_XML/explain.txt new file mode 100644 index 000000000..c543cb0f0 --- /dev/null +++ b/parser/testdata/01600_encode_XML/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function encodeXMLComponent (children 1) + ExpressionList (children 1) + Literal \'Hello, "world"!\' diff --git a/parser/testdata/01600_min_max_compress_block_size/explain.txt b/parser/testdata/01600_min_max_compress_block_size/explain.txt new file mode 100644 index 000000000..71744b583 --- /dev/null +++ b/parser/testdata/01600_min_max_compress_block_size/explain.txt @@ -0,0 +1,2 @@ +DropQuery ms (children 1) + Identifier ms diff --git a/parser/testdata/01600_multiple_left_join_with_aliases/explain.txt b/parser/testdata/01600_multiple_left_join_with_aliases/explain.txt new file mode 100644 index 000000000..87eb27a4b --- /dev/null +++ b/parser/testdata/01600_multiple_left_join_with_aliases/explain.txt @@ -0,0 +1,2 @@ +CreateQuery base (children 1) + Identifier base diff --git a/parser/testdata/01600_remerge_sort_lowered_memory_bytes_ratio/explain.txt b/parser/testdata/01600_remerge_sort_lowered_memory_bytes_ratio/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01600_remerge_sort_lowered_memory_bytes_ratio/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01600_select_in_different_types/explain.txt b/parser/testdata/01600_select_in_different_types/explain.txt new file mode 100644 index 000000000..827618aaa --- /dev/null +++ b/parser/testdata/01600_select_in_different_types/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function in (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/01601_accurate_cast/explain.txt b/parser/testdata/01601_accurate_cast/explain.txt new file mode 100644 index 000000000..4d9c76a35 --- /dev/null +++ b/parser/testdata/01601_accurate_cast/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function accurateCast (children 1) + ExpressionList (children 2) + Literal Int64_-1 + Literal \'UInt8\' +The query succeeded but the server error '70' was expected (query: EXPLAIN AST SELECT accurateCast(-1, 'UInt8'); -- { serverError CANNOT_CONVERT_TYPE }). diff --git a/parser/testdata/01601_detach_permanently/explain.txt b/parser/testdata/01601_detach_permanently/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01601_detach_permanently/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01602_array_aggregation/explain.txt b/parser/testdata/01602_array_aggregation/explain.txt new file mode 100644 index 000000000..a16014c91 --- /dev/null +++ b/parser/testdata/01602_array_aggregation/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal \'Array min \' + Function arrayMin (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 6) + Literal UInt64_1 + Literal UInt64_2 + Literal UInt64_3 + Literal UInt64_4 + Literal UInt64_5 + Literal UInt64_6 diff --git a/parser/testdata/01602_insert_into_table_function_cluster/explain.txt b/parser/testdata/01602_insert_into_table_function_cluster/explain.txt new file mode 100644 index 000000000..a60ff027e --- /dev/null +++ b/parser/testdata/01602_insert_into_table_function_cluster/explain.txt @@ -0,0 +1,2 @@ +DropQuery x (children 1) + Identifier x diff --git a/parser/testdata/01602_modified_julian_day_msan/explain.txt b/parser/testdata/01602_modified_julian_day_msan/explain.txt new file mode 100644 index 000000000..c8c22a14c --- /dev/null +++ b/parser/testdata/01602_modified_julian_day_msan/explain.txt @@ -0,0 +1,26 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function tryBase64Decode (children 1) + ExpressionList (children 2) + Subquery (alias n) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function countSubstrings (children 1) + ExpressionList (children 2) + Function toModifiedJulianDayOrNull (children 1) + ExpressionList (children 1) + Literal \'\\0\' + Literal \'\' + Subquery (alias srocpnuv) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function regionIn (children 1) + ExpressionList (children 1) + Literal \'l. \' +The query succeeded but the server error '43' was expected (query: EXPLAIN AST SELECT tryBase64Decode(( SELECT countSubstrings(toModifiedJulianDayOrNull('\0'), '') ) AS n, ( SELECT regionIn('l. ') ) AS srocpnuv); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }). diff --git a/parser/testdata/01602_runningConcurrency/explain.txt b/parser/testdata/01602_runningConcurrency/explain.txt new file mode 100644 index 000000000..439773e81 --- /dev/null +++ b/parser/testdata/01602_runningConcurrency/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'Invocation with Date columns\' diff --git a/parser/testdata/01602_show_create_view/explain.txt b/parser/testdata/01602_show_create_view/explain.txt new file mode 100644 index 000000000..4b9813ba9 --- /dev/null +++ b/parser/testdata/01602_show_create_view/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_1602 (children 1) + Identifier test_1602 diff --git a/parser/testdata/01602_temporary_table_in_system_tables/explain.txt b/parser/testdata/01602_temporary_table_in_system_tables/explain.txt new file mode 100644 index 000000000..9f2e4ceed --- /dev/null +++ b/parser/testdata/01602_temporary_table_in_system_tables/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_01602a (children 1) + Identifier test_01602a diff --git a/parser/testdata/01603_decimal_mult_float/explain.txt b/parser/testdata/01603_decimal_mult_float/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01603_decimal_mult_float/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01603_insert_select_too_many_parts/explain.txt b/parser/testdata/01603_insert_select_too_many_parts/explain.txt new file mode 100644 index 000000000..13c4d0043 --- /dev/null +++ b/parser/testdata/01603_insert_select_too_many_parts/explain.txt @@ -0,0 +1,2 @@ +DropQuery too_many_parts (children 1) + Identifier too_many_parts diff --git a/parser/testdata/01603_read_with_backoff_bug/explain.txt b/parser/testdata/01603_read_with_backoff_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01603_read_with_backoff_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01603_remove_column_ttl/explain.txt b/parser/testdata/01603_remove_column_ttl/explain.txt new file mode 100644 index 000000000..1c87121a2 --- /dev/null +++ b/parser/testdata/01603_remove_column_ttl/explain.txt @@ -0,0 +1,2 @@ +DropQuery table_with_column_ttl (children 1) + Identifier table_with_column_ttl diff --git a/parser/testdata/01603_rename_overwrite_bug/explain.txt b/parser/testdata/01603_rename_overwrite_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01603_rename_overwrite_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01604_explain_ast_of_nonselect_query/explain.txt b/parser/testdata/01604_explain_ast_of_nonselect_query/explain.txt new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/parser/testdata/01604_explain_ast_of_nonselect_query/explain.txt @@ -0,0 +1 @@ + diff --git a/parser/testdata/01605_adaptive_granularity_block_borders/explain.txt b/parser/testdata/01605_adaptive_granularity_block_borders/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01605_adaptive_granularity_block_borders/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01605_dictinct_two_level/explain.txt b/parser/testdata/01605_dictinct_two_level/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01605_dictinct_two_level/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01605_drop_settings_profile_while_assigned/explain.txt b/parser/testdata/01605_drop_settings_profile_while_assigned/explain.txt new file mode 100644 index 000000000..e6a70727d --- /dev/null +++ b/parser/testdata/01605_drop_settings_profile_while_assigned/explain.txt @@ -0,0 +1 @@ +CreateUserQuery diff --git a/parser/testdata/01605_key_condition_enum_int/explain.txt b/parser/testdata/01605_key_condition_enum_int/explain.txt new file mode 100644 index 000000000..847a10eeb --- /dev/null +++ b/parser/testdata/01605_key_condition_enum_int/explain.txt @@ -0,0 +1,2 @@ +DropQuery enum (children 1) + Identifier enum diff --git a/parser/testdata/01605_skip_idx_compact_parts/explain.txt b/parser/testdata/01605_skip_idx_compact_parts/explain.txt new file mode 100644 index 000000000..276ac0fe2 --- /dev/null +++ b/parser/testdata/01605_skip_idx_compact_parts/explain.txt @@ -0,0 +1,2 @@ +DropQuery skip_idx_comp_parts (children 1) + Identifier skip_idx_comp_parts diff --git a/parser/testdata/01606_merge_from_wide_to_compact/explain.txt b/parser/testdata/01606_merge_from_wide_to_compact/explain.txt new file mode 100644 index 000000000..a5980daa2 --- /dev/null +++ b/parser/testdata/01606_merge_from_wide_to_compact/explain.txt @@ -0,0 +1,2 @@ +DropQuery wide_to_comp (children 1) + Identifier wide_to_comp diff --git a/parser/testdata/01611_constant_folding_subqueries/explain.txt b/parser/testdata/01611_constant_folding_subqueries/explain.txt new file mode 100644 index 000000000..0501aaa5d --- /dev/null +++ b/parser/testdata/01611_constant_folding_subqueries/explain.txt @@ -0,0 +1,32 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Subquery (alias n) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_1 + Literal UInt64_1 + Function toUInt64 (children 1) + ExpressionList (children 1) + Function divide (children 1) + ExpressionList (children 2) + Literal UInt64_10 + Identifier n + Identifier CSV diff --git a/parser/testdata/01611_string_to_low_cardinality_key_alter/explain.txt b/parser/testdata/01611_string_to_low_cardinality_key_alter/explain.txt new file mode 100644 index 000000000..24ba3dc54 --- /dev/null +++ b/parser/testdata/01611_string_to_low_cardinality_key_alter/explain.txt @@ -0,0 +1,2 @@ +DropQuery table_with_lc_key (children 1) + Identifier table_with_lc_key diff --git a/parser/testdata/01614_with_fill_with_limit/metadata.json b/parser/testdata/01614_with_fill_with_limit/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01614_with_fill_with_limit/metadata.json +++ b/parser/testdata/01614_with_fill_with_limit/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01615_random_one_shard_insertion/explain.txt b/parser/testdata/01615_random_one_shard_insertion/explain.txt new file mode 100644 index 000000000..a7487bd7e --- /dev/null +++ b/parser/testdata/01615_random_one_shard_insertion/explain.txt @@ -0,0 +1,2 @@ +CreateQuery shard_0 (children 1) + Identifier shard_0 diff --git a/parser/testdata/01615_two_args_function_index_fix/explain.txt b/parser/testdata/01615_two_args_function_index_fix/explain.txt new file mode 100644 index 000000000..3e53a60c9 --- /dev/null +++ b/parser/testdata/01615_two_args_function_index_fix/explain.txt @@ -0,0 +1,2 @@ +DropQuery bad_date_time (children 1) + Identifier bad_date_time diff --git a/parser/testdata/01616_untuple_access_field/explain.txt b/parser/testdata/01616_untuple_access_field/explain.txt new file mode 100644 index 000000000..43b335f72 --- /dev/null +++ b/parser/testdata/01616_untuple_access_field/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function untuple (children 1) + ExpressionList (children 1) + Literal Tuple_(UInt64_1, UInt64_2) diff --git a/parser/testdata/01620_fix_simple_state_arg_type/explain.txt b/parser/testdata/01620_fix_simple_state_arg_type/explain.txt new file mode 100644 index 000000000..35d4b5320 --- /dev/null +++ b/parser/testdata/01620_fix_simple_state_arg_type/explain.txt @@ -0,0 +1,2 @@ +DropQuery ay (children 1) + Identifier ay diff --git a/parser/testdata/01621_bar_nan_arguments/explain.txt b/parser/testdata/01621_bar_nan_arguments/explain.txt new file mode 100644 index 000000000..cf080c3dc --- /dev/null +++ b/parser/testdata/01621_bar_nan_arguments/explain.txt @@ -0,0 +1,22 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function bar (children 1) + ExpressionList (children 4) + Function multiply (children 1) + ExpressionList (children 2) + Function minus (children 1) + ExpressionList (children 2) + Function greatCircleAngle (children 1) + ExpressionList (children 4) + Literal UInt64_65537 + Literal UInt64_2 + Literal UInt64_1 + Literal UInt64_1 + Literal UInt64_1 + Literal UInt64_65535 + Literal UInt64_1048576 + Literal UInt64_1048577 + Literal Float64_nan +The query succeeded but the server error '43' was expected (query: EXPLAIN AST SELECT bar((greatCircleAngle(65537, 2, 1, 1) - 1) * 65535, 1048576, 1048577, nan); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }). diff --git a/parser/testdata/01621_decode_XML/explain.txt b/parser/testdata/01621_decode_XML/explain.txt new file mode 100644 index 000000000..151cbdfcc --- /dev/null +++ b/parser/testdata/01621_decode_XML/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function decodeXMLComponent (children 1) + ExpressionList (children 1) + Literal \'Hello, "world"!\' diff --git a/parser/testdata/01621_sort_after_join_pipeline_stuck/explain.txt b/parser/testdata/01621_sort_after_join_pipeline_stuck/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01621_sort_after_join_pipeline_stuck/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01621_summap_check_types/explain.txt b/parser/testdata/01621_summap_check_types/explain.txt new file mode 100644 index 000000000..d6e782776 --- /dev/null +++ b/parser/testdata/01621_summap_check_types/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function initializeAggregation (children 1) + ExpressionList (children 4) + Literal \'sumMap\' + Literal Array_[UInt64_1, UInt64_2] + Literal Array_[UInt64_1, UInt64_2] + Literal Array_[UInt64_1, NULL] diff --git a/parser/testdata/01622_byte_size/explain.txt b/parser/testdata/01622_byte_size/explain.txt new file mode 100644 index 000000000..bae561d0d --- /dev/null +++ b/parser/testdata/01622_byte_size/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'\' diff --git a/parser/testdata/01622_codec_zstd_long/explain.txt b/parser/testdata/01622_codec_zstd_long/explain.txt new file mode 100644 index 000000000..dc3fedb80 --- /dev/null +++ b/parser/testdata/01622_codec_zstd_long/explain.txt @@ -0,0 +1,2 @@ +DropQuery zstd_1_00 (children 1) + Identifier zstd_1_00 diff --git a/parser/testdata/01622_constraints_simple_optimization/explain.txt b/parser/testdata/01622_constraints_simple_optimization/explain.txt new file mode 100644 index 000000000..3f63dc2e3 --- /dev/null +++ b/parser/testdata/01622_constraints_simple_optimization/explain.txt @@ -0,0 +1,2 @@ +DropQuery constraint_test_assumption (children 1) + Identifier constraint_test_assumption diff --git a/parser/testdata/01622_constraints_where_optimization/explain.txt b/parser/testdata/01622_constraints_where_optimization/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01622_constraints_where_optimization/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01622_defaults_for_file_engine/explain.txt b/parser/testdata/01622_defaults_for_file_engine/explain.txt new file mode 100644 index 000000000..0d9f620af --- /dev/null +++ b/parser/testdata/01622_defaults_for_file_engine/explain.txt @@ -0,0 +1,6 @@ +InsertQuery (children 1) + Function file (children 1) + ExpressionList (children 3) + Identifier data1622.json + Identifier TSV + Identifier value String diff --git a/parser/testdata/01622_multiple_ttls/explain.txt b/parser/testdata/01622_multiple_ttls/explain.txt new file mode 100644 index 000000000..9cb330684 --- /dev/null +++ b/parser/testdata/01622_multiple_ttls/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'TTL WHERE\' diff --git a/parser/testdata/01623_byte_size_const/explain.txt b/parser/testdata/01623_byte_size_const/explain.txt new file mode 100644 index 000000000..6c2ace41f --- /dev/null +++ b/parser/testdata/01623_byte_size_const/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function byteSize (alias x) (children 1) + ExpressionList (children 2) + Literal UInt64_123 + Literal Float64_456.7 + Function isConstant (children 1) + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/01623_constraints_column_swap/explain.txt b/parser/testdata/01623_constraints_column_swap/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01623_constraints_column_swap/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01625_constraints_index_append/explain.txt b/parser/testdata/01625_constraints_index_append/explain.txt new file mode 100644 index 000000000..47a6c635c --- /dev/null +++ b/parser/testdata/01625_constraints_index_append/explain.txt @@ -0,0 +1,2 @@ +DropQuery db_memory_01625 (children 1) + Identifier db_memory_01625 diff --git a/parser/testdata/01626_cnf_test/explain.txt b/parser/testdata/01626_cnf_test/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01626_cnf_test/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01630_disallow_floating_point_as_partition_key/explain.txt b/parser/testdata/01630_disallow_floating_point_as_partition_key/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/01630_disallow_floating_point_as_partition_key/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/01630_simple_aggregate_all_functions_in_aggregating_merge_tree/explain.txt b/parser/testdata/01630_simple_aggregate_all_functions_in_aggregating_merge_tree/explain.txt new file mode 100644 index 000000000..de24cdf88 --- /dev/null +++ b/parser/testdata/01630_simple_aggregate_all_functions_in_aggregating_merge_tree/explain.txt @@ -0,0 +1,2 @@ +DropQuery simple_agf_summing_mt (children 1) + Identifier simple_agf_summing_mt diff --git a/parser/testdata/01630_simple_aggregate_all_functions_in_summing_merge_tree/explain.txt b/parser/testdata/01630_simple_aggregate_all_functions_in_summing_merge_tree/explain.txt new file mode 100644 index 000000000..c9973ecb9 --- /dev/null +++ b/parser/testdata/01630_simple_aggregate_all_functions_in_summing_merge_tree/explain.txt @@ -0,0 +1,2 @@ +DropQuery simple_agf_aggregating_mt (children 1) + Identifier simple_agf_aggregating_mt diff --git a/parser/testdata/01630_simple_aggregate_function_in_summing_merge_tree/explain.txt b/parser/testdata/01630_simple_aggregate_function_in_summing_merge_tree/explain.txt new file mode 100644 index 000000000..8d4c48c1d --- /dev/null +++ b/parser/testdata/01630_simple_aggregate_function_in_summing_merge_tree/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_smt (children 1) + Identifier test_smt diff --git a/parser/testdata/01631_date_overflow_as_partition_key/explain.txt b/parser/testdata/01631_date_overflow_as_partition_key/explain.txt new file mode 100644 index 000000000..662394807 --- /dev/null +++ b/parser/testdata/01631_date_overflow_as_partition_key/explain.txt @@ -0,0 +1,2 @@ +DropQuery dt_overflow (children 1) + Identifier dt_overflow diff --git a/parser/testdata/01632_group_array_msan/explain.txt b/parser/testdata/01632_group_array_msan/explain.txt new file mode 100644 index 000000000..a662a9323 --- /dev/null +++ b/parser/testdata/01632_group_array_msan/explain.txt @@ -0,0 +1,36 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function groupArrayMerge (children 2) + ExpressionList (children 1) + Function multiply (children 1) + ExpressionList (children 2) + Identifier y + Literal UInt64_1048576 + ExpressionList (children 1) + Literal UInt64_1048577 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function groupArrayState (alias y) (children 2) + ExpressionList (children 1) + Identifier x + ExpressionList (children 1) + Literal UInt64_9223372036854775807 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1048576 (alias x) + Identifier Null +The query succeeded but the server error '43' was expected (query: EXPLAIN AST SELECT groupArrayMerge(1048577)(y * 1048576) FROM (SELECT groupArrayState(9223372036854775807)(x) AS y FROM (SELECT 1048576 AS x)) FORMAT Null; -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }). diff --git a/parser/testdata/01632_max_partitions_to_read/explain.txt b/parser/testdata/01632_max_partitions_to_read/explain.txt new file mode 100644 index 000000000..2b216d0aa --- /dev/null +++ b/parser/testdata/01632_max_partitions_to_read/explain.txt @@ -0,0 +1,2 @@ +DropQuery p (children 1) + Identifier p diff --git a/parser/testdata/01632_nullable_string_type_convert_to_decimal_type/explain.txt b/parser/testdata/01632_nullable_string_type_convert_to_decimal_type/explain.txt new file mode 100644 index 000000000..23f7dffe0 --- /dev/null +++ b/parser/testdata/01632_nullable_string_type_convert_to_decimal_type/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Function arrayJoin (children 1) + ExpressionList (children 1) + Literal Array_[\'42.1\', NULL] + Literal \'Nullable(Decimal(10, 2))\' diff --git a/parser/testdata/01632_select_all_syntax/explain.txt b/parser/testdata/01632_select_all_syntax/explain.txt new file mode 100644 index 000000000..1f1ffbfa6 --- /dev/null +++ b/parser/testdata/01632_select_all_syntax/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'a\' diff --git a/parser/testdata/01633_limit_fuzz/explain.txt b/parser/testdata/01633_limit_fuzz/explain.txt new file mode 100644 index 000000000..c21468cb8 --- /dev/null +++ b/parser/testdata/01633_limit_fuzz/explain.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 2) + Identifier number + Literal UInt64_1 (alias k) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_100000 + ExpressionList (children 2) + OrderByElement (children 1) + Identifier k + OrderByElement (children 1) + Identifier number + Literal UInt64_1025 + Literal UInt64_1023 + Identifier Values diff --git a/parser/testdata/01634_sum_map_nulls/explain.txt b/parser/testdata/01634_sum_map_nulls/explain.txt new file mode 100644 index 000000000..d5201b271 --- /dev/null +++ b/parser/testdata/01634_sum_map_nulls/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function initializeAggregation (children 1) + ExpressionList (children 4) + Literal \'sumMap\' + Literal Array_[UInt64_1, UInt64_2, UInt64_1] + Literal Array_[UInt64_1, UInt64_1, UInt64_1] + Literal Array_[Int64_-1, NULL, UInt64_10] diff --git a/parser/testdata/01634_summap_nullable/explain.txt b/parser/testdata/01634_summap_nullable/explain.txt new file mode 100644 index 000000000..bb2bdba83 --- /dev/null +++ b/parser/testdata/01634_summap_nullable/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function sumMap (children 1) + ExpressionList (children 2) + Literal Array_[\'a\', \'b\'] + Literal Array_[UInt64_1, NULL] diff --git a/parser/testdata/01634_uuid_fuzz/explain.txt b/parser/testdata/01634_uuid_fuzz/explain.txt new file mode 100644 index 000000000..0224711a9 --- /dev/null +++ b/parser/testdata/01634_uuid_fuzz/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toUUID (children 1) + ExpressionList (children 1) + Literal Float64_-1.1 +The query succeeded but the server error '48' was expected (query: EXPLAIN AST SELECT toUUID(-1.1); -- { serverError NOT_IMPLEMENTED }). diff --git a/parser/testdata/01635_nullable_fuzz/metadata.json b/parser/testdata/01635_nullable_fuzz/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01635_nullable_fuzz/metadata.json +++ b/parser/testdata/01635_nullable_fuzz/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01635_sum_map_fuzz/explain.txt b/parser/testdata/01635_sum_map_fuzz/explain.txt new file mode 100644 index 000000000..ba3217d68 --- /dev/null +++ b/parser/testdata/01635_sum_map_fuzz/explain.txt @@ -0,0 +1,21 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function finalizeAggregation (children 1) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function initializeAggregation (children 1) + ExpressionList (children 4) + Literal \'sumMapState\' + Literal Array_[UInt64_1, UInt64_2] + Literal Array_[UInt64_1, UInt64_2] + Literal Array_[UInt64_1, NULL] diff --git a/parser/testdata/01636_nullable_fuzz2/explain.txt b/parser/testdata/01636_nullable_fuzz2/explain.txt new file mode 100644 index 000000000..d3d6276b2 --- /dev/null +++ b/parser/testdata/01636_nullable_fuzz2/explain.txt @@ -0,0 +1,2 @@ +DropQuery open_events_tmp (children 1) + Identifier open_events_tmp diff --git a/parser/testdata/01637_nullable_fuzz3/explain.txt b/parser/testdata/01637_nullable_fuzz3/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/01637_nullable_fuzz3/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/01638_div_mod_ambiguities/explain.txt b/parser/testdata/01638_div_mod_ambiguities/explain.txt new file mode 100644 index 000000000..a5e4b7239 --- /dev/null +++ b/parser/testdata/01638_div_mod_ambiguities/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier DIV (alias MOD) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 (alias DIV) + Identifier TSVWithNames diff --git a/parser/testdata/01639_distributed_sync_insert_zero_rows/explain.txt b/parser/testdata/01639_distributed_sync_insert_zero_rows/explain.txt new file mode 100644 index 000000000..2122fb995 --- /dev/null +++ b/parser/testdata/01639_distributed_sync_insert_zero_rows/explain.txt @@ -0,0 +1,2 @@ +DropQuery local (children 1) + Identifier local diff --git a/parser/testdata/01640_distributed_async_insert_compression/explain.txt b/parser/testdata/01640_distributed_async_insert_compression/explain.txt new file mode 100644 index 000000000..2122fb995 --- /dev/null +++ b/parser/testdata/01640_distributed_async_insert_compression/explain.txt @@ -0,0 +1,2 @@ +DropQuery local (children 1) + Identifier local diff --git a/parser/testdata/01640_marks_corruption_regression/explain.txt b/parser/testdata/01640_marks_corruption_regression/explain.txt new file mode 100644 index 000000000..67a477a68 --- /dev/null +++ b/parser/testdata/01640_marks_corruption_regression/explain.txt @@ -0,0 +1,2 @@ +DropQuery adaptive_table (children 1) + Identifier adaptive_table diff --git a/parser/testdata/01641_memory_tracking_insert_optimize/explain.txt b/parser/testdata/01641_memory_tracking_insert_optimize/explain.txt new file mode 100644 index 000000000..16d3f97c6 --- /dev/null +++ b/parser/testdata/01641_memory_tracking_insert_optimize/explain.txt @@ -0,0 +1,2 @@ +DropQuery data_01641 (children 1) + Identifier data_01641 diff --git a/parser/testdata/01642_if_nullable_regression/explain.txt b/parser/testdata/01642_if_nullable_regression/explain.txt new file mode 100644 index 000000000..c2f0be112 --- /dev/null +++ b/parser/testdata/01642_if_nullable_regression/explain.txt @@ -0,0 +1,28 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function sumIf (children 1) + ExpressionList (children 2) + Identifier dummy + Identifier dummy + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.0.0.{1,2}\' + Function view (children 1) + ExpressionList (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function CAST (alias dummy) (children 1) + ExpressionList (children 2) + Literal NULL + Literal \'Nullable(UInt8)\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.one diff --git a/parser/testdata/01643_merge_tree_fsync_smoke/explain.txt b/parser/testdata/01643_merge_tree_fsync_smoke/explain.txt new file mode 100644 index 000000000..64a65ad57 --- /dev/null +++ b/parser/testdata/01643_merge_tree_fsync_smoke/explain.txt @@ -0,0 +1,2 @@ +DropQuery data_01643 (children 1) + Identifier data_01643 diff --git a/parser/testdata/01643_replicated_merge_tree_fsync_smoke/explain.txt b/parser/testdata/01643_replicated_merge_tree_fsync_smoke/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01643_replicated_merge_tree_fsync_smoke/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01644_distributed_async_insert_fsync_smoke/explain.txt b/parser/testdata/01644_distributed_async_insert_fsync_smoke/explain.txt new file mode 100644 index 000000000..27f4c1cbf --- /dev/null +++ b/parser/testdata/01644_distributed_async_insert_fsync_smoke/explain.txt @@ -0,0 +1,2 @@ +DropQuery dist_01643 (children 1) + Identifier dist_01643 diff --git a/parser/testdata/01645_system_table_engines/explain.txt b/parser/testdata/01645_system_table_engines/explain.txt new file mode 100644 index 000000000..45c6090e1 --- /dev/null +++ b/parser/testdata/01645_system_table_engines/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.table_engines + Function in (children 1) + ExpressionList (children 2) + Identifier name + Literal Tuple_(\'MergeTree\', \'ReplicatedCollapsingMergeTree\') + ExpressionList (children 1) + OrderByElement (children 1) + Identifier name + Identifier PrettyCompactNoEscapes diff --git a/parser/testdata/01646_fix_window_funnel_inconistency/explain.txt b/parser/testdata/01646_fix_window_funnel_inconistency/explain.txt new file mode 100644 index 000000000..0df9aa752 --- /dev/null +++ b/parser/testdata/01646_fix_window_funnel_inconistency/explain.txt @@ -0,0 +1,2 @@ +DropQuery trend (children 1) + Identifier trend diff --git a/parser/testdata/01646_rewrite_sum_if/explain.txt b/parser/testdata/01646_rewrite_sum_if/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01646_rewrite_sum_if/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01646_rewrite_sum_if_bug/explain.txt b/parser/testdata/01646_rewrite_sum_if_bug/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/01646_rewrite_sum_if_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/01646_system_restart_replicas_smoke/explain.txt b/parser/testdata/01646_system_restart_replicas_smoke/explain.txt new file mode 100644 index 000000000..cc63fa2cd --- /dev/null +++ b/parser/testdata/01646_system_restart_replicas_smoke/explain.txt @@ -0,0 +1,2 @@ +DropQuery data_01646 (children 1) + Identifier data_01646 diff --git a/parser/testdata/01648_mutations_and_escaping/explain.txt b/parser/testdata/01648_mutations_and_escaping/explain.txt new file mode 100644 index 000000000..d5692047f --- /dev/null +++ b/parser/testdata/01648_mutations_and_escaping/explain.txt @@ -0,0 +1,2 @@ +DropQuery mutations_and_escaping_1648 (children 1) + Identifier mutations_and_escaping_1648 diff --git a/parser/testdata/01648_normalize_query_keep_names/explain.txt b/parser/testdata/01648_normalize_query_keep_names/explain.txt new file mode 100644 index 000000000..b5c89f5c8 --- /dev/null +++ b/parser/testdata/01648_normalize_query_keep_names/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function normalizeQueryKeepNames (children 1) + ExpressionList (children 1) + Literal \'SELECT 1 AS `aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee`\' diff --git a/parser/testdata/01649_with_alias_key_condition/explain.txt b/parser/testdata/01649_with_alias_key_condition/explain.txt new file mode 100644 index 000000000..70f6e1896 --- /dev/null +++ b/parser/testdata/01649_with_alias_key_condition/explain.txt @@ -0,0 +1,2 @@ +DropQuery alias_key_condition (children 1) + Identifier alias_key_condition diff --git a/parser/testdata/01650_drop_part_and_deduplication_zookeeper_long/explain.txt b/parser/testdata/01650_drop_part_and_deduplication_zookeeper_long/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01650_drop_part_and_deduplication_zookeeper_long/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01650_expressions_merge_bug/metadata.json b/parser/testdata/01650_expressions_merge_bug/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01650_expressions_merge_bug/metadata.json +++ b/parser/testdata/01650_expressions_merge_bug/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01650_fetch_patition_with_macro_in_zk_path_long/explain.txt b/parser/testdata/01650_fetch_patition_with_macro_in_zk_path_long/explain.txt new file mode 100644 index 000000000..2585c8207 --- /dev/null +++ b/parser/testdata/01650_fetch_patition_with_macro_in_zk_path_long/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_01640 (children 1) + Identifier test_01640 diff --git a/parser/testdata/01651_bugs_from_15889/explain.txt b/parser/testdata/01651_bugs_from_15889/explain.txt new file mode 100644 index 000000000..a0ffa4e85 --- /dev/null +++ b/parser/testdata/01651_bugs_from_15889/explain.txt @@ -0,0 +1,2 @@ +DropQuery xp (children 1) + Identifier xp diff --git a/parser/testdata/01651_group_uniq_array_enum/explain.txt b/parser/testdata/01651_group_uniq_array_enum/explain.txt new file mode 100644 index 000000000..fcc216673 --- /dev/null +++ b/parser/testdata/01651_group_uniq_array_enum/explain.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function arraySort (children 1) + ExpressionList (children 1) + Function groupUniqArray (children 1) + ExpressionList (children 1) + Identifier x + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function CAST (alias x) (children 1) + ExpressionList (children 2) + Function arrayJoin (children 1) + ExpressionList (children 1) + Literal Array_[UInt64_1, UInt64_2, UInt64_3, UInt64_2, UInt64_3, UInt64_3] + Literal \'Enum(\\\'Hello\\\' = 1, \\\'World\\\' = 2, \\\'УпÑчка\\\' = 3)\' diff --git a/parser/testdata/01651_lc_insert_tiny_log_1/explain.txt b/parser/testdata/01651_lc_insert_tiny_log_1/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01651_lc_insert_tiny_log_1/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01651_lc_insert_tiny_log_2/explain.txt b/parser/testdata/01651_lc_insert_tiny_log_2/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01651_lc_insert_tiny_log_2/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01651_lc_insert_tiny_log_3/explain.txt b/parser/testdata/01651_lc_insert_tiny_log_3/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01651_lc_insert_tiny_log_3/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01651_map_functions/explain.txt b/parser/testdata/01651_map_functions/explain.txt new file mode 100644 index 000000000..57de1f3ca --- /dev/null +++ b/parser/testdata/01651_map_functions/explain.txt @@ -0,0 +1,2 @@ +DropQuery table_map (children 1) + Identifier table_map diff --git a/parser/testdata/01652_ignore_and_low_cardinality/explain.txt b/parser/testdata/01652_ignore_and_low_cardinality/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01652_ignore_and_low_cardinality/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01652_ttl_old_syntax/explain.txt b/parser/testdata/01652_ttl_old_syntax/explain.txt new file mode 100644 index 000000000..9236ebe28 --- /dev/null +++ b/parser/testdata/01652_ttl_old_syntax/explain.txt @@ -0,0 +1,2 @@ +DropQuery ttl_old_syntax (children 1) + Identifier ttl_old_syntax diff --git a/parser/testdata/01653_tuple_hamming_distance_2/explain.txt b/parser/testdata/01653_tuple_hamming_distance_2/explain.txt new file mode 100644 index 000000000..7b674d499 --- /dev/null +++ b/parser/testdata/01653_tuple_hamming_distance_2/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function tupleHammingDistance (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Function tuple (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/01654_bar_nan/explain.txt b/parser/testdata/01654_bar_nan/explain.txt new file mode 100644 index 000000000..60ffab973 --- /dev/null +++ b/parser/testdata/01654_bar_nan/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function bar (children 1) + ExpressionList (children 3) + Literal Int64_-1 + Literal Int64_-9223372036854775808 + Literal Float64_nan diff --git a/parser/testdata/01655_agg_if_nullable/explain.txt b/parser/testdata/01655_agg_if_nullable/explain.txt new file mode 100644 index 000000000..21350cd20 --- /dev/null +++ b/parser/testdata/01655_agg_if_nullable/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function sumIf (children 1) + ExpressionList (children 2) + Function toNullable (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Literal UInt64_1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.0.0.{1,2}\' + Identifier system.one diff --git a/parser/testdata/01655_plan_optimizations_merge_filters/explain.txt b/parser/testdata/01655_plan_optimizations_merge_filters/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01655_plan_optimizations_merge_filters/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01655_quarter_modificator_for_formatDateTime/explain.txt b/parser/testdata/01655_quarter_modificator_for_formatDateTime/explain.txt new file mode 100644 index 000000000..9a6c4eecb --- /dev/null +++ b/parser/testdata/01655_quarter_modificator_for_formatDateTime/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function formatDateTime (children 1) + ExpressionList (children 2) + Function toDate (children 1) + ExpressionList (children 1) + Literal \'2010-01-04\' + Literal \'%Q\' diff --git a/parser/testdata/01655_sleep_infinite_float/explain.txt b/parser/testdata/01655_sleep_infinite_float/explain.txt new file mode 100644 index 000000000..edc951f3d --- /dev/null +++ b/parser/testdata/01655_sleep_infinite_float/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function sleep (children 1) + ExpressionList (children 1) + Literal Float64_nan +The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT sleep(nan); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/01655_test_isnull_mysql_dialect/explain.txt b/parser/testdata/01655_test_isnull_mysql_dialect/explain.txt new file mode 100644 index 000000000..d4fa1c60f --- /dev/null +++ b/parser/testdata/01655_test_isnull_mysql_dialect/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function ISNULL (children 1) + ExpressionList (children 1) + Literal NULL diff --git a/parser/testdata/01655_window_functions_bug/metadata.json b/parser/testdata/01655_window_functions_bug/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01655_window_functions_bug/metadata.json +++ b/parser/testdata/01655_window_functions_bug/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01655_window_functions_cume_dist/explain.txt b/parser/testdata/01655_window_functions_cume_dist/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01655_window_functions_cume_dist/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01655_window_functions_null/metadata.json b/parser/testdata/01655_window_functions_null/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01655_window_functions_null/metadata.json +++ b/parser/testdata/01655_window_functions_null/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01656_ipv4_bad_formatting/explain.txt b/parser/testdata/01656_ipv4_bad_formatting/explain.txt new file mode 100644 index 000000000..1f9dfc144 --- /dev/null +++ b/parser/testdata/01656_ipv4_bad_formatting/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 3) + Function arrayJoin (alias x) (children 1) + ExpressionList (children 1) + Literal Array_[\'1.1.1.1\', \'255.255.255.255\'] + Function toIPv4 (alias y) (children 1) + ExpressionList (children 1) + Identifier x + Function toUInt32 (alias z) (children 1) + ExpressionList (children 1) + Identifier y + Identifier PrettyCompactNoEscapes diff --git a/parser/testdata/01656_join_defaul_enum/explain.txt b/parser/testdata/01656_join_defaul_enum/explain.txt new file mode 100644 index 000000000..580617306 --- /dev/null +++ b/parser/testdata/01656_join_defaul_enum/explain.txt @@ -0,0 +1,12 @@ +CreateQuery table_key (children 3) + Identifier table_key + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration keycol (children 1) + DataType UInt16 + Storage definition (children 3) + Function MergeTree (children 1) + ExpressionList + Function tuple (children 1) + ExpressionList + Identifier keycol diff --git a/parser/testdata/01656_sequence_next_node_distinct/explain.txt b/parser/testdata/01656_sequence_next_node_distinct/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_distinct/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01656_sequence_next_node_long/explain.txt b/parser/testdata/01656_sequence_next_node_long/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01656_sequence_next_node_long/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01656_test_hex_mysql_dialect/explain.txt b/parser/testdata/01656_test_hex_mysql_dialect/explain.txt new file mode 100644 index 000000000..a3667adc5 --- /dev/null +++ b/parser/testdata/01656_test_hex_mysql_dialect/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function HEX (children 1) + ExpressionList (children 1) + Literal UInt64_10 diff --git a/parser/testdata/01656_test_query_log_factories_info/explain.txt b/parser/testdata/01656_test_query_log_factories_info/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01656_test_query_log_factories_info/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01657_array_element_ubsan/explain.txt b/parser/testdata/01657_array_element_ubsan/explain.txt new file mode 100644 index 000000000..b328ac892 --- /dev/null +++ b/parser/testdata/01657_array_element_ubsan/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function arrayElement (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList (children 1) + Identifier number + Literal UInt64_10000000000 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/01657_test_toHour_mysql_compatibility/explain.txt b/parser/testdata/01657_test_toHour_mysql_compatibility/explain.txt new file mode 100644 index 000000000..0c13b1309 --- /dev/null +++ b/parser/testdata/01657_test_toHour_mysql_compatibility/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function HOUR (children 1) + ExpressionList (children 1) + Function toDateTime (children 1) + ExpressionList (children 1) + Literal \'2016-06-15 23:00:00\' diff --git a/parser/testdata/01658_test_base64Encode_mysql_compatibility/explain.txt b/parser/testdata/01658_test_base64Encode_mysql_compatibility/explain.txt new file mode 100644 index 000000000..f685caf6a --- /dev/null +++ b/parser/testdata/01658_test_base64Encode_mysql_compatibility/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function TO_BASE64 (children 1) + ExpressionList (children 1) + Literal \'test string\' diff --git a/parser/testdata/01658_values_ubsan/explain.txt b/parser/testdata/01658_values_ubsan/explain.txt new file mode 100644 index 000000000..756af9014 --- /dev/null +++ b/parser/testdata/01658_values_ubsan/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function VALUES (children 1) + ExpressionList (children 3) + Literal \'x UInt8, y UInt16\' + Function plus (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal UInt64_2 + Literal \'Hello\' +The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT * FROM VALUES('x UInt8, y UInt16', 1 + 2, 'Hello'); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/01659_array_aggregation_ubsan/explain.txt b/parser/testdata/01659_array_aggregation_ubsan/explain.txt new file mode 100644 index 000000000..202034ae6 --- /dev/null +++ b/parser/testdata/01659_array_aggregation_ubsan/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arraySum (children 1) + ExpressionList (children 1) + Literal Array_[Int64_-9000000000000000000, Int64_-9000000000000000000] diff --git a/parser/testdata/01659_h3_buffer_overflow/explain.txt b/parser/testdata/01659_h3_buffer_overflow/explain.txt new file mode 100644 index 000000000..e5cc67f7b --- /dev/null +++ b/parser/testdata/01659_h3_buffer_overflow/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function length (children 1) + ExpressionList (children 1) + Function h3kRing (children 1) + ExpressionList (children 2) + Literal UInt64_9223372036854775807 + Literal UInt64_1000 + Identifier Null diff --git a/parser/testdata/01659_test_base64Decode_mysql_compatibility/explain.txt b/parser/testdata/01659_test_base64Decode_mysql_compatibility/explain.txt new file mode 100644 index 000000000..95b2eccc8 --- /dev/null +++ b/parser/testdata/01659_test_base64Decode_mysql_compatibility/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function FROM_BASE64 (children 1) + ExpressionList (children 1) + Literal \'dGVzdCBzdHJpbmc=\' diff --git a/parser/testdata/01660_join_or_all/explain.txt b/parser/testdata/01660_join_or_all/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01660_join_or_all/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01660_join_or_any/explain.txt b/parser/testdata/01660_join_or_any/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01660_join_or_any/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01660_join_or_inner/explain.txt b/parser/testdata/01660_join_or_inner/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01660_join_or_inner/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01660_join_or_subqueries/explain.txt b/parser/testdata/01660_join_or_subqueries/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01660_join_or_subqueries/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01660_second_extremes_bug/explain.txt b/parser/testdata/01660_second_extremes_bug/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/01660_second_extremes_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/01660_sum_ubsan/explain.txt b/parser/testdata/01660_sum_ubsan/explain.txt new file mode 100644 index 000000000..66a6c4198 --- /dev/null +++ b/parser/testdata/01660_sum_ubsan/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function sum (children 1) + ExpressionList (children 1) + Literal Int64_-8000000000000000000 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_11 diff --git a/parser/testdata/01660_system_parts_smoke/explain.txt b/parser/testdata/01660_system_parts_smoke/explain.txt new file mode 100644 index 000000000..d6ecb0c5b --- /dev/null +++ b/parser/testdata/01660_system_parts_smoke/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.parts + Identifier Null diff --git a/parser/testdata/01660_test_toDayOfYear_mysql_compatibility/explain.txt b/parser/testdata/01660_test_toDayOfYear_mysql_compatibility/explain.txt new file mode 100644 index 000000000..f177d8e14 --- /dev/null +++ b/parser/testdata/01660_test_toDayOfYear_mysql_compatibility/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function DAYOFYEAR (children 1) + ExpressionList (children 1) + Function toDateTime (children 1) + ExpressionList (children 1) + Literal \'2016-06-15 23:00:00\' diff --git a/parser/testdata/01661_arraySlice_ubsan/explain.txt b/parser/testdata/01661_arraySlice_ubsan/explain.txt new file mode 100644 index 000000000..0ac452a14 --- /dev/null +++ b/parser/testdata/01661_arraySlice_ubsan/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arraySlice (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList + Literal Int64_-9223372036854775808 diff --git a/parser/testdata/01661_extract_all_groups_throw_fast/explain.txt b/parser/testdata/01661_extract_all_groups_throw_fast/explain.txt new file mode 100644 index 000000000..4cfa24c79 --- /dev/null +++ b/parser/testdata/01661_extract_all_groups_throw_fast/explain.txt @@ -0,0 +1,22 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function repeat (alias haystack) (children 1) + ExpressionList (children 2) + Literal \'abcdefghijklmnopqrstuvwxyz\' + Function multiply (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_100 + Function extractAllGroupsHorizontal (alias matches) (children 1) + ExpressionList (children 2) + Identifier haystack + Literal \'(\\\\w)\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1023 +The query succeeded but the server error '128' was expected (query: EXPLAIN AST SELECT repeat('abcdefghijklmnopqrstuvwxyz', number * 100) AS haystack, extractAllGroupsHorizontal(haystack, '(\\w)') AS matches FROM numbers(1023); -- { serverError TOO_LARGE_ARRAY_SIZE }). diff --git a/parser/testdata/01661_join_complex/explain.txt b/parser/testdata/01661_join_complex/explain.txt new file mode 100644 index 000000000..12bb27c0a --- /dev/null +++ b/parser/testdata/01661_join_complex/explain.txt @@ -0,0 +1,53 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias t1) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 6) + Literal \'a\' (alias a) + Literal \'b\' (alias b) + Literal \'c\' (alias c) + Literal \'d\' (alias d) + Literal \'e\' (alias e) + Literal \'f\' (alias f) + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias t2) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 6) + Literal \'a\' (alias a) + Literal \'b\' (alias b) + Literal \'c\' (alias c) + Literal \'d\' (alias d) + Literal \'e\' (alias e) + Literal \'f\' (alias f) + TableJoin (children 1) + Function or (children 1) + ExpressionList (children 2) + Function and (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Identifier t1.b + Identifier t2.b + Function equals (children 1) + ExpressionList (children 2) + Identifier t1.c + Identifier t2.b + Function equals (children 1) + ExpressionList (children 2) + Identifier t1.d + Identifier t2.b + Function equals (children 1) + ExpressionList (children 2) + Identifier t1.e + Identifier t2.e diff --git a/parser/testdata/01661_test_toDayOfWeek_mysql_compatibility/explain.txt b/parser/testdata/01661_test_toDayOfWeek_mysql_compatibility/explain.txt new file mode 100644 index 000000000..a09a057c9 --- /dev/null +++ b/parser/testdata/01661_test_toDayOfWeek_mysql_compatibility/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function DAYOFWEEK (children 1) + ExpressionList (children 1) + Function toDateTime (children 1) + ExpressionList (children 1) + Literal \'2016-06-15 23:00:00\' diff --git a/parser/testdata/01661_week_functions_string_args/explain.txt b/parser/testdata/01661_week_functions_string_args/explain.txt new file mode 100644 index 000000000..807935d6d --- /dev/null +++ b/parser/testdata/01661_week_functions_string_args/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'-- Constant argument\' diff --git a/parser/testdata/01662_date_ubsan/explain.txt b/parser/testdata/01662_date_ubsan/explain.txt new file mode 100644 index 000000000..05daa4b85 --- /dev/null +++ b/parser/testdata/01662_date_ubsan/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function addMinutes (children 1) + ExpressionList (children 2) + Function toDateTime (children 1) + ExpressionList (children 2) + Literal \'2020-01-01 00:00:00\' + Literal \'GMT\' + Literal UInt64_9223372036854775807 diff --git a/parser/testdata/01662_join_mixed/explain.txt b/parser/testdata/01662_join_mixed/explain.txt new file mode 100644 index 000000000..b63b9ba44 --- /dev/null +++ b/parser/testdata/01662_join_mixed/explain.txt @@ -0,0 +1,37 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias t1) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 3) + Literal \'a\' (alias a) + Literal \'b\' (alias b) + Literal UInt64_42 (alias forty_two) + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias t2) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 3) + Literal \'a\' (alias a) + Literal \'b\' (alias b) + Literal UInt64_42 (alias forty_two) + TableJoin (children 1) + Function or (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier t1.b + Identifier t2.a + Function equals (children 1) + ExpressionList (children 2) + Identifier t1.forty_two + Identifier t2.forty_two diff --git a/parser/testdata/01662_test_toDayOfMonth_mysql_compatibility/explain.txt b/parser/testdata/01662_test_toDayOfMonth_mysql_compatibility/explain.txt new file mode 100644 index 000000000..0a91a851c --- /dev/null +++ b/parser/testdata/01662_test_toDayOfMonth_mysql_compatibility/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function DAYOFMONTH (children 1) + ExpressionList (children 1) + Function toDateTime (children 1) + ExpressionList (children 1) + Literal \'2016-06-15 23:00:00\' diff --git a/parser/testdata/01663_aes_msan/explain.txt b/parser/testdata/01663_aes_msan/explain.txt new file mode 100644 index 000000000..81980a2f7 --- /dev/null +++ b/parser/testdata/01663_aes_msan/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function hex (children 1) + ExpressionList (children 1) + Function encrypt (children 1) + ExpressionList (children 4) + Literal \'aes-128-cbc\' + Literal \'text\' + Literal \'keykeykeykeykeyk\' + Literal \'\' diff --git a/parser/testdata/01663_quantile_weighted_overflow/explain.txt b/parser/testdata/01663_quantile_weighted_overflow/explain.txt new file mode 100644 index 000000000..8ca997a69 --- /dev/null +++ b/parser/testdata/01663_quantile_weighted_overflow/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function quantileExactWeighted (children 2) + ExpressionList (children 2) + Identifier number + Literal UInt64_9223372036854775807 + ExpressionList (children 1) + Literal UInt64_1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_6 diff --git a/parser/testdata/01663_test_toDate_mysql_compatibility/explain.txt b/parser/testdata/01663_test_toDate_mysql_compatibility/explain.txt new file mode 100644 index 000000000..8d247fc16 --- /dev/null +++ b/parser/testdata/01663_test_toDate_mysql_compatibility/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function DATE (children 1) + ExpressionList (children 1) + Function toDateTime (children 1) + ExpressionList (children 1) + Literal \'2016-06-15 23:00:00\' diff --git a/parser/testdata/01664_array_slice_ubsan/explain.txt b/parser/testdata/01664_array_slice_ubsan/explain.txt new file mode 100644 index 000000000..525591973 --- /dev/null +++ b/parser/testdata/01664_array_slice_ubsan/explain.txt @@ -0,0 +1,31 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function arraySlice (alias y) (children 1) + ExpressionList (children 3) + Function groupArray (children 1) + ExpressionList (children 1) + Identifier x + Literal Int64_-9223372036854775808 + Literal NULL + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Literal \'6553.5\' + Function uniqState (alias x) (children 1) + ExpressionList (children 1) + Literal NULL + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_3 + ExpressionList (children 1) + Identifier number diff --git a/parser/testdata/01664_decimal_ubsan/explain.txt b/parser/testdata/01664_decimal_ubsan/explain.txt new file mode 100644 index 000000000..2515b5feb --- /dev/null +++ b/parser/testdata/01664_decimal_ubsan/explain.txt @@ -0,0 +1,28 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function sumWithOverflow (children 1) + ExpressionList (children 1) + Function minus (children 1) + ExpressionList (children 2) + Identifier a + Literal UInt64_65537 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function CAST (alias a) (children 1) + ExpressionList (children 2) + Identifier number + Literal \'Decimal32(4)\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 diff --git a/parser/testdata/01664_ntoa_aton_mysql_compatibility/explain.txt b/parser/testdata/01664_ntoa_aton_mysql_compatibility/explain.txt new file mode 100644 index 000000000..17d48bcf3 --- /dev/null +++ b/parser/testdata/01664_ntoa_aton_mysql_compatibility/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function INET6_NTOA (children 1) + ExpressionList (children 1) + Function toFixedString (children 1) + ExpressionList (children 2) + Function unhex (children 1) + ExpressionList (children 1) + Literal \'2A0206B8000000000000000000000011\' + Literal UInt64_16 diff --git a/parser/testdata/01665_merge_tree_min_for_concurrent_read/explain.txt b/parser/testdata/01665_merge_tree_min_for_concurrent_read/explain.txt new file mode 100644 index 000000000..a209096aa --- /dev/null +++ b/parser/testdata/01665_merge_tree_min_for_concurrent_read/explain.txt @@ -0,0 +1,2 @@ +DropQuery data_01655 (children 1) + Identifier data_01655 diff --git a/parser/testdata/01665_running_difference_ubsan/explain.txt b/parser/testdata/01665_running_difference_ubsan/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01665_running_difference_ubsan/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01665_substring_ubsan/explain.txt b/parser/testdata/01665_substring_ubsan/explain.txt new file mode 100644 index 000000000..b08a4f60d --- /dev/null +++ b/parser/testdata/01665_substring_ubsan/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function substringUTF8 (children 1) + ExpressionList (children 2) + Function materialize (children 1) + ExpressionList (children 1) + Literal \'\' + Literal Int64_-9223372036854775808 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_7 diff --git a/parser/testdata/01666_blns_long/metadata.json b/parser/testdata/01666_blns_long/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01666_blns_long/metadata.json +++ b/parser/testdata/01666_blns_long/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01666_date_lut_buffer_overflow/explain.txt b/parser/testdata/01666_date_lut_buffer_overflow/explain.txt new file mode 100644 index 000000000..0dcd5fca7 --- /dev/null +++ b/parser/testdata/01666_date_lut_buffer_overflow/explain.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function plus (children 1) + ExpressionList (children 2) + Function toDate (children 1) + ExpressionList (children 1) + Literal \'2105-12-31\' + Function toIntervalMonth (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_25000 + Identifier Null diff --git a/parser/testdata/01666_gcd_ubsan/explain.txt b/parser/testdata/01666_gcd_ubsan/explain.txt new file mode 100644 index 000000000..6299d2116 --- /dev/null +++ b/parser/testdata/01666_gcd_ubsan/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function gcd (children 1) + ExpressionList (children 2) + Literal UInt64_9223372036854775807 + Literal Int64_-9223372036854775808 +The query succeeded but the server error '407' was expected (query: EXPLAIN AST SELECT gcd(9223372036854775807, -9223372036854775808); -- { serverError DECIMAL_OVERFLOW }). diff --git a/parser/testdata/01666_great_circle_distance_ubsan/explain.txt b/parser/testdata/01666_great_circle_distance_ubsan/explain.txt new file mode 100644 index 000000000..c50c52ee1 --- /dev/null +++ b/parser/testdata/01666_great_circle_distance_ubsan/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function greatCircleAngle (children 1) + ExpressionList (children 4) + Literal UInt64_0 + Literal Int64_-9223372036854775808 + Identifier number + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_3 + Identifier Null diff --git a/parser/testdata/01666_lcm_ubsan/explain.txt b/parser/testdata/01666_lcm_ubsan/explain.txt new file mode 100644 index 000000000..bcb8da2fa --- /dev/null +++ b/parser/testdata/01666_lcm_ubsan/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function lcm (children 1) + ExpressionList (children 2) + Literal UInt64_9223372036854775807 + Literal Int64_-9223372036854775808 +The query succeeded but the server error '407' was expected (query: EXPLAIN AST SELECT lcm(9223372036854775807, -9223372036854775808); -- { serverError DECIMAL_OVERFLOW }). diff --git a/parser/testdata/01667_aes_args_check/explain.txt b/parser/testdata/01667_aes_args_check/explain.txt new file mode 100644 index 000000000..de4080d1d --- /dev/null +++ b/parser/testdata/01667_aes_args_check/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function encrypt (children 1) + ExpressionList (children 3) + Literal \'aes-128-ecb\' + Literal Array_[UInt64_1, Int64_-1, UInt64_0, NULL] + Literal \'text\' +The query succeeded but the server error '43' was expected (query: EXPLAIN AST SELECT encrypt('aes-128-ecb', [1, -1, 0, NULL], 'text'); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }). diff --git a/parser/testdata/01668_avg_weighted_ubsan/explain.txt b/parser/testdata/01668_avg_weighted_ubsan/explain.txt new file mode 100644 index 000000000..dc10f459b --- /dev/null +++ b/parser/testdata/01668_avg_weighted_ubsan/explain.txt @@ -0,0 +1,24 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function round (children 1) + ExpressionList (children 1) + Function avgWeighted (children 1) + ExpressionList (children 2) + Identifier x + Identifier y + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 2) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_1023 (alias x) + Literal UInt64_1000000000 (alias y) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_10 (alias x) + Literal Int64_-9223372036854775808 (alias y) diff --git a/parser/testdata/01668_test_toMonth_mysql_dialect/explain.txt b/parser/testdata/01668_test_toMonth_mysql_dialect/explain.txt new file mode 100644 index 000000000..2442a7f38 --- /dev/null +++ b/parser/testdata/01668_test_toMonth_mysql_dialect/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function MONTH (children 1) + ExpressionList (children 1) + Function toDateTime (children 1) + ExpressionList (children 1) + Literal \'2016-06-15 23:00:00\' diff --git a/parser/testdata/01669_columns_declaration_serde_long/metadata.json b/parser/testdata/01669_columns_declaration_serde_long/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01669_columns_declaration_serde_long/metadata.json +++ b/parser/testdata/01669_columns_declaration_serde_long/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01669_join_or_duplicates/explain.txt b/parser/testdata/01669_join_or_duplicates/explain.txt new file mode 100644 index 000000000..f0049c911 --- /dev/null +++ b/parser/testdata/01669_join_or_duplicates/explain.txt @@ -0,0 +1,42 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Literal \'1 left\' + Asterisk + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias t1) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_1 (alias x) + Literal UInt64_2 (alias y) + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias t2) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Literal UInt64_1 (alias xx) + Literal UInt64_2 (alias yy) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1 + TableJoin (children 1) + Function or (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier x + Identifier xx + Function equals (children 1) + ExpressionList (children 2) + Identifier y + Identifier yy diff --git a/parser/testdata/01669_test_toYear_mysql_dialect/explain.txt b/parser/testdata/01669_test_toYear_mysql_dialect/explain.txt new file mode 100644 index 000000000..b3b489269 --- /dev/null +++ b/parser/testdata/01669_test_toYear_mysql_dialect/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function YEAR (children 1) + ExpressionList (children 1) + Function toDateTime (children 1) + ExpressionList (children 1) + Literal \'2016-06-15 23:00:00\' diff --git a/parser/testdata/01670_dictionary_create_key_expression/explain.txt b/parser/testdata/01670_dictionary_create_key_expression/explain.txt new file mode 100644 index 000000000..7e3c203be --- /dev/null +++ b/parser/testdata/01670_dictionary_create_key_expression/explain.txt @@ -0,0 +1,2 @@ +CreateQuery database_dictionary_test_key_expression (children 1) + Identifier database_dictionary_test_key_expression diff --git a/parser/testdata/01670_distributed_bytes_to_throw_insert/explain.txt b/parser/testdata/01670_distributed_bytes_to_throw_insert/explain.txt new file mode 100644 index 000000000..389a662e9 --- /dev/null +++ b/parser/testdata/01670_distributed_bytes_to_throw_insert/explain.txt @@ -0,0 +1,2 @@ +DropQuery dist_01670 (children 1) + Identifier dist_01670 diff --git a/parser/testdata/01670_log_comment/explain.txt b/parser/testdata/01670_log_comment/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01670_log_comment/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01670_neighbor_lc_bug/explain.txt b/parser/testdata/01670_neighbor_lc_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01670_neighbor_lc_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01670_sign_function/explain.txt b/parser/testdata/01670_sign_function/explain.txt new file mode 100644 index 000000000..ff4fac2f7 --- /dev/null +++ b/parser/testdata/01670_sign_function/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function sign (children 1) + ExpressionList (children 1) + Literal UInt64_0 diff --git a/parser/testdata/01670_test_repeat_mysql_dialect/explain.txt b/parser/testdata/01670_test_repeat_mysql_dialect/explain.txt new file mode 100644 index 000000000..766094cd6 --- /dev/null +++ b/parser/testdata/01670_test_repeat_mysql_dialect/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function REPEAT (children 1) + ExpressionList (children 2) + Literal \'Test\' + Literal UInt64_3 diff --git a/parser/testdata/01671_aggregate_function_group_bitmap_data/explain.txt b/parser/testdata/01671_aggregate_function_group_bitmap_data/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01671_aggregate_function_group_bitmap_data/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01671_merge_join_and_constants/explain.txt b/parser/testdata/01671_merge_join_and_constants/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01671_merge_join_and_constants/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01671_test_toQuarter_mysql_dialect/explain.txt b/parser/testdata/01671_test_toQuarter_mysql_dialect/explain.txt new file mode 100644 index 000000000..dfd7db4d4 --- /dev/null +++ b/parser/testdata/01671_test_toQuarter_mysql_dialect/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function QUARTER (children 1) + ExpressionList (children 1) + Function toDateTime (children 1) + ExpressionList (children 1) + Literal \'2016-06-15 23:00:00\' diff --git a/parser/testdata/01672_actions_dag_merge_crash/explain.txt b/parser/testdata/01672_actions_dag_merge_crash/explain.txt new file mode 100644 index 000000000..ceb4b322a --- /dev/null +++ b/parser/testdata/01672_actions_dag_merge_crash/explain.txt @@ -0,0 +1,74 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 6) + Literal Array_[NULL, \'25.6\', \'-0.02\', NULL] + Literal Array_[NULL] + Literal UInt64_1024 + Literal Array_[NULL, \'10485.76\', NULL, NULL] + Function array (children 1) + ExpressionList (children 3) + Literal NULL + Literal \'-922337203.6854775808\' + Function toNullable (children 1) + ExpressionList (children 1) + Literal NULL + Literal Array_[NULL] + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 6) + Function array (children 1) + ExpressionList (children 1) + Function multiIf (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_1023 + Literal Float64_-inf + Function toString (children 1) + ExpressionList (children 1) + Identifier number + Literal NULL + Literal NULL + Literal \'-1\' + Function multiIf (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal NULL + Literal NULL + Function toString (children 1) + ExpressionList (children 1) + Identifier number + Literal \'\' + Literal Array_[NULL, NULL] + Function multiIf (alias s) (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal NULL + Literal UInt64_65536 + Function toString (children 1) + ExpressionList (children 1) + Identifier number + Literal \'\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_1024 + Identifier Null diff --git a/parser/testdata/01672_test_toSecond_mysql_dialect/explain.txt b/parser/testdata/01672_test_toSecond_mysql_dialect/explain.txt new file mode 100644 index 000000000..8d45f2975 --- /dev/null +++ b/parser/testdata/01672_test_toSecond_mysql_dialect/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function SECOND (children 1) + ExpressionList (children 1) + Function toDateTime (children 1) + ExpressionList (children 1) + Literal \'2016-06-15 23:00:00\' diff --git a/parser/testdata/01673_test_toMinute_mysql_dialect/explain.txt b/parser/testdata/01673_test_toMinute_mysql_dialect/explain.txt new file mode 100644 index 000000000..8fd1a9be8 --- /dev/null +++ b/parser/testdata/01673_test_toMinute_mysql_dialect/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function MINUTE (children 1) + ExpressionList (children 1) + Function toDateTime (children 1) + ExpressionList (children 1) + Literal \'2016-06-15 23:00:00\' diff --git a/parser/testdata/01674_executable_dictionary_implicit_key/explain.txt b/parser/testdata/01674_executable_dictionary_implicit_key/explain.txt new file mode 100644 index 000000000..ee757fcb8 --- /dev/null +++ b/parser/testdata/01674_executable_dictionary_implicit_key/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function dictGet (children 1) + ExpressionList (children 3) + Literal \'simple_executable_cache_dictionary_no_implicit_key\' + Literal \'value\' + Function toUInt64 (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/01674_filter_by_uint8/explain.txt b/parser/testdata/01674_filter_by_uint8/explain.txt new file mode 100644 index 000000000..bd554d751 --- /dev/null +++ b/parser/testdata/01674_filter_by_uint8/explain.txt @@ -0,0 +1,29 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function ignore (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_256 + ExpressionList (children 1) + OrderByElement (children 1) + Function arrayFilter (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function materialize (children 1) + ExpressionList (children 1) + Literal UInt64_255 + Function materialize (children 1) + ExpressionList (children 1) + Literal Array_[UInt64_257] + Literal UInt64_1 diff --git a/parser/testdata/01674_htm_xml_coarse_parse/explain.txt b/parser/testdata/01674_htm_xml_coarse_parse/explain.txt new file mode 100644 index 000000000..223387fef --- /dev/null +++ b/parser/testdata/01674_htm_xml_coarse_parse/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function extractTextFromHTML (children 1) + ExpressionList (children 1) + Literal \'\' diff --git a/parser/testdata/01674_unicode_asan/explain.txt b/parser/testdata/01674_unicode_asan/explain.txt new file mode 100644 index 000000000..86f009583 --- /dev/null +++ b/parser/testdata/01674_unicode_asan/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function positionCaseInsensitiveUTF8 (alias res) (children 1) + ExpressionList (children 2) + Literal \'иголка.ру\' + Literal \'иголка.Ñ€Ñ\\0\' diff --git a/parser/testdata/01674_where_prewhere_array_crash/explain.txt b/parser/testdata/01674_where_prewhere_array_crash/explain.txt new file mode 100644 index 000000000..0a00b06d1 --- /dev/null +++ b/parser/testdata/01674_where_prewhere_array_crash/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab (children 1) + Identifier tab diff --git a/parser/testdata/01676_dictget_in_default_expression/explain.txt b/parser/testdata/01676_dictget_in_default_expression/explain.txt new file mode 100644 index 000000000..8a034f0fb --- /dev/null +++ b/parser/testdata/01676_dictget_in_default_expression/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_01676 (children 1) + Identifier test_01676 diff --git a/parser/testdata/01676_range_hashed_dictionary/explain.txt b/parser/testdata/01676_range_hashed_dictionary/explain.txt new file mode 100644 index 000000000..0c43bf903 --- /dev/null +++ b/parser/testdata/01676_range_hashed_dictionary/explain.txt @@ -0,0 +1,2 @@ +CreateQuery date_table (children 1) + Identifier date_table diff --git a/parser/testdata/01676_reinterpret_as/explain.txt b/parser/testdata/01676_reinterpret_as/explain.txt new file mode 100644 index 000000000..00ef4dda4 --- /dev/null +++ b/parser/testdata/01676_reinterpret_as/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'Into String\' diff --git a/parser/testdata/01676_round_int_ubsan/explain.txt b/parser/testdata/01676_round_int_ubsan/explain.txt new file mode 100644 index 000000000..46d8b2862 --- /dev/null +++ b/parser/testdata/01676_round_int_ubsan/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function round (children 1) + ExpressionList (children 2) + Literal Int64_-9223372036854775808 + Literal Int64_-2 diff --git a/parser/testdata/01677_array_enumerate_bug/explain.txt b/parser/testdata/01677_array_enumerate_bug/explain.txt new file mode 100644 index 000000000..fb14f340b --- /dev/null +++ b/parser/testdata/01677_array_enumerate_bug/explain.txt @@ -0,0 +1,30 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayEnumerateUniq (children 1) + ExpressionList (children 2) + Function arrayEnumerateUniq (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 3) + Function toInt256 (children 1) + ExpressionList (children 1) + Literal UInt64_10 + Function toInt256 (children 1) + ExpressionList (children 1) + Literal UInt64_100 + Function toInt256 (children 1) + ExpressionList (children 1) + Literal UInt64_2 + Function array (children 1) + ExpressionList (children 3) + Function toInt256 (children 1) + ExpressionList (children 1) + Literal UInt64_123 + Function toInt256 (children 1) + ExpressionList (children 1) + Literal UInt64_1023 + Function toInt256 (children 1) + ExpressionList (children 1) + Literal UInt64_123 diff --git a/parser/testdata/01677_bit_float/explain.txt b/parser/testdata/01677_bit_float/explain.txt new file mode 100644 index 000000000..4bc343ee5 --- /dev/null +++ b/parser/testdata/01677_bit_float/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function bitAnd (children 1) + ExpressionList (children 2) + Literal UInt64_0 + Literal Float64_inf +The query succeeded but the server error '43' was expected (query: EXPLAIN AST SELECT bitAnd(0, inf); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }). diff --git a/parser/testdata/01678_great_circle_angle/explain.txt b/parser/testdata/01678_great_circle_angle/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01678_great_circle_angle/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01679_format_readable_time_delta_inf/explain.txt b/parser/testdata/01679_format_readable_time_delta_inf/explain.txt new file mode 100644 index 000000000..5b1f2708b --- /dev/null +++ b/parser/testdata/01679_format_readable_time_delta_inf/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function formatReadableTimeDelta (children 1) + ExpressionList (children 1) + Function arrayJoin (children 1) + ExpressionList (children 1) + Literal Array_[Float64_inf, Float64_-inf, Float64_nan] diff --git a/parser/testdata/01680_date_time_add_ubsan/explain.txt b/parser/testdata/01680_date_time_add_ubsan/explain.txt new file mode 100644 index 000000000..c548592e1 --- /dev/null +++ b/parser/testdata/01680_date_time_add_ubsan/explain.txt @@ -0,0 +1,44 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier result + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function toStartOfFifteenMinutes (alias result) (children 1) + ExpressionList (children 1) + Function plus (children 1) + ExpressionList (children 2) + Function toDateTime (children 1) + ExpressionList (children 1) + Function toStartOfFifteenMinutes (children 1) + ExpressionList (children 1) + Function plus (children 1) + ExpressionList (children 2) + Function toDateTime (children 1) + ExpressionList (children 1) + Literal Float64_1000.0001220703125 + Function multiply (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_65536 + Function multiply (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_9223372036854775807 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_1048576 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier result + Identifier Null +The query succeeded but the server error '407' was expected (query: EXPLAIN AST SELECT DISTINCT result FROM (SELECT toStartOfFifteenMinutes(toDateTime(toStartOfFifteenMinutes(toDateTime(1000.0001220703125) + (number * 65536))) + (number * 9223372036854775807)) AS result FROM system.numbers LIMIT 1048576) ORDER BY result DESC NULLS FIRST FORMAT Null; -- { serverError DECIMAL_OVERFLOW }). diff --git a/parser/testdata/01680_predicate_pushdown_union_distinct_subquery/explain.txt b/parser/testdata/01680_predicate_pushdown_union_distinct_subquery/explain.txt new file mode 100644 index 000000000..55a8182b0 --- /dev/null +++ b/parser/testdata/01680_predicate_pushdown_union_distinct_subquery/explain.txt @@ -0,0 +1,22 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 2) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_2000 (alias d_year) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_2000 (alias d_year) + Function equals (children 1) + ExpressionList (children 2) + Identifier d_year + Literal UInt64_2002 diff --git a/parser/testdata/01681_arg_min_max_if_fix/explain.txt b/parser/testdata/01681_arg_min_max_if_fix/explain.txt new file mode 100644 index 000000000..247d2643e --- /dev/null +++ b/parser/testdata/01681_arg_min_max_if_fix/explain.txt @@ -0,0 +1,52 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 3) + Function bitAnd (alias k) (children 1) + ExpressionList (children 2) + Identifier number + Function toUInt64 (children 1) + ExpressionList (children 1) + Function minus (children 1) + ExpressionList (children 2) + Function pow (children 1) + ExpressionList (children 2) + Literal UInt64_257 + Literal UInt64_20 + Literal UInt64_1048576 + Function argMaxIf (children 1) + ExpressionList (children 3) + Identifier k + Function if (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_255 + Literal UInt64_256 + Function toInt256 (children 1) + ExpressionList (children 1) + Literal UInt64_65535 + Identifier number + Function greater (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_42 + Function uniq (alias u) (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_2 + ExpressionList (children 2) + Function toInt256 (children 1) + ExpressionList (children 2) + Literal Int64_-2 + Literal NULL + Identifier k + Identifier Null diff --git a/parser/testdata/01681_bloom_filter_nullable_column/explain.txt b/parser/testdata/01681_bloom_filter_nullable_column/explain.txt new file mode 100644 index 000000000..0dc10c819 --- /dev/null +++ b/parser/testdata/01681_bloom_filter_nullable_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery bloom_filter_nullable_index (children 1) + Identifier bloom_filter_nullable_index diff --git a/parser/testdata/01681_cache_dictionary_simple_key/explain.txt b/parser/testdata/01681_cache_dictionary_simple_key/explain.txt new file mode 100644 index 000000000..319e86c9d --- /dev/null +++ b/parser/testdata/01681_cache_dictionary_simple_key/explain.txt @@ -0,0 +1,2 @@ +DropQuery 01681_database_for_cache_dictionary (children 1) + Identifier 01681_database_for_cache_dictionary diff --git a/parser/testdata/01682_cache_dictionary_complex_key/explain.txt b/parser/testdata/01682_cache_dictionary_complex_key/explain.txt new file mode 100644 index 000000000..4727a466c --- /dev/null +++ b/parser/testdata/01682_cache_dictionary_complex_key/explain.txt @@ -0,0 +1,2 @@ +DropQuery 01682_database_for_cache_dictionary (children 1) + Identifier 01682_database_for_cache_dictionary diff --git a/parser/testdata/01682_gather_utils_ubsan/explain.txt b/parser/testdata/01682_gather_utils_ubsan/explain.txt new file mode 100644 index 000000000..fdccdd4be --- /dev/null +++ b/parser/testdata/01682_gather_utils_ubsan/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayResize (children 1) + ExpressionList (children 2) + Literal Array_[UInt64_1, UInt64_2, UInt64_3] + Literal Int64_-9223372036854775808 +The query succeeded but the server error '128' was expected (query: EXPLAIN AST SELECT arrayResize([1, 2, 3], -9223372036854775808); -- { serverError TOO_LARGE_ARRAY_SIZE }). diff --git a/parser/testdata/01683_codec_encrypted/explain.txt b/parser/testdata/01683_codec_encrypted/explain.txt new file mode 100644 index 000000000..ca741c91c --- /dev/null +++ b/parser/testdata/01683_codec_encrypted/explain.txt @@ -0,0 +1,2 @@ +DropQuery encryption_test (children 1) + Identifier encryption_test diff --git a/parser/testdata/01683_dist_INSERT_block_structure_mismatch/explain.txt b/parser/testdata/01683_dist_INSERT_block_structure_mismatch/explain.txt new file mode 100644 index 000000000..683a0a7ed --- /dev/null +++ b/parser/testdata/01683_dist_INSERT_block_structure_mismatch/explain.txt @@ -0,0 +1,2 @@ +DropQuery tmp_01683 (children 1) + Identifier tmp_01683 diff --git a/parser/testdata/01683_flat_dictionary/explain.txt b/parser/testdata/01683_flat_dictionary/explain.txt new file mode 100644 index 000000000..d0862cda9 --- /dev/null +++ b/parser/testdata/01683_flat_dictionary/explain.txt @@ -0,0 +1,2 @@ +DropQuery 01681_database_for_flat_dictionary (children 1) + Identifier 01681_database_for_flat_dictionary diff --git a/parser/testdata/01683_intdiv_ubsan/explain.txt b/parser/testdata/01683_intdiv_ubsan/explain.txt new file mode 100644 index 000000000..5906ee45d --- /dev/null +++ b/parser/testdata/01683_intdiv_ubsan/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function intDiv (children 1) + ExpressionList (children 2) + Identifier number + Literal Float64_nan + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 +The query succeeded but the server error '153' was expected (query: EXPLAIN AST SELECT DISTINCT intDiv(number, nan) FROM numbers(10); -- { serverError ILLEGAL_DIVISION }). diff --git a/parser/testdata/01684_geohash_ubsan/explain.txt b/parser/testdata/01684_geohash_ubsan/explain.txt new file mode 100644 index 000000000..ab260a02b --- /dev/null +++ b/parser/testdata/01684_geohash_ubsan/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function geohashesInBox (children 1) + ExpressionList (children 5) + Literal Float64_100.0000991821289 + Literal Float64_100.0000991821289 + Literal Float64_1000.0001220703125 + Literal Float64_1000.0001220703125 + Literal UInt64_0 diff --git a/parser/testdata/01684_insert_specify_shard_id/explain.txt b/parser/testdata/01684_insert_specify_shard_id/explain.txt new file mode 100644 index 000000000..a60ff027e --- /dev/null +++ b/parser/testdata/01684_insert_specify_shard_id/explain.txt @@ -0,0 +1,2 @@ +DropQuery x (children 1) + Identifier x diff --git a/parser/testdata/01685_json_extract_double_as_float/metadata.json b/parser/testdata/01685_json_extract_double_as_float/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01685_json_extract_double_as_float/metadata.json +++ b/parser/testdata/01685_json_extract_double_as_float/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01686_rocksdb/explain.txt b/parser/testdata/01686_rocksdb/explain.txt new file mode 100644 index 000000000..ebfb270ec --- /dev/null +++ b/parser/testdata/01686_rocksdb/explain.txt @@ -0,0 +1,2 @@ +DropQuery 01686_test (children 1) + Identifier 01686_test diff --git a/parser/testdata/01690_quantilesTiming_ubsan/explain.txt b/parser/testdata/01690_quantilesTiming_ubsan/explain.txt new file mode 100644 index 000000000..7780eb109 --- /dev/null +++ b/parser/testdata/01690_quantilesTiming_ubsan/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function quantilesTimingWeighted (children 2) + ExpressionList (children 2) + Identifier number + Literal UInt64_9223372036854775807 + ExpressionList (children 1) + Literal Float64_0.1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_2 diff --git a/parser/testdata/01691_DateTime64_clamp/explain.txt b/parser/testdata/01691_DateTime64_clamp/explain.txt new file mode 100644 index 000000000..2f2b185b3 --- /dev/null +++ b/parser/testdata/01691_DateTime64_clamp/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toTimeZone (children 1) + ExpressionList (children 2) + Function toDateTime (children 1) + ExpressionList (children 2) + Literal Int64_-2 + Literal UInt64_2 + Literal \'Asia/Istanbul\' diff --git a/parser/testdata/01692_DateTime64_from_DateTime/explain.txt b/parser/testdata/01692_DateTime64_from_DateTime/explain.txt new file mode 100644 index 000000000..28e1b6637 --- /dev/null +++ b/parser/testdata/01692_DateTime64_from_DateTime/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toDateTime64 (children 1) + ExpressionList (children 2) + Function toDateTime (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal \'Asia/Istanbul\' + Literal UInt64_2 diff --git a/parser/testdata/01698_fix_toMinute/metadata.json b/parser/testdata/01698_fix_toMinute/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01698_fix_toMinute/metadata.json +++ b/parser/testdata/01698_fix_toMinute/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01698_map_populate_overflow/explain.txt b/parser/testdata/01698_map_populate_overflow/explain.txt new file mode 100644 index 000000000..b516d58d7 --- /dev/null +++ b/parser/testdata/01698_map_populate_overflow/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function mapPopulateSeries (children 1) + ExpressionList (children 3) + Literal Array_[UInt64_18446744073709551615] + Literal Array_[UInt64_0] + Literal UInt64_18446744073709551615 diff --git a/parser/testdata/01699_timezoneOffset/metadata.json b/parser/testdata/01699_timezoneOffset/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01699_timezoneOffset/metadata.json +++ b/parser/testdata/01699_timezoneOffset/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01700_deltasum/explain.txt b/parser/testdata/01700_deltasum/explain.txt new file mode 100644 index 000000000..724cd9253 --- /dev/null +++ b/parser/testdata/01700_deltasum/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function deltaSum (children 1) + ExpressionList (children 1) + Function arrayJoin (children 1) + ExpressionList (children 1) + Literal Array_[UInt64_1, UInt64_2, UInt64_3] diff --git a/parser/testdata/01700_mod_negative_type_promotion/explain.txt b/parser/testdata/01700_mod_negative_type_promotion/explain.txt new file mode 100644 index 000000000..920e8cd2f --- /dev/null +++ b/parser/testdata/01700_mod_negative_type_promotion/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function modulo (alias k) (children 1) + ExpressionList (children 2) + Function toInt32 (children 1) + ExpressionList (children 1) + Literal Int64_-199 + Literal UInt64_200 + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier k diff --git a/parser/testdata/01700_point_in_polygon_ubsan/explain.txt b/parser/testdata/01700_point_in_polygon_ubsan/explain.txt new file mode 100644 index 000000000..90c5ecc93 --- /dev/null +++ b/parser/testdata/01700_point_in_polygon_ubsan/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function pointInPolygon (children 1) + ExpressionList (children 2) + Literal Tuple_(UInt64_0, UInt64_0) + Function array (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 3) + Literal Tuple_(UInt64_0, UInt64_0) + Literal Tuple_(UInt64_10, UInt64_10) + Literal Tuple_(UInt64_256, Int64_-9223372036854775808) + Identifier Null +The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT pointInPolygon((0, 0), [[(0, 0), (10, 10), (256, -9223372036854775808)]]) FORMAT Null ;-- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/01700_system_zookeeper_path_in/explain.txt b/parser/testdata/01700_system_zookeeper_path_in/explain.txt new file mode 100644 index 000000000..577af7ea3 --- /dev/null +++ b/parser/testdata/01700_system_zookeeper_path_in/explain.txt @@ -0,0 +1,2 @@ +DropQuery sample_table (children 1) + Identifier sample_table diff --git a/parser/testdata/01701_clear_projection_and_part_remove/explain.txt b/parser/testdata/01701_clear_projection_and_part_remove/explain.txt new file mode 100644 index 000000000..702b55122 --- /dev/null +++ b/parser/testdata/01701_clear_projection_and_part_remove/explain.txt @@ -0,0 +1,2 @@ +DropQuery tp_1 (children 1) + Identifier tp_1 diff --git a/parser/testdata/01701_if_tuple_segfault/explain.txt b/parser/testdata/01701_if_tuple_segfault/explain.txt new file mode 100644 index 000000000..7510fe147 --- /dev/null +++ b/parser/testdata/01701_if_tuple_segfault/explain.txt @@ -0,0 +1,2 @@ +DropQuery agg_table (children 1) + Identifier agg_table diff --git a/parser/testdata/01702_bitmap_native_integers/explain.txt b/parser/testdata/01702_bitmap_native_integers/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/01702_bitmap_native_integers/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/01702_rewrite_avg_for_algebraic_optimization/explain.txt b/parser/testdata/01702_rewrite_avg_for_algebraic_optimization/explain.txt new file mode 100644 index 000000000..001b93ed9 --- /dev/null +++ b/parser/testdata/01702_rewrite_avg_for_algebraic_optimization/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'SELECT avg(number + 2) FROM numbers(10)\' diff --git a/parser/testdata/01702_system_numbers_scientific_notation/explain.txt b/parser/testdata/01702_system_numbers_scientific_notation/explain.txt new file mode 100644 index 000000000..02db3d67a --- /dev/null +++ b/parser/testdata/01702_system_numbers_scientific_notation/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal Float64_100 + Identifier Null diff --git a/parser/testdata/01702_system_query_log/explain.txt b/parser/testdata/01702_system_query_log/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01702_system_query_log/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01702_toDateTime_from_string_clamping/explain.txt b/parser/testdata/01702_toDateTime_from_string_clamping/explain.txt new file mode 100644 index 000000000..d3ffaa286 --- /dev/null +++ b/parser/testdata/01702_toDateTime_from_string_clamping/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toString (children 1) + ExpressionList (children 1) + Function toDateTime (children 1) + ExpressionList (children 3) + Literal \'-922337203.6854775808\' + Literal UInt64_1 + Literal \'Asia/Istanbul\' diff --git a/parser/testdata/01703_rewrite_aggregate_function_case_insensitive/explain.txt b/parser/testdata/01703_rewrite_aggregate_function_case_insensitive/explain.txt new file mode 100644 index 000000000..5b44bdac3 --- /dev/null +++ b/parser/testdata/01703_rewrite_aggregate_function_case_insensitive/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function sum (children 1) + ExpressionList (children 1) + Function divide (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 diff --git a/parser/testdata/01704_transform_with_float_key/explain.txt b/parser/testdata/01704_transform_with_float_key/explain.txt new file mode 100644 index 000000000..5e671e4d6 --- /dev/null +++ b/parser/testdata/01704_transform_with_float_key/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function transform (children 1) + ExpressionList (children 4) + Function divide (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + Literal Array_[Float64_0.5, Float64_1.5] + Literal Array_[\'Hello\', \'World\'] + Literal \'-\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 diff --git a/parser/testdata/01705_normalize_case_insensitive_function_names/explain.txt b/parser/testdata/01705_normalize_case_insensitive_function_names/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01705_normalize_case_insensitive_function_names/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01705_normalize_create_alter_function_names/explain.txt b/parser/testdata/01705_normalize_create_alter_function_names/explain.txt new file mode 100644 index 000000000..a60ff027e --- /dev/null +++ b/parser/testdata/01705_normalize_create_alter_function_names/explain.txt @@ -0,0 +1,2 @@ +DropQuery x (children 1) + Identifier x diff --git a/parser/testdata/01706_optimize_normalize_count_variants/explain.txt b/parser/testdata/01706_optimize_normalize_count_variants/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01706_optimize_normalize_count_variants/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01707_join_use_nulls/explain.txt b/parser/testdata/01707_join_use_nulls/explain.txt new file mode 100644 index 000000000..2d139630a --- /dev/null +++ b/parser/testdata/01707_join_use_nulls/explain.txt @@ -0,0 +1,2 @@ +DropQuery X (children 1) + Identifier X diff --git a/parser/testdata/01709_inactive_parts_to_throw_insert/explain.txt b/parser/testdata/01709_inactive_parts_to_throw_insert/explain.txt new file mode 100644 index 000000000..7137fa331 --- /dev/null +++ b/parser/testdata/01709_inactive_parts_to_throw_insert/explain.txt @@ -0,0 +1,2 @@ +DropQuery data_01709 (children 1) + Identifier data_01709 diff --git a/parser/testdata/01710_aggregate_projection_with_grouping_set/explain.txt b/parser/testdata/01710_aggregate_projection_with_grouping_set/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/01710_aggregate_projection_with_grouping_set/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/01710_aggregate_projection_with_hashing/explain.txt b/parser/testdata/01710_aggregate_projection_with_hashing/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01710_aggregate_projection_with_hashing/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01710_aggregate_projection_with_monotonic_key_expr/explain.txt b/parser/testdata/01710_aggregate_projection_with_monotonic_key_expr/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/01710_aggregate_projection_with_monotonic_key_expr/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/01710_aggregate_projection_with_normalized_states/explain.txt b/parser/testdata/01710_aggregate_projection_with_normalized_states/explain.txt new file mode 100644 index 000000000..75ca0984b --- /dev/null +++ b/parser/testdata/01710_aggregate_projection_with_normalized_states/explain.txt @@ -0,0 +1,2 @@ +DropQuery r (children 1) + Identifier r diff --git a/parser/testdata/01710_force_use_projection/explain.txt b/parser/testdata/01710_force_use_projection/explain.txt new file mode 100644 index 000000000..f5d082b6d --- /dev/null +++ b/parser/testdata/01710_force_use_projection/explain.txt @@ -0,0 +1,2 @@ +DropQuery tp (children 1) + Identifier tp diff --git a/parser/testdata/01710_minmax_count_projection/explain.txt b/parser/testdata/01710_minmax_count_projection/explain.txt new file mode 100644 index 000000000..801640764 --- /dev/null +++ b/parser/testdata/01710_minmax_count_projection/explain.txt @@ -0,0 +1,2 @@ +DropQuery d (children 1) + Identifier d diff --git a/parser/testdata/01710_minmax_count_projection_constant_query/explain.txt b/parser/testdata/01710_minmax_count_projection_constant_query/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/01710_minmax_count_projection_constant_query/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/01710_minmax_count_projection_count_nullable/explain.txt b/parser/testdata/01710_minmax_count_projection_count_nullable/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/01710_minmax_count_projection_count_nullable/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/01710_minmax_count_projection_distributed_query/explain.txt b/parser/testdata/01710_minmax_count_projection_distributed_query/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/01710_minmax_count_projection_distributed_query/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/01710_minmax_count_projection_modify_partition_key/explain.txt b/parser/testdata/01710_minmax_count_projection_modify_partition_key/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/01710_minmax_count_projection_modify_partition_key/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/01710_normal_projection_fix1/explain.txt b/parser/testdata/01710_normal_projection_fix1/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/01710_normal_projection_fix1/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/01710_normal_projection_format/explain.txt b/parser/testdata/01710_normal_projection_format/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/01710_normal_projection_format/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/01710_normal_projection_join_plan_fix/explain.txt b/parser/testdata/01710_normal_projection_join_plan_fix/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/01710_normal_projection_join_plan_fix/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/01710_normal_projection_with_query_plan_optimization/explain.txt b/parser/testdata/01710_normal_projection_with_query_plan_optimization/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/01710_normal_projection_with_query_plan_optimization/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/01710_order_by_projections_complete/explain.txt b/parser/testdata/01710_order_by_projections_complete/explain.txt new file mode 100644 index 000000000..dd09119ab --- /dev/null +++ b/parser/testdata/01710_order_by_projections_complete/explain.txt @@ -0,0 +1,2 @@ +DropQuery data_order_by_proj_comp (children 1) + Identifier data_order_by_proj_comp diff --git a/parser/testdata/01710_order_by_projections_incomplete/explain.txt b/parser/testdata/01710_order_by_projections_incomplete/explain.txt new file mode 100644 index 000000000..ad1904d2a --- /dev/null +++ b/parser/testdata/01710_order_by_projections_incomplete/explain.txt @@ -0,0 +1,2 @@ +DropQuery data_order_by_proj_incomp (children 1) + Identifier data_order_by_proj_incomp diff --git a/parser/testdata/01710_projection_additional_filters/explain.txt b/parser/testdata/01710_projection_additional_filters/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/01710_projection_additional_filters/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/01710_projection_aggregate_functions_null_for_empty/explain.txt b/parser/testdata/01710_projection_aggregate_functions_null_for_empty/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/01710_projection_aggregate_functions_null_for_empty/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/01710_projection_aggregation_in_order/explain.txt b/parser/testdata/01710_projection_aggregation_in_order/explain.txt new file mode 100644 index 000000000..34d6920d1 --- /dev/null +++ b/parser/testdata/01710_projection_aggregation_in_order/explain.txt @@ -0,0 +1,2 @@ +DropQuery normal (children 1) + Identifier normal diff --git a/parser/testdata/01710_projection_array_join/explain.txt b/parser/testdata/01710_projection_array_join/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01710_projection_array_join/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01710_projection_detach_part/explain.txt b/parser/testdata/01710_projection_detach_part/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01710_projection_detach_part/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01710_projection_drop_if_exists/explain.txt b/parser/testdata/01710_projection_drop_if_exists/explain.txt new file mode 100644 index 000000000..f5d082b6d --- /dev/null +++ b/parser/testdata/01710_projection_drop_if_exists/explain.txt @@ -0,0 +1,2 @@ +DropQuery tp (children 1) + Identifier tp diff --git a/parser/testdata/01710_projection_external_aggregate/explain.txt b/parser/testdata/01710_projection_external_aggregate/explain.txt new file mode 100644 index 000000000..05ed533bb --- /dev/null +++ b/parser/testdata/01710_projection_external_aggregate/explain.txt @@ -0,0 +1,2 @@ +DropQuery agg (children 1) + Identifier agg diff --git a/parser/testdata/01710_projection_fetch_long/explain.txt b/parser/testdata/01710_projection_fetch_long/explain.txt new file mode 100644 index 000000000..702b55122 --- /dev/null +++ b/parser/testdata/01710_projection_fetch_long/explain.txt @@ -0,0 +1,2 @@ +DropQuery tp_1 (children 1) + Identifier tp_1 diff --git a/parser/testdata/01710_projection_group_by_order_by/explain.txt b/parser/testdata/01710_projection_group_by_order_by/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/01710_projection_group_by_order_by/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/01710_projection_in_index/explain.txt b/parser/testdata/01710_projection_in_index/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01710_projection_in_index/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01710_projection_in_set/explain.txt b/parser/testdata/01710_projection_in_set/explain.txt new file mode 100644 index 000000000..a60ff027e --- /dev/null +++ b/parser/testdata/01710_projection_in_set/explain.txt @@ -0,0 +1,2 @@ +DropQuery x (children 1) + Identifier x diff --git a/parser/testdata/01710_projection_materialize_with_missing_columns/explain.txt b/parser/testdata/01710_projection_materialize_with_missing_columns/explain.txt new file mode 100644 index 000000000..a60ff027e --- /dev/null +++ b/parser/testdata/01710_projection_materialize_with_missing_columns/explain.txt @@ -0,0 +1,2 @@ +DropQuery x (children 1) + Identifier x diff --git a/parser/testdata/01710_projection_mutation/explain.txt b/parser/testdata/01710_projection_mutation/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/01710_projection_mutation/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/01710_projection_optimize_aggregators_of_group_by_keys/explain.txt b/parser/testdata/01710_projection_optimize_aggregators_of_group_by_keys/explain.txt new file mode 100644 index 000000000..5dda72808 --- /dev/null +++ b/parser/testdata/01710_projection_optimize_aggregators_of_group_by_keys/explain.txt @@ -0,0 +1,2 @@ +DropQuery proj (children 1) + Identifier proj diff --git a/parser/testdata/01710_projection_optimize_group_by_function_keys/explain.txt b/parser/testdata/01710_projection_optimize_group_by_function_keys/explain.txt new file mode 100644 index 000000000..5dda72808 --- /dev/null +++ b/parser/testdata/01710_projection_optimize_group_by_function_keys/explain.txt @@ -0,0 +1,2 @@ +DropQuery proj (children 1) + Identifier proj diff --git a/parser/testdata/01710_projection_optimize_materialize/explain.txt b/parser/testdata/01710_projection_optimize_materialize/explain.txt new file mode 100644 index 000000000..8b049f3c6 --- /dev/null +++ b/parser/testdata/01710_projection_optimize_materialize/explain.txt @@ -0,0 +1,2 @@ +DropQuery z (children 1) + Identifier z diff --git a/parser/testdata/01710_projection_part_check/explain.txt b/parser/testdata/01710_projection_part_check/explain.txt new file mode 100644 index 000000000..f5d082b6d --- /dev/null +++ b/parser/testdata/01710_projection_part_check/explain.txt @@ -0,0 +1,2 @@ +DropQuery tp (children 1) + Identifier tp diff --git a/parser/testdata/01710_projection_pk_trivial_count/explain.txt b/parser/testdata/01710_projection_pk_trivial_count/explain.txt new file mode 100644 index 000000000..a60ff027e --- /dev/null +++ b/parser/testdata/01710_projection_pk_trivial_count/explain.txt @@ -0,0 +1,2 @@ +DropQuery x (children 1) + Identifier x diff --git a/parser/testdata/01710_projection_query_plan_optimization_misc/explain.txt b/parser/testdata/01710_projection_query_plan_optimization_misc/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/01710_projection_query_plan_optimization_misc/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/01710_projection_row_policy/explain.txt b/parser/testdata/01710_projection_row_policy/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/01710_projection_row_policy/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/01710_projection_vertical_merges/explain.txt b/parser/testdata/01710_projection_vertical_merges/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/01710_projection_vertical_merges/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/01710_projection_with_alter_conversions/explain.txt b/parser/testdata/01710_projection_with_alter_conversions/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/01710_projection_with_alter_conversions/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/01710_projection_with_ast_rewrite_settings/explain.txt b/parser/testdata/01710_projection_with_ast_rewrite_settings/explain.txt new file mode 100644 index 000000000..a6c58fae4 --- /dev/null +++ b/parser/testdata/01710_projection_with_ast_rewrite_settings/explain.txt @@ -0,0 +1,2 @@ +DropQuery aggregate_functions_null_for_empty (children 1) + Identifier aggregate_functions_null_for_empty diff --git a/parser/testdata/01710_projection_with_column_transformers/explain.txt b/parser/testdata/01710_projection_with_column_transformers/explain.txt new file mode 100644 index 000000000..275941d99 --- /dev/null +++ b/parser/testdata/01710_projection_with_column_transformers/explain.txt @@ -0,0 +1,2 @@ +DropQuery foo (children 1) + Identifier foo diff --git a/parser/testdata/01710_projection_with_joins/explain.txt b/parser/testdata/01710_projection_with_joins/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/01710_projection_with_joins/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/01710_projection_with_mixed_pipeline/explain.txt b/parser/testdata/01710_projection_with_mixed_pipeline/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/01710_projection_with_mixed_pipeline/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/01710_projection_with_nullable_keys/explain.txt b/parser/testdata/01710_projection_with_nullable_keys/explain.txt new file mode 100644 index 000000000..543894037 --- /dev/null +++ b/parser/testdata/01710_projection_with_nullable_keys/explain.txt @@ -0,0 +1,2 @@ +DropQuery sales (children 1) + Identifier sales diff --git a/parser/testdata/01710_projections/explain.txt b/parser/testdata/01710_projections/explain.txt new file mode 100644 index 000000000..b45902359 --- /dev/null +++ b/parser/testdata/01710_projections/explain.txt @@ -0,0 +1,2 @@ +DropQuery projection_test (children 1) + Identifier projection_test diff --git a/parser/testdata/01710_projections_and_duplicate_columms/explain.txt b/parser/testdata/01710_projections_and_duplicate_columms/explain.txt new file mode 100644 index 000000000..0b225bf84 --- /dev/null +++ b/parser/testdata/01710_projections_and_duplicate_columms/explain.txt @@ -0,0 +1,2 @@ +DropQuery projection_test__fuzz_0 (children 1) + Identifier projection_test__fuzz_0 diff --git a/parser/testdata/01710_projections_group_by_no_key/explain.txt b/parser/testdata/01710_projections_group_by_no_key/explain.txt new file mode 100644 index 000000000..8528f0af8 --- /dev/null +++ b/parser/testdata/01710_projections_group_by_no_key/explain.txt @@ -0,0 +1,2 @@ +DropQuery projection_without_key (children 1) + Identifier projection_without_key diff --git a/parser/testdata/01710_projections_in_distributed_query/explain.txt b/parser/testdata/01710_projections_in_distributed_query/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01710_projections_in_distributed_query/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01710_projections_order_by_complete/explain.txt b/parser/testdata/01710_projections_order_by_complete/explain.txt new file mode 100644 index 000000000..7316ad2e0 --- /dev/null +++ b/parser/testdata/01710_projections_order_by_complete/explain.txt @@ -0,0 +1,2 @@ +DropQuery data_proj_order_by_comp (children 1) + Identifier data_proj_order_by_comp diff --git a/parser/testdata/01710_projections_order_by_incomplete/explain.txt b/parser/testdata/01710_projections_order_by_incomplete/explain.txt new file mode 100644 index 000000000..41c3fd2d3 --- /dev/null +++ b/parser/testdata/01710_projections_order_by_incomplete/explain.txt @@ -0,0 +1,2 @@ +DropQuery data_proj_order_by_incomp (children 1) + Identifier data_proj_order_by_incomp diff --git a/parser/testdata/01710_query_log_with_projection_info/explain.txt b/parser/testdata/01710_query_log_with_projection_info/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01710_query_log_with_projection_info/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01711_cte_subquery_fix/explain.txt b/parser/testdata/01711_cte_subquery_fix/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/01711_cte_subquery_fix/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/01711_decimal_multiplication/explain.txt b/parser/testdata/01711_decimal_multiplication/explain.txt new file mode 100644 index 000000000..0666257fb --- /dev/null +++ b/parser/testdata/01711_decimal_multiplication/explain.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function minus (children 1) + ExpressionList (children 2) + Function materialize (children 1) + ExpressionList (children 1) + Function toDecimal64 (children 1) + ExpressionList (children 2) + Literal UInt64_4 + Literal UInt64_4 + Function materialize (children 1) + ExpressionList (children 1) + Function toDecimal32 (children 1) + ExpressionList (children 2) + Literal UInt64_2 + Literal UInt64_2 diff --git a/parser/testdata/01712_no_adaptive_granularity_vertical_merge/explain.txt b/parser/testdata/01712_no_adaptive_granularity_vertical_merge/explain.txt new file mode 100644 index 000000000..245f6d594 --- /dev/null +++ b/parser/testdata/01712_no_adaptive_granularity_vertical_merge/explain.txt @@ -0,0 +1,2 @@ +DropQuery old_school_table (children 1) + Identifier old_school_table diff --git a/parser/testdata/01713_table_ttl_old_syntax_zookeeper/explain.txt b/parser/testdata/01713_table_ttl_old_syntax_zookeeper/explain.txt new file mode 100644 index 000000000..b44fcf061 --- /dev/null +++ b/parser/testdata/01713_table_ttl_old_syntax_zookeeper/explain.txt @@ -0,0 +1,2 @@ +DropQuery ttl_table (children 1) + Identifier ttl_table diff --git a/parser/testdata/01714_alter_drop_version/explain.txt b/parser/testdata/01714_alter_drop_version/explain.txt new file mode 100644 index 000000000..7eb11f695 --- /dev/null +++ b/parser/testdata/01714_alter_drop_version/explain.txt @@ -0,0 +1,2 @@ +DropQuery alter_drop_version (children 1) + Identifier alter_drop_version diff --git a/parser/testdata/01715_background_checker_blather_zookeeper_long/explain.txt b/parser/testdata/01715_background_checker_blather_zookeeper_long/explain.txt new file mode 100644 index 000000000..d763fc326 --- /dev/null +++ b/parser/testdata/01715_background_checker_blather_zookeeper_long/explain.txt @@ -0,0 +1,2 @@ +DropQuery i20203_1 (children 1) + Identifier i20203_1 diff --git a/parser/testdata/01715_table_function_view_fix/explain.txt b/parser/testdata/01715_table_function_view_fix/explain.txt new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/parser/testdata/01715_table_function_view_fix/explain.txt @@ -0,0 +1 @@ + diff --git a/parser/testdata/01715_tuple_insert_null_as_default/explain.txt b/parser/testdata/01715_tuple_insert_null_as_default/explain.txt new file mode 100644 index 000000000..dacf88b92 --- /dev/null +++ b/parser/testdata/01715_tuple_insert_null_as_default/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'Tuple\' diff --git a/parser/testdata/01716_array_difference_overflow/explain.txt b/parser/testdata/01716_array_difference_overflow/explain.txt new file mode 100644 index 000000000..7415d4def --- /dev/null +++ b/parser/testdata/01716_array_difference_overflow/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayDifference (children 1) + ExpressionList (children 1) + Literal Array_[UInt64_65536, Int64_-9223372036854775808] diff --git a/parser/testdata/01716_decimal_comparison_ubsan/explain.txt b/parser/testdata/01716_decimal_comparison_ubsan/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01716_decimal_comparison_ubsan/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01716_drop_rename_sign_column/explain.txt b/parser/testdata/01716_drop_rename_sign_column/explain.txt new file mode 100644 index 000000000..0d149e4e7 --- /dev/null +++ b/parser/testdata/01716_drop_rename_sign_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery signed_table (children 1) + Identifier signed_table diff --git a/parser/testdata/01717_global_with_subquery_fix/explain.txt b/parser/testdata/01717_global_with_subquery_fix/explain.txt new file mode 100644 index 000000000..2315772a4 --- /dev/null +++ b/parser/testdata/01717_global_with_subquery_fix/explain.txt @@ -0,0 +1,77 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Subquery (alias withA) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function countDistinct (children 1) + ExpressionList (children 1) + Identifier colU + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tabA + Subquery (alias withB) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function countDistinct (children 1) + ExpressionList (children 1) + Identifier colU + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tabA + ExpressionList (children 1) + Function divide (alias ratio) (children 1) + ExpressionList (children 2) + Identifier withA + Identifier withB + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias main) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Identifier date (alias period) + Identifier colX + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias tempB) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Identifier date + Function if (alias colX) (children 1) + ExpressionList (children 3) + Function in (children 1) + ExpressionList (children 2) + Identifier colA + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier colB + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tabC + Literal UInt64_0 + Identifier colA + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier tabB + ExpressionList (children 2) + Identifier period + Identifier colX +The query succeeded but the server error '60' was expected (query: EXPLAIN AST WITH (SELECT count(distinct colU) from tabA) AS withA, (SELECT count(distinct colU) from tabA) AS withB SELECT withA / withB AS ratio FROM (SELECT date AS period, colX FROM (SELECT date, if(colA IN (SELECT colB FROM tabC), 0, colA) AS colX FROM tabB) AS tempB GROUP BY period, colX) AS main; -- {serverError UNKNOWN_TABLE}). diff --git a/parser/testdata/01717_int_div_float_too_large_ubsan/explain.txt b/parser/testdata/01717_int_div_float_too_large_ubsan/explain.txt new file mode 100644 index 000000000..052d3f2ac --- /dev/null +++ b/parser/testdata/01717_int_div_float_too_large_ubsan/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function intDiv (children 1) + ExpressionList (children 2) + Literal UInt64_18446744073709551615 + Literal Float64_0.9998999834060669 +The query succeeded but the server error '153' was expected (query: EXPLAIN AST SELECT intDiv(18446744073709551615, 0.9998999834060669); -- { serverError ILLEGAL_DIVISION }). diff --git a/parser/testdata/01718_subtract_seconds_date/explain.txt b/parser/testdata/01718_subtract_seconds_date/explain.txt new file mode 100644 index 000000000..ab9aa593d --- /dev/null +++ b/parser/testdata/01718_subtract_seconds_date/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function subtractSeconds (children 1) + ExpressionList (children 2) + Function toDate (children 1) + ExpressionList (children 1) + Literal \'2021-02-15\' + Literal UInt64_1 diff --git a/parser/testdata/01719_join_timezone/explain.txt b/parser/testdata/01719_join_timezone/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/01719_join_timezone/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/01720_constraints_complex_types/explain.txt b/parser/testdata/01720_constraints_complex_types/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01720_constraints_complex_types/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01720_dictionary_create_source_with_functions/explain.txt b/parser/testdata/01720_dictionary_create_source_with_functions/explain.txt new file mode 100644 index 000000000..2dc2417fd --- /dev/null +++ b/parser/testdata/01720_dictionary_create_source_with_functions/explain.txt @@ -0,0 +1,2 @@ +DropQuery 01720_dictionary_db (children 1) + Identifier 01720_dictionary_db diff --git a/parser/testdata/01720_engine_file_empty_if_not_exists/explain.txt b/parser/testdata/01720_engine_file_empty_if_not_exists/explain.txt new file mode 100644 index 000000000..bd49c2e07 --- /dev/null +++ b/parser/testdata/01720_engine_file_empty_if_not_exists/explain.txt @@ -0,0 +1,2 @@ +DropQuery file_engine_table (children 1) + Identifier file_engine_table diff --git a/parser/testdata/01720_type_map_and_casts/explain.txt b/parser/testdata/01720_type_map_and_casts/explain.txt new file mode 100644 index 000000000..3baaadd38 --- /dev/null +++ b/parser/testdata/01720_type_map_and_casts/explain.txt @@ -0,0 +1,2 @@ +DropQuery table_map_with_key_integer (children 1) + Identifier table_map_with_key_integer diff --git a/parser/testdata/01720_union_distinct_with_limit/explain.txt b/parser/testdata/01720_union_distinct_with_limit/explain.txt new file mode 100644 index 000000000..655a92ed5 --- /dev/null +++ b/parser/testdata/01720_union_distinct_with_limit/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/01721_constraints_constant_expressions/explain.txt b/parser/testdata/01721_constraints_constant_expressions/explain.txt new file mode 100644 index 000000000..5ec19f10b --- /dev/null +++ b/parser/testdata/01721_constraints_constant_expressions/explain.txt @@ -0,0 +1,2 @@ +DropQuery constraint_constant_number_expression (children 1) + Identifier constraint_constant_number_expression diff --git a/parser/testdata/01721_dictionary_decimal_p_s/explain.txt b/parser/testdata/01721_dictionary_decimal_p_s/explain.txt new file mode 100644 index 000000000..70fb16668 --- /dev/null +++ b/parser/testdata/01721_dictionary_decimal_p_s/explain.txt @@ -0,0 +1,2 @@ +DropQuery table_decimal_dict (children 1) + Identifier table_decimal_dict diff --git a/parser/testdata/01721_engine_file_truncate_on_insert/explain.txt b/parser/testdata/01721_engine_file_truncate_on_insert/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/01721_engine_file_truncate_on_insert/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/01730_distributed_group_by_no_merge_order_by_long/explain.txt b/parser/testdata/01730_distributed_group_by_no_merge_order_by_long/explain.txt new file mode 100644 index 000000000..218848d86 --- /dev/null +++ b/parser/testdata/01730_distributed_group_by_no_merge_order_by_long/explain.txt @@ -0,0 +1,2 @@ +DropQuery data_01730 (children 1) + Identifier data_01730 diff --git a/parser/testdata/01732_alters_bad_conversions/explain.txt b/parser/testdata/01732_alters_bad_conversions/explain.txt new file mode 100644 index 000000000..bb84e8401 --- /dev/null +++ b/parser/testdata/01732_alters_bad_conversions/explain.txt @@ -0,0 +1,2 @@ +DropQuery bad_conversions (children 1) + Identifier bad_conversions diff --git a/parser/testdata/01732_bigint_ubsan/explain.txt b/parser/testdata/01732_bigint_ubsan/explain.txt new file mode 100644 index 000000000..643ca595f --- /dev/null +++ b/parser/testdata/01732_bigint_ubsan/explain.txt @@ -0,0 +1,2 @@ +CreateQuery decimal (children 1) + Identifier decimal diff --git a/parser/testdata/01732_explain_syntax_union_query/metadata.json b/parser/testdata/01732_explain_syntax_union_query/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01732_explain_syntax_union_query/metadata.json +++ b/parser/testdata/01732_explain_syntax_union_query/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01732_more_consistent_datetime64_parsing/explain.txt b/parser/testdata/01732_more_consistent_datetime64_parsing/explain.txt new file mode 100644 index 000000000..5f6e23684 --- /dev/null +++ b/parser/testdata/01732_more_consistent_datetime64_parsing/explain.txt @@ -0,0 +1,11 @@ +CreateQuery t (children 2) + Identifier t + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration i (children 1) + DataType UInt8 + ColumnDeclaration x (children 1) + DataType DateTime64 (children 1) + ExpressionList (children 2) + Literal UInt64_3 + Literal \'UTC\' diff --git a/parser/testdata/01732_union_and_union_all/explain.txt b/parser/testdata/01732_union_and_union_all/explain.txt new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/parser/testdata/01732_union_and_union_all/explain.txt @@ -0,0 +1 @@ + diff --git a/parser/testdata/01733_transform_ubsan/explain.txt b/parser/testdata/01733_transform_ubsan/explain.txt new file mode 100644 index 000000000..3ec91d032 --- /dev/null +++ b/parser/testdata/01733_transform_ubsan/explain.txt @@ -0,0 +1,34 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayStringConcat (children 1) + ExpressionList (children 2) + Function arrayMap (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function transform (children 1) + ExpressionList (children 4) + Identifier x + Literal Array_[UInt64_1025, Int64_-9223372036854775808, UInt64_65537, UInt64_257, UInt64_1048576, UInt64_10, UInt64_7, UInt64_1048575, UInt64_65536] + Literal Array_[\'censor.net\', \'googlegooglegooglegoogle\', \'test\', \'\', \'\', \'hello\', \'world\', \'\', \'xyz\'] + Literal \'\' + Function arrayMap (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function modulo (children 1) + ExpressionList (children 2) + Identifier x + Literal Float64_-inf + Function range (children 1) + ExpressionList (children 1) + Identifier number + Literal \'\' diff --git a/parser/testdata/01734_datetime64_from_float/explain.txt b/parser/testdata/01734_datetime64_from_float/explain.txt new file mode 100644 index 000000000..29507195b --- /dev/null +++ b/parser/testdata/01734_datetime64_from_float/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Literal Float64_1111111111.222 + Literal \'DateTime64(3, \\\'Asia/Istanbul\\\')\' diff --git a/parser/testdata/01735_join_get_low_card_fix/explain.txt b/parser/testdata/01735_join_get_low_card_fix/explain.txt new file mode 100644 index 000000000..70b3caaaa --- /dev/null +++ b/parser/testdata/01735_join_get_low_card_fix/explain.txt @@ -0,0 +1,2 @@ +DropQuery join_tbl (children 1) + Identifier join_tbl diff --git a/parser/testdata/01735_to_datetime64/explain.txt b/parser/testdata/01735_to_datetime64/explain.txt new file mode 100644 index 000000000..8392e420e --- /dev/null +++ b/parser/testdata/01735_to_datetime64/explain.txt @@ -0,0 +1,21 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Function toDate (children 1) + ExpressionList (children 1) + Function toDateTime64 (children 1) + ExpressionList (children 3) + Function today (children 1) + ExpressionList + Literal UInt64_0 + Literal \'UTC\' + Function toDate (children 1) + ExpressionList (children 1) + Function toDateTime (children 1) + ExpressionList (children 2) + Function today (children 1) + ExpressionList + Literal \'UTC\' diff --git a/parser/testdata/01736_null_as_default/explain.txt b/parser/testdata/01736_null_as_default/explain.txt new file mode 100644 index 000000000..aeceff268 --- /dev/null +++ b/parser/testdata/01736_null_as_default/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_enum (children 1) + Identifier test_enum diff --git a/parser/testdata/01737_move_order_key_to_prewhere_select_final/explain.txt b/parser/testdata/01737_move_order_key_to_prewhere_select_final/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01737_move_order_key_to_prewhere_select_final/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01739_index_hint/explain.txt b/parser/testdata/01739_index_hint/explain.txt new file mode 100644 index 000000000..ff737eb65 --- /dev/null +++ b/parser/testdata/01739_index_hint/explain.txt @@ -0,0 +1,2 @@ +DropQuery tbl (children 1) + Identifier tbl diff --git a/parser/testdata/01744_tuple_cast_to_map_bugfix/explain.txt b/parser/testdata/01744_tuple_cast_to_map_bugfix/explain.txt new file mode 100644 index 000000000..6974b1e5d --- /dev/null +++ b/parser/testdata/01744_tuple_cast_to_map_bugfix/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function CAST (alias map) (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 2) + Literal Array_[\'1\', \'2\', \'3\'] + Literal Array_[\'Ready\', \'Steady\', \'Go\'] + Literal \'Map(UInt8, String)\' diff --git a/parser/testdata/01745_alter_delete_view/explain.txt b/parser/testdata/01745_alter_delete_view/explain.txt new file mode 100644 index 000000000..8bbb0d82b --- /dev/null +++ b/parser/testdata/01745_alter_delete_view/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_view (children 1) + Identifier test_view diff --git a/parser/testdata/01746_convert_type_with_default/explain.txt b/parser/testdata/01746_convert_type_with_default/explain.txt new file mode 100644 index 000000000..712ea2576 --- /dev/null +++ b/parser/testdata/01746_convert_type_with_default/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toUInt8OrDefault (children 1) + ExpressionList (children 2) + Literal \'1\' + Function CAST (children 1) + ExpressionList (children 2) + Literal UInt64_2 + Literal \'UInt8\' diff --git a/parser/testdata/01746_executable_pool_dictionary/explain.txt b/parser/testdata/01746_executable_pool_dictionary/explain.txt new file mode 100644 index 000000000..39d240088 --- /dev/null +++ b/parser/testdata/01746_executable_pool_dictionary/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'executable_pool_simple\' diff --git a/parser/testdata/01746_extract_text_from_html/explain.txt b/parser/testdata/01746_extract_text_from_html/explain.txt new file mode 100644 index 000000000..54a4093b7 --- /dev/null +++ b/parser/testdata/01746_extract_text_from_html/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function extractTextFromHTML (children 1) + ExpressionList (children 1) + Literal \'\' diff --git a/parser/testdata/01746_forbid_drop_column_referenced_by_mv/explain.txt b/parser/testdata/01746_forbid_drop_column_referenced_by_mv/explain.txt new file mode 100644 index 000000000..80f45d015 --- /dev/null +++ b/parser/testdata/01746_forbid_drop_column_referenced_by_mv/explain.txt @@ -0,0 +1,2 @@ +DropQuery 01746_merge_tree (children 1) + Identifier 01746_merge_tree diff --git a/parser/testdata/01746_lc_values_format_bug/explain.txt b/parser/testdata/01746_lc_values_format_bug/explain.txt new file mode 100644 index 000000000..0d26c1f05 --- /dev/null +++ b/parser/testdata/01746_lc_values_format_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery lc_test (children 1) + Identifier lc_test diff --git a/parser/testdata/01746_test_for_tupleElement_must_be_constant_issue/explain.txt b/parser/testdata/01746_test_for_tupleElement_must_be_constant_issue/explain.txt new file mode 100644 index 000000000..eda6c706f --- /dev/null +++ b/parser/testdata/01746_test_for_tupleElement_must_be_constant_issue/explain.txt @@ -0,0 +1,2 @@ +DropQuery ttt01746 (children 1) + Identifier ttt01746 diff --git a/parser/testdata/01747_alter_partition_key_enum_zookeeper_long/explain.txt b/parser/testdata/01747_alter_partition_key_enum_zookeeper_long/explain.txt new file mode 100644 index 000000000..fb34b22bc --- /dev/null +++ b/parser/testdata/01747_alter_partition_key_enum_zookeeper_long/explain.txt @@ -0,0 +1,2 @@ +DropQuery report (children 1) + Identifier report diff --git a/parser/testdata/01747_executable_pool_dictionary_implicit_key/explain.txt b/parser/testdata/01747_executable_pool_dictionary_implicit_key/explain.txt new file mode 100644 index 000000000..d7d6c8671 --- /dev/null +++ b/parser/testdata/01747_executable_pool_dictionary_implicit_key/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'executable_pool_simple_implicit_key\' diff --git a/parser/testdata/01747_join_view_filter_dictionary/explain.txt b/parser/testdata/01747_join_view_filter_dictionary/explain.txt new file mode 100644 index 000000000..3ec45bdb1 --- /dev/null +++ b/parser/testdata/01747_join_view_filter_dictionary/explain.txt @@ -0,0 +1,2 @@ +DropQuery summing_table01747 (children 1) + Identifier summing_table01747 diff --git a/parser/testdata/01747_transform_empty_arrays/explain.txt b/parser/testdata/01747_transform_empty_arrays/explain.txt new file mode 100644 index 000000000..b55818d6b --- /dev/null +++ b/parser/testdata/01747_transform_empty_arrays/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Asterisk diff --git a/parser/testdata/01748_dictionary_table_dot/explain.txt b/parser/testdata/01748_dictionary_table_dot/explain.txt new file mode 100644 index 000000000..f4f11b91d --- /dev/null +++ b/parser/testdata/01748_dictionary_table_dot/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_01748 (children 1) + Identifier test_01748 diff --git a/parser/testdata/01748_partition_id_pruning/explain.txt b/parser/testdata/01748_partition_id_pruning/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01748_partition_id_pruning/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01752_distributed_query_sigsegv/explain.txt b/parser/testdata/01752_distributed_query_sigsegv/explain.txt new file mode 100644 index 000000000..c5a0e22da --- /dev/null +++ b/parser/testdata/01752_distributed_query_sigsegv/explain.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function throwIf (children 1) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier dummy + Literal UInt64_0 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.1\' + Identifier system.one +The query succeeded but the server error '395' was expected (query: EXPLAIN AST SELECT throwIf(dummy = 0) FROM remote('127.1', system.one); -- { serverError FUNCTION_THROW_IF_VALUE_IS_NON_ZERO }). diff --git a/parser/testdata/01753_direct_dictionary_simple_key/explain.txt b/parser/testdata/01753_direct_dictionary_simple_key/explain.txt new file mode 100644 index 000000000..fedd745b7 --- /dev/null +++ b/parser/testdata/01753_direct_dictionary_simple_key/explain.txt @@ -0,0 +1,2 @@ +DropQuery 01753_dictionary_db (children 1) + Identifier 01753_dictionary_db diff --git a/parser/testdata/01753_mutate_table_predicated_with_table/explain.txt b/parser/testdata/01753_mutate_table_predicated_with_table/explain.txt new file mode 100644 index 000000000..06ef47e6d --- /dev/null +++ b/parser/testdata/01753_mutate_table_predicated_with_table/explain.txt @@ -0,0 +1,2 @@ +DropQuery mmm (children 1) + Identifier mmm diff --git a/parser/testdata/01754_cluster_all_replicas_shard_num/explain.txt b/parser/testdata/01754_cluster_all_replicas_shard_num/explain.txt new file mode 100644 index 000000000..9f377f6a4 --- /dev/null +++ b/parser/testdata/01754_cluster_all_replicas_shard_num/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier _shard_num + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function cluster (children 1) + ExpressionList (children 2) + Literal \'test_shard_localhost\' + Identifier system.one diff --git a/parser/testdata/01754_direct_dictionary_complex_key/explain.txt b/parser/testdata/01754_direct_dictionary_complex_key/explain.txt new file mode 100644 index 000000000..72d6e785f --- /dev/null +++ b/parser/testdata/01754_direct_dictionary_complex_key/explain.txt @@ -0,0 +1,2 @@ +DropQuery 01754_dictionary_db (children 1) + Identifier 01754_dictionary_db diff --git a/parser/testdata/01755_shard_pruning_with_literal/explain.txt b/parser/testdata/01755_shard_pruning_with_literal/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01755_shard_pruning_with_literal/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01756_optimize_skip_unused_shards_rewrite_in/explain.txt b/parser/testdata/01756_optimize_skip_unused_shards_rewrite_in/explain.txt new file mode 100644 index 000000000..79ca59dea --- /dev/null +++ b/parser/testdata/01756_optimize_skip_unused_shards_rewrite_in/explain.txt @@ -0,0 +1,2 @@ +DropQuery dist_01756 (children 1) + Identifier dist_01756 diff --git a/parser/testdata/01757_optimize_skip_unused_shards_limit/explain.txt b/parser/testdata/01757_optimize_skip_unused_shards_limit/explain.txt new file mode 100644 index 000000000..48f3aaa2c --- /dev/null +++ b/parser/testdata/01757_optimize_skip_unused_shards_limit/explain.txt @@ -0,0 +1,2 @@ +DropQuery dist_01757 (children 1) + Identifier dist_01757 diff --git a/parser/testdata/01759_dictionary_unique_attribute_names/explain.txt b/parser/testdata/01759_dictionary_unique_attribute_names/explain.txt new file mode 100644 index 000000000..1112700b8 --- /dev/null +++ b/parser/testdata/01759_dictionary_unique_attribute_names/explain.txt @@ -0,0 +1,2 @@ +DropQuery 01759_db (children 1) + Identifier 01759_db diff --git a/parser/testdata/01759_optimize_skip_unused_shards_zero_shards/explain.txt b/parser/testdata/01759_optimize_skip_unused_shards_zero_shards/explain.txt new file mode 100644 index 000000000..3c3437cd3 --- /dev/null +++ b/parser/testdata/01759_optimize_skip_unused_shards_zero_shards/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 4) + Literal \'127.{1,2}\' + Identifier system + Identifier one + Identifier dummy + Literal UInt64_0 + Set diff --git a/parser/testdata/01760_ddl_dictionary_use_current_database_name/explain.txt b/parser/testdata/01760_ddl_dictionary_use_current_database_name/explain.txt new file mode 100644 index 000000000..e8c8f8098 --- /dev/null +++ b/parser/testdata/01760_ddl_dictionary_use_current_database_name/explain.txt @@ -0,0 +1,2 @@ +DropQuery ddl_dictonary_test_source (children 1) + Identifier ddl_dictonary_test_source diff --git a/parser/testdata/01760_modulo_negative/explain.txt b/parser/testdata/01760_modulo_negative/explain.txt new file mode 100644 index 000000000..6075caa9f --- /dev/null +++ b/parser/testdata/01760_modulo_negative/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function modulo (children 1) + ExpressionList (children 2) + Function negate (children 1) + ExpressionList (children 1) + Identifier number + Literal Int64_-9223372036854775808 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers +The query succeeded but the server error '153' was expected (query: EXPLAIN AST SELECT -number % -9223372036854775808 FROM system.numbers; -- { serverError ILLEGAL_DIVISION }). diff --git a/parser/testdata/01760_polygon_dictionaries/explain.txt b/parser/testdata/01760_polygon_dictionaries/explain.txt new file mode 100644 index 000000000..bd91f6feb --- /dev/null +++ b/parser/testdata/01760_polygon_dictionaries/explain.txt @@ -0,0 +1,2 @@ +DropQuery 01760_db (children 1) + Identifier 01760_db diff --git a/parser/testdata/01760_system_dictionaries/explain.txt b/parser/testdata/01760_system_dictionaries/explain.txt new file mode 100644 index 000000000..bd91f6feb --- /dev/null +++ b/parser/testdata/01760_system_dictionaries/explain.txt @@ -0,0 +1,2 @@ +DropQuery 01760_db (children 1) + Identifier 01760_db diff --git a/parser/testdata/01761_alter_decimal_zookeeper_long/explain.txt b/parser/testdata/01761_alter_decimal_zookeeper_long/explain.txt new file mode 100644 index 000000000..fe0025052 --- /dev/null +++ b/parser/testdata/01761_alter_decimal_zookeeper_long/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_alter_decimal (children 1) + Identifier test_alter_decimal diff --git a/parser/testdata/01761_cast_to_enum_nullable/explain.txt b/parser/testdata/01761_cast_to_enum_nullable/explain.txt new file mode 100644 index 000000000..d9d6bd2fa --- /dev/null +++ b/parser/testdata/01761_cast_to_enum_nullable/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toUInt8 (children 1) + ExpressionList (children 1) + Function assumeNotNull (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Function CAST (children 1) + ExpressionList (children 2) + Literal NULL + Literal \'Nullable(String)\' + Literal \'Nullable(Enum8(\\\'Hello\\\' = 1))\' diff --git a/parser/testdata/01761_round_year_bounds/explain.txt b/parser/testdata/01761_round_year_bounds/explain.txt new file mode 100644 index 000000000..195d73c13 --- /dev/null +++ b/parser/testdata/01761_round_year_bounds/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toStartOfInterval (children 1) + ExpressionList (children 3) + Function toDateTime (children 1) + ExpressionList (children 1) + Literal Int64_-9223372036854775808 + Function toIntervalYear (children 1) + ExpressionList (children 1) + Literal UInt64_100 + Literal \'Asia/Istanbul\' + Identifier Null diff --git a/parser/testdata/01762_datetime64_extended_parsing/explain.txt b/parser/testdata/01762_datetime64_extended_parsing/explain.txt new file mode 100644 index 000000000..e9cff705e --- /dev/null +++ b/parser/testdata/01762_datetime64_extended_parsing/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toDateTime64 (children 1) + ExpressionList (children 2) + Literal \'1925-01-02 03:04:05.678901\' + Literal UInt64_6 diff --git a/parser/testdata/01762_deltasumtimestamp/explain.txt b/parser/testdata/01762_deltasumtimestamp/explain.txt new file mode 100644 index 000000000..d66c06532 --- /dev/null +++ b/parser/testdata/01762_deltasumtimestamp/explain.txt @@ -0,0 +1,72 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function deltaSumTimestampMerge (children 1) + ExpressionList (children 1) + Identifier state + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 2) + SelectQuery (children 2) + ExpressionList (children 1) + Function deltaSumTimestampState (alias state) (children 1) + ExpressionList (children 2) + Identifier value + Identifier timestamp + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function toDate (alias timestamp) (children 1) + ExpressionList (children 1) + Identifier number + Function arrayElement (alias value) (children 1) + ExpressionList (children 2) + Literal Array_[UInt64_4, UInt64_5, UInt64_5, UInt64_5] + Function minus (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_4 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 2) + Literal UInt64_5 + Literal UInt64_4 + SelectQuery (children 2) + ExpressionList (children 1) + Function deltaSumTimestampState (alias state) (children 1) + ExpressionList (children 2) + Identifier value + Identifier timestamp + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function toDate (alias timestamp) (children 1) + ExpressionList (children 1) + Identifier number + Function arrayElement (alias value) (children 1) + ExpressionList (children 2) + Literal Array_[UInt64_0, UInt64_4, UInt64_8, UInt64_3] + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal UInt64_4 diff --git a/parser/testdata/01763_filter_push_down_bugs/explain.txt b/parser/testdata/01763_filter_push_down_bugs/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01763_filter_push_down_bugs/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01763_long_ttl_group_by/explain.txt b/parser/testdata/01763_long_ttl_group_by/explain.txt new file mode 100644 index 000000000..b3bd57ba3 --- /dev/null +++ b/parser/testdata/01763_long_ttl_group_by/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_ttl_group_by01763 (children 1) + Identifier test_ttl_group_by01763 diff --git a/parser/testdata/01763_max_distributed_depth/explain.txt b/parser/testdata/01763_max_distributed_depth/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01763_max_distributed_depth/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01763_support_map_lowcardinality_type/explain.txt b/parser/testdata/01763_support_map_lowcardinality_type/explain.txt new file mode 100644 index 000000000..9e86e889a --- /dev/null +++ b/parser/testdata/01763_support_map_lowcardinality_type/explain.txt @@ -0,0 +1,2 @@ +DropQuery map_lc (children 1) + Identifier map_lc diff --git a/parser/testdata/01764_collapsing_merge_adaptive_granularity/explain.txt b/parser/testdata/01764_collapsing_merge_adaptive_granularity/explain.txt new file mode 100644 index 000000000..09bed0f20 --- /dev/null +++ b/parser/testdata/01764_collapsing_merge_adaptive_granularity/explain.txt @@ -0,0 +1,2 @@ +DropQuery collapsing_table (children 1) + Identifier collapsing_table diff --git a/parser/testdata/01764_prefer_column_name_to_alias/explain.txt b/parser/testdata/01764_prefer_column_name_to_alias/explain.txt new file mode 100644 index 000000000..11c487d20 --- /dev/null +++ b/parser/testdata/01764_prefer_column_name_to_alias/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function avg (alias number) (children 1) + ExpressionList (children 1) + Identifier number + Function max (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 +The query succeeded but the server error '184' was expected (query: EXPLAIN AST SELECT avg(number) AS number, max(number) FROM numbers(10); -- { serverError ILLEGAL_AGGREGATION }). diff --git a/parser/testdata/01764_table_function_dictionary/explain.txt b/parser/testdata/01764_table_function_dictionary/explain.txt new file mode 100644 index 000000000..6bb375a3d --- /dev/null +++ b/parser/testdata/01764_table_function_dictionary/explain.txt @@ -0,0 +1,2 @@ +DropQuery table_function_dictionary_source_table (children 1) + Identifier table_function_dictionary_source_table diff --git a/parser/testdata/01765_hashed_dictionary_simple_key/explain.txt b/parser/testdata/01765_hashed_dictionary_simple_key/explain.txt new file mode 100644 index 000000000..44b1df7b3 --- /dev/null +++ b/parser/testdata/01765_hashed_dictionary_simple_key/explain.txt @@ -0,0 +1,2 @@ +DropQuery 01765_db (children 1) + Identifier 01765_db diff --git a/parser/testdata/01765_move_to_table_overlapping_block_number/explain.txt b/parser/testdata/01765_move_to_table_overlapping_block_number/explain.txt new file mode 100644 index 000000000..63b96efd3 --- /dev/null +++ b/parser/testdata/01765_move_to_table_overlapping_block_number/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_src (children 1) + Identifier t_src diff --git a/parser/testdata/01765_tehran_dst/explain.txt b/parser/testdata/01765_tehran_dst/explain.txt new file mode 100644 index 000000000..3905f02f1 --- /dev/null +++ b/parser/testdata/01765_tehran_dst/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toTimeZone (children 1) + ExpressionList (children 2) + Function toDateTime (children 1) + ExpressionList (children 2) + Literal \'2021-03-22 18:45:11\' + Literal \'UTC\' + Literal \'Asia/Tehran\' diff --git a/parser/testdata/01766_hashed_dictionary_complex_key/explain.txt b/parser/testdata/01766_hashed_dictionary_complex_key/explain.txt new file mode 100644 index 000000000..f6ffbf478 --- /dev/null +++ b/parser/testdata/01766_hashed_dictionary_complex_key/explain.txt @@ -0,0 +1,2 @@ +DropQuery 01766_db (children 1) + Identifier 01766_db diff --git a/parser/testdata/01766_todatetime64_no_timezone_arg/explain.txt b/parser/testdata/01766_todatetime64_no_timezone_arg/explain.txt new file mode 100644 index 000000000..83f8fb8e1 --- /dev/null +++ b/parser/testdata/01766_todatetime64_no_timezone_arg/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toDateTime64 (children 1) + ExpressionList (children 2) + Literal \'2021-03-23\' + Literal UInt64_3 diff --git a/parser/testdata/01768_array_product/explain.txt b/parser/testdata/01768_array_product/explain.txt new file mode 100644 index 000000000..0a572bbfb --- /dev/null +++ b/parser/testdata/01768_array_product/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'Array product with constant column\' diff --git a/parser/testdata/01768_extended_range/explain.txt b/parser/testdata/01768_extended_range/explain.txt new file mode 100644 index 000000000..22c845f54 --- /dev/null +++ b/parser/testdata/01768_extended_range/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toYear (children 1) + ExpressionList (children 1) + Function toDateTime64 (children 1) + ExpressionList (children 3) + Literal \'1968-12-12 11:22:33\' + Literal UInt64_0 + Literal \'UTC\' diff --git a/parser/testdata/01769_extended_range_2/explain.txt b/parser/testdata/01769_extended_range_2/explain.txt new file mode 100644 index 000000000..db073fd15 --- /dev/null +++ b/parser/testdata/01769_extended_range_2/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toDateTime64 (children 1) + ExpressionList (children 3) + Literal \'1969-12-31 18:00:12\' + Literal UInt64_0 + Literal \'America/Phoenix\' diff --git a/parser/testdata/01770_add_months_ubsan/explain.txt b/parser/testdata/01770_add_months_ubsan/explain.txt new file mode 100644 index 000000000..61e1a4ec5 --- /dev/null +++ b/parser/testdata/01770_add_months_ubsan/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function ignore (children 1) + ExpressionList (children 1) + Function plus (children 1) + ExpressionList (children 2) + Function now (children 1) + ExpressionList + Function toIntervalMonth (children 1) + ExpressionList (children 1) + Literal UInt64_9223372036854775807 diff --git a/parser/testdata/01770_extended_range_3/explain.txt b/parser/testdata/01770_extended_range_3/explain.txt new file mode 100644 index 000000000..24bf757ce --- /dev/null +++ b/parser/testdata/01770_extended_range_3/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function addHours (children 1) + ExpressionList (children 2) + Function toDateTime64 (children 1) + ExpressionList (children 3) + Literal \'1984-03-31 23:00:00\' + Literal UInt64_0 + Literal \'Asia/Novosibirsk\' + Literal UInt64_8 diff --git a/parser/testdata/01771_bloom_filter_not_has/explain.txt b/parser/testdata/01771_bloom_filter_not_has/explain.txt new file mode 100644 index 000000000..d83089687 --- /dev/null +++ b/parser/testdata/01771_bloom_filter_not_has/explain.txt @@ -0,0 +1,2 @@ +DropQuery bloom_filter_null_array (children 1) + Identifier bloom_filter_null_array diff --git a/parser/testdata/01771_datetime64_no_time_part/explain.txt b/parser/testdata/01771_datetime64_no_time_part/explain.txt new file mode 100644 index 000000000..40bacece2 --- /dev/null +++ b/parser/testdata/01771_datetime64_no_time_part/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toDateTime64 (children 1) + ExpressionList (children 3) + Literal \'1985-03-31\' + Literal UInt64_0 + Literal \'Europe/Helsinki\' diff --git a/parser/testdata/01772_intdiv_minus_one_ubsan/explain.txt b/parser/testdata/01772_intdiv_minus_one_ubsan/explain.txt new file mode 100644 index 000000000..c3251aaf9 --- /dev/null +++ b/parser/testdata/01772_intdiv_minus_one_ubsan/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function intDiv (children 1) + ExpressionList (children 2) + Function toInt64 (children 1) + ExpressionList (children 1) + Identifier number + Literal Int64_-1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 2) + Literal UInt64_9223372036854775807 + Literal UInt64_10 diff --git a/parser/testdata/01772_to_start_of_hour_align/explain.txt b/parser/testdata/01772_to_start_of_hour_align/explain.txt new file mode 100644 index 000000000..afd2405d6 --- /dev/null +++ b/parser/testdata/01772_to_start_of_hour_align/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toStartOfInterval (children 1) + ExpressionList (children 2) + Function toDateTime (children 1) + ExpressionList (children 1) + Literal \'2021-03-23 03:58:00\' + Function toIntervalHour (children 1) + ExpressionList (children 1) + Literal UInt64_11 diff --git a/parser/testdata/01773_case_sensitive_revision/explain.txt b/parser/testdata/01773_case_sensitive_revision/explain.txt new file mode 100644 index 000000000..5d3f5779b --- /dev/null +++ b/parser/testdata/01773_case_sensitive_revision/explain.txt @@ -0,0 +1,22 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Function revision (children 1) + ExpressionList + Function Revision (children 1) + ExpressionList + Function equals (children 1) + ExpressionList (children 2) + Function REVISION (children 1) + ExpressionList + Function Revision (children 1) + ExpressionList + Function equals (children 1) + ExpressionList (children 2) + Function revisiON (children 1) + ExpressionList + Function reVision (children 1) + ExpressionList diff --git a/parser/testdata/01773_case_sensitive_version/explain.txt b/parser/testdata/01773_case_sensitive_version/explain.txt new file mode 100644 index 000000000..67194cdbb --- /dev/null +++ b/parser/testdata/01773_case_sensitive_version/explain.txt @@ -0,0 +1,22 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Function version (children 1) + ExpressionList + Function Version (children 1) + ExpressionList + Function equals (children 1) + ExpressionList (children 2) + Function VERSION (children 1) + ExpressionList + Function Version (children 1) + ExpressionList + Function equals (children 1) + ExpressionList (children 2) + Function vErSiOn (children 1) + ExpressionList + Function VeRsIoN (children 1) + ExpressionList diff --git a/parser/testdata/01773_datetime64_add_ubsan/explain.txt b/parser/testdata/01773_datetime64_add_ubsan/explain.txt new file mode 100644 index 000000000..6b72e0425 --- /dev/null +++ b/parser/testdata/01773_datetime64_add_ubsan/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function ignore (children 1) + ExpressionList (children 1) + Function addHours (children 1) + ExpressionList (children 2) + Function now64 (children 1) + ExpressionList (children 1) + Literal UInt64_3 + Literal Float64_inf + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_2 +The query succeeded but the server error '407' was expected (query: EXPLAIN AST SELECT ignore(addHours(now64(3), inf)) FROM numbers(2); -- { serverError DECIMAL_OVERFLOW }). diff --git a/parser/testdata/01773_min_max_time_system_parts_datetime64/explain.txt b/parser/testdata/01773_min_max_time_system_parts_datetime64/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/01773_min_max_time_system_parts_datetime64/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/01774_bar_with_illegal_value/explain.txt b/parser/testdata/01774_bar_with_illegal_value/explain.txt new file mode 100644 index 000000000..814769c8c --- /dev/null +++ b/parser/testdata/01774_bar_with_illegal_value/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function minus (children 1) + ExpressionList (children 2) + Function greatCircleAngle (children 1) + ExpressionList (children 4) + Literal UInt64_1048575 + Literal UInt64_257 + Literal Int64_-9223372036854775808 + Literal UInt64_1048576 + Literal NULL + Function bar (children 1) + ExpressionList (children 3) + Literal UInt64_7 + Literal Float64_-inf + Literal UInt64_1024 +The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT greatCircleAngle(1048575, 257, -9223372036854775808, 1048576) - NULL, bar(7, -inf, 1024); -- { serverError BAD_ARGUMENTS } ). diff --git a/parser/testdata/01774_case_sensitive_connection_id/explain.txt b/parser/testdata/01774_case_sensitive_connection_id/explain.txt new file mode 100644 index 000000000..709ca5493 --- /dev/null +++ b/parser/testdata/01774_case_sensitive_connection_id/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 6) + Function connection_id (children 1) + ExpressionList + Function CONNECTION_ID (children 1) + ExpressionList + Function CoNnEcTiOn_Id (children 1) + ExpressionList + Function connectionid (children 1) + ExpressionList + Function CONNECTIONID (children 1) + ExpressionList + Function CoNnEcTiOnId (children 1) + ExpressionList diff --git a/parser/testdata/01774_ip_address_in_range/explain.txt b/parser/testdata/01774_ip_address_in_range/explain.txt new file mode 100644 index 000000000..617308343 --- /dev/null +++ b/parser/testdata/01774_ip_address_in_range/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'# Invocation with constants\' diff --git a/parser/testdata/01774_ip_address_in_range_2/explain.txt b/parser/testdata/01774_ip_address_in_range_2/explain.txt new file mode 100644 index 000000000..617308343 --- /dev/null +++ b/parser/testdata/01774_ip_address_in_range_2/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'# Invocation with constants\' diff --git a/parser/testdata/01774_tuple_null_in/explain.txt b/parser/testdata/01774_tuple_null_in/explain.txt new file mode 100644 index 000000000..412338942 --- /dev/null +++ b/parser/testdata/01774_tuple_null_in/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function in (children 1) + ExpressionList (children 2) + Literal Tuple_(NULL, NULL) + Literal Tuple_(Tuple_(NULL, UInt64_0), Tuple_(UInt64_3, UInt64_1), Tuple_(UInt64_3, UInt64_2), Tuple_(UInt64_8, UInt64_0), Tuple_(NULL, NULL)) diff --git a/parser/testdata/01776_decrypt_aead_size_check/explain.txt b/parser/testdata/01776_decrypt_aead_size_check/explain.txt new file mode 100644 index 000000000..587140409 --- /dev/null +++ b/parser/testdata/01776_decrypt_aead_size_check/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function decrypt (children 1) + ExpressionList (children 4) + Literal \'aes-128-gcm\' + Literal \'text\' + Literal \'key\' + Literal \'IV\' +The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT decrypt('aes-128-gcm', 'text', 'key', 'IV'); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/01777_map_populate_series_ubsan/explain.txt b/parser/testdata/01777_map_populate_series_ubsan/explain.txt new file mode 100644 index 000000000..1740ea2e8 --- /dev/null +++ b/parser/testdata/01777_map_populate_series_ubsan/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function mapPopulateSeries (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList (children 2) + Literal Int64_-9223372036854775808 + Function toUInt32 (children 1) + ExpressionList (children 1) + Literal UInt64_2 + Function array (children 1) + ExpressionList (children 2) + Function toUInt32 (children 1) + ExpressionList (children 1) + Literal UInt64_1023 + Literal Int64_-1 +The query succeeded but the server error '128' was expected (query: EXPLAIN AST SELECT mapPopulateSeries([-9223372036854775808, toUInt32(2)], [toUInt32(1023), -1]); -- { serverError TOO_LARGE_ARRAY_SIZE }). diff --git a/parser/testdata/01778_hierarchical_dictionaries/explain.txt b/parser/testdata/01778_hierarchical_dictionaries/explain.txt new file mode 100644 index 000000000..771b480ca --- /dev/null +++ b/parser/testdata/01778_hierarchical_dictionaries/explain.txt @@ -0,0 +1,2 @@ +DropQuery 01778_db (children 1) + Identifier 01778_db diff --git a/parser/testdata/01778_mmap_cache_infra/explain.txt b/parser/testdata/01778_mmap_cache_infra/explain.txt new file mode 100644 index 000000000..1684cb9d8 --- /dev/null +++ b/parser/testdata/01778_mmap_cache_infra/explain.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/01778_test_LowCardinality_FixedString_pk/explain.txt b/parser/testdata/01778_test_LowCardinality_FixedString_pk/explain.txt new file mode 100644 index 000000000..9667763cc --- /dev/null +++ b/parser/testdata/01778_test_LowCardinality_FixedString_pk/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_01778 (children 1) + Identifier test_01778 diff --git a/parser/testdata/01778_where_with_column_name/explain.txt b/parser/testdata/01778_where_with_column_name/explain.txt new file mode 100644 index 000000000..c554b0cd4 --- /dev/null +++ b/parser/testdata/01778_where_with_column_name/explain.txt @@ -0,0 +1,2 @@ +DropQuery ttt01778 (children 1) + Identifier ttt01778 diff --git a/parser/testdata/01779_quantile_deterministic_msan/explain.txt b/parser/testdata/01779_quantile_deterministic_msan/explain.txt new file mode 100644 index 000000000..41bdd0ce9 --- /dev/null +++ b/parser/testdata/01779_quantile_deterministic_msan/explain.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function cityHash64 (children 1) + ExpressionList (children 1) + Function toString (children 1) + ExpressionList (children 1) + Function quantileDeterministicState (children 1) + ExpressionList (children 2) + Identifier number + Function sipHash64 (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_8193 diff --git a/parser/testdata/01780_clickhouse_dictionary_source_loop/explain.txt b/parser/testdata/01780_clickhouse_dictionary_source_loop/explain.txt new file mode 100644 index 000000000..3de112834 --- /dev/null +++ b/parser/testdata/01780_clickhouse_dictionary_source_loop/explain.txt @@ -0,0 +1,2 @@ +DropQuery 01780_db (children 1) + Identifier 01780_db diff --git a/parser/testdata/01780_column_sparse/explain.txt b/parser/testdata/01780_column_sparse/explain.txt new file mode 100644 index 000000000..b2b4af160 --- /dev/null +++ b/parser/testdata/01780_column_sparse/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_sparse (children 1) + Identifier t_sparse diff --git a/parser/testdata/01780_column_sparse_alter/explain.txt b/parser/testdata/01780_column_sparse_alter/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01780_column_sparse_alter/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01780_column_sparse_distinct/explain.txt b/parser/testdata/01780_column_sparse_distinct/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01780_column_sparse_distinct/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01780_column_sparse_filter/explain.txt b/parser/testdata/01780_column_sparse_filter/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01780_column_sparse_filter/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01780_column_sparse_full/explain.txt b/parser/testdata/01780_column_sparse_full/explain.txt new file mode 100644 index 000000000..3dc3a6ad8 --- /dev/null +++ b/parser/testdata/01780_column_sparse_full/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_sparse_full (children 1) + Identifier t_sparse_full diff --git a/parser/testdata/01780_column_sparse_materialize/explain.txt b/parser/testdata/01780_column_sparse_materialize/explain.txt new file mode 100644 index 000000000..5bb992d2e --- /dev/null +++ b/parser/testdata/01780_column_sparse_materialize/explain.txt @@ -0,0 +1,2 @@ +DropQuery sparse_t (children 1) + Identifier sparse_t diff --git a/parser/testdata/01780_column_sparse_pk/explain.txt b/parser/testdata/01780_column_sparse_pk/explain.txt new file mode 100644 index 000000000..0fe82d537 --- /dev/null +++ b/parser/testdata/01780_column_sparse_pk/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_sparse_pk (children 1) + Identifier t_sparse_pk diff --git a/parser/testdata/01780_column_sparse_tuple/explain.txt b/parser/testdata/01780_column_sparse_tuple/explain.txt new file mode 100644 index 000000000..d8b10f797 --- /dev/null +++ b/parser/testdata/01780_column_sparse_tuple/explain.txt @@ -0,0 +1,2 @@ +DropQuery sparse_tuple (children 1) + Identifier sparse_tuple diff --git a/parser/testdata/01780_dict_get_or_null/explain.txt b/parser/testdata/01780_dict_get_or_null/explain.txt new file mode 100644 index 000000000..1524fb7d0 --- /dev/null +++ b/parser/testdata/01780_dict_get_or_null/explain.txt @@ -0,0 +1,2 @@ +DropQuery simple_key_dictionary_source_table (children 1) + Identifier simple_key_dictionary_source_table diff --git a/parser/testdata/01780_range_msan/explain.txt b/parser/testdata/01780_range_msan/explain.txt new file mode 100644 index 000000000..7db6ddc53 --- /dev/null +++ b/parser/testdata/01780_range_msan/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function range (children 1) + ExpressionList (children 2) + Function toUInt256 (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Literal UInt64_1 +The query succeeded but the server error '44' was expected (query: EXPLAIN AST SELECT range(toUInt256(1), 1); -- { serverError ILLEGAL_COLUMN }). diff --git a/parser/testdata/01781_map_op_ubsan/explain.txt b/parser/testdata/01781_map_op_ubsan/explain.txt new file mode 100644 index 000000000..e747a7f59 --- /dev/null +++ b/parser/testdata/01781_map_op_ubsan/explain.txt @@ -0,0 +1,96 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 5) + Function toInt32 (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList (children 1) + Function toUInt8 (children 1) + ExpressionList (children 1) + Literal NULL + Literal NULL + Function tuple (children 1) + ExpressionList (children 2) + Function mapSubtract (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList (children 2) + Function toUInt8 (children 1) + ExpressionList (children 1) + Literal UInt64_256 + Literal UInt64_10 + Function array (children 1) + ExpressionList (children 2) + Function toInt32 (children 1) + ExpressionList (children 1) + Literal Int64_-9223372036854775808 + Literal UInt64_1025 + Function tuple (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList (children 2) + Function toUInt8 (children 1) + ExpressionList (children 1) + Literal UInt64_65535 + Literal UInt64_0 + Function array (children 1) + ExpressionList (children 2) + Function toInt16 (children 1) + ExpressionList (children 1) + Literal Float64_0 + Literal Int64_-9223372036854775808 + Function array (children 1) + ExpressionList (children 2) + Function toUInt8 (children 1) + ExpressionList (children 1) + Literal Int64_-1 + Function toInt32 (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList (children 2) + Function toUInt8 (children 1) + ExpressionList (children 1) + Literal UInt64_9223372036854775807 + Literal Int64_-1 + Function array (children 1) + ExpressionList (children 2) + Function toInt32 (children 1) + ExpressionList (children 1) + Literal UInt64_255 + Literal UInt64_65536 + Literal NULL + Function toUInt8 (children 1) + ExpressionList (children 3) + Function tuple (children 1) + ExpressionList (children 2) + Literal Array_[UInt64_2, UInt64_9223372036854775807] + Function array (children 1) + ExpressionList (children 2) + Function toFloat32 (children 1) + ExpressionList (children 1) + Literal \'0.0000065536\' + Literal UInt64_2 + Literal UInt64_9223372036854775807 + Literal NULL + Function tuple (children 1) + ExpressionList (children 3) + Function array (children 1) + ExpressionList (children 2) + Function toUInt8 (children 1) + ExpressionList (children 1) + Literal UInt64_1024 + Literal UInt64_255 + Function toUInt8 (children 1) + ExpressionList (children 1) + Literal UInt64_3 + Function array (children 1) + ExpressionList (children 1) + Function toInt16 (children 1) + ExpressionList (children 1) + Literal Int64_-2 + Literal Array_[NULL] diff --git a/parser/testdata/01781_merge_tree_deduplication/explain.txt b/parser/testdata/01781_merge_tree_deduplication/explain.txt new file mode 100644 index 000000000..0ffa9a91d --- /dev/null +++ b/parser/testdata/01781_merge_tree_deduplication/explain.txt @@ -0,0 +1,2 @@ +DropQuery merge_tree_deduplication (children 1) + Identifier merge_tree_deduplication diff --git a/parser/testdata/01781_token_extractor_buffer_overflow/explain.txt b/parser/testdata/01781_token_extractor_buffer_overflow/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01781_token_extractor_buffer_overflow/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01782_field_oom/explain.txt b/parser/testdata/01782_field_oom/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01782_field_oom/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01783_merge_engine_join_key_condition/explain.txt b/parser/testdata/01783_merge_engine_join_key_condition/explain.txt new file mode 100644 index 000000000..275941d99 --- /dev/null +++ b/parser/testdata/01783_merge_engine_join_key_condition/explain.txt @@ -0,0 +1,2 @@ +DropQuery foo (children 1) + Identifier foo diff --git a/parser/testdata/01784_parallel_formatting_memory/explain.txt b/parser/testdata/01784_parallel_formatting_memory/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01784_parallel_formatting_memory/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01785_dictionary_element_count/explain.txt b/parser/testdata/01785_dictionary_element_count/explain.txt new file mode 100644 index 000000000..719ff89c0 --- /dev/null +++ b/parser/testdata/01785_dictionary_element_count/explain.txt @@ -0,0 +1,2 @@ +DropQuery 01785_db (children 1) + Identifier 01785_db diff --git a/parser/testdata/01785_pmj_lc_bug/explain.txt b/parser/testdata/01785_pmj_lc_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01785_pmj_lc_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01786_group_by_pk_many_streams/explain.txt b/parser/testdata/01786_group_by_pk_many_streams/explain.txt new file mode 100644 index 000000000..9aa2bfe9e --- /dev/null +++ b/parser/testdata/01786_group_by_pk_many_streams/explain.txt @@ -0,0 +1,2 @@ +DropQuery group_by_pk (children 1) + Identifier group_by_pk diff --git a/parser/testdata/01787_arena_assert_column_nothing/explain.txt b/parser/testdata/01787_arena_assert_column_nothing/explain.txt new file mode 100644 index 000000000..44c4cd0e6 --- /dev/null +++ b/parser/testdata/01787_arena_assert_column_nothing/explain.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Literal UInt64_1 + ExpressionList (children 1) + Function emptyArrayToSingle (children 1) + ExpressionList (children 1) + Function arrayFilter (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Literal UInt64_1 + Function array (children 1) + ExpressionList diff --git a/parser/testdata/01787_map_remote/explain.txt b/parser/testdata/01787_map_remote/explain.txt new file mode 100644 index 000000000..ac3636b21 --- /dev/null +++ b/parser/testdata/01787_map_remote/explain.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function map (children 1) + ExpressionList (children 4) + Literal \'a\' + Literal UInt64_1 + Literal \'b\' + Literal UInt64_2 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 3) + Literal \'127.0.0.{1,2}\' + Identifier system + Identifier one diff --git a/parser/testdata/01788_update_nested_type_subcolumn_check/explain.txt b/parser/testdata/01788_update_nested_type_subcolumn_check/explain.txt new file mode 100644 index 000000000..9a4bf9960 --- /dev/null +++ b/parser/testdata/01788_update_nested_type_subcolumn_check/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_wide_nested (children 1) + Identifier test_wide_nested diff --git a/parser/testdata/01790_dist_INSERT_block_structure_mismatch_types_and_names/explain.txt b/parser/testdata/01790_dist_INSERT_block_structure_mismatch_types_and_names/explain.txt new file mode 100644 index 000000000..3ea4155e8 --- /dev/null +++ b/parser/testdata/01790_dist_INSERT_block_structure_mismatch_types_and_names/explain.txt @@ -0,0 +1,2 @@ +DropQuery tmp_01781 (children 1) + Identifier tmp_01781 diff --git a/parser/testdata/01795_TinyLog_rwlock_ub/explain.txt b/parser/testdata/01795_TinyLog_rwlock_ub/explain.txt new file mode 100644 index 000000000..d9c0dfc4e --- /dev/null +++ b/parser/testdata/01795_TinyLog_rwlock_ub/explain.txt @@ -0,0 +1,2 @@ +DropQuery underlying_01795 (children 1) + Identifier underlying_01795 diff --git a/parser/testdata/01796_Log_rwlock_ub/explain.txt b/parser/testdata/01796_Log_rwlock_ub/explain.txt new file mode 100644 index 000000000..669387da1 --- /dev/null +++ b/parser/testdata/01796_Log_rwlock_ub/explain.txt @@ -0,0 +1,2 @@ +DropQuery underlying_01796 (children 1) + Identifier underlying_01796 diff --git a/parser/testdata/01797_StripeLog_rwlock_ub/explain.txt b/parser/testdata/01797_StripeLog_rwlock_ub/explain.txt new file mode 100644 index 000000000..0e5bd7673 --- /dev/null +++ b/parser/testdata/01797_StripeLog_rwlock_ub/explain.txt @@ -0,0 +1,2 @@ +DropQuery underlying_01797 (children 1) + Identifier underlying_01797 diff --git a/parser/testdata/01798_having_push_down/explain.txt b/parser/testdata/01798_having_push_down/explain.txt new file mode 100644 index 000000000..4b278eb78 --- /dev/null +++ b/parser/testdata/01798_having_push_down/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_having (children 1) + Identifier t_having diff --git a/parser/testdata/01798_uniq_theta_sketch/explain.txt b/parser/testdata/01798_uniq_theta_sketch/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01798_uniq_theta_sketch/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01798_uniq_theta_union_intersect_not/explain.txt b/parser/testdata/01798_uniq_theta_union_intersect_not/explain.txt new file mode 100644 index 000000000..79bb547f6 --- /dev/null +++ b/parser/testdata/01798_uniq_theta_union_intersect_not/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'uniqTheta union test\' diff --git a/parser/testdata/01799_long_uniq_theta_sketch/explain.txt b/parser/testdata/01799_long_uniq_theta_sketch/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01799_long_uniq_theta_sketch/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01800_log_nested/explain.txt b/parser/testdata/01800_log_nested/explain.txt new file mode 100644 index 000000000..c961113a6 --- /dev/null +++ b/parser/testdata/01800_log_nested/explain.txt @@ -0,0 +1,2 @@ +DropQuery nested_01800_tiny_log (children 1) + Identifier nested_01800_tiny_log diff --git a/parser/testdata/01801_approx_total_rows_mergetree_reverse/explain.txt b/parser/testdata/01801_approx_total_rows_mergetree_reverse/explain.txt new file mode 100644 index 000000000..3b70a5414 --- /dev/null +++ b/parser/testdata/01801_approx_total_rows_mergetree_reverse/explain.txt @@ -0,0 +1,2 @@ +DropQuery data_01801 (children 1) + Identifier data_01801 diff --git a/parser/testdata/01801_dateDiff_DateTime64/explain.txt b/parser/testdata/01801_dateDiff_DateTime64/explain.txt new file mode 100644 index 000000000..63f44389e --- /dev/null +++ b/parser/testdata/01801_dateDiff_DateTime64/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function dateDiff (children 1) + ExpressionList (children 3) + Literal \'second\' + Function toDateTime64 (children 1) + ExpressionList (children 3) + Literal \'1927-01-01 00:00:00\' + Literal UInt64_0 + Literal \'UTC\' + Function toDateTime64 (children 1) + ExpressionList (children 3) + Literal \'1927-01-01 00:00:10\' + Literal UInt64_0 + Literal \'UTC\' diff --git a/parser/testdata/01801_distinct_group_by_shard/explain.txt b/parser/testdata/01801_distinct_group_by_shard/explain.txt new file mode 100644 index 000000000..5b026ef1c --- /dev/null +++ b/parser/testdata/01801_distinct_group_by_shard/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier a + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.0.0.{1,2,3}\' + Function values (children 1) + ExpressionList (children 3) + Literal \'a UInt8, b UInt8\' + Literal Tuple_(UInt64_1, UInt64_2) + Literal Tuple_(UInt64_1, UInt64_3) + ExpressionList (children 2) + Identifier a + Identifier b diff --git a/parser/testdata/01801_s3_cluster/explain.txt b/parser/testdata/01801_s3_cluster/explain.txt new file mode 100644 index 000000000..b48993521 --- /dev/null +++ b/parser/testdata/01801_s3_cluster/explain.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function s3 (children 1) + ExpressionList (children 1) + Literal \'http://localhost:11111/test/{a,b,c}.tsv\' + ExpressionList (children 3) + OrderByElement (children 1) + Identifier c1 + OrderByElement (children 1) + Identifier c2 + OrderByElement (children 1) + Identifier c3 diff --git a/parser/testdata/01801_s3_cluster_count/explain.txt b/parser/testdata/01801_s3_cluster_count/explain.txt new file mode 100644 index 000000000..2125dc4e2 --- /dev/null +++ b/parser/testdata/01801_s3_cluster_count/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function COUNT (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function s3Cluster (children 1) + ExpressionList (children 2) + Literal \'test_cluster_two_shards_localhost\' + Literal \'http://localhost:11111/test/{a,b,c}.tsv\' diff --git a/parser/testdata/01802_formatDateTime_DateTime64_century/explain.txt b/parser/testdata/01802_formatDateTime_DateTime64_century/explain.txt new file mode 100644 index 000000000..83471ed39 --- /dev/null +++ b/parser/testdata/01802_formatDateTime_DateTime64_century/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function formatDateTime (children 1) + ExpressionList (children 2) + Function toDateTime64 (children 1) + ExpressionList (children 3) + Literal \'1935-12-12 12:12:12\' + Literal UInt64_0 + Literal \'Asia/Istanbul\' + Literal \'%C\' diff --git a/parser/testdata/01802_rank_corr_mann_whitney_over_window/explain.txt b/parser/testdata/01802_rank_corr_mann_whitney_over_window/explain.txt new file mode 100644 index 000000000..e8a8c4981 --- /dev/null +++ b/parser/testdata/01802_rank_corr_mann_whitney_over_window/explain.txt @@ -0,0 +1,2 @@ +DropQuery 01802_empsalary (children 1) + Identifier 01802_empsalary diff --git a/parser/testdata/01802_toDateTime64_large_values/explain.txt b/parser/testdata/01802_toDateTime64_large_values/explain.txt new file mode 100644 index 000000000..187cc8064 --- /dev/null +++ b/parser/testdata/01802_toDateTime64_large_values/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toDateTime64 (children 1) + ExpressionList (children 3) + Literal \'2205-12-12 12:12:12\' + Literal UInt64_0 + Literal \'UTC\' diff --git a/parser/testdata/01803_const_nullable_map/explain.txt b/parser/testdata/01803_const_nullable_map/explain.txt new file mode 100644 index 000000000..e4fb54339 --- /dev/null +++ b/parser/testdata/01803_const_nullable_map/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_map_null (children 1) + Identifier t_map_null diff --git a/parser/testdata/01803_untuple_subquery/explain.txt b/parser/testdata/01803_untuple_subquery/explain.txt new file mode 100644 index 000000000..44d2179a1 --- /dev/null +++ b/parser/testdata/01803_untuple_subquery/explain.txt @@ -0,0 +1,64 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 5) + Literal Tuple_(Float64_0.5, \'92233720368547758.07\', NULL) + Literal \'\' + Literal \'1.00\' + Function untuple (children 1) + ExpressionList (children 1) + Literal Tuple_(\'256\', NULL) + Literal NULL + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 7) + Function untuple (children 1) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList (children 4) + Function tuple (children 1) + ExpressionList (children 2) + Literal NULL + Function untuple (children 1) + ExpressionList (children 1) + Literal Tuple_(Tuple_(\'0.0000000100\', Tuple_(UInt64_65536, NULL, Tuple_(UInt64_65535, UInt64_9223372036854775807), \'25.7\', Tuple_(Float64_0.00009999999747378752, \'10.25\', UInt64_1048577), UInt64_65536)), \'0.0000001024\', \'65537\', NULL) + Function untuple (children 1) + ExpressionList (children 1) + Literal Tuple_(UInt64_9223372036854775807, Float64_-inf, Float64_0.5) + Literal NULL + Literal Int64_-9223372036854775808 + Literal UInt64_257 + Literal UInt64_7 + Function tuple (children 1) + ExpressionList (children 2) + Literal \'0.0001048575\' + Function tuple (children 1) + ExpressionList (children 5) + Literal UInt64_1024 + Literal NULL + Literal Tuple_(UInt64_7, UInt64_3) + Function tuple (children 1) + ExpressionList (children 4) + Function untuple (children 1) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList (children 1) + Function negate (children 1) + ExpressionList (children 1) + Literal NULL + Literal NULL + Literal \'0.0001048577\' + Literal NULL + Literal UInt64_0 + Literal UInt64_0 + Literal Tuple_(UInt64_0, Float64_0.9998999834060669, \'65537\') + Function untuple (children 1) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList (children 1) + Literal \'10.25\' diff --git a/parser/testdata/01804_dictionary_decimal256_type/explain.txt b/parser/testdata/01804_dictionary_decimal256_type/explain.txt new file mode 100644 index 000000000..0610b4066 --- /dev/null +++ b/parser/testdata/01804_dictionary_decimal256_type/explain.txt @@ -0,0 +1,2 @@ +DropQuery dictionary_decimal_source_table (children 1) + Identifier dictionary_decimal_source_table diff --git a/parser/testdata/01804_uniq_up_to_ubsan/explain.txt b/parser/testdata/01804_uniq_up_to_ubsan/explain.txt new file mode 100644 index 000000000..bbeaede3d --- /dev/null +++ b/parser/testdata/01804_uniq_up_to_ubsan/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function uniqUpTo (children 2) + ExpressionList (children 1) + Identifier number + ExpressionList (children 1) + Literal Float64_1e100 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_5 +The query succeeded but the server error '70' was expected (query: EXPLAIN AST SELECT uniqUpTo(1e100)(number) FROM numbers(5); -- { serverError CANNOT_CONVERT_TYPE }). diff --git a/parser/testdata/01809_inactive_parts_to_delay_throw_insert/explain.txt b/parser/testdata/01809_inactive_parts_to_delay_throw_insert/explain.txt new file mode 100644 index 000000000..bb941c1e5 --- /dev/null +++ b/parser/testdata/01809_inactive_parts_to_delay_throw_insert/explain.txt @@ -0,0 +1,2 @@ +DropQuery data_01809 (children 1) + Identifier data_01809 diff --git a/parser/testdata/01811_datename/metadata.json b/parser/testdata/01811_datename/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01811_datename/metadata.json +++ b/parser/testdata/01811_datename/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01811_filter_by_null/explain.txt b/parser/testdata/01811_filter_by_null/explain.txt new file mode 100644 index 000000000..bfe5ad245 --- /dev/null +++ b/parser/testdata/01811_filter_by_null/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_01344 (children 1) + Identifier test_01344 diff --git a/parser/testdata/01812_has_generic/explain.txt b/parser/testdata/01812_has_generic/explain.txt new file mode 100644 index 000000000..565f16471 --- /dev/null +++ b/parser/testdata/01812_has_generic/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function has (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList (children 2) + Literal Tuple_(UInt64_1, UInt64_2) + Literal Tuple_(UInt64_3, UInt64_4) + Function tuple (children 1) + ExpressionList (children 2) + Function toUInt16 (children 1) + ExpressionList (children 1) + Literal UInt64_3 + Literal UInt64_4 diff --git a/parser/testdata/01812_optimize_skip_unused_shards_single_node/explain.txt b/parser/testdata/01812_optimize_skip_unused_shards_single_node/explain.txt new file mode 100644 index 000000000..c06b60d3a --- /dev/null +++ b/parser/testdata/01812_optimize_skip_unused_shards_single_node/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.1\' + Identifier system.one + Set + Identifier Null diff --git a/parser/testdata/01813_distributed_scalar_subqueries_alias/explain.txt b/parser/testdata/01813_distributed_scalar_subqueries_alias/explain.txt new file mode 100644 index 000000000..5092c825d --- /dev/null +++ b/parser/testdata/01813_distributed_scalar_subqueries_alias/explain.txt @@ -0,0 +1,2 @@ +DropQuery data (children 1) + Identifier data diff --git a/parser/testdata/01813_quantileBfloat16_nans/metadata.json b/parser/testdata/01813_quantileBfloat16_nans/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01813_quantileBfloat16_nans/metadata.json +++ b/parser/testdata/01813_quantileBfloat16_nans/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01817_storage_buffer_parameters/explain.txt b/parser/testdata/01817_storage_buffer_parameters/explain.txt new file mode 100644 index 000000000..a421817fa --- /dev/null +++ b/parser/testdata/01817_storage_buffer_parameters/explain.txt @@ -0,0 +1,2 @@ +DropQuery data_01817 (children 1) + Identifier data_01817 diff --git a/parser/testdata/01818_case_float_value_fangyc/explain.txt b/parser/testdata/01818_case_float_value_fangyc/explain.txt new file mode 100644 index 000000000..2266afa07 --- /dev/null +++ b/parser/testdata/01818_case_float_value_fangyc/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function caseWithExpression (alias f) (children 1) + ExpressionList (children 8) + Literal Float64_1.1 + Literal Float64_0.1 + Literal \'a\' + Literal Float64_1.1 + Literal \'b\' + Literal Float64_2.1 + Literal \'c\' + Literal \'default\' diff --git a/parser/testdata/01818_move_partition_simple/explain.txt b/parser/testdata/01818_move_partition_simple/explain.txt new file mode 100644 index 000000000..0cfd3d354 --- /dev/null +++ b/parser/testdata/01818_move_partition_simple/explain.txt @@ -0,0 +1,2 @@ +DropQuery main_table_01818 (children 1) + Identifier main_table_01818 diff --git a/parser/testdata/01820_unhex_case_insensitive/explain.txt b/parser/testdata/01820_unhex_case_insensitive/explain.txt new file mode 100644 index 000000000..e4210bb6c --- /dev/null +++ b/parser/testdata/01820_unhex_case_insensitive/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function unhex (children 1) + ExpressionList (children 1) + Literal \'303132\' + Function UNHEX (children 1) + ExpressionList (children 1) + Literal \'4D7953514C\' diff --git a/parser/testdata/01821_dictionary_primary_key_wrong_order/explain.txt b/parser/testdata/01821_dictionary_primary_key_wrong_order/explain.txt new file mode 100644 index 000000000..c20532873 --- /dev/null +++ b/parser/testdata/01821_dictionary_primary_key_wrong_order/explain.txt @@ -0,0 +1,2 @@ +DropQuery dictionary_primary_key_source_table (children 1) + Identifier dictionary_primary_key_source_table diff --git a/parser/testdata/01821_join_table_mutation/explain.txt b/parser/testdata/01821_join_table_mutation/explain.txt new file mode 100644 index 000000000..3642456bf --- /dev/null +++ b/parser/testdata/01821_join_table_mutation/explain.txt @@ -0,0 +1,2 @@ +DropQuery join_table_mutation (children 1) + Identifier join_table_mutation diff --git a/parser/testdata/01821_table_comment/explain.txt b/parser/testdata/01821_table_comment/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/01821_table_comment/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/01821_to_date_time_ubsan/explain.txt b/parser/testdata/01821_to_date_time_ubsan/explain.txt new file mode 100644 index 000000000..80e86ad08 --- /dev/null +++ b/parser/testdata/01821_to_date_time_ubsan/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toDateTime (children 1) + ExpressionList (children 3) + Literal \'9223372036854775806\' + Literal UInt64_7 + Literal \'Asia/Istanbul\' diff --git a/parser/testdata/01822_short_circuit/explain.txt b/parser/testdata/01822_short_circuit/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01822_short_circuit/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01822_union_and_constans_error/explain.txt b/parser/testdata/01822_union_and_constans_error/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/01822_union_and_constans_error/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/01823_array_low_cardinality_KuliginStepan/metadata.json b/parser/testdata/01823_array_low_cardinality_KuliginStepan/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01823_array_low_cardinality_KuliginStepan/metadata.json +++ b/parser/testdata/01823_array_low_cardinality_KuliginStepan/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01824_move_to_prewhere_many_columns/explain.txt b/parser/testdata/01824_move_to_prewhere_many_columns/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01824_move_to_prewhere_many_columns/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01824_prefer_global_in_and_join/explain.txt b/parser/testdata/01824_prefer_global_in_and_join/explain.txt new file mode 100644 index 000000000..f4f2463f2 --- /dev/null +++ b/parser/testdata/01824_prefer_global_in_and_join/explain.txt @@ -0,0 +1,2 @@ +CreateQuery test_01824 (children 1) + Identifier test_01824 diff --git a/parser/testdata/01825_new_type_json_10/explain.txt b/parser/testdata/01825_new_type_json_10/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01825_new_type_json_10/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01825_new_type_json_18/explain.txt b/parser/testdata/01825_new_type_json_18/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01825_new_type_json_18/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01825_new_type_json_2/explain.txt b/parser/testdata/01825_new_type_json_2/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01825_new_type_json_2/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01825_new_type_json_9/explain.txt b/parser/testdata/01825_new_type_json_9/explain.txt new file mode 100644 index 000000000..495af639d --- /dev/null +++ b/parser/testdata/01825_new_type_json_9/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_json (children 1) + Identifier t_json diff --git a/parser/testdata/01825_new_type_json_bools/explain.txt b/parser/testdata/01825_new_type_json_bools/explain.txt new file mode 100644 index 000000000..593cd0f7e --- /dev/null +++ b/parser/testdata/01825_new_type_json_bools/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_json_bools (children 1) + Identifier t_json_bools diff --git a/parser/testdata/01825_new_type_json_distributed/explain.txt b/parser/testdata/01825_new_type_json_distributed/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01825_new_type_json_distributed/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01825_new_type_json_ephemeral/explain.txt b/parser/testdata/01825_new_type_json_ephemeral/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01825_new_type_json_ephemeral/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01825_new_type_json_in_array/explain.txt b/parser/testdata/01825_new_type_json_in_array/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01825_new_type_json_in_array/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01825_new_type_json_insert_select/explain.txt b/parser/testdata/01825_new_type_json_insert_select/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01825_new_type_json_insert_select/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01825_new_type_json_missed_values/explain.txt b/parser/testdata/01825_new_type_json_missed_values/explain.txt new file mode 100644 index 000000000..495af639d --- /dev/null +++ b/parser/testdata/01825_new_type_json_missed_values/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_json (children 1) + Identifier t_json diff --git a/parser/testdata/01825_new_type_json_mutations/explain.txt b/parser/testdata/01825_new_type_json_mutations/explain.txt new file mode 100644 index 000000000..359c4300d --- /dev/null +++ b/parser/testdata/01825_new_type_json_mutations/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_json_mutations (children 1) + Identifier t_json_mutations diff --git a/parser/testdata/01825_new_type_json_order_by/explain.txt b/parser/testdata/01825_new_type_json_order_by/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01825_new_type_json_order_by/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01825_new_type_json_parallel_insert/explain.txt b/parser/testdata/01825_new_type_json_parallel_insert/explain.txt new file mode 100644 index 000000000..2cc055aef --- /dev/null +++ b/parser/testdata/01825_new_type_json_parallel_insert/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_json_parallel (children 1) + Identifier t_json_parallel diff --git a/parser/testdata/01825_new_type_json_partitions/explain.txt b/parser/testdata/01825_new_type_json_partitions/explain.txt new file mode 100644 index 000000000..6935631d1 --- /dev/null +++ b/parser/testdata/01825_new_type_json_partitions/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_json_partitions (children 1) + Identifier t_json_partitions diff --git a/parser/testdata/01825_replacing_vertical_merge/explain.txt b/parser/testdata/01825_replacing_vertical_merge/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01825_replacing_vertical_merge/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01831_max_streams/explain.txt b/parser/testdata/01831_max_streams/explain.txt new file mode 100644 index 000000000..703c86e89 --- /dev/null +++ b/parser/testdata/01831_max_streams/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.1\' + Identifier system.one + Set diff --git a/parser/testdata/01832_memory_write_suffix/explain.txt b/parser/testdata/01832_memory_write_suffix/explain.txt new file mode 100644 index 000000000..3588ddf6f --- /dev/null +++ b/parser/testdata/01832_memory_write_suffix/explain.txt @@ -0,0 +1,2 @@ +DropQuery data_01832 (children 1) + Identifier data_01832 diff --git a/parser/testdata/01833_test_collation_alvarotuso/explain.txt b/parser/testdata/01833_test_collation_alvarotuso/explain.txt new file mode 100644 index 000000000..eb952d5e4 --- /dev/null +++ b/parser/testdata/01833_test_collation_alvarotuso/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_collation (children 1) + Identifier test_collation diff --git a/parser/testdata/01835_alias_to_primary_key_cyfdecyf/explain.txt b/parser/testdata/01835_alias_to_primary_key_cyfdecyf/explain.txt new file mode 100644 index 000000000..c8a497f45 --- /dev/null +++ b/parser/testdata/01835_alias_to_primary_key_cyfdecyf/explain.txt @@ -0,0 +1,2 @@ +DropQuery db (children 1) + Identifier db diff --git a/parser/testdata/01836_date_time_keep_default_timezone_on_operations_den_crane/explain.txt b/parser/testdata/01836_date_time_keep_default_timezone_on_operations_den_crane/explain.txt new file mode 100644 index 000000000..d0e4821f0 --- /dev/null +++ b/parser/testdata/01836_date_time_keep_default_timezone_on_operations_den_crane/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toTypeName (children 1) + ExpressionList (children 1) + Function now (children 1) + ExpressionList diff --git a/parser/testdata/01837_cast_to_array_from_empty_array/explain.txt b/parser/testdata/01837_cast_to_array_from_empty_array/explain.txt new file mode 100644 index 000000000..5e7dd0486 --- /dev/null +++ b/parser/testdata/01837_cast_to_array_from_empty_array/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList + Literal \'Array(Array(String))\' diff --git a/parser/testdata/01837_database_memory_ddl_dictionaries/explain.txt b/parser/testdata/01837_database_memory_ddl_dictionaries/explain.txt new file mode 100644 index 000000000..b2a4e5412 --- /dev/null +++ b/parser/testdata/01837_database_memory_ddl_dictionaries/explain.txt @@ -0,0 +1,2 @@ +DropQuery 01837_db (children 1) + Identifier 01837_db diff --git a/parser/testdata/01838_system_dictionaries_virtual_key_column/explain.txt b/parser/testdata/01838_system_dictionaries_virtual_key_column/explain.txt new file mode 100644 index 000000000..791abc0de --- /dev/null +++ b/parser/testdata/01838_system_dictionaries_virtual_key_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery example_simple_key_dictionary (children 1) + Identifier example_simple_key_dictionary diff --git a/parser/testdata/01839_join_to_subqueries_rewriter_columns_matcher/metadata.json b/parser/testdata/01839_join_to_subqueries_rewriter_columns_matcher/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01839_join_to_subqueries_rewriter_columns_matcher/metadata.json +++ b/parser/testdata/01839_join_to_subqueries_rewriter_columns_matcher/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01840_tupleElement_formatting_fuzzer/explain.txt b/parser/testdata/01840_tupleElement_formatting_fuzzer/explain.txt new file mode 100644 index 000000000..4393060e5 --- /dev/null +++ b/parser/testdata/01840_tupleElement_formatting_fuzzer/explain.txt @@ -0,0 +1,9 @@ +Explain EXPLAIN AST (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function tupleElement (children 1) + ExpressionList (children 2) + Literal UInt64_255 + Literal UInt64_100 diff --git a/parser/testdata/01845_add_testcase_for_arrayElement/explain.txt b/parser/testdata/01845_add_testcase_for_arrayElement/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/01845_add_testcase_for_arrayElement/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/01846_alter_column_without_type_bugfix/explain.txt b/parser/testdata/01846_alter_column_without_type_bugfix/explain.txt new file mode 100644 index 000000000..b5c973287 --- /dev/null +++ b/parser/testdata/01846_alter_column_without_type_bugfix/explain.txt @@ -0,0 +1,2 @@ +DropQuery alter_test (children 1) + Identifier alter_test diff --git a/parser/testdata/01846_null_as_default_for_insert_select/explain.txt b/parser/testdata/01846_null_as_default_for_insert_select/explain.txt new file mode 100644 index 000000000..a9e8764b6 --- /dev/null +++ b/parser/testdata/01846_null_as_default_for_insert_select/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_null_as_default (children 1) + Identifier test_null_as_default diff --git a/parser/testdata/01847_bad_like/explain.txt b/parser/testdata/01847_bad_like/explain.txt new file mode 100644 index 000000000..d5f33d6c9 --- /dev/null +++ b/parser/testdata/01847_bad_like/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function like (children 1) + ExpressionList (children 2) + Literal \'\\\\w\' + Literal \'%\\\\w%\' diff --git a/parser/testdata/01848_partition_value_column/explain.txt b/parser/testdata/01848_partition_value_column/explain.txt new file mode 100644 index 000000000..ff737eb65 --- /dev/null +++ b/parser/testdata/01848_partition_value_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery tbl (children 1) + Identifier tbl diff --git a/parser/testdata/01849_geoToS2/explain.txt b/parser/testdata/01849_geoToS2/explain.txt new file mode 100644 index 000000000..de0705f4e --- /dev/null +++ b/parser/testdata/01849_geoToS2/explain.txt @@ -0,0 +1,2 @@ +DropQuery s2_indexes (children 1) + Identifier s2_indexes diff --git a/parser/testdata/01850_dist_INSERT_preserve_error/explain.txt b/parser/testdata/01850_dist_INSERT_preserve_error/explain.txt new file mode 100644 index 000000000..a7487bd7e --- /dev/null +++ b/parser/testdata/01850_dist_INSERT_preserve_error/explain.txt @@ -0,0 +1,2 @@ +CreateQuery shard_0 (children 1) + Identifier shard_0 diff --git a/parser/testdata/01851_array_difference_decimal_overflow_ubsan/explain.txt b/parser/testdata/01851_array_difference_decimal_overflow_ubsan/explain.txt new file mode 100644 index 000000000..92dc6e3fd --- /dev/null +++ b/parser/testdata/01851_array_difference_decimal_overflow_ubsan/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayDifference (alias x) (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 2) + Function toDecimal32 (children 1) + ExpressionList (children 2) + Literal Float64_100.0000991821289 + Literal UInt64_0 + Literal Int64_-2147483647 +The query succeeded but the server error '407' was expected (query: EXPLAIN AST SELECT arrayDifference([toDecimal32(100.0000991821289, 0), -2147483647]) AS x; --{serverError DECIMAL_OVERFLOW}). diff --git a/parser/testdata/01851_clear_column_referenced_by_mv/explain.txt b/parser/testdata/01851_clear_column_referenced_by_mv/explain.txt new file mode 100644 index 000000000..5b61ae223 --- /dev/null +++ b/parser/testdata/01851_clear_column_referenced_by_mv/explain.txt @@ -0,0 +1,2 @@ +DropQuery 01851_merge_tree (children 1) + Identifier 01851_merge_tree diff --git a/parser/testdata/01851_fix_row_policy_empty_result/explain.txt b/parser/testdata/01851_fix_row_policy_empty_result/explain.txt new file mode 100644 index 000000000..ff737eb65 --- /dev/null +++ b/parser/testdata/01851_fix_row_policy_empty_result/explain.txt @@ -0,0 +1,2 @@ +DropQuery tbl (children 1) + Identifier tbl diff --git a/parser/testdata/01851_hedged_connections_external_tables/explain.txt b/parser/testdata/01851_hedged_connections_external_tables/explain.txt new file mode 100644 index 000000000..6ea64c3a8 --- /dev/null +++ b/parser/testdata/01851_hedged_connections_external_tables/explain.txt @@ -0,0 +1,30 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.0.0.{3|2}\' + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_2 + Function globalIn (children 1) + ExpressionList (children 2) + Identifier number + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Set diff --git a/parser/testdata/01851_s2_to_geo/explain.txt b/parser/testdata/01851_s2_to_geo/explain.txt new file mode 100644 index 000000000..1a45b1cea --- /dev/null +++ b/parser/testdata/01851_s2_to_geo/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function s2ToGeo (children 1) + ExpressionList (children 1) + Literal UInt64_4573520603753570041 diff --git a/parser/testdata/01852_cast_operator/explain.txt b/parser/testdata/01852_cast_operator/explain.txt new file mode 100644 index 000000000..0d3adbcdb --- /dev/null +++ b/parser/testdata/01852_cast_operator/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function CAST (alias c) (children 1) + ExpressionList (children 2) + Literal \'0.1\' + Literal \'Decimal(38, 38)\' diff --git a/parser/testdata/01852_cast_operator_2/explain.txt b/parser/testdata/01852_cast_operator_2/explain.txt new file mode 100644 index 000000000..597507859 --- /dev/null +++ b/parser/testdata/01852_cast_operator_2/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Literal \'(0.1, 0.2)\' + Literal \'Tuple(Decimal(75, 70), Decimal(75, 70))\' diff --git a/parser/testdata/01852_cast_operator_3/explain.txt b/parser/testdata/01852_cast_operator_3/explain.txt new file mode 100644 index 000000000..7e50a8509 --- /dev/null +++ b/parser/testdata/01852_cast_operator_3/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Literal \'-1\' + Literal \'Int32\' diff --git a/parser/testdata/01852_cast_operator_4/explain.txt b/parser/testdata/01852_cast_operator_4/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01852_cast_operator_4/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01852_dictionary_query_count_long/explain.txt b/parser/testdata/01852_dictionary_query_count_long/explain.txt new file mode 100644 index 000000000..8d8215ff9 --- /dev/null +++ b/parser/testdata/01852_dictionary_query_count_long/explain.txt @@ -0,0 +1,2 @@ +DropQuery simple_key_source_table_01862 (children 1) + Identifier simple_key_source_table_01862 diff --git a/parser/testdata/01852_jit_if/explain.txt b/parser/testdata/01852_jit_if/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01852_jit_if/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01852_map_combinator/explain.txt b/parser/testdata/01852_map_combinator/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01852_map_combinator/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01852_multiple_joins_with_union_join/explain.txt b/parser/testdata/01852_multiple_joins_with_union_join/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01852_multiple_joins_with_union_join/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01852_s2_get_neighbours/explain.txt b/parser/testdata/01852_s2_get_neighbours/explain.txt new file mode 100644 index 000000000..d4013f1fa --- /dev/null +++ b/parser/testdata/01852_s2_get_neighbours/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function s2GetNeighbors (children 1) + ExpressionList (children 1) + Literal UInt64_5074766849661468672 diff --git a/parser/testdata/01853_s2_cells_intersect/explain.txt b/parser/testdata/01853_s2_cells_intersect/explain.txt new file mode 100644 index 000000000..6aaed735d --- /dev/null +++ b/parser/testdata/01853_s2_cells_intersect/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function s2CellsIntersect (children 1) + ExpressionList (children 2) + Literal UInt64_9926595209846587392 + Literal UInt64_9926594385212866560 diff --git a/parser/testdata/01854_dictionary_range_hashed_min_max_attr/explain.txt b/parser/testdata/01854_dictionary_range_hashed_min_max_attr/explain.txt new file mode 100644 index 000000000..9b7f9ab40 --- /dev/null +++ b/parser/testdata/01854_dictionary_range_hashed_min_max_attr/explain.txt @@ -0,0 +1,2 @@ +DropQuery dict_01864 (children 1) + Identifier dict_01864 diff --git a/parser/testdata/01854_s2_cap_contains/explain.txt b/parser/testdata/01854_s2_cap_contains/explain.txt new file mode 100644 index 000000000..0b70c8033 --- /dev/null +++ b/parser/testdata/01854_s2_cap_contains/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function s2CapContains (children 1) + ExpressionList (children 3) + Literal UInt64_1157339245694594829 + Literal Float64_1 + Literal UInt64_1157347770437378819 diff --git a/parser/testdata/01854_s2_cap_union/explain.txt b/parser/testdata/01854_s2_cap_union/explain.txt new file mode 100644 index 000000000..469322356 --- /dev/null +++ b/parser/testdata/01854_s2_cap_union/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function s2CapUnion (children 1) + ExpressionList (children 4) + Literal UInt64_3814912406305146967 + Literal Float64_1 + Literal UInt64_1157347770437378819 + Literal Float64_1 diff --git a/parser/testdata/01855_jit_comparison_constant_result/explain.txt b/parser/testdata/01855_jit_comparison_constant_result/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01855_jit_comparison_constant_result/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01856_create_function/explain.txt b/parser/testdata/01856_create_function/explain.txt new file mode 100644 index 000000000..a73ada2d8 --- /dev/null +++ b/parser/testdata/01856_create_function/explain.txt @@ -0,0 +1,16 @@ +CreateFunctionQuery 01856_test_function_0 (children 2) + Identifier 01856_test_function_0 + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 3) + Identifier a + Identifier b + Identifier c + Function multiply (children 1) + ExpressionList (children 2) + Function multiply (children 1) + ExpressionList (children 2) + Identifier a + Identifier b + Identifier c diff --git a/parser/testdata/01860_Distributed__shard_num_GROUP_BY/explain.txt b/parser/testdata/01860_Distributed__shard_num_GROUP_BY/explain.txt new file mode 100644 index 000000000..ac516be81 --- /dev/null +++ b/parser/testdata/01860_Distributed__shard_num_GROUP_BY/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 2) + Identifier _shard_num + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.0.0.{1,2}\' + Identifier system.one + ExpressionList (children 1) + Identifier _shard_num + ExpressionList (children 1) + OrderByElement (children 1) + Identifier _shard_num diff --git a/parser/testdata/01861_explain_pipeline/explain.txt b/parser/testdata/01861_explain_pipeline/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/01861_explain_pipeline/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/01865_aggregator_overflow_row/explain.txt b/parser/testdata/01865_aggregator_overflow_row/explain.txt new file mode 100644 index 000000000..e4e55baaa --- /dev/null +++ b/parser/testdata/01865_aggregator_overflow_row/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function uniqCombined (children 1) + ExpressionList (children 1) + Identifier number diff --git a/parser/testdata/01866_aggregate_function_interval_length_sum/explain.txt b/parser/testdata/01866_aggregate_function_interval_length_sum/explain.txt new file mode 100644 index 000000000..476d7b8a1 --- /dev/null +++ b/parser/testdata/01866_aggregate_function_interval_length_sum/explain.txt @@ -0,0 +1,2 @@ +DropQuery interval (children 1) + Identifier interval diff --git a/parser/testdata/01866_bit_positions_to_array/explain.txt b/parser/testdata/01866_bit_positions_to_array/explain.txt new file mode 100644 index 000000000..1db808d7e --- /dev/null +++ b/parser/testdata/01866_bit_positions_to_array/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'Int8\' diff --git a/parser/testdata/01866_datetime64_cmp_with_constant/explain.txt b/parser/testdata/01866_datetime64_cmp_with_constant/explain.txt new file mode 100644 index 000000000..89737611f --- /dev/null +++ b/parser/testdata/01866_datetime64_cmp_with_constant/explain.txt @@ -0,0 +1,2 @@ +CreateQuery dt64test (children 1) + Identifier dt64test diff --git a/parser/testdata/01866_split_by_regexp/explain.txt b/parser/testdata/01866_split_by_regexp/explain.txt new file mode 100644 index 000000000..6f3e381c5 --- /dev/null +++ b/parser/testdata/01866_split_by_regexp/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function splitByRegexp (children 1) + ExpressionList (children 2) + Literal \'\\\\d+\' + Identifier x + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayJoin (alias x) (children 1) + ExpressionList (children 1) + Literal Array_[\'a1ba5ba8b\', \'a11ba5689ba891011b\'] diff --git a/parser/testdata/01866_view_persist_settings/explain.txt b/parser/testdata/01866_view_persist_settings/explain.txt new file mode 100644 index 000000000..25dd60f28 --- /dev/null +++ b/parser/testdata/01866_view_persist_settings/explain.txt @@ -0,0 +1,2 @@ +DropQuery view_no_nulls (children 1) + Identifier view_no_nulls diff --git a/parser/testdata/01867_fix_storage_memory_mutation/explain.txt b/parser/testdata/01867_fix_storage_memory_mutation/explain.txt new file mode 100644 index 000000000..0f20dca15 --- /dev/null +++ b/parser/testdata/01867_fix_storage_memory_mutation/explain.txt @@ -0,0 +1,2 @@ +DropQuery mem_test (children 1) + Identifier mem_test diff --git a/parser/testdata/01867_support_datetime64_version_column/explain.txt b/parser/testdata/01867_support_datetime64_version_column/explain.txt new file mode 100644 index 000000000..de7ba31f4 --- /dev/null +++ b/parser/testdata/01867_support_datetime64_version_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery replacing (children 1) + Identifier replacing diff --git a/parser/testdata/01868_order_by_fill_with_datetime64/explain.txt b/parser/testdata/01868_order_by_fill_with_datetime64/explain.txt new file mode 100644 index 000000000..31254c9a3 --- /dev/null +++ b/parser/testdata/01868_order_by_fill_with_datetime64/explain.txt @@ -0,0 +1,43 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Identifier n + Identifier source + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Function toDateTime64 (alias n) (children 1) + ExpressionList (children 3) + Function multiply (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_1000 + Literal UInt64_3 + Literal \'Asia/Istanbul\' + Literal \'original\' (alias source) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_3 + Literal UInt64_1 + ExpressionList (children 1) + OrderByElement (children 2) + Identifier n + Function toDateTime64 (children 1) + ExpressionList (children 2) + Literal UInt64_1000 + Literal UInt64_3 diff --git a/parser/testdata/01869_function_modulo_legacy/explain.txt b/parser/testdata/01869_function_modulo_legacy/explain.txt new file mode 100644 index 000000000..fb2f9ba8c --- /dev/null +++ b/parser/testdata/01869_function_modulo_legacy/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function moduloLegacy (children 1) + ExpressionList (children 2) + Literal UInt64_199 + Literal UInt64_200 diff --git a/parser/testdata/01869_reinterpret_as_fixed_string_uuid/explain.txt b/parser/testdata/01869_reinterpret_as_fixed_string_uuid/explain.txt new file mode 100644 index 000000000..f1b68d6b9 --- /dev/null +++ b/parser/testdata/01869_reinterpret_as_fixed_string_uuid/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function hex (children 1) + ExpressionList (children 1) + Function reinterpretAsFixedString (children 1) + ExpressionList (children 1) + Function toUUID (children 1) + ExpressionList (children 1) + Literal \'61f0c404-5cb3-11e7-907b-a6006ad3dba0\' diff --git a/parser/testdata/01870_buffer_flush/explain.txt b/parser/testdata/01870_buffer_flush/explain.txt new file mode 100644 index 000000000..975608e5f --- /dev/null +++ b/parser/testdata/01870_buffer_flush/explain.txt @@ -0,0 +1,2 @@ +DropQuery db_01870 (children 1) + Identifier db_01870 diff --git a/parser/testdata/01870_modulo_partition_key/explain.txt b/parser/testdata/01870_modulo_partition_key/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01870_modulo_partition_key/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01871_merge_tree_compile_expressions/explain.txt b/parser/testdata/01871_merge_tree_compile_expressions/explain.txt new file mode 100644 index 000000000..cb6774192 --- /dev/null +++ b/parser/testdata/01871_merge_tree_compile_expressions/explain.txt @@ -0,0 +1,2 @@ +DropQuery data_01875_1 (children 1) + Identifier data_01875_1 diff --git a/parser/testdata/01872_functions_to_subcolumns_analyzer/explain.txt b/parser/testdata/01872_functions_to_subcolumns_analyzer/explain.txt new file mode 100644 index 000000000..d52143956 --- /dev/null +++ b/parser/testdata/01872_functions_to_subcolumns_analyzer/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_func_to_subcolumns (children 1) + Identifier t_func_to_subcolumns diff --git a/parser/testdata/01880_materialized_view_to_table_type_check/explain.txt b/parser/testdata/01880_materialized_view_to_table_type_check/explain.txt new file mode 100644 index 000000000..54441fbbb --- /dev/null +++ b/parser/testdata/01880_materialized_view_to_table_type_check/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_mv (children 1) + Identifier test_mv diff --git a/parser/testdata/01880_remote_ipv6/explain.txt b/parser/testdata/01880_remote_ipv6/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01880_remote_ipv6/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01881_aggregate_functions_versioning/explain.txt b/parser/testdata/01881_aggregate_functions_versioning/explain.txt new file mode 100644 index 000000000..d4bf1aa3f --- /dev/null +++ b/parser/testdata/01881_aggregate_functions_versioning/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_table (children 1) + Identifier test_table diff --git a/parser/testdata/01881_create_as_tuple/explain.txt b/parser/testdata/01881_create_as_tuple/explain.txt new file mode 100644 index 000000000..255e1aea0 --- /dev/null +++ b/parser/testdata/01881_create_as_tuple/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_create_as_tuple (children 1) + Identifier t_create_as_tuple diff --git a/parser/testdata/01881_negate_formatting/explain.txt b/parser/testdata/01881_negate_formatting/explain.txt new file mode 100644 index 000000000..d5d4a99a6 --- /dev/null +++ b/parser/testdata/01881_negate_formatting/explain.txt @@ -0,0 +1,6 @@ +Explain EXPLAIN SYNTAX (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal Int64_-1 diff --git a/parser/testdata/01881_to_week_monotonic_fix/explain.txt b/parser/testdata/01881_to_week_monotonic_fix/explain.txt new file mode 100644 index 000000000..cb2f1cece --- /dev/null +++ b/parser/testdata/01881_to_week_monotonic_fix/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_tbl (children 1) + Identifier test_tbl diff --git a/parser/testdata/01881_total_bytes_storage_buffer/explain.txt b/parser/testdata/01881_total_bytes_storage_buffer/explain.txt new file mode 100644 index 000000000..0a8f8ed88 --- /dev/null +++ b/parser/testdata/01881_total_bytes_storage_buffer/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_buffer_table (children 1) + Identifier test_buffer_table diff --git a/parser/testdata/01881_union_header_mismatch_bug/explain.txt b/parser/testdata/01881_union_header_mismatch_bug/explain.txt new file mode 100644 index 000000000..efddaf05a --- /dev/null +++ b/parser/testdata/01881_union_header_mismatch_bug/explain.txt @@ -0,0 +1,36 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 2) + SelectQuery (children 1) + ExpressionList (children 3) + Literal \'table\' (alias table) + Function toInt64 (alias rows) (children 1) + ExpressionList (children 1) + Literal UInt64_10 + Function toInt64 (alias elements) (children 1) + ExpressionList (children 1) + Literal UInt64_101 + SelectQuery (children 1) + ExpressionList (children 3) + Literal \'another table\' (alias table) + Function toInt64 (alias rows) (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function toInt64 (alias elements) (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function notEquals (children 1) + ExpressionList (children 2) + Function minus (children 1) + ExpressionList (children 2) + Identifier rows + Identifier elements + Literal UInt64_0 diff --git a/parser/testdata/01882_check_max_parts_to_merge_at_once/explain.txt b/parser/testdata/01882_check_max_parts_to_merge_at_once/explain.txt new file mode 100644 index 000000000..5f1b2159d --- /dev/null +++ b/parser/testdata/01882_check_max_parts_to_merge_at_once/explain.txt @@ -0,0 +1,2 @@ +DropQuery limited_merge_table (children 1) + Identifier limited_merge_table diff --git a/parser/testdata/01882_scalar_subquery_exception/explain.txt b/parser/testdata/01882_scalar_subquery_exception/explain.txt new file mode 100644 index 000000000..08f21ba38 --- /dev/null +++ b/parser/testdata/01882_scalar_subquery_exception/explain.txt @@ -0,0 +1,2 @@ +DropQuery nums_in_mem (children 1) + Identifier nums_in_mem diff --git a/parser/testdata/01883_grouping_sets_crash/explain.txt b/parser/testdata/01883_grouping_sets_crash/explain.txt new file mode 100644 index 000000000..fd37b5119 --- /dev/null +++ b/parser/testdata/01883_grouping_sets_crash/explain.txt @@ -0,0 +1,2 @@ +DropQuery grouping_sets (children 1) + Identifier grouping_sets diff --git a/parser/testdata/01883_subcolumns_distributed/explain.txt b/parser/testdata/01883_subcolumns_distributed/explain.txt new file mode 100644 index 000000000..d4aea6447 --- /dev/null +++ b/parser/testdata/01883_subcolumns_distributed/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_subcolumns_local (children 1) + Identifier t_subcolumns_local diff --git a/parser/testdata/01883_with_grouping_sets/explain.txt b/parser/testdata/01883_with_grouping_sets/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01883_with_grouping_sets/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01888_bloom_filter_hasAny/metadata.json b/parser/testdata/01888_bloom_filter_hasAny/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01888_bloom_filter_hasAny/metadata.json +++ b/parser/testdata/01888_bloom_filter_hasAny/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01888_read_int_safe/explain.txt b/parser/testdata/01888_read_int_safe/explain.txt new file mode 100644 index 000000000..ea9f985a4 --- /dev/null +++ b/parser/testdata/01888_read_int_safe/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toInt64 (children 1) + ExpressionList (children 1) + Literal \'--1\' +The query succeeded but the server error '72' was expected (query: EXPLAIN AST select toInt64('--1'); -- { serverError CANNOT_PARSE_NUMBER }). diff --git a/parser/testdata/01889_key_condition_function_chains/explain.txt b/parser/testdata/01889_key_condition_function_chains/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01889_key_condition_function_chains/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01889_sql_json_functions/explain.txt b/parser/testdata/01889_sql_json_functions/explain.txt new file mode 100644 index 000000000..11376815a --- /dev/null +++ b/parser/testdata/01889_sql_json_functions/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'--JSON_VALUE--\' diff --git a/parser/testdata/01889_tokenize/explain.txt b/parser/testdata/01889_tokenize/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01889_tokenize/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01890_cross_join_explain_crash/explain.txt b/parser/testdata/01890_cross_join_explain_crash/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01890_cross_join_explain_crash/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01890_jit_aggregation_function_sum_long/explain.txt b/parser/testdata/01890_jit_aggregation_function_sum_long/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01890_jit_aggregation_function_sum_long/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01890_state_of_state/explain.txt b/parser/testdata/01890_state_of_state/explain.txt new file mode 100644 index 000000000..6c9b83879 --- /dev/null +++ b/parser/testdata/01890_state_of_state/explain.txt @@ -0,0 +1,24 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function uniqExact (children 1) + ExpressionList (children 1) + Identifier x + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function uniqState (alias x) (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_100 diff --git a/parser/testdata/01890_stem/explain.txt b/parser/testdata/01890_stem/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01890_stem/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01891_echo/explain.txt b/parser/testdata/01891_echo/explain.txt new file mode 100644 index 000000000..8827c47de --- /dev/null +++ b/parser/testdata/01891_echo/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/01891_jit_aggregation_function_any_long/explain.txt b/parser/testdata/01891_jit_aggregation_function_any_long/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01891_jit_aggregation_function_any_long/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01891_not_in_partition_prune/explain.txt b/parser/testdata/01891_not_in_partition_prune/explain.txt new file mode 100644 index 000000000..5cbd34a73 --- /dev/null +++ b/parser/testdata/01891_not_in_partition_prune/explain.txt @@ -0,0 +1,2 @@ +DropQuery test1 (children 1) + Identifier test1 diff --git a/parser/testdata/01891_not_like_partition_prune/explain.txt b/parser/testdata/01891_not_like_partition_prune/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/01891_not_like_partition_prune/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/01891_partition_by_uuid/explain.txt b/parser/testdata/01891_partition_by_uuid/explain.txt new file mode 100644 index 000000000..0a00b06d1 --- /dev/null +++ b/parser/testdata/01891_partition_by_uuid/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab (children 1) + Identifier tab diff --git a/parser/testdata/01891_partition_hash/explain.txt b/parser/testdata/01891_partition_hash/explain.txt new file mode 100644 index 000000000..0a00b06d1 --- /dev/null +++ b/parser/testdata/01891_partition_hash/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab (children 1) + Identifier tab diff --git a/parser/testdata/01891_partition_hash_no_long_int/explain.txt b/parser/testdata/01891_partition_hash_no_long_int/explain.txt new file mode 100644 index 000000000..0a00b06d1 --- /dev/null +++ b/parser/testdata/01891_partition_hash_no_long_int/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab (children 1) + Identifier tab diff --git a/parser/testdata/01892_jit_aggregation_function_any_last_long/explain.txt b/parser/testdata/01892_jit_aggregation_function_any_last_long/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01892_jit_aggregation_function_any_last_long/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01892_setting_limit_offset_distributed/explain.txt b/parser/testdata/01892_setting_limit_offset_distributed/explain.txt new file mode 100644 index 000000000..92e403e2f --- /dev/null +++ b/parser/testdata/01892_setting_limit_offset_distributed/explain.txt @@ -0,0 +1,26 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Literal \'limit\' + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.1\' + Function view (children 1) + ExpressionList (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + Set diff --git a/parser/testdata/01893_jit_aggregation_function_min_long/explain.txt b/parser/testdata/01893_jit_aggregation_function_min_long/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01893_jit_aggregation_function_min_long/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01894_jit_aggregation_function_max_long/explain.txt b/parser/testdata/01894_jit_aggregation_function_max_long/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01894_jit_aggregation_function_max_long/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01895_jit_aggregation_function_avg_long/explain.txt b/parser/testdata/01895_jit_aggregation_function_avg_long/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01895_jit_aggregation_function_avg_long/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01896_jit_aggregation_function_if_long/explain.txt b/parser/testdata/01896_jit_aggregation_function_if_long/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01896_jit_aggregation_function_if_long/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01897_jit_aggregation_function_avg_weighted_long/explain.txt b/parser/testdata/01897_jit_aggregation_function_avg_weighted_long/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01897_jit_aggregation_function_avg_weighted_long/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01901_in_literal_shard_prune/explain.txt b/parser/testdata/01901_in_literal_shard_prune/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01901_in_literal_shard_prune/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01901_test_attach_partition_from/explain.txt b/parser/testdata/01901_test_attach_partition_from/explain.txt new file mode 100644 index 000000000..7c2217d39 --- /dev/null +++ b/parser/testdata/01901_test_attach_partition_from/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_alter_attach_01901S (children 1) + Identifier test_alter_attach_01901S diff --git a/parser/testdata/01902_dictionary_array_type/explain.txt b/parser/testdata/01902_dictionary_array_type/explain.txt new file mode 100644 index 000000000..2088fdb29 --- /dev/null +++ b/parser/testdata/01902_dictionary_array_type/explain.txt @@ -0,0 +1,2 @@ +DropQuery dictionary_array_source_table (children 1) + Identifier dictionary_array_source_table diff --git a/parser/testdata/01902_self_aliases_in_columns/explain.txt b/parser/testdata/01902_self_aliases_in_columns/explain.txt new file mode 100644 index 000000000..8ee520cb6 --- /dev/null +++ b/parser/testdata/01902_self_aliases_in_columns/explain.txt @@ -0,0 +1,2 @@ +CreateQuery a (children 1) + Identifier a diff --git a/parser/testdata/01902_table_function_merge_db_params/explain.txt b/parser/testdata/01902_table_function_merge_db_params/explain.txt new file mode 100644 index 000000000..1529e7f77 --- /dev/null +++ b/parser/testdata/01902_table_function_merge_db_params/explain.txt @@ -0,0 +1,2 @@ +DropQuery 01902_db_params (children 1) + Identifier 01902_db_params diff --git a/parser/testdata/01902_table_function_merge_db_repr/explain.txt b/parser/testdata/01902_table_function_merge_db_repr/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01902_table_function_merge_db_repr/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01904_dictionary_default_nullable_type/explain.txt b/parser/testdata/01904_dictionary_default_nullable_type/explain.txt new file mode 100644 index 000000000..485cf177b --- /dev/null +++ b/parser/testdata/01904_dictionary_default_nullable_type/explain.txt @@ -0,0 +1,2 @@ +DropQuery dictionary_nullable_source_table (children 1) + Identifier dictionary_nullable_source_table diff --git a/parser/testdata/01905_to_json_string/metadata.json b/parser/testdata/01905_to_json_string/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01905_to_json_string/metadata.json +++ b/parser/testdata/01905_to_json_string/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01906_bigint_accurate_cast_ubsan/explain.txt b/parser/testdata/01906_bigint_accurate_cast_ubsan/explain.txt new file mode 100644 index 000000000..4f6377d90 --- /dev/null +++ b/parser/testdata/01906_bigint_accurate_cast_ubsan/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function accurateCast (children 1) + ExpressionList (children 2) + Literal Float64_1e35 + Literal \'UInt32\' +The query succeeded but the server error '70' was expected (query: EXPLAIN AST SELECT accurateCast(1e35, 'UInt32'); -- { serverError CANNOT_CONVERT_TYPE }). diff --git a/parser/testdata/01906_h3_to_geo/explain.txt b/parser/testdata/01906_h3_to_geo/explain.txt new file mode 100644 index 000000000..8f134ef81 --- /dev/null +++ b/parser/testdata/01906_h3_to_geo/explain.txt @@ -0,0 +1,2 @@ +DropQuery h3_indexes (children 1) + Identifier h3_indexes diff --git a/parser/testdata/01906_lc_in_bug/explain.txt b/parser/testdata/01906_lc_in_bug/explain.txt new file mode 100644 index 000000000..0a00b06d1 --- /dev/null +++ b/parser/testdata/01906_lc_in_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab (children 1) + Identifier tab diff --git a/parser/testdata/01906_partition_by_multiply_by_zero/explain.txt b/parser/testdata/01906_partition_by_multiply_by_zero/explain.txt new file mode 100644 index 000000000..35277d741 --- /dev/null +++ b/parser/testdata/01906_partition_by_multiply_by_zero/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_01906 (children 1) + Identifier t_01906 diff --git a/parser/testdata/01907_multiple_aliases/explain.txt b/parser/testdata/01907_multiple_aliases/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/01907_multiple_aliases/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/01908_with_unknown_column/explain.txt b/parser/testdata/01908_with_unknown_column/explain.txt new file mode 100644 index 000000000..d0151788d --- /dev/null +++ b/parser/testdata/01908_with_unknown_column/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Identifier a diff --git a/parser/testdata/01909_mbtolou/explain.txt b/parser/testdata/01909_mbtolou/explain.txt new file mode 100644 index 000000000..40a7a48a5 --- /dev/null +++ b/parser/testdata/01909_mbtolou/explain.txt @@ -0,0 +1,2 @@ +DropQuery DATE_INFO_DICT (children 1) + Identifier DATE_INFO_DICT diff --git a/parser/testdata/01910_memory_tracking_topk/explain.txt b/parser/testdata/01910_memory_tracking_topk/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01910_memory_tracking_topk/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01910_view_dictionary/explain.txt b/parser/testdata/01910_view_dictionary/explain.txt new file mode 100644 index 000000000..e738af4ee --- /dev/null +++ b/parser/testdata/01910_view_dictionary/explain.txt @@ -0,0 +1,2 @@ +DropQuery dictionary_source_en (children 1) + Identifier dictionary_source_en diff --git a/parser/testdata/01910_view_dictionary_check_refresh/explain.txt b/parser/testdata/01910_view_dictionary_check_refresh/explain.txt new file mode 100644 index 000000000..b4ad866ce --- /dev/null +++ b/parser/testdata/01910_view_dictionary_check_refresh/explain.txt @@ -0,0 +1,2 @@ +DropQuery TestTblDict (children 1) + Identifier TestTblDict diff --git a/parser/testdata/01911_logical_error_minus/explain.txt b/parser/testdata/01911_logical_error_minus/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01911_logical_error_minus/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01912_bad_cast_join_fuzz/metadata.json b/parser/testdata/01912_bad_cast_join_fuzz/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01912_bad_cast_join_fuzz/metadata.json +++ b/parser/testdata/01912_bad_cast_join_fuzz/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01913_exact_rows_before_limit/explain.txt b/parser/testdata/01913_exact_rows_before_limit/explain.txt new file mode 100644 index 000000000..0c93fd05d --- /dev/null +++ b/parser/testdata/01913_exact_rows_before_limit/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_rows_compact_part (children 1) + Identifier test_rows_compact_part diff --git a/parser/testdata/01913_exact_rows_before_limit_full/explain.txt b/parser/testdata/01913_exact_rows_before_limit_full/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/01913_exact_rows_before_limit_full/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/01913_fix_column_transformer_replace_format/explain.txt b/parser/testdata/01913_fix_column_transformer_replace_format/explain.txt new file mode 100644 index 000000000..521a4ba5a --- /dev/null +++ b/parser/testdata/01913_fix_column_transformer_replace_format/explain.txt @@ -0,0 +1,2 @@ +DropQuery my_table (children 1) + Identifier my_table diff --git a/parser/testdata/01913_if_int_decimal/explain.txt b/parser/testdata/01913_if_int_decimal/explain.txt new file mode 100644 index 000000000..c47f0c522 --- /dev/null +++ b/parser/testdata/01913_if_int_decimal/explain.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function if (children 1) + ExpressionList (children 3) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + Function CAST (children 1) + ExpressionList (children 2) + Function materialize (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Literal \'Decimal(18, 10)\' + Literal UInt64_2 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_3 diff --git a/parser/testdata/01913_join_push_down_bug/explain.txt b/parser/testdata/01913_join_push_down_bug/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/01913_join_push_down_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/01913_names_of_tuple_literal/metadata.json b/parser/testdata/01913_names_of_tuple_literal/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01913_names_of_tuple_literal/metadata.json +++ b/parser/testdata/01913_names_of_tuple_literal/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01913_replace_dictionary/explain.txt b/parser/testdata/01913_replace_dictionary/explain.txt new file mode 100644 index 000000000..926ffbe65 --- /dev/null +++ b/parser/testdata/01913_replace_dictionary/explain.txt @@ -0,0 +1,2 @@ +DropQuery 01913_db (children 1) + Identifier 01913_db diff --git a/parser/testdata/01913_summing_mt_and_simple_agg_function_with_lc/explain.txt b/parser/testdata/01913_summing_mt_and_simple_agg_function_with_lc/explain.txt new file mode 100644 index 000000000..9ae168d86 --- /dev/null +++ b/parser/testdata/01913_summing_mt_and_simple_agg_function_with_lc/explain.txt @@ -0,0 +1,2 @@ +DropQuery smta (children 1) + Identifier smta diff --git a/parser/testdata/01914_exchange_dictionaries/explain.txt b/parser/testdata/01914_exchange_dictionaries/explain.txt new file mode 100644 index 000000000..4c06e399b --- /dev/null +++ b/parser/testdata/01914_exchange_dictionaries/explain.txt @@ -0,0 +1,2 @@ +DropQuery 01914_db (children 1) + Identifier 01914_db diff --git a/parser/testdata/01914_index_bgranvea/explain.txt b/parser/testdata/01914_index_bgranvea/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/01914_index_bgranvea/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/01914_ubsan_quantile_timing/explain.txt b/parser/testdata/01914_ubsan_quantile_timing/explain.txt new file mode 100644 index 000000000..a7585983b --- /dev/null +++ b/parser/testdata/01914_ubsan_quantile_timing/explain.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function quantileTiming (children 2) + ExpressionList (children 1) + Function divide (children 1) + ExpressionList (children 2) + Identifier number + Literal Float64_1.1754943508222875e-38 + ExpressionList (children 1) + Literal Float64_-0 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_257 diff --git a/parser/testdata/01915_create_or_replace_dictionary/explain.txt b/parser/testdata/01915_create_or_replace_dictionary/explain.txt new file mode 100644 index 000000000..73f73235a --- /dev/null +++ b/parser/testdata/01915_create_or_replace_dictionary/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_01915_db (children 1) + Identifier test_01915_db diff --git a/parser/testdata/01915_for_each_crakjie/metadata.json b/parser/testdata/01915_for_each_crakjie/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01915_for_each_crakjie/metadata.json +++ b/parser/testdata/01915_for_each_crakjie/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01915_json_extract_raw_string/explain.txt b/parser/testdata/01915_json_extract_raw_string/explain.txt new file mode 100644 index 000000000..214e8e0b4 --- /dev/null +++ b/parser/testdata/01915_json_extract_raw_string/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function JSONExtract (children 1) + ExpressionList (children 2) + Literal \'{"a": "123", "b": 456, "c": [7, 8, 9]}\' + Literal \'Tuple(a String, b String, c String)\' diff --git a/parser/testdata/01915_merge_prewhere_virtual_column_rand_chao_wang/explain.txt b/parser/testdata/01915_merge_prewhere_virtual_column_rand_chao_wang/explain.txt new file mode 100644 index 000000000..55be7aecf --- /dev/null +++ b/parser/testdata/01915_merge_prewhere_virtual_column_rand_chao_wang/explain.txt @@ -0,0 +1,2 @@ +DropQuery abc (children 1) + Identifier abc diff --git a/parser/testdata/01916_low_cardinality_interval/explain.txt b/parser/testdata/01916_low_cardinality_interval/explain.txt new file mode 100644 index 000000000..6cc770b25 --- /dev/null +++ b/parser/testdata/01916_low_cardinality_interval/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toLowCardinality (children 1) + ExpressionList (children 1) + Function toIntervalSecond (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/01916_lowcard_dict_type/explain.txt b/parser/testdata/01916_lowcard_dict_type/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/01916_lowcard_dict_type/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/01916_multiple_join_view_optimize_predicate_chertus/explain.txt b/parser/testdata/01916_multiple_join_view_optimize_predicate_chertus/explain.txt new file mode 100644 index 000000000..3b8a0aad6 --- /dev/null +++ b/parser/testdata/01916_multiple_join_view_optimize_predicate_chertus/explain.txt @@ -0,0 +1,2 @@ +DropQuery a (children 1) + Identifier a diff --git a/parser/testdata/01917_distinct_on/explain.txt b/parser/testdata/01917_distinct_on/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/01917_distinct_on/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/01917_prewhere_column_type/explain.txt b/parser/testdata/01917_prewhere_column_type/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01917_prewhere_column_type/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01917_system_data_skipping_indices/explain.txt b/parser/testdata/01917_system_data_skipping_indices/explain.txt new file mode 100644 index 000000000..b34fbd11f --- /dev/null +++ b/parser/testdata/01917_system_data_skipping_indices/explain.txt @@ -0,0 +1,2 @@ +DropQuery data_01917 (children 1) + Identifier data_01917 diff --git a/parser/testdata/01920_not_chain_format/explain.txt b/parser/testdata/01920_not_chain_format/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01920_not_chain_format/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01921_datatype_date32/explain.txt b/parser/testdata/01921_datatype_date32/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/01921_datatype_date32/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/01921_not_chain/explain.txt b/parser/testdata/01921_not_chain/explain.txt new file mode 100644 index 000000000..b2118385b --- /dev/null +++ b/parser/testdata/01921_not_chain/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function notEquals (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Function not (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/01921_with_fill_with_totals/metadata.json b/parser/testdata/01921_with_fill_with_totals/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01921_with_fill_with_totals/metadata.json +++ b/parser/testdata/01921_with_fill_with_totals/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01922_array_join_with_index/explain.txt b/parser/testdata/01922_array_join_with_index/explain.txt new file mode 100644 index 000000000..21b494884 --- /dev/null +++ b/parser/testdata/01922_array_join_with_index/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_array_index (children 1) + Identifier t_array_index diff --git a/parser/testdata/01922_sum_null_for_remote/explain.txt b/parser/testdata/01922_sum_null_for_remote/explain.txt new file mode 100644 index 000000000..847fc333b --- /dev/null +++ b/parser/testdata/01922_sum_null_for_remote/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function sum (children 1) + ExpressionList (children 1) + Literal NULL + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 3) + Literal \'127.0.0.{1,2}\' + Literal \'system\' + Literal \'one\' diff --git a/parser/testdata/01923_different_expression_name_alias/explain.txt b/parser/testdata/01923_different_expression_name_alias/explain.txt new file mode 100644 index 000000000..779d866fc --- /dev/null +++ b/parser/testdata/01923_different_expression_name_alias/explain.txt @@ -0,0 +1,2 @@ +DropQuery distributed_tbl (children 1) + Identifier distributed_tbl diff --git a/parser/testdata/01923_ttl_with_modify_column/explain.txt b/parser/testdata/01923_ttl_with_modify_column/explain.txt new file mode 100644 index 000000000..868958e88 --- /dev/null +++ b/parser/testdata/01923_ttl_with_modify_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_ttl_modify_column (children 1) + Identifier t_ttl_modify_column diff --git a/parser/testdata/01924_argmax_bitmap_state/explain.txt b/parser/testdata/01924_argmax_bitmap_state/explain.txt new file mode 100644 index 000000000..f91d79904 --- /dev/null +++ b/parser/testdata/01924_argmax_bitmap_state/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function bitmapMax (children 1) + ExpressionList (children 1) + Function argMax (children 1) + ExpressionList (children 2) + Identifier x + Identifier y diff --git a/parser/testdata/01925_broken_partition_id_zookeeper/explain.txt b/parser/testdata/01925_broken_partition_id_zookeeper/explain.txt new file mode 100644 index 000000000..2655ce024 --- /dev/null +++ b/parser/testdata/01925_broken_partition_id_zookeeper/explain.txt @@ -0,0 +1,2 @@ +DropQuery broken_partition (children 1) + Identifier broken_partition diff --git a/parser/testdata/01925_date_date_time_comparison/explain.txt b/parser/testdata/01925_date_date_time_comparison/explain.txt new file mode 100644 index 000000000..40edf7b1c --- /dev/null +++ b/parser/testdata/01925_date_date_time_comparison/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function less (children 1) + ExpressionList (children 2) + Function toDate (children 1) + ExpressionList (children 1) + Literal \'2000-01-01\' + Function toDateTime (children 1) + ExpressionList (children 2) + Literal \'2000-01-01 00:00:01\' + Literal \'Asia/Istanbul\' diff --git a/parser/testdata/01925_jit_aggregation_function_count_long/explain.txt b/parser/testdata/01925_jit_aggregation_function_count_long/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01925_jit_aggregation_function_count_long/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01925_join_materialized_columns/explain.txt b/parser/testdata/01925_join_materialized_columns/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/01925_join_materialized_columns/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/01925_json_as_string_data_in_square_brackets/explain.txt b/parser/testdata/01925_json_as_string_data_in_square_brackets/explain.txt new file mode 100644 index 000000000..7e433aa36 --- /dev/null +++ b/parser/testdata/01925_json_as_string_data_in_square_brackets/explain.txt @@ -0,0 +1,2 @@ +DropQuery json_square_brackets (children 1) + Identifier json_square_brackets diff --git a/parser/testdata/01925_map_populate_series_on_map/explain.txt b/parser/testdata/01925_map_populate_series_on_map/explain.txt new file mode 100644 index 000000000..2791aaa46 --- /dev/null +++ b/parser/testdata/01925_map_populate_series_on_map/explain.txt @@ -0,0 +1,2 @@ +DropQuery map_test (children 1) + Identifier map_test diff --git a/parser/testdata/01925_merge_prewhere_table/explain.txt b/parser/testdata/01925_merge_prewhere_table/explain.txt new file mode 100644 index 000000000..9898362bc --- /dev/null +++ b/parser/testdata/01925_merge_prewhere_table/explain.txt @@ -0,0 +1,2 @@ +DropQuery x_1 (children 1) + Identifier x_1 diff --git a/parser/testdata/01925_test_group_by_const_consistency/explain.txt b/parser/testdata/01925_test_group_by_const_consistency/explain.txt new file mode 100644 index 000000000..c6adae137 --- /dev/null +++ b/parser/testdata/01925_test_group_by_const_consistency/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 2) + Literal UInt64_1 (alias a) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + Literal UInt64_0 + ExpressionList (children 1) + Identifier a diff --git a/parser/testdata/01925_test_storage_merge_aliases/explain.txt b/parser/testdata/01925_test_storage_merge_aliases/explain.txt new file mode 100644 index 000000000..3dd3b7693 --- /dev/null +++ b/parser/testdata/01925_test_storage_merge_aliases/explain.txt @@ -0,0 +1,2 @@ +DropQuery merge (children 1) + Identifier merge diff --git a/parser/testdata/01925_test_storage_merge_aliases_analyzer/explain.txt b/parser/testdata/01925_test_storage_merge_aliases_analyzer/explain.txt new file mode 100644 index 000000000..3dd3b7693 --- /dev/null +++ b/parser/testdata/01925_test_storage_merge_aliases_analyzer/explain.txt @@ -0,0 +1,2 @@ +DropQuery merge (children 1) + Identifier merge diff --git a/parser/testdata/01926_bin_unbin/explain.txt b/parser/testdata/01926_bin_unbin/explain.txt new file mode 100644 index 000000000..a33f7f06d --- /dev/null +++ b/parser/testdata/01926_bin_unbin/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function bin (children 1) + ExpressionList (children 1) + Literal \'\' diff --git a/parser/testdata/01926_date_date_time_supertype/explain.txt b/parser/testdata/01926_date_date_time_supertype/explain.txt new file mode 100644 index 000000000..4c4665d07 --- /dev/null +++ b/parser/testdata/01926_date_date_time_supertype/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'Array\' diff --git a/parser/testdata/01926_order_by_desc_limit/explain.txt b/parser/testdata/01926_order_by_desc_limit/explain.txt new file mode 100644 index 000000000..79292a515 --- /dev/null +++ b/parser/testdata/01926_order_by_desc_limit/explain.txt @@ -0,0 +1,2 @@ +DropQuery order_by_desc (children 1) + Identifier order_by_desc diff --git a/parser/testdata/01926_union_all_schmak/metadata.json b/parser/testdata/01926_union_all_schmak/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01926_union_all_schmak/metadata.json +++ b/parser/testdata/01926_union_all_schmak/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01927_query_views_log_current_database/explain.txt b/parser/testdata/01927_query_views_log_current_database/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01927_query_views_log_current_database/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01930_optimize_skip_unused_shards_rewrite_in/explain.txt b/parser/testdata/01930_optimize_skip_unused_shards_rewrite_in/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01930_optimize_skip_unused_shards_rewrite_in/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01931_storage_merge_no_columns/explain.txt b/parser/testdata/01931_storage_merge_no_columns/explain.txt new file mode 100644 index 000000000..5092c825d --- /dev/null +++ b/parser/testdata/01931_storage_merge_no_columns/explain.txt @@ -0,0 +1,2 @@ +DropQuery data (children 1) + Identifier data diff --git a/parser/testdata/01932_alter_index_with_order/explain.txt b/parser/testdata/01932_alter_index_with_order/explain.txt new file mode 100644 index 000000000..b358b1289 --- /dev/null +++ b/parser/testdata/01932_alter_index_with_order/explain.txt @@ -0,0 +1,2 @@ +DropQuery alter_index_test (children 1) + Identifier alter_index_test diff --git a/parser/testdata/01932_global_in_function/explain.txt b/parser/testdata/01932_global_in_function/explain.txt new file mode 100644 index 000000000..829576a4a --- /dev/null +++ b/parser/testdata/01932_global_in_function/explain.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function cluster (children 1) + ExpressionList (children 2) + Identifier test_cluster_two_shards_localhost + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Function globalIn (children 1) + ExpressionList (children 2) + Identifier number + Function tuple (children 1) + ExpressionList (children 4) + Literal UInt64_0 + Literal UInt64_1 + Literal UInt64_2 + Literal UInt64_3 diff --git a/parser/testdata/01932_null_valid_identifier/explain.txt b/parser/testdata/01932_null_valid_identifier/explain.txt new file mode 100644 index 000000000..f3f01157b --- /dev/null +++ b/parser/testdata/01932_null_valid_identifier/explain.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier null + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.0.0.2\' + Function view (children 1) + ExpressionList (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 (alias null) diff --git a/parser/testdata/01932_remote_sharding_key_column/explain.txt b/parser/testdata/01932_remote_sharding_key_column/explain.txt new file mode 100644 index 000000000..d573c60d9 --- /dev/null +++ b/parser/testdata/01932_remote_sharding_key_column/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 3) + Literal \'127.1\' + Identifier system.one + Identifier dummy + Identifier Null diff --git a/parser/testdata/01933_invalid_date/explain.txt b/parser/testdata/01933_invalid_date/explain.txt new file mode 100644 index 000000000..c40690c7a --- /dev/null +++ b/parser/testdata/01933_invalid_date/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toDate (children 1) + ExpressionList (children 1) + Literal \'07-08-2019\' +The query succeeded but the server error '38' was expected (query: EXPLAIN AST SELECT toDate('07-08-2019'); -- { serverError CANNOT_PARSE_DATE }). diff --git a/parser/testdata/01934_constexpr_aggregate_function_parameters/explain.txt b/parser/testdata/01934_constexpr_aggregate_function_parameters/explain.txt new file mode 100644 index 000000000..4eeb610f6 --- /dev/null +++ b/parser/testdata/01934_constexpr_aggregate_function_parameters/explain.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function groupArray (children 2) + ExpressionList (children 1) + Identifier number + ExpressionList (children 1) + Function plus (children 1) + ExpressionList (children 2) + Literal UInt64_2 + Literal UInt64_3 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 diff --git a/parser/testdata/01936_empty_function_support_uuid/explain.txt b/parser/testdata/01936_empty_function_support_uuid/explain.txt new file mode 100644 index 000000000..8ae25ec91 --- /dev/null +++ b/parser/testdata/01936_empty_function_support_uuid/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function empty (children 1) + ExpressionList (children 1) + Function toUUID (children 1) + ExpressionList (children 1) + Literal \'00000000-0000-0000-0000-000000000000\' diff --git a/parser/testdata/01936_quantiles_cannot_return_null/explain.txt b/parser/testdata/01936_quantiles_cannot_return_null/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01936_quantiles_cannot_return_null/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01936_three_parts_identifiers_in_wrong_places/explain.txt b/parser/testdata/01936_three_parts_identifiers_in_wrong_places/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01936_three_parts_identifiers_in_wrong_places/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01937_nested_chinese/explain.txt b/parser/testdata/01937_nested_chinese/explain.txt new file mode 100644 index 000000000..1cef648a8 --- /dev/null +++ b/parser/testdata/01937_nested_chinese/explain.txt @@ -0,0 +1,17 @@ +CreateQuery test (children 2) + Identifier test + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration id (children 1) + DataType String + ColumnDeclaration products (children 1) + DataType Nested (children 1) + ExpressionList (children 2) + NameTypePair äº§å“ (children 1) + DataType Array (children 1) + ExpressionList (children 1) + DataType String + NameTypePair é”€é‡ (children 1) + DataType Array (children 1) + ExpressionList (children 1) + DataType Int32 diff --git a/parser/testdata/01938_joins_identifiers/explain.txt b/parser/testdata/01938_joins_identifiers/explain.txt new file mode 100644 index 000000000..8922e255f --- /dev/null +++ b/parser/testdata/01938_joins_identifiers/explain.txt @@ -0,0 +1,2 @@ +DropQuery /t0 (children 1) + Identifier /t0 diff --git a/parser/testdata/01939_type_map_json/explain.txt b/parser/testdata/01939_type_map_json/explain.txt new file mode 100644 index 000000000..f6e93812b --- /dev/null +++ b/parser/testdata/01939_type_map_json/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function map (alias m) (children 1) + ExpressionList (children 4) + Literal UInt64_1 + Literal UInt64_2 + Literal UInt64_3 + Literal UInt64_4 + Identifier JSONEachRow diff --git a/parser/testdata/01940_custom_tld_sharding_key/explain.txt b/parser/testdata/01940_custom_tld_sharding_key/explain.txt new file mode 100644 index 000000000..39b20f1c7 --- /dev/null +++ b/parser/testdata/01940_custom_tld_sharding_key/explain.txt @@ -0,0 +1,29 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 3) + Literal \'127.{1,2}\' + Function view (children 1) + ExpressionList (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'foo.com\' (alias key) + Function cityHash64 (children 1) + ExpressionList (children 1) + Identifier key + Function equals (children 1) + ExpressionList (children 2) + Identifier key + Function cutToFirstSignificantSubdomainCustom (children 1) + ExpressionList (children 2) + Literal \'foo.com\' + Literal \'public_suffix_list\' + Set diff --git a/parser/testdata/01940_pad_string/explain.txt b/parser/testdata/01940_pad_string/explain.txt new file mode 100644 index 000000000..df40731d2 --- /dev/null +++ b/parser/testdata/01940_pad_string/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'leftPad\' diff --git a/parser/testdata/01940_point_in_polygon_ubsan/explain.txt b/parser/testdata/01940_point_in_polygon_ubsan/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01940_point_in_polygon_ubsan/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01940_totimezone_operator_monotonicity/explain.txt b/parser/testdata/01940_totimezone_operator_monotonicity/explain.txt new file mode 100644 index 000000000..36d89358d --- /dev/null +++ b/parser/testdata/01940_totimezone_operator_monotonicity/explain.txt @@ -0,0 +1,2 @@ +DropQuery totimezone_op_mono (children 1) + Identifier totimezone_op_mono diff --git a/parser/testdata/01941_dict_get_has_complex_single_key/explain.txt b/parser/testdata/01941_dict_get_has_complex_single_key/explain.txt new file mode 100644 index 000000000..4ca55dbdb --- /dev/null +++ b/parser/testdata/01941_dict_get_has_complex_single_key/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_dictionary_source (children 1) + Identifier test_dictionary_source diff --git a/parser/testdata/01942_create_table_with_sample/explain.txt b/parser/testdata/01942_create_table_with_sample/explain.txt new file mode 100644 index 000000000..2022f1bd6 --- /dev/null +++ b/parser/testdata/01942_create_table_with_sample/explain.txt @@ -0,0 +1,2 @@ +CreateQuery sample_incorrect (children 1) + Identifier sample_incorrect diff --git a/parser/testdata/01942_dateTimeToSnowflake/explain.txt b/parser/testdata/01942_dateTimeToSnowflake/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01942_dateTimeToSnowflake/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01942_dateTimeToSnowflakeID/explain.txt b/parser/testdata/01942_dateTimeToSnowflakeID/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01942_dateTimeToSnowflakeID/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01942_snowflakeIDToDateTime/explain.txt b/parser/testdata/01942_snowflakeIDToDateTime/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01942_snowflakeIDToDateTime/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01942_snowflakeToDateTime/explain.txt b/parser/testdata/01942_snowflakeToDateTime/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01942_snowflakeToDateTime/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01942_untuple_transformers_msan/explain.txt b/parser/testdata/01942_untuple_transformers_msan/explain.txt new file mode 100644 index 000000000..92ee22aa2 --- /dev/null +++ b/parser/testdata/01942_untuple_transformers_msan/explain.txt @@ -0,0 +1,40 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 4) + Function untuple (children 1) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList (children 1) + Literal Float64_100.0000991821289 + Literal NULL + Function untuple (children 1) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList (children 2) + Function toDateTime (children 1) + ExpressionList (children 5) + Literal UInt64_9223372036854775806 + Literal Int64_-1 + Literal NULL + Literal NULL + Function toDateTime (children 1) + ExpressionList (children 2) + Literal NULL + Literal NULL + Asterisk (children 1) + ColumnsTransformerList (children 1) + ColumnsExceptTransformer (children 1) + Identifier b + Literal NULL + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 3) + Literal UInt64_1 (alias a) + Literal UInt64_1024 + Literal NULL (alias b) diff --git a/parser/testdata/01943_log_column_sizes/explain.txt b/parser/testdata/01943_log_column_sizes/explain.txt new file mode 100644 index 000000000..6b4c28562 --- /dev/null +++ b/parser/testdata/01943_log_column_sizes/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_log (children 1) + Identifier test_log diff --git a/parser/testdata/01943_non_deterministic_order_key/explain.txt b/parser/testdata/01943_non_deterministic_order_key/explain.txt new file mode 100644 index 000000000..6e54fe1b1 --- /dev/null +++ b/parser/testdata/01943_non_deterministic_order_key/explain.txt @@ -0,0 +1,24 @@ +CreateQuery a (children 3) + Identifier a + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration number (children 1) + DataType UInt64 + Storage definition (children 2) + Function MergeTree + Function if (children 1) + ExpressionList (children 3) + Function greater (children 1) + ExpressionList (children 2) + Function now (children 1) + ExpressionList + Function toDateTime (children 1) + ExpressionList (children 1) + Literal \'2020-06-01 13:31:40\' + Function toInt64 (children 1) + ExpressionList (children 1) + Identifier number + Function negate (children 1) + ExpressionList (children 1) + Identifier number +The query succeeded but the server error '36' was expected (query: EXPLAIN AST CREATE TABLE a (number UInt64) ENGINE = MergeTree ORDER BY if(now() > toDateTime('2020-06-01 13:31:40'), toInt64(number), -number); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/01943_query_id_check/explain.txt b/parser/testdata/01943_query_id_check/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01943_query_id_check/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01944_insert_partition_by/explain.txt b/parser/testdata/01944_insert_partition_by/explain.txt new file mode 100644 index 000000000..d29cdf4af --- /dev/null +++ b/parser/testdata/01944_insert_partition_by/explain.txt @@ -0,0 +1,10 @@ +InsertQuery (children 2) + Function s3 (children 1) + ExpressionList (children 5) + Literal \'http://localhost:9001/foo/test_{_partition_id}.csv\' + Literal \'admin\' + Literal \'admin\' + Literal \'CSV\' + Literal \'id Int32, val String\' + Identifier val +The query succeeded but the server error '6' was expected (query: EXPLAIN AST INSERT INTO TABLE FUNCTION s3('http://localhost:9001/foo/test_{_partition_id}.csv', 'admin', 'admin', 'CSV', 'id Int32, val String') PARTITION BY val VALUES (1, '\r\n'); -- { serverError CANNOT_PARSE_TEXT }). diff --git a/parser/testdata/01944_range_max_elements/explain.txt b/parser/testdata/01944_range_max_elements/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01944_range_max_elements/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01946_profile_sleep/explain.txt b/parser/testdata/01946_profile_sleep/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01946_profile_sleep/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01947_mv_subquery/explain.txt b/parser/testdata/01947_mv_subquery/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01947_mv_subquery/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01948_dictionary_quoted_database_name/explain.txt b/parser/testdata/01948_dictionary_quoted_database_name/explain.txt new file mode 100644 index 000000000..c605962f2 --- /dev/null +++ b/parser/testdata/01948_dictionary_quoted_database_name/explain.txt @@ -0,0 +1,2 @@ +DropQuery 01945.db (children 1) + Identifier 01945.db diff --git a/parser/testdata/01948_group_bitmap_and_or_xor_fix/explain.txt b/parser/testdata/01948_group_bitmap_and_or_xor_fix/explain.txt new file mode 100644 index 000000000..b12b2dcb1 --- /dev/null +++ b/parser/testdata/01948_group_bitmap_and_or_xor_fix/explain.txt @@ -0,0 +1,40 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 3) + Function groupBitmapAnd (children 1) + ExpressionList (children 1) + Function bitmapBuild (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 1) + Function toInt32 (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Function groupBitmapOr (children 1) + ExpressionList (children 1) + Function bitmapBuild (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 1) + Function toInt32 (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Function groupBitmapXor (children 1) + ExpressionList (children 1) + Function bitmapBuild (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 1) + Function toInt32 (children 1) + ExpressionList (children 1) + Literal UInt64_1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function cluster (children 1) + ExpressionList (children 2) + Identifier test_cluster_two_shards + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 diff --git a/parser/testdata/01948_heredoc/explain.txt b/parser/testdata/01948_heredoc/explain.txt new file mode 100644 index 000000000..bae561d0d --- /dev/null +++ b/parser/testdata/01948_heredoc/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'\' diff --git a/parser/testdata/01950_aliases_bad_cast/explain.txt b/parser/testdata/01950_aliases_bad_cast/explain.txt new file mode 100644 index 000000000..e0f8720dc --- /dev/null +++ b/parser/testdata/01950_aliases_bad_cast/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Literal UInt64_1 + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal NULL (alias 1) +The query succeeded but the server error '352' was expected (query: EXPLAIN AST SELECT 1, * FROM (SELECT NULL AS `1`); -- { serverError AMBIGUOUS_COLUMN_NAME }). diff --git a/parser/testdata/01951_distributed_push_down_limit/explain.txt b/parser/testdata/01951_distributed_push_down_limit/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01951_distributed_push_down_limit/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01952_optimize_distributed_group_by_sharding_key/explain.txt b/parser/testdata/01952_optimize_distributed_group_by_sharding_key/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01952_optimize_distributed_group_by_sharding_key/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01957_heredoc_more/explain.txt b/parser/testdata/01957_heredoc_more/explain.txt new file mode 100644 index 000000000..d6413635e --- /dev/null +++ b/parser/testdata/01957_heredoc_more/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function hex (children 1) + ExpressionList (children 1) + Literal \'ÿþ€»\' diff --git a/parser/testdata/01958_partial_hour_timezone/explain.txt b/parser/testdata/01958_partial_hour_timezone/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01958_partial_hour_timezone/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01960_lambda_precedence/metadata.json b/parser/testdata/01960_lambda_precedence/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/01960_lambda_precedence/metadata.json +++ b/parser/testdata/01960_lambda_precedence/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/01961_roaring_memory_tracking/explain.txt b/parser/testdata/01961_roaring_memory_tracking/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/01961_roaring_memory_tracking/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/01999_grant_with_replace/explain.txt b/parser/testdata/01999_grant_with_replace/explain.txt new file mode 100644 index 000000000..24ba67fc3 --- /dev/null +++ b/parser/testdata/01999_grant_with_replace/explain.txt @@ -0,0 +1 @@ +DROP USER query diff --git a/parser/testdata/02000_default_from_default_empty_column/explain.txt b/parser/testdata/02000_default_from_default_empty_column/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/02000_default_from_default_empty_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/02000_join_on_const/explain.txt b/parser/testdata/02000_join_on_const/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/02000_join_on_const/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/02000_map_full_text_bloom_filter_index/explain.txt b/parser/testdata/02000_map_full_text_bloom_filter_index/explain.txt new file mode 100644 index 000000000..4b1be63e3 --- /dev/null +++ b/parser/testdata/02000_map_full_text_bloom_filter_index/explain.txt @@ -0,0 +1,2 @@ +DropQuery bf_tokenbf_map_keys_test (children 1) + Identifier bf_tokenbf_map_keys_test diff --git a/parser/testdata/02000_table_function_cluster_macros/explain.txt b/parser/testdata/02000_table_function_cluster_macros/explain.txt new file mode 100644 index 000000000..0e22b0ee7 --- /dev/null +++ b/parser/testdata/02000_table_function_cluster_macros/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier _shard_num + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function cluster (children 1) + ExpressionList (children 2) + Identifier {default_cluster_macro} + Identifier system.one diff --git a/parser/testdata/02001_add_default_database_to_system_users/explain.txt b/parser/testdata/02001_add_default_database_to_system_users/explain.txt new file mode 100644 index 000000000..e6a70727d --- /dev/null +++ b/parser/testdata/02001_add_default_database_to_system_users/explain.txt @@ -0,0 +1 @@ +CreateUserQuery diff --git a/parser/testdata/02001_dist_on_dist_WithMergeableStateAfterAggregation/explain.txt b/parser/testdata/02001_dist_on_dist_WithMergeableStateAfterAggregation/explain.txt new file mode 100644 index 000000000..fb0100e83 --- /dev/null +++ b/parser/testdata/02001_dist_on_dist_WithMergeableStateAfterAggregation/explain.txt @@ -0,0 +1,2 @@ +DropQuery dist (children 1) + Identifier dist diff --git a/parser/testdata/02001_hostname_test/explain.txt b/parser/testdata/02001_hostname_test/explain.txt new file mode 100644 index 000000000..1fa784dfa --- /dev/null +++ b/parser/testdata/02001_hostname_test/explain.txt @@ -0,0 +1,6 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function hostname (children 1) + ExpressionList diff --git a/parser/testdata/02001_join_on_const/explain.txt b/parser/testdata/02001_join_on_const/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/02001_join_on_const/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/02001_select_with_filter/explain.txt b/parser/testdata/02001_select_with_filter/explain.txt new file mode 100644 index 000000000..54d576875 --- /dev/null +++ b/parser/testdata/02001_select_with_filter/explain.txt @@ -0,0 +1,21 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function argMaxIf (children 1) + ExpressionList (children 3) + Identifier number + Function plus (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_1 + Function notEquals (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_99 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_100 diff --git a/parser/testdata/02001_shard_num_shard_count/explain.txt b/parser/testdata/02001_shard_num_shard_count/explain.txt new file mode 100644 index 000000000..8a744c3d1 --- /dev/null +++ b/parser/testdata/02001_shard_num_shard_count/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function shardNum (alias n) (children 1) + ExpressionList + Function shardCount (alias c) (children 1) + ExpressionList diff --git a/parser/testdata/02002_global_subqueries_subquery_or_table_name/metadata.json b/parser/testdata/02002_global_subqueries_subquery_or_table_name/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02002_global_subqueries_subquery_or_table_name/metadata.json +++ b/parser/testdata/02002_global_subqueries_subquery_or_table_name/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02002_parse_map_int_key/explain.txt b/parser/testdata/02002_parse_map_int_key/explain.txt new file mode 100644 index 000000000..8098e66e6 --- /dev/null +++ b/parser/testdata/02002_parse_map_int_key/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_map_int_key (children 1) + Identifier t_map_int_key diff --git a/parser/testdata/02002_sampling_and_unknown_column_bug/explain.txt b/parser/testdata/02002_sampling_and_unknown_column_bug/explain.txt new file mode 100644 index 000000000..141376902 --- /dev/null +++ b/parser/testdata/02002_sampling_and_unknown_column_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery sessions (children 1) + Identifier sessions diff --git a/parser/testdata/02003_WithMergeableStateAfterAggregationAndLimit_LIMIT_BY_LIMIT_OFFSET/explain.txt b/parser/testdata/02003_WithMergeableStateAfterAggregationAndLimit_LIMIT_BY_LIMIT_OFFSET/explain.txt new file mode 100644 index 000000000..330fe4236 --- /dev/null +++ b/parser/testdata/02003_WithMergeableStateAfterAggregationAndLimit_LIMIT_BY_LIMIT_OFFSET/explain.txt @@ -0,0 +1,6 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'\' + Identifier Null diff --git a/parser/testdata/02003_bug_from_23515/explain.txt b/parser/testdata/02003_bug_from_23515/explain.txt new file mode 100644 index 000000000..0a00b06d1 --- /dev/null +++ b/parser/testdata/02003_bug_from_23515/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab (children 1) + Identifier tab diff --git a/parser/testdata/02004_intersect_except_const_column/explain.txt b/parser/testdata/02004_intersect_except_const_column/explain.txt new file mode 100644 index 000000000..3768345e9 --- /dev/null +++ b/parser/testdata/02004_intersect_except_const_column/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectIntersectExceptQuery (children 2) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'fooooo\' + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'fooooo\' diff --git a/parser/testdata/02004_intersect_except_distinct_operators/explain.txt b/parser/testdata/02004_intersect_except_distinct_operators/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02004_intersect_except_distinct_operators/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02004_intersect_except_operators/explain.txt b/parser/testdata/02004_intersect_except_operators/explain.txt new file mode 100644 index 000000000..03f9076fc --- /dev/null +++ b/parser/testdata/02004_intersect_except_operators/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectIntersectExceptQuery (children 2) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/02004_invalid_partition_mutation_stuck/explain.txt b/parser/testdata/02004_invalid_partition_mutation_stuck/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02004_invalid_partition_mutation_stuck/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02004_max_hyperscan_regex_length/explain.txt b/parser/testdata/02004_max_hyperscan_regex_length/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02004_max_hyperscan_regex_length/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02005_log_formatted_queries/explain.txt b/parser/testdata/02005_log_formatted_queries/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02005_log_formatted_queries/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02006_client_test_hint_error_name/explain.txt b/parser/testdata/02006_client_test_hint_error_name/explain.txt new file mode 100644 index 000000000..50dbd7e7f --- /dev/null +++ b/parser/testdata/02006_client_test_hint_error_name/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function throwIf (children 1) + ExpressionList (children 1) + Literal UInt64_1 +The query succeeded but the server error '395' was expected (query: EXPLAIN AST select throwIf(1); -- { serverError FUNCTION_THROW_IF_VALUE_IS_NON_ZERO }). diff --git a/parser/testdata/02006_h3_to_geo_boundary/explain.txt b/parser/testdata/02006_h3_to_geo_boundary/explain.txt new file mode 100644 index 000000000..8f134ef81 --- /dev/null +++ b/parser/testdata/02006_h3_to_geo_boundary/explain.txt @@ -0,0 +1,2 @@ +DropQuery h3_indexes (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02006_test_positional_arguments/explain.txt b/parser/testdata/02006_test_positional_arguments/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02006_test_positional_arguments/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02006_test_positional_arguments_on_cluster/explain.txt b/parser/testdata/02006_test_positional_arguments_on_cluster/explain.txt new file mode 100644 index 000000000..164fa2ba1 --- /dev/null +++ b/parser/testdata/02006_test_positional_arguments_on_cluster/explain.txt @@ -0,0 +1,3 @@ +DropQuery t02006 (children 2) + Identifier t02006 + Identifier Null diff --git a/parser/testdata/02006_todatetime64_from_string/explain.txt b/parser/testdata/02006_todatetime64_from_string/explain.txt new file mode 100644 index 000000000..12b9fab53 --- /dev/null +++ b/parser/testdata/02006_todatetime64_from_string/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toDateTime64 (children 1) + ExpressionList (children 3) + Literal \'2021-03-22\' + Literal UInt64_3 + Literal \'Asia/Tehran\' diff --git a/parser/testdata/02006_use_constants_in_with_and_select/metadata.json b/parser/testdata/02006_use_constants_in_with_and_select/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02006_use_constants_in_with_and_select/metadata.json +++ b/parser/testdata/02006_use_constants_in_with_and_select/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02007_ipv4_and_ipv6_to_and_from_string/explain.txt b/parser/testdata/02007_ipv4_and_ipv6_to_and_from_string/explain.txt new file mode 100644 index 000000000..a33203aea --- /dev/null +++ b/parser/testdata/02007_ipv4_and_ipv6_to_and_from_string/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function CAST (alias v) (children 1) + ExpressionList (children 2) + Literal \'127.0.0.1\' + Literal \'IPv4\' + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier v diff --git a/parser/testdata/02007_join_use_nulls/explain.txt b/parser/testdata/02007_join_use_nulls/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02007_join_use_nulls/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02007_test_any_all_operators/explain.txt b/parser/testdata/02007_test_any_all_operators/explain.txt new file mode 100644 index 000000000..3a454d09c --- /dev/null +++ b/parser/testdata/02007_test_any_all_operators/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function in (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 diff --git a/parser/testdata/02008_aliased_column_distributed_bug/explain.txt b/parser/testdata/02008_aliased_column_distributed_bug/explain.txt new file mode 100644 index 000000000..be5509452 --- /dev/null +++ b/parser/testdata/02008_aliased_column_distributed_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery click_storage (children 1) + Identifier click_storage diff --git a/parser/testdata/02008_complex_key_range_hashed_dictionary/explain.txt b/parser/testdata/02008_complex_key_range_hashed_dictionary/explain.txt new file mode 100644 index 000000000..f72b6757f --- /dev/null +++ b/parser/testdata/02008_complex_key_range_hashed_dictionary/explain.txt @@ -0,0 +1,2 @@ +DropQuery date_table (children 1) + Identifier date_table diff --git a/parser/testdata/02008_materialize_column/explain.txt b/parser/testdata/02008_materialize_column/explain.txt new file mode 100644 index 000000000..3efe971ec --- /dev/null +++ b/parser/testdata/02008_materialize_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery tmp (children 1) + Identifier tmp diff --git a/parser/testdata/02008_test_union_distinct_in_subquery/explain.txt b/parser/testdata/02008_test_union_distinct_in_subquery/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/02008_test_union_distinct_in_subquery/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/02008_tuple_to_name_value_pairs/explain.txt b/parser/testdata/02008_tuple_to_name_value_pairs/explain.txt new file mode 100644 index 000000000..08f225ad5 --- /dev/null +++ b/parser/testdata/02008_tuple_to_name_value_pairs/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function tupleToNameValuePairs (children 1) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList (children 3) + Literal UInt64_1 + Literal UInt64_2 + Literal UInt64_3 diff --git a/parser/testdata/02009_array_join_partition/explain.txt b/parser/testdata/02009_array_join_partition/explain.txt new file mode 100644 index 000000000..ca7fc05e5 --- /dev/null +++ b/parser/testdata/02009_array_join_partition/explain.txt @@ -0,0 +1,16 @@ +CreateQuery table_2009_part (children 3) + Identifier table_2009_part + Columns definition (children 1) + ExpressionList (children 3) + ColumnDeclaration i (children 1) + DataType Int64 + ColumnDeclaration d (children 1) + DataType Date + ColumnDeclaration s (children 1) + DataType String + Storage definition (children 3) + Function MergeTree + Function toYYYYMM (children 1) + ExpressionList (children 1) + Identifier d + Identifier i diff --git a/parser/testdata/02009_decimal_no_trailing_zeros/explain.txt b/parser/testdata/02009_decimal_no_trailing_zeros/explain.txt new file mode 100644 index 000000000..76379f12d --- /dev/null +++ b/parser/testdata/02009_decimal_no_trailing_zeros/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Literal \'1.123\' + Literal \'Decimal64(1)\' diff --git a/parser/testdata/02010_array_index_bad_cast/explain.txt b/parser/testdata/02010_array_index_bad_cast/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02010_array_index_bad_cast/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02011_dictionary_empty_attribute_list/explain.txt b/parser/testdata/02011_dictionary_empty_attribute_list/explain.txt new file mode 100644 index 000000000..d4bf1aa3f --- /dev/null +++ b/parser/testdata/02011_dictionary_empty_attribute_list/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_table (children 1) + Identifier test_table diff --git a/parser/testdata/02011_normalize_utf8/explain.txt b/parser/testdata/02011_normalize_utf8/explain.txt new file mode 100644 index 000000000..56e92d918 --- /dev/null +++ b/parser/testdata/02011_normalize_utf8/explain.txt @@ -0,0 +1,2 @@ +DropQuery normalize_test (children 1) + Identifier normalize_test diff --git a/parser/testdata/02011_tuple_vector_functions/explain.txt b/parser/testdata/02011_tuple_vector_functions/explain.txt new file mode 100644 index 000000000..7b674d499 --- /dev/null +++ b/parser/testdata/02011_tuple_vector_functions/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function tupleHammingDistance (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Function tuple (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/02012_changed_enum_type_non_replicated/explain.txt b/parser/testdata/02012_changed_enum_type_non_replicated/explain.txt new file mode 100644 index 000000000..0fdea7889 --- /dev/null +++ b/parser/testdata/02012_changed_enum_type_non_replicated/explain.txt @@ -0,0 +1,19 @@ +CreateQuery enum_alter_issue (children 3) + Identifier enum_alter_issue + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration a (children 1) + DataType Enum8 (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Literal \'one\' + Literal UInt64_1 + Function equals (children 1) + ExpressionList (children 2) + Literal \'two\' + Literal UInt64_2 + Storage definition (children 2) + Function MergeTree (children 1) + ExpressionList + Identifier a diff --git a/parser/testdata/02012_get_server_port/explain.txt b/parser/testdata/02012_get_server_port/explain.txt new file mode 100644 index 000000000..ec94850d7 --- /dev/null +++ b/parser/testdata/02012_get_server_port/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function getServerPort (children 1) + ExpressionList (children 1) + Literal \'tcp_port\' diff --git a/parser/testdata/02012_low_cardinality_uuid_with_extremes/explain.txt b/parser/testdata/02012_low_cardinality_uuid_with_extremes/explain.txt new file mode 100644 index 000000000..ff737eb65 --- /dev/null +++ b/parser/testdata/02012_low_cardinality_uuid_with_extremes/explain.txt @@ -0,0 +1,2 @@ +DropQuery tbl (children 1) + Identifier tbl diff --git a/parser/testdata/02012_settings_clause_for_s3/explain.txt b/parser/testdata/02012_settings_clause_for_s3/explain.txt new file mode 100644 index 000000000..cc30ee162 --- /dev/null +++ b/parser/testdata/02012_settings_clause_for_s3/explain.txt @@ -0,0 +1,2 @@ +DropQuery table_with_range (children 1) + Identifier table_with_range diff --git a/parser/testdata/02012_sha512_fixedstring/explain.txt b/parser/testdata/02012_sha512_fixedstring/explain.txt new file mode 100644 index 000000000..10fcf5054 --- /dev/null +++ b/parser/testdata/02012_sha512_fixedstring/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function hex (children 1) + ExpressionList (children 1) + Function SHA512 (children 1) + ExpressionList (children 1) + Literal \'\' diff --git a/parser/testdata/02012_zookeeper_changed_enum_type/explain.txt b/parser/testdata/02012_zookeeper_changed_enum_type/explain.txt new file mode 100644 index 000000000..efbb5047c --- /dev/null +++ b/parser/testdata/02012_zookeeper_changed_enum_type/explain.txt @@ -0,0 +1,17 @@ +CreateQuery enum_alter_issue (children 2) + Identifier enum_alter_issue + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration a (children 1) + DataType Enum8 (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Literal \'one\' + Literal UInt64_1 + Function equals (children 1) + ExpressionList (children 2) + Literal \'two\' + Literal UInt64_2 + ColumnDeclaration b (children 1) + DataType Int diff --git a/parser/testdata/02012_zookeeper_changed_enum_type_incompatible/explain.txt b/parser/testdata/02012_zookeeper_changed_enum_type_incompatible/explain.txt new file mode 100644 index 000000000..1da2b8607 --- /dev/null +++ b/parser/testdata/02012_zookeeper_changed_enum_type_incompatible/explain.txt @@ -0,0 +1,2 @@ +DropQuery enum_alter_issue (children 1) + Identifier enum_alter_issue diff --git a/parser/testdata/02013_bloom_filter_hasAll/explain.txt b/parser/testdata/02013_bloom_filter_hasAll/explain.txt new file mode 100644 index 000000000..17f05b570 --- /dev/null +++ b/parser/testdata/02013_bloom_filter_hasAll/explain.txt @@ -0,0 +1,2 @@ +DropQuery bftest (children 1) + Identifier bftest diff --git a/parser/testdata/02013_emptystring_cast/explain.txt b/parser/testdata/02013_emptystring_cast/explain.txt new file mode 100644 index 000000000..d048e189b --- /dev/null +++ b/parser/testdata/02013_emptystring_cast/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_uint64 (children 1) + Identifier test_uint64 diff --git a/parser/testdata/02013_json_function_null_column/explain.txt b/parser/testdata/02013_json_function_null_column/explain.txt new file mode 100644 index 000000000..63bc0d1d4 --- /dev/null +++ b/parser/testdata/02013_json_function_null_column/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function JSONExtract (alias x) (children 1) + ExpressionList (children 3) + Literal \'{"string_value":null}\' + Literal \'string_value\' + Literal \'Nullable(String)\' + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/02013_lc_nullable_and_infinity/explain.txt b/parser/testdata/02013_lc_nullable_and_infinity/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02013_lc_nullable_and_infinity/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02014_dict_get_nullable_key/explain.txt b/parser/testdata/02014_dict_get_nullable_key/explain.txt new file mode 100644 index 000000000..c950f3983 --- /dev/null +++ b/parser/testdata/02014_dict_get_nullable_key/explain.txt @@ -0,0 +1,2 @@ +DropQuery dictionary_non_nullable_source_table (children 1) + Identifier dictionary_non_nullable_source_table diff --git a/parser/testdata/02014_map_different_keys/explain.txt b/parser/testdata/02014_map_different_keys/explain.txt new file mode 100644 index 000000000..897b31e5d --- /dev/null +++ b/parser/testdata/02014_map_different_keys/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'...const maps...\' diff --git a/parser/testdata/02014_storage_merge_order_by/explain.txt b/parser/testdata/02014_storage_merge_order_by/explain.txt new file mode 100644 index 000000000..b77398766 --- /dev/null +++ b/parser/testdata/02014_storage_merge_order_by/explain.txt @@ -0,0 +1,2 @@ +DropQuery short (children 1) + Identifier short diff --git a/parser/testdata/02015_column_default_dict_get_identifier/explain.txt b/parser/testdata/02015_column_default_dict_get_identifier/explain.txt new file mode 100644 index 000000000..d2b0e8fe1 --- /dev/null +++ b/parser/testdata/02015_column_default_dict_get_identifier/explain.txt @@ -0,0 +1,2 @@ +CreateQuery test_table (children 1) + Identifier test_table diff --git a/parser/testdata/02015_division_by_nullable/explain.txt b/parser/testdata/02015_division_by_nullable/explain.txt new file mode 100644 index 000000000..95697c009 --- /dev/null +++ b/parser/testdata/02015_division_by_nullable/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function divide (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Function CAST (children 1) + ExpressionList (children 2) + Literal NULL + Literal \'Nullable(Decimal(7, 2))\' diff --git a/parser/testdata/02015_executable_user_defined_functions/explain.txt b/parser/testdata/02015_executable_user_defined_functions/explain.txt new file mode 100644 index 000000000..2f1e0c3e2 --- /dev/null +++ b/parser/testdata/02015_executable_user_defined_functions/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function test_function (children 1) + ExpressionList (children 2) + Function toUInt64 (children 1) + ExpressionList (children 1) + Literal UInt64_2 + Function toUInt64 (children 1) + ExpressionList (children 1) + Literal UInt64_2 diff --git a/parser/testdata/02015_order_by_with_fill_misoptimization/explain.txt b/parser/testdata/02015_order_by_with_fill_misoptimization/explain.txt new file mode 100644 index 000000000..43b1da053 --- /dev/null +++ b/parser/testdata/02015_order_by_with_fill_misoptimization/explain.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier s + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Literal UInt64_5 (alias x) + Literal \'Hello\' (alias s) + ExpressionList (children 1) + OrderByElement (children 3) + Identifier x + Literal UInt64_1 + Literal UInt64_10 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier s diff --git a/parser/testdata/02016_agg_empty_result_bug_28880/explain.txt b/parser/testdata/02016_agg_empty_result_bug_28880/explain.txt new file mode 100644 index 000000000..2d7ed6cb3 --- /dev/null +++ b/parser/testdata/02016_agg_empty_result_bug_28880/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function count (alias cnt) (children 1) + ExpressionList + Literal UInt64_0 + Function equals (children 1) + ExpressionList (children 2) + Identifier cnt + Literal UInt64_0 diff --git a/parser/testdata/02016_aggregation_spark_bar/explain.txt b/parser/testdata/02016_aggregation_spark_bar/explain.txt new file mode 100644 index 000000000..52721f994 --- /dev/null +++ b/parser/testdata/02016_aggregation_spark_bar/explain.txt @@ -0,0 +1,2 @@ +DropQuery spark_bar_test (children 1) + Identifier spark_bar_test diff --git a/parser/testdata/02016_bit_shift_right_for_string_integer/explain.txt b/parser/testdata/02016_bit_shift_right_for_string_integer/explain.txt new file mode 100644 index 000000000..c5e2dee72 --- /dev/null +++ b/parser/testdata/02016_bit_shift_right_for_string_integer/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'String ConstConst\' diff --git a/parser/testdata/02016_order_by_with_fill_monotonic_functions_removal/explain.txt b/parser/testdata/02016_order_by_with_fill_monotonic_functions_removal/explain.txt new file mode 100644 index 000000000..454438557 --- /dev/null +++ b/parser/testdata/02016_order_by_with_fill_monotonic_functions_removal/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toStartOfMinute (alias ts) (children 1) + ExpressionList (children 1) + Identifier some_time diff --git a/parser/testdata/02016_summing_mt_aggregating_column/explain.txt b/parser/testdata/02016_summing_mt_aggregating_column/explain.txt new file mode 100644 index 000000000..2e5f7d66e --- /dev/null +++ b/parser/testdata/02016_summing_mt_aggregating_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery summing_mt_aggregating_column (children 1) + Identifier summing_mt_aggregating_column diff --git a/parser/testdata/02017_bit_shift_left_for_string_integer/explain.txt b/parser/testdata/02017_bit_shift_left_for_string_integer/explain.txt new file mode 100644 index 000000000..c5e2dee72 --- /dev/null +++ b/parser/testdata/02017_bit_shift_left_for_string_integer/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'String ConstConst\' diff --git a/parser/testdata/02017_columns_with_dot/explain.txt b/parser/testdata/02017_columns_with_dot/explain.txt new file mode 100644 index 000000000..4f77d7ba1 --- /dev/null +++ b/parser/testdata/02017_columns_with_dot/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_with_dots (children 1) + Identifier t_with_dots diff --git a/parser/testdata/02017_columns_with_dot_2/explain.txt b/parser/testdata/02017_columns_with_dot_2/explain.txt new file mode 100644 index 000000000..4221b08f9 --- /dev/null +++ b/parser/testdata/02017_columns_with_dot_2/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_nested (children 1) + Identifier test_nested diff --git a/parser/testdata/02017_create_distributed_table_coredump/explain.txt b/parser/testdata/02017_create_distributed_table_coredump/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/02017_create_distributed_table_coredump/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/02017_order_by_with_fill_redundant_functions/explain.txt b/parser/testdata/02017_order_by_with_fill_redundant_functions/explain.txt new file mode 100644 index 000000000..704aef5a1 --- /dev/null +++ b/parser/testdata/02017_order_by_with_fill_redundant_functions/explain.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier x + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_5 (alias x) + ExpressionList (children 2) + OrderByElement (children 1) + Function negate (children 1) + ExpressionList (children 1) + Identifier x + OrderByElement (children 3) + Identifier x + Literal UInt64_1 + Literal UInt64_10 diff --git a/parser/testdata/02018_multiple_with_fill_for_the_same_column/explain.txt b/parser/testdata/02018_multiple_with_fill_for_the_same_column/explain.txt new file mode 100644 index 000000000..fa9eaf086 --- /dev/null +++ b/parser/testdata/02018_multiple_with_fill_for_the_same_column/explain.txt @@ -0,0 +1,28 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Identifier x + Identifier y + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_5 (alias x) + Literal \'Hello\' (alias y) + ExpressionList (children 3) + OrderByElement (children 3) + Identifier x + Literal UInt64_3 + Literal UInt64_7 + OrderByElement (children 1) + Identifier y + OrderByElement (children 3) + Identifier x + Literal UInt64_1 + Literal UInt64_10 +The query succeeded but the server error '475' was expected (query: EXPLAIN AST SELECT x, y FROM (SELECT 5 AS x, 'Hello' AS y) ORDER BY x WITH FILL FROM 3 TO 7, y, x WITH FILL FROM 1 TO 10; -- { serverError INVALID_WITH_FILL_EXPRESSION }). diff --git a/parser/testdata/02019_multiple_weird_with_fill/metadata.json b/parser/testdata/02019_multiple_weird_with_fill/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02019_multiple_weird_with_fill/metadata.json +++ b/parser/testdata/02019_multiple_weird_with_fill/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02020_cast_integer_overflow/explain.txt b/parser/testdata/02020_cast_integer_overflow/explain.txt new file mode 100644 index 000000000..1a05bc208 --- /dev/null +++ b/parser/testdata/02020_cast_integer_overflow/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toInt32 (children 1) + ExpressionList (children 1) + Literal \'-2147483648\' diff --git a/parser/testdata/02020_exponential_smoothing/explain.txt b/parser/testdata/02020_exponential_smoothing/explain.txt new file mode 100644 index 000000000..114314bbd --- /dev/null +++ b/parser/testdata/02020_exponential_smoothing/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'exponentialMovingAverage\' diff --git a/parser/testdata/02020_exponential_smoothing_cross_block/explain.txt b/parser/testdata/02020_exponential_smoothing_cross_block/explain.txt new file mode 100644 index 000000000..e189c6eb9 --- /dev/null +++ b/parser/testdata/02020_exponential_smoothing_cross_block/explain.txt @@ -0,0 +1,56 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function countIf (children 1) + ExpressionList (children 1) + Literal UInt64_1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 8) + Literal NULL + Function exponentialTimeDecayedSum (children 3) + ExpressionList (children 2) + Identifier value + Identifier time + ExpressionList (children 1) + Literal Float64_100000002004087730000 + WindowDefinition (children 1) + Literal UInt64_255 + Function equals (children 1) + ExpressionList (children 2) + Identifier number + Literal Int64_-2147483649 + Function exponentialTimeDecayedSum (children 3) + ExpressionList (children 2) + Identifier value + Identifier time + ExpressionList (children 1) + Literal Int64_-1 + WindowDefinition (children 1) + Literal UInt64_65537 + Identifier number (alias value) + Function equals (children 1) + ExpressionList (children 2) + Identifier number + Literal NULL + Function exponentialTimeDecayedSum (children 3) + ExpressionList (children 2) + Identifier value + Identifier time + ExpressionList (children 1) + Literal UInt64_65537 + WindowDefinition (children 1) + Literal UInt64_1048577 + Identifier number (alias time) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_65535 diff --git a/parser/testdata/02021_exponential_sum/explain.txt b/parser/testdata/02021_exponential_sum/explain.txt new file mode 100644 index 000000000..f58774dff --- /dev/null +++ b/parser/testdata/02021_exponential_sum/explain.txt @@ -0,0 +1,25 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Function equals (alias value) (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 + Literal UInt64_0 + Identifier number (alias time) + ExpressionList (children 1) + Function exponentialMovingAverage (alias exp_smooth) (children 2) + ExpressionList (children 2) + Identifier value + Identifier time + ExpressionList (children 1) + Literal UInt64_1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers_mt (children 1) + ExpressionList (children 1) + Literal UInt64_10 diff --git a/parser/testdata/02021_exponential_sum_shard/explain.txt b/parser/testdata/02021_exponential_sum_shard/explain.txt new file mode 100644 index 000000000..1f855e877 --- /dev/null +++ b/parser/testdata/02021_exponential_sum_shard/explain.txt @@ -0,0 +1,28 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Function equals (alias value) (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 + Literal UInt64_0 + Identifier number (alias time) + ExpressionList (children 1) + Function exponentialMovingAverage (alias exp_smooth) (children 2) + ExpressionList (children 2) + Identifier value + Identifier time + ExpressionList (children 1) + Literal UInt64_1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.0.0.{1..10}\' + Function numbers_mt (children 1) + ExpressionList (children 1) + Literal UInt64_1000 diff --git a/parser/testdata/02021_h3_get_faces/explain.txt b/parser/testdata/02021_h3_get_faces/explain.txt new file mode 100644 index 000000000..8f134ef81 --- /dev/null +++ b/parser/testdata/02021_h3_get_faces/explain.txt @@ -0,0 +1,2 @@ +DropQuery h3_indexes (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02021_h3_is_pentagon/explain.txt b/parser/testdata/02021_h3_is_pentagon/explain.txt new file mode 100644 index 000000000..8f134ef81 --- /dev/null +++ b/parser/testdata/02021_h3_is_pentagon/explain.txt @@ -0,0 +1,2 @@ +DropQuery h3_indexes (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02021_h3_is_res_classIII/explain.txt b/parser/testdata/02021_h3_is_res_classIII/explain.txt new file mode 100644 index 000000000..8f134ef81 --- /dev/null +++ b/parser/testdata/02021_h3_is_res_classIII/explain.txt @@ -0,0 +1,2 @@ +DropQuery h3_indexes (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02021_map_bloom_filter_index/explain.txt b/parser/testdata/02021_map_bloom_filter_index/explain.txt new file mode 100644 index 000000000..c425cc42c --- /dev/null +++ b/parser/testdata/02021_map_bloom_filter_index/explain.txt @@ -0,0 +1,2 @@ +DropQuery map_test_index_map_keys (children 1) + Identifier map_test_index_map_keys diff --git a/parser/testdata/02021_map_has/explain.txt b/parser/testdata/02021_map_has/explain.txt new file mode 100644 index 000000000..b6ca07cc5 --- /dev/null +++ b/parser/testdata/02021_map_has/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_map (children 1) + Identifier test_map diff --git a/parser/testdata/02021_prewhere_always_true_where/explain.txt b/parser/testdata/02021_prewhere_always_true_where/explain.txt new file mode 100644 index 000000000..be2031adb --- /dev/null +++ b/parser/testdata/02021_prewhere_always_true_where/explain.txt @@ -0,0 +1,2 @@ +DropQuery data_02021 (children 1) + Identifier data_02021 diff --git a/parser/testdata/02021_prewhere_column_optimization/explain.txt b/parser/testdata/02021_prewhere_column_optimization/explain.txt new file mode 100644 index 000000000..be2031adb --- /dev/null +++ b/parser/testdata/02021_prewhere_column_optimization/explain.txt @@ -0,0 +1,2 @@ +DropQuery data_02021 (children 1) + Identifier data_02021 diff --git a/parser/testdata/02022_array_full_text_bloom_filter_index/explain.txt b/parser/testdata/02022_array_full_text_bloom_filter_index/explain.txt new file mode 100644 index 000000000..a709959c0 --- /dev/null +++ b/parser/testdata/02022_array_full_text_bloom_filter_index/explain.txt @@ -0,0 +1,2 @@ +DropQuery bf_tokenbf_array_test (children 1) + Identifier bf_tokenbf_array_test diff --git a/parser/testdata/02023_nullable_int_uint_where/explain.txt b/parser/testdata/02023_nullable_int_uint_where/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/02023_nullable_int_uint_where/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/02023_parser_number_binary_literal/explain.txt b/parser/testdata/02023_parser_number_binary_literal/explain.txt new file mode 100644 index 000000000..ef9dab9a1 --- /dev/null +++ b/parser/testdata/02023_parser_number_binary_literal/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_1 (alias number) + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier number diff --git a/parser/testdata/02023_transform_or_to_in/explain.txt b/parser/testdata/02023_transform_or_to_in/explain.txt new file mode 100644 index 000000000..70af80c6f --- /dev/null +++ b/parser/testdata/02023_transform_or_to_in/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_transform_or (children 1) + Identifier t_transform_or diff --git a/parser/testdata/02024_compile_expressions_with_short_circuit_evaluation/explain.txt b/parser/testdata/02024_compile_expressions_with_short_circuit_evaluation/explain.txt new file mode 100644 index 000000000..0b675eb89 --- /dev/null +++ b/parser/testdata/02024_compile_expressions_with_short_circuit_evaluation/explain.txt @@ -0,0 +1,27 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function plus (children 1) + ExpressionList (children 2) + Function plus (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Identifier number + Function multiIf (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_1 + Function cityHash64 (children 1) + ExpressionList (children 1) + Identifier number + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Set diff --git a/parser/testdata/02024_create_dictionary_with_comment/explain.txt b/parser/testdata/02024_create_dictionary_with_comment/explain.txt new file mode 100644 index 000000000..73c1c7c42 --- /dev/null +++ b/parser/testdata/02024_create_dictionary_with_comment/explain.txt @@ -0,0 +1,2 @@ +CreateQuery source_table (children 1) + Identifier source_table diff --git a/parser/testdata/02024_merge_regexp_assert/explain.txt b/parser/testdata/02024_merge_regexp_assert/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/02024_merge_regexp_assert/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/02025_dictionary_array_nested_map/explain.txt b/parser/testdata/02025_dictionary_array_nested_map/explain.txt new file mode 100644 index 000000000..287f8cf9f --- /dev/null +++ b/parser/testdata/02025_dictionary_array_nested_map/explain.txt @@ -0,0 +1,2 @@ +CreateQuery dict_nested_map_test_table (children 1) + Identifier dict_nested_map_test_table diff --git a/parser/testdata/02025_dictionary_view_different_db/explain.txt b/parser/testdata/02025_dictionary_view_different_db/explain.txt new file mode 100644 index 000000000..0c95126d2 --- /dev/null +++ b/parser/testdata/02025_dictionary_view_different_db/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_db_2025 (children 1) + Identifier test_db_2025 diff --git a/parser/testdata/02025_having_filter_column/explain.txt b/parser/testdata/02025_having_filter_column/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/02025_having_filter_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/02025_nested_func_for_if_combinator/explain.txt b/parser/testdata/02025_nested_func_for_if_combinator/explain.txt new file mode 100644 index 000000000..2b9ee914d --- /dev/null +++ b/parser/testdata/02025_nested_func_for_if_combinator/explain.txt @@ -0,0 +1,31 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function uniqCombinedIfMerge (children 1) + ExpressionList (children 1) + Identifier n + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function uniqCombinedIfState (alias n) (children 1) + ExpressionList (children 2) + Identifier number + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + Function max (alias last) (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 diff --git a/parser/testdata/02025_subcolumns_compact_parts/explain.txt b/parser/testdata/02025_subcolumns_compact_parts/explain.txt new file mode 100644 index 000000000..b3a7cb32d --- /dev/null +++ b/parser/testdata/02025_subcolumns_compact_parts/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_comp_subcolumns (children 1) + Identifier t_comp_subcolumns diff --git a/parser/testdata/02026_accurate_cast_or_default/explain.txt b/parser/testdata/02026_accurate_cast_or_default/explain.txt new file mode 100644 index 000000000..884b97d8c --- /dev/null +++ b/parser/testdata/02026_accurate_cast_or_default/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function accurateCastOrDefault (children 1) + ExpressionList (children 2) + Literal Int64_-1 + Literal \'UInt8\' + Function accurateCastOrDefault (children 1) + ExpressionList (children 2) + Literal UInt64_5 + Literal \'UInt8\' diff --git a/parser/testdata/02026_arrayDifference_const/explain.txt b/parser/testdata/02026_arrayDifference_const/explain.txt new file mode 100644 index 000000000..bd6ecfe34 --- /dev/null +++ b/parser/testdata/02026_arrayDifference_const/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toString (children 1) + ExpressionList (children 1) + Function arrayDifference (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Literal UInt64_0 + Literal Array_[UInt64_1, UInt64_2] diff --git a/parser/testdata/02026_describe_include_subcolumns/explain.txt b/parser/testdata/02026_describe_include_subcolumns/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02026_describe_include_subcolumns/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02027_arrayCumSumNonNegative_const/explain.txt b/parser/testdata/02027_arrayCumSumNonNegative_const/explain.txt new file mode 100644 index 000000000..8acffd823 --- /dev/null +++ b/parser/testdata/02027_arrayCumSumNonNegative_const/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toString (children 1) + ExpressionList (children 1) + Function arrayCumSumNonNegative (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Literal UInt64_0 + Literal Array_[UInt64_1, UInt64_2] diff --git a/parser/testdata/02027_ngrams/explain.txt b/parser/testdata/02027_ngrams/explain.txt new file mode 100644 index 000000000..fb1afd3ed --- /dev/null +++ b/parser/testdata/02027_ngrams/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function ngrams (children 1) + ExpressionList (children 2) + Literal \'Test\' + Literal UInt64_1 diff --git a/parser/testdata/02028_add_default_database_for_alterquery_on_cluster/explain.txt b/parser/testdata/02028_add_default_database_for_alterquery_on_cluster/explain.txt new file mode 100644 index 000000000..9517a4c8a --- /dev/null +++ b/parser/testdata/02028_add_default_database_for_alterquery_on_cluster/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02028_db (children 1) + Identifier 02028_db diff --git a/parser/testdata/02028_create_select_settings/explain.txt b/parser/testdata/02028_create_select_settings/explain.txt new file mode 100644 index 000000000..1273fa7c4 --- /dev/null +++ b/parser/testdata/02028_create_select_settings/explain.txt @@ -0,0 +1,37 @@ +CreateQuery test_table (children 3) + Identifier test_table + Storage definition (children 2) + Function MergeTree + Identifier a + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Identifier a_table.a + Identifier b_table.b_arr + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias a_table) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayJoin (alias a) (children 1) + ExpressionList (children 1) + Function range (children 1) + ExpressionList (children 1) + Literal UInt64_10000 + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias b_table) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function range (alias b_arr) (children 1) + ExpressionList (children 1) + Literal UInt64_10000 + TableJoin + Set +The query succeeded but the server error '241' was expected (query: EXPLAIN AST create table test_table engine MergeTree order by a as select a_table.a, b_table.b_arr from (select arrayJoin(range(10000)) as a) a_table cross join (select range(10000) as b_arr) b_table settings max_memory_usage = 1; -- { serverError MEMORY_LIMIT_EXCEEDED }). diff --git a/parser/testdata/02028_system_data_skipping_indices_size/explain.txt b/parser/testdata/02028_system_data_skipping_indices_size/explain.txt new file mode 100644 index 000000000..d4bf1aa3f --- /dev/null +++ b/parser/testdata/02028_system_data_skipping_indices_size/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_table (children 1) + Identifier test_table diff --git a/parser/testdata/02028_tokens/explain.txt b/parser/testdata/02028_tokens/explain.txt new file mode 100644 index 000000000..84673e225 --- /dev/null +++ b/parser/testdata/02028_tokens/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function tokens (children 1) + ExpressionList (children 1) + Literal \'test\' diff --git a/parser/testdata/02029_output_csv_null_representation/explain.txt b/parser/testdata/02029_output_csv_null_representation/explain.txt new file mode 100644 index 000000000..ed80912a1 --- /dev/null +++ b/parser/testdata/02029_output_csv_null_representation/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_data (children 1) + Identifier test_data diff --git a/parser/testdata/02029_quantile_sanitizer/explain.txt b/parser/testdata/02029_quantile_sanitizer/explain.txt new file mode 100644 index 000000000..c55f60b40 --- /dev/null +++ b/parser/testdata/02029_quantile_sanitizer/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function quantileTDigestWeighted (children 2) + ExpressionList (children 2) + Function toDateTime (children 1) + ExpressionList (children 1) + Literal Float64_10000000000 + Literal UInt64_1 + ExpressionList (children 1) + Literal Float64_-0 +The query succeeded but the server error '407' was expected (query: EXPLAIN AST SELECT quantileTDigestWeighted(-0.)(toDateTime(10000000000.), 1); -- { serverError DECIMAL_OVERFLOW }). diff --git a/parser/testdata/02030_function_mapContainsKeyLike/explain.txt b/parser/testdata/02030_function_mapContainsKeyLike/explain.txt new file mode 100644 index 000000000..e8d74db22 --- /dev/null +++ b/parser/testdata/02030_function_mapContainsKeyLike/explain.txt @@ -0,0 +1,2 @@ +DropQuery map_containsKeyLike_test (children 1) + Identifier map_containsKeyLike_test diff --git a/parser/testdata/02030_quantiles_underflow/metadata.json b/parser/testdata/02030_quantiles_underflow/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02030_quantiles_underflow/metadata.json +++ b/parser/testdata/02030_quantiles_underflow/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02030_tuple_filter/explain.txt b/parser/testdata/02030_tuple_filter/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02030_tuple_filter/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02032_short_circuit_least_greatest_bug/explain.txt b/parser/testdata/02032_short_circuit_least_greatest_bug/explain.txt new file mode 100644 index 000000000..5af7225ab --- /dev/null +++ b/parser/testdata/02032_short_circuit_least_greatest_bug/explain.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function and (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Function greatest (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_3 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 diff --git a/parser/testdata/02035_isNull_isNotNull_format/explain.txt b/parser/testdata/02035_isNull_isNotNull_format/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02035_isNull_isNotNull_format/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02036_jit_short_circuit/explain.txt b/parser/testdata/02036_jit_short_circuit/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02036_jit_short_circuit/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02039_group_by_with_totals_having/explain.txt b/parser/testdata/02039_group_by_with_totals_having/explain.txt new file mode 100644 index 000000000..08c1b0892 --- /dev/null +++ b/parser/testdata/02039_group_by_with_totals_having/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Literal \'x\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_2 + ExpressionList (children 1) + Identifier number + Function greater (children 1) + ExpressionList (children 2) + Function count (children 1) + ExpressionList (children 1) + Identifier number + Literal UInt64_0 diff --git a/parser/testdata/02041_conversion_between_date32_and_datetime64/explain.txt b/parser/testdata/02041_conversion_between_date32_and_datetime64/explain.txt new file mode 100644 index 000000000..189b4bab5 --- /dev/null +++ b/parser/testdata/02041_conversion_between_date32_and_datetime64/explain.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function toDate32 (children 1) + ExpressionList (children 1) + Function toDateTime64 (children 1) + ExpressionList (children 3) + Literal \'2019-01-01 00:00:00\' + Literal UInt64_3 + Literal \'Asia/Istanbul\' + Function toDateTime64 (children 1) + ExpressionList (children 3) + Function toDate32 (children 1) + ExpressionList (children 1) + Literal \'2019-01-01\' + Literal UInt64_3 + Literal \'Asia/Istanbul\' diff --git a/parser/testdata/02041_openssl_hash_functions_test/explain.txt b/parser/testdata/02041_openssl_hash_functions_test/explain.txt new file mode 100644 index 000000000..fd5875a0e --- /dev/null +++ b/parser/testdata/02041_openssl_hash_functions_test/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function hex (children 1) + ExpressionList (children 1) + Function halfMD5 (children 1) + ExpressionList (children 1) + Literal \'test\' diff --git a/parser/testdata/02041_test_fuzzy_alter/explain.txt b/parser/testdata/02041_test_fuzzy_alter/explain.txt new file mode 100644 index 000000000..d8f6947ff --- /dev/null +++ b/parser/testdata/02041_test_fuzzy_alter/explain.txt @@ -0,0 +1,2 @@ +DropQuery alter_table (children 1) + Identifier alter_table diff --git a/parser/testdata/02042_map_get_non_const_key/explain.txt b/parser/testdata/02042_map_get_non_const_key/explain.txt new file mode 100644 index 000000000..5f05a4206 --- /dev/null +++ b/parser/testdata/02042_map_get_non_const_key/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayElement (children 1) + ExpressionList (children 2) + Identifier map + Identifier key diff --git a/parser/testdata/02043_user_defined_executable_function_implicit_cast/explain.txt b/parser/testdata/02043_user_defined_executable_function_implicit_cast/explain.txt new file mode 100644 index 000000000..80329f4d0 --- /dev/null +++ b/parser/testdata/02043_user_defined_executable_function_implicit_cast/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function test_function (children 1) + ExpressionList (children 2) + Literal UInt64_2 + Literal UInt64_2 diff --git a/parser/testdata/02044_exists_operator/explain.txt b/parser/testdata/02044_exists_operator/explain.txt new file mode 100644 index 000000000..eb8a17142 --- /dev/null +++ b/parser/testdata/02044_exists_operator/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function exists (children 1) + ExpressionList (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/02045_like_function/explain.txt b/parser/testdata/02045_like_function/explain.txt new file mode 100644 index 000000000..3f88d8e28 --- /dev/null +++ b/parser/testdata/02045_like_function/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function like (alias res) (children 1) + ExpressionList (children 2) + Literal \'r\\\\a1bbb\' + Literal \'%r\\\\\\\\a1%bbb%\' diff --git a/parser/testdata/02046_remote_table_function_named_collections/explain.txt b/parser/testdata/02046_remote_table_function_named_collections/explain.txt new file mode 100644 index 000000000..277372cb7 --- /dev/null +++ b/parser/testdata/02046_remote_table_function_named_collections/explain.txt @@ -0,0 +1,2 @@ +DropQuery remote_test (children 1) + Identifier remote_test diff --git a/parser/testdata/02047_alias_for_table_and_database_name/explain.txt b/parser/testdata/02047_alias_for_table_and_database_name/explain.txt new file mode 100644 index 000000000..03e918c58 --- /dev/null +++ b/parser/testdata/02047_alias_for_table_and_database_name/explain.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Identifier name + Identifier table + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.tables + Function and (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier database + Literal \'system\' + Function equals (children 1) + ExpressionList (children 2) + Identifier name + Literal \'numbers\' diff --git a/parser/testdata/02049_lowcardinality_shortcircuit_crash/explain.txt b/parser/testdata/02049_lowcardinality_shortcircuit_crash/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02049_lowcardinality_shortcircuit_crash/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02053_INSERT_SELECT_MATERIALIZED/explain.txt b/parser/testdata/02053_INSERT_SELECT_MATERIALIZED/explain.txt new file mode 100644 index 000000000..a47c2a0de --- /dev/null +++ b/parser/testdata/02053_INSERT_SELECT_MATERIALIZED/explain.txt @@ -0,0 +1,19 @@ +CreateQuery data_02053 (children 3) + Identifier data_02053 + Columns definition (children 1) + ExpressionList (children 3) + ColumnDeclaration id (children 1) + DataType Int64 + ColumnDeclaration A (children 1) + DataType Nullable (children 1) + ExpressionList (children 1) + DataType Int64 + ColumnDeclaration X (children 2) + DataType Int64 + Function coalesce (children 1) + ExpressionList (children 2) + Identifier A + Literal Int64_-1 + Storage definition (children 2) + Function MergeTree + Identifier id diff --git a/parser/testdata/02067_lost_part_s3/explain.txt b/parser/testdata/02067_lost_part_s3/explain.txt new file mode 100644 index 000000000..81eb23387 --- /dev/null +++ b/parser/testdata/02067_lost_part_s3/explain.txt @@ -0,0 +1,2 @@ +DropQuery partslost_0 (children 1) + Identifier partslost_0 diff --git a/parser/testdata/02070_join_on_disk/explain.txt b/parser/testdata/02070_join_on_disk/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02070_join_on_disk/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02071_lower_upper_utf8_row_overlaps/explain.txt b/parser/testdata/02071_lower_upper_utf8_row_overlaps/explain.txt new file mode 100644 index 000000000..57e8e4c1f --- /dev/null +++ b/parser/testdata/02071_lower_upper_utf8_row_overlaps/explain.txt @@ -0,0 +1,2 @@ +DropQuery utf8_overlap (children 1) + Identifier utf8_overlap diff --git a/parser/testdata/02072_rdb_recovery_escaped_name/metadata.json b/parser/testdata/02072_rdb_recovery_escaped_name/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02072_rdb_recovery_escaped_name/metadata.json +++ b/parser/testdata/02072_rdb_recovery_escaped_name/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02095_function_get_os_kernel_version/explain.txt b/parser/testdata/02095_function_get_os_kernel_version/explain.txt new file mode 100644 index 000000000..b79ffa7cb --- /dev/null +++ b/parser/testdata/02095_function_get_os_kernel_version/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function splitByChar (alias version_pair) (children 1) + ExpressionList (children 2) + Literal \' \' + Function getOSKernelVersion (children 1) + ExpressionList + ExpressionList (children 1) + Function arrayElement (children 1) + ExpressionList (children 2) + Identifier version_pair + Literal UInt64_1 diff --git a/parser/testdata/02096_date_time_1970_saturation/explain.txt b/parser/testdata/02096_date_time_1970_saturation/explain.txt new file mode 100644 index 000000000..e39c9339f --- /dev/null +++ b/parser/testdata/02096_date_time_1970_saturation/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toDate (children 1) + ExpressionList (children 1) + Literal UInt64_0 diff --git a/parser/testdata/02096_date_time_1970_saturation2/explain.txt b/parser/testdata/02096_date_time_1970_saturation2/explain.txt new file mode 100644 index 000000000..8eacb5f66 --- /dev/null +++ b/parser/testdata/02096_date_time_1970_saturation2/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toDateTime (children 1) + ExpressionList (children 2) + Literal UInt64_0 + Literal \'America/Paramaribo\' diff --git a/parser/testdata/02096_join_unusual_identifier_begin/explain.txt b/parser/testdata/02096_join_unusual_identifier_begin/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/02096_join_unusual_identifier_begin/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/02096_rename_atomic_hang/explain.txt b/parser/testdata/02096_rename_atomic_hang/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02096_rename_atomic_hang/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02096_sample_by_tuple/explain.txt b/parser/testdata/02096_sample_by_tuple/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/02096_sample_by_tuple/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/02096_sql_user_defined_function_alias/explain.txt b/parser/testdata/02096_sql_user_defined_function_alias/explain.txt new file mode 100644 index 000000000..69a94ddc7 --- /dev/null +++ b/parser/testdata/02096_sql_user_defined_function_alias/explain.txt @@ -0,0 +1,11 @@ +CreateFunctionQuery 02096_test_function (children 2) + Identifier 02096_test_function + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function plus (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_1 diff --git a/parser/testdata/02096_totals_global_in_bug/explain.txt b/parser/testdata/02096_totals_global_in_bug/explain.txt new file mode 100644 index 000000000..76c8051f6 --- /dev/null +++ b/parser/testdata/02096_totals_global_in_bug/explain.txt @@ -0,0 +1,40 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 1) + Function sum (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.0.0.{2,3}\' + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_2 + Function globalIn (children 1) + ExpressionList (children 2) + Identifier number + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function sum (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_2 + ExpressionList (children 1) + Identifier number + ExpressionList (children 1) + Identifier number + ExpressionList (children 1) + OrderByElement (children 1) + Identifier number diff --git a/parser/testdata/02097_default_dict_get_add_database/explain.txt b/parser/testdata/02097_default_dict_get_add_database/explain.txt new file mode 100644 index 000000000..69620e366 --- /dev/null +++ b/parser/testdata/02097_default_dict_get_add_database/explain.txt @@ -0,0 +1,2 @@ +DropQuery db_02097 (children 1) + Identifier db_02097 diff --git a/parser/testdata/02097_initializeAggregationNullable/explain.txt b/parser/testdata/02097_initializeAggregationNullable/explain.txt new file mode 100644 index 000000000..34ad37679 --- /dev/null +++ b/parser/testdata/02097_initializeAggregationNullable/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function finalizeAggregation (children 1) + ExpressionList (children 1) + Function initializeAggregation (children 1) + ExpressionList (children 2) + Literal \'uniqExactState\' + Function toNullable (children 1) + ExpressionList (children 1) + Literal \'foo\' diff --git a/parser/testdata/02097_polygon_dictionary_store_key/explain.txt b/parser/testdata/02097_polygon_dictionary_store_key/explain.txt new file mode 100644 index 000000000..091d300b6 --- /dev/null +++ b/parser/testdata/02097_polygon_dictionary_store_key/explain.txt @@ -0,0 +1,2 @@ +DropQuery polygons_test_table (children 1) + Identifier polygons_test_table diff --git a/parser/testdata/02097_remove_sample_by/explain.txt b/parser/testdata/02097_remove_sample_by/explain.txt new file mode 100644 index 000000000..8687e8cee --- /dev/null +++ b/parser/testdata/02097_remove_sample_by/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_remove_sample_by (children 1) + Identifier t_remove_sample_by diff --git a/parser/testdata/02098_date32_comparison/explain.txt b/parser/testdata/02098_date32_comparison/explain.txt new file mode 100644 index 000000000..a67ba5010 --- /dev/null +++ b/parser/testdata/02098_date32_comparison/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Function toDate32 (children 1) + ExpressionList (children 1) + Literal \'1990-02-01\' + Function toDate (children 1) + ExpressionList (children 1) + Literal \'1990-02-01\' diff --git a/parser/testdata/02098_sql_user_defined_functions_aliases/explain.txt b/parser/testdata/02098_sql_user_defined_functions_aliases/explain.txt new file mode 100644 index 000000000..a4777a193 --- /dev/null +++ b/parser/testdata/02098_sql_user_defined_functions_aliases/explain.txt @@ -0,0 +1,14 @@ +CreateFunctionQuery 02098_alias_function (children 2) + Identifier 02098_alias_function + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function plus (children 1) + ExpressionList (children 2) + Function multiply (alias x_doubled) (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_2 + Identifier x_doubled diff --git a/parser/testdata/02099_sql_user_defined_functions_lambda/explain.txt b/parser/testdata/02099_sql_user_defined_functions_lambda/explain.txt new file mode 100644 index 000000000..a59d423a1 --- /dev/null +++ b/parser/testdata/02099_sql_user_defined_functions_lambda/explain.txt @@ -0,0 +1,19 @@ +CreateFunctionQuery 02099_lambda_function (children 2) + Identifier 02099_lambda_function + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function arrayMap (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier array_element + Function multiply (children 1) + ExpressionList (children 2) + Identifier array_element + Literal UInt64_2 + Identifier x diff --git a/parser/testdata/02100_alter_scalar_circular_deadlock/explain.txt b/parser/testdata/02100_alter_scalar_circular_deadlock/explain.txt new file mode 100644 index 000000000..275941d99 --- /dev/null +++ b/parser/testdata/02100_alter_scalar_circular_deadlock/explain.txt @@ -0,0 +1,2 @@ +DropQuery foo (children 1) + Identifier foo diff --git a/parser/testdata/02100_limit_push_down_bug/explain.txt b/parser/testdata/02100_limit_push_down_bug/explain.txt new file mode 100644 index 000000000..669a5e6a2 --- /dev/null +++ b/parser/testdata/02100_limit_push_down_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery tbl_repr (children 1) + Identifier tbl_repr diff --git a/parser/testdata/02100_now64_types_bug/explain.txt b/parser/testdata/02100_now64_types_bug/explain.txt new file mode 100644 index 000000000..655a92ed5 --- /dev/null +++ b/parser/testdata/02100_now64_types_bug/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/02100_replaceRegexpAll_bug/explain.txt b/parser/testdata/02100_replaceRegexpAll_bug/explain.txt new file mode 100644 index 000000000..23135dae1 --- /dev/null +++ b/parser/testdata/02100_replaceRegexpAll_bug/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function equals (alias x) (children 1) + ExpressionList (children 2) + Literal \'aaaabb \' + Function trimLeft (children 1) + ExpressionList (children 2) + Literal \'b aaaabb \' + Literal \'b \' diff --git a/parser/testdata/02101_sql_user_defined_functions_create_or_replace/explain.txt b/parser/testdata/02101_sql_user_defined_functions_create_or_replace/explain.txt new file mode 100644 index 000000000..41a821b85 --- /dev/null +++ b/parser/testdata/02101_sql_user_defined_functions_create_or_replace/explain.txt @@ -0,0 +1,11 @@ +CreateFunctionQuery 02101_test_function (children 2) + Identifier 02101_test_function + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function plus (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_1 diff --git a/parser/testdata/02101_sql_user_defined_functions_drop_if_exists/explain.txt b/parser/testdata/02101_sql_user_defined_functions_drop_if_exists/explain.txt new file mode 100644 index 000000000..41a821b85 --- /dev/null +++ b/parser/testdata/02101_sql_user_defined_functions_drop_if_exists/explain.txt @@ -0,0 +1,11 @@ +CreateFunctionQuery 02101_test_function (children 2) + Identifier 02101_test_function + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function plus (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_1 diff --git a/parser/testdata/02102_sql_user_defined_functions_create_if_not_exists/explain.txt b/parser/testdata/02102_sql_user_defined_functions_create_if_not_exists/explain.txt new file mode 100644 index 000000000..72ae6f896 --- /dev/null +++ b/parser/testdata/02102_sql_user_defined_functions_create_if_not_exists/explain.txt @@ -0,0 +1,11 @@ +CreateFunctionQuery 02102_test_function (children 2) + Identifier 02102_test_function + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function plus (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_1 diff --git a/parser/testdata/02103_sql_user_defined_functions_composition/explain.txt b/parser/testdata/02103_sql_user_defined_functions_composition/explain.txt new file mode 100644 index 000000000..187f8438f --- /dev/null +++ b/parser/testdata/02103_sql_user_defined_functions_composition/explain.txt @@ -0,0 +1,11 @@ +CreateFunctionQuery 02103_test_function (children 2) + Identifier 02103_test_function + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function plus (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_1 diff --git a/parser/testdata/02111_function_mapExtractKeyLike/explain.txt b/parser/testdata/02111_function_mapExtractKeyLike/explain.txt new file mode 100644 index 000000000..c648b66ee --- /dev/null +++ b/parser/testdata/02111_function_mapExtractKeyLike/explain.txt @@ -0,0 +1,2 @@ +DropQuery map_extractKeyLike_test (children 1) + Identifier map_extractKeyLike_test diff --git a/parser/testdata/02111_global_context_temporary_tables/explain.txt b/parser/testdata/02111_global_context_temporary_tables/explain.txt new file mode 100644 index 000000000..dca1d2c2b --- /dev/null +++ b/parser/testdata/02111_global_context_temporary_tables/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 3) + Literal \'127.1\' + Identifier system.one + Function in (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Identifier id +The query succeeded but the server error '60' was expected (query: EXPLAIN AST SELECT * FROM remote('127.1', system.one, 1 IN id); -- { serverError UNKNOWN_TABLE }). diff --git a/parser/testdata/02111_json_column_name_encoding/explain.txt b/parser/testdata/02111_json_column_name_encoding/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02111_json_column_name_encoding/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02111_modify_table_comment/explain.txt b/parser/testdata/02111_modify_table_comment/explain.txt new file mode 100644 index 000000000..d0476291e --- /dev/null +++ b/parser/testdata/02111_modify_table_comment/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02111_modify_table_comment (children 1) + Identifier 02111_modify_table_comment diff --git a/parser/testdata/02111_with_fill_no_rows/explain.txt b/parser/testdata/02111_with_fill_no_rows/explain.txt new file mode 100644 index 000000000..724bf469e --- /dev/null +++ b/parser/testdata/02111_with_fill_no_rows/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function toYear (alias y) (children 1) + ExpressionList (children 1) + Identifier d + Function count (children 1) + ExpressionList diff --git a/parser/testdata/02112_skip_index_set_and_or/explain.txt b/parser/testdata/02112_skip_index_set_and_or/explain.txt new file mode 100644 index 000000000..0fbd0ccdf --- /dev/null +++ b/parser/testdata/02112_skip_index_set_and_or/explain.txt @@ -0,0 +1,2 @@ +DropQuery set_index (children 1) + Identifier set_index diff --git a/parser/testdata/02112_with_fill_interval/explain.txt b/parser/testdata/02112_with_fill_interval/explain.txt new file mode 100644 index 000000000..9ff1a009f --- /dev/null +++ b/parser/testdata/02112_with_fill_interval/explain.txt @@ -0,0 +1,2 @@ +DropQuery with_fill_date (children 1) + Identifier with_fill_date diff --git a/parser/testdata/02113_base64encode_trailing_bytes/explain.txt b/parser/testdata/02113_base64encode_trailing_bytes/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02113_base64encode_trailing_bytes/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02113_base64encode_trailing_bytes_1/metadata.json b/parser/testdata/02113_base64encode_trailing_bytes_1/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02113_base64encode_trailing_bytes_1/metadata.json +++ b/parser/testdata/02113_base64encode_trailing_bytes_1/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02113_format_row/explain.txt b/parser/testdata/02113_format_row/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02113_format_row/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02113_format_row_bug/explain.txt b/parser/testdata/02113_format_row_bug/explain.txt new file mode 100644 index 000000000..c8be4215a --- /dev/null +++ b/parser/testdata/02113_format_row_bug/explain.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function formatRow (children 1) + ExpressionList (children 3) + Literal \'ORC\' + Identifier number + Function toDate (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_5 +The query succeeded but the server error '36' was expected (query: EXPLAIN AST select formatRow('ORC', number, toDate(number)) from numbers(5); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/02113_untuple_func_alias/explain.txt b/parser/testdata/02113_untuple_func_alias/explain.txt new file mode 100644 index 000000000..fe51822bb --- /dev/null +++ b/parser/testdata/02113_untuple_func_alias/explain.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function untuple (alias ut) (children 1) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList (children 4) + Literal UInt64_1 + Literal UInt64_2 + Literal UInt64_3 + Identifier b + Function untuple (alias ut2) (children 1) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList (children 4) + Literal NULL + Literal UInt64_3 + Literal UInt64_2 + Identifier a diff --git a/parser/testdata/02114_bool_type/explain.txt b/parser/testdata/02114_bool_type/explain.txt new file mode 100644 index 000000000..ef931d47c --- /dev/null +++ b/parser/testdata/02114_bool_type/explain.txt @@ -0,0 +1,2 @@ +DropQuery bool_test (children 1) + Identifier bool_test diff --git a/parser/testdata/02115_map_contains_analyzer/explain.txt b/parser/testdata/02115_map_contains_analyzer/explain.txt new file mode 100644 index 000000000..0660a3aad --- /dev/null +++ b/parser/testdata/02115_map_contains_analyzer/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_map_contains (children 1) + Identifier t_map_contains diff --git a/parser/testdata/02115_rewrite_local_join_right_distribute_table/explain.txt b/parser/testdata/02115_rewrite_local_join_right_distribute_table/explain.txt new file mode 100644 index 000000000..95d3715d9 --- /dev/null +++ b/parser/testdata/02115_rewrite_local_join_right_distribute_table/explain.txt @@ -0,0 +1,2 @@ +CreateQuery test_02115 (children 1) + Identifier test_02115 diff --git a/parser/testdata/02116_tuple_element_analyzer/explain.txt b/parser/testdata/02116_tuple_element_analyzer/explain.txt new file mode 100644 index 000000000..9a138de56 --- /dev/null +++ b/parser/testdata/02116_tuple_element_analyzer/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_tuple_element (children 1) + Identifier t_tuple_element diff --git a/parser/testdata/02117_show_create_table_system/metadata.json b/parser/testdata/02117_show_create_table_system/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02117_show_create_table_system/metadata.json +++ b/parser/testdata/02117_show_create_table_system/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02118_show_create_table_rocksdb/explain.txt b/parser/testdata/02118_show_create_table_rocksdb/explain.txt new file mode 100644 index 000000000..a7323da78 --- /dev/null +++ b/parser/testdata/02118_show_create_table_rocksdb/explain.txt @@ -0,0 +1,3 @@ +ShowCreateTableQuery system rocksdb (children 2) + Identifier system + Identifier rocksdb diff --git a/parser/testdata/02119_sumcount/metadata.json b/parser/testdata/02119_sumcount/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02119_sumcount/metadata.json +++ b/parser/testdata/02119_sumcount/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02123_MySQLWire_regression/explain.txt b/parser/testdata/02123_MySQLWire_regression/explain.txt new file mode 100644 index 000000000..77cda17e9 --- /dev/null +++ b/parser/testdata/02123_MySQLWire_regression/explain.txt @@ -0,0 +1,2 @@ +DropQuery table_MySQLWire (children 1) + Identifier table_MySQLWire diff --git a/parser/testdata/02124_clickhouse_dictionary_with_predefined_configuration/explain.txt b/parser/testdata/02124_clickhouse_dictionary_with_predefined_configuration/explain.txt new file mode 100644 index 000000000..eb2592c57 --- /dev/null +++ b/parser/testdata/02124_clickhouse_dictionary_with_predefined_configuration/explain.txt @@ -0,0 +1,2 @@ +DropQuery dict (children 1) + Identifier dict diff --git a/parser/testdata/02124_comparison_betwwen_decimal_and_float/explain.txt b/parser/testdata/02124_comparison_betwwen_decimal_and_float/explain.txt new file mode 100644 index 000000000..008ea590f --- /dev/null +++ b/parser/testdata/02124_comparison_betwwen_decimal_and_float/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function greater (children 1) + ExpressionList (children 2) + Function CAST (children 1) + ExpressionList (children 2) + Literal Float64_1 + Literal \'Decimal(15,2)\' + Function CAST (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal \'Float64\' diff --git a/parser/testdata/02124_empty_uuid/metadata.json b/parser/testdata/02124_empty_uuid/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02124_empty_uuid/metadata.json +++ b/parser/testdata/02124_empty_uuid/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02124_encrypt_decrypt_nullable/explain.txt b/parser/testdata/02124_encrypt_decrypt_nullable/explain.txt new file mode 100644 index 000000000..f2e9ea8f0 --- /dev/null +++ b/parser/testdata/02124_encrypt_decrypt_nullable/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'aes_encrypt_mysql\' diff --git a/parser/testdata/02124_insert_deduplication_token/explain.txt b/parser/testdata/02124_insert_deduplication_token/explain.txt new file mode 100644 index 000000000..8c27117e0 --- /dev/null +++ b/parser/testdata/02124_insert_deduplication_token/explain.txt @@ -0,0 +1,2 @@ +DropQuery insert_dedup_token (children 1) + Identifier insert_dedup_token diff --git a/parser/testdata/02124_insert_deduplication_token_materialized_views/explain.txt b/parser/testdata/02124_insert_deduplication_token_materialized_views/explain.txt new file mode 100644 index 000000000..a84e996a0 --- /dev/null +++ b/parser/testdata/02124_insert_deduplication_token_materialized_views/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'deduplicate_blocks_in_dependent_materialized_views=0, insert_deduplication_token = no, results: test_mv_a and test_mv_c have all data, test_mv_b has data obly with max_partitions_per_insert_block=0\' diff --git a/parser/testdata/02124_insert_deduplication_token_replica/explain.txt b/parser/testdata/02124_insert_deduplication_token_replica/explain.txt new file mode 100644 index 000000000..92d3ff066 --- /dev/null +++ b/parser/testdata/02124_insert_deduplication_token_replica/explain.txt @@ -0,0 +1,2 @@ +DropQuery insert_dedup_token1 (children 1) + Identifier insert_dedup_token1 diff --git a/parser/testdata/02124_uncompressed_cache/explain.txt b/parser/testdata/02124_uncompressed_cache/explain.txt new file mode 100644 index 000000000..d348646de --- /dev/null +++ b/parser/testdata/02124_uncompressed_cache/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_uncompressed_cache (children 1) + Identifier t_uncompressed_cache diff --git a/parser/testdata/02125_constant_if_condition_and_not_existing_column/explain.txt b/parser/testdata/02125_constant_if_condition_and_not_existing_column/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/02125_constant_if_condition_and_not_existing_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/02125_dict_get_type_nullable_fix/explain.txt b/parser/testdata/02125_dict_get_type_nullable_fix/explain.txt new file mode 100644 index 000000000..e1b250330 --- /dev/null +++ b/parser/testdata/02125_dict_get_type_nullable_fix/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02125_test_table (children 1) + Identifier 02125_test_table diff --git a/parser/testdata/02125_fix_storage_filelog/explain.txt b/parser/testdata/02125_fix_storage_filelog/explain.txt new file mode 100644 index 000000000..ecae66728 --- /dev/null +++ b/parser/testdata/02125_fix_storage_filelog/explain.txt @@ -0,0 +1,12 @@ +CreateQuery log (children 3) + Identifier log + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration A (children 1) + DataType String + Storage definition (children 1) + Function FileLog (children 1) + ExpressionList (children 2) + Literal \'/tmp/aaa.csv\' + Literal \'CSV\' +The query succeeded but the server error '36' was expected (query: EXPLAIN AST CREATE TABLE log (A String) ENGINE= FileLog('/tmp/aaa.csv', 'CSV'); -- {serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/02125_low_cardinality_int256/explain.txt b/parser/testdata/02125_low_cardinality_int256/explain.txt new file mode 100644 index 000000000..7ee688228 --- /dev/null +++ b/parser/testdata/02125_low_cardinality_int256/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toLowCardinality (children 1) + ExpressionList (children 1) + Function toInt256 (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/02125_query_views_log/explain.txt b/parser/testdata/02125_query_views_log/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02125_query_views_log/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02125_recursive_sql_user_defined_functions/explain.txt b/parser/testdata/02125_recursive_sql_user_defined_functions/explain.txt new file mode 100644 index 000000000..a8a51f196 --- /dev/null +++ b/parser/testdata/02125_recursive_sql_user_defined_functions/explain.txt @@ -0,0 +1 @@ +DropFunctionQuery diff --git a/parser/testdata/02125_transform_decimal_bug/explain.txt b/parser/testdata/02125_transform_decimal_bug/explain.txt new file mode 100644 index 000000000..4094339f4 --- /dev/null +++ b/parser/testdata/02125_transform_decimal_bug/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function transform (children 1) + ExpressionList (children 3) + Literal UInt64_1 + Literal Array_[UInt64_1] + Function array (children 1) + ExpressionList (children 1) + Function toDecimal32 (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal UInt64_2 diff --git a/parser/testdata/02126_alter_table_alter_column/explain.txt b/parser/testdata/02126_alter_table_alter_column/explain.txt new file mode 100644 index 000000000..d6d2cb92e --- /dev/null +++ b/parser/testdata/02126_alter_table_alter_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery alter_column_02126 (children 1) + Identifier alter_column_02126 diff --git a/parser/testdata/02126_identity_user_defined_function/explain.txt b/parser/testdata/02126_identity_user_defined_function/explain.txt new file mode 100644 index 000000000..a8a51f196 --- /dev/null +++ b/parser/testdata/02126_identity_user_defined_function/explain.txt @@ -0,0 +1 @@ +DropFunctionQuery diff --git a/parser/testdata/02126_lc_window_functions/explain.txt b/parser/testdata/02126_lc_window_functions/explain.txt new file mode 100644 index 000000000..3e8396593 --- /dev/null +++ b/parser/testdata/02126_lc_window_functions/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function max (alias aid) (children 2) + ExpressionList (children 1) + Identifier id + WindowDefinition diff --git a/parser/testdata/02127_storage_join_settings_with_persistency/explain.txt b/parser/testdata/02127_storage_join_settings_with_persistency/explain.txt new file mode 100644 index 000000000..3eeff7dc6 --- /dev/null +++ b/parser/testdata/02127_storage_join_settings_with_persistency/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02127_join_settings_with_persistency_1 (children 1) + Identifier 02127_join_settings_with_persistency_1 diff --git a/parser/testdata/02128_apply_lambda_parsing/explain.txt b/parser/testdata/02128_apply_lambda_parsing/explain.txt new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/parser/testdata/02128_apply_lambda_parsing/explain.txt @@ -0,0 +1 @@ + diff --git a/parser/testdata/02128_cast_nullable/explain.txt b/parser/testdata/02128_cast_nullable/explain.txt new file mode 100644 index 000000000..c0b175f80 --- /dev/null +++ b/parser/testdata/02128_cast_nullable/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function toUInt32OrDefault (children 1) + ExpressionList (children 1) + Function toNullable (children 1) + ExpressionList (children 1) + Function toUInt32 (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Set diff --git a/parser/testdata/02128_hex_bin_on_uuid/explain.txt b/parser/testdata/02128_hex_bin_on_uuid/explain.txt new file mode 100644 index 000000000..8a188e1bf --- /dev/null +++ b/parser/testdata/02128_hex_bin_on_uuid/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function length (children 1) + ExpressionList (children 1) + Function hex (children 1) + ExpressionList (children 1) + Function generateUUIDv4 (children 1) + ExpressionList diff --git a/parser/testdata/02129_add_column_add_ttl/explain.txt b/parser/testdata/02129_add_column_add_ttl/explain.txt new file mode 100644 index 000000000..4c71c2e4c --- /dev/null +++ b/parser/testdata/02129_add_column_add_ttl/explain.txt @@ -0,0 +1,2 @@ +DropQuery ttl_test_02129 (children 1) + Identifier ttl_test_02129 diff --git a/parser/testdata/02129_window_functions_disable_optimizations/explain.txt b/parser/testdata/02129_window_functions_disable_optimizations/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02129_window_functions_disable_optimizations/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02131_materialize_column_cast/explain.txt b/parser/testdata/02131_materialize_column_cast/explain.txt new file mode 100644 index 000000000..6029122e0 --- /dev/null +++ b/parser/testdata/02131_materialize_column_cast/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_materialize_column (children 1) + Identifier t_materialize_column diff --git a/parser/testdata/02131_mv_many_chunks_bug/explain.txt b/parser/testdata/02131_mv_many_chunks_bug/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/02131_mv_many_chunks_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/02131_remove_columns_in_subquery/explain.txt b/parser/testdata/02131_remove_columns_in_subquery/explain.txt new file mode 100644 index 000000000..1910ba725 --- /dev/null +++ b/parser/testdata/02131_remove_columns_in_subquery/explain.txt @@ -0,0 +1,25 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function count (children 1) + ExpressionList (children 1) + Literal UInt64_1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Literal UInt64_1 (alias a) + Function count (children 1) + ExpressionList (children 1) + Literal UInt64_1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_5 diff --git a/parser/testdata/02131_row_policies_combination/explain.txt b/parser/testdata/02131_row_policies_combination/explain.txt new file mode 100644 index 000000000..3a865dbb3 --- /dev/null +++ b/parser/testdata/02131_row_policies_combination/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02131_rptable (children 1) + Identifier 02131_rptable diff --git a/parser/testdata/02131_skip_index_not_materialized/explain.txt b/parser/testdata/02131_skip_index_not_materialized/explain.txt new file mode 100644 index 000000000..812bbbc2b --- /dev/null +++ b/parser/testdata/02131_skip_index_not_materialized/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_index_non_materialized (children 1) + Identifier t_index_non_materialized diff --git a/parser/testdata/02131_used_row_policies_in_query_log/explain.txt b/parser/testdata/02131_used_row_policies_in_query_log/explain.txt new file mode 100644 index 000000000..bc3a4f243 --- /dev/null +++ b/parser/testdata/02131_used_row_policies_in_query_log/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02131_rqtable (children 1) + Identifier 02131_rqtable diff --git a/parser/testdata/02132_empty_mutation_livelock/explain.txt b/parser/testdata/02132_empty_mutation_livelock/explain.txt new file mode 100644 index 000000000..adb9b06ce --- /dev/null +++ b/parser/testdata/02132_empty_mutation_livelock/explain.txt @@ -0,0 +1,2 @@ +DropQuery a8x (children 1) + Identifier a8x diff --git a/parser/testdata/02133_classification/explain.txt b/parser/testdata/02133_classification/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02133_classification/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02133_distributed_queries_formatting/explain.txt b/parser/testdata/02133_distributed_queries_formatting/explain.txt new file mode 100644 index 000000000..c16ebbbdc --- /dev/null +++ b/parser/testdata/02133_distributed_queries_formatting/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function cluster (children 1) + ExpressionList (children 2) + Identifier test_cluster_two_shards + Function view (children 1) + ExpressionList (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal \'Hello\' (alias all) + Literal \'World\' (alias distinct) diff --git a/parser/testdata/02133_final_prewhere_where_lowcardinality_replacing/explain.txt b/parser/testdata/02133_final_prewhere_where_lowcardinality_replacing/explain.txt new file mode 100644 index 000000000..ae0c43c00 --- /dev/null +++ b/parser/testdata/02133_final_prewhere_where_lowcardinality_replacing/explain.txt @@ -0,0 +1,2 @@ +DropQuery errors_local (children 1) + Identifier errors_local diff --git a/parser/testdata/02133_issue_32458/explain.txt b/parser/testdata/02133_issue_32458/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/02133_issue_32458/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/02136_scalar_subquery_metrics/explain.txt b/parser/testdata/02136_scalar_subquery_metrics/explain.txt new file mode 100644 index 000000000..65acc3164 --- /dev/null +++ b/parser/testdata/02136_scalar_subquery_metrics/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal \'#02136_scalar_subquery_1\' + Subquery (alias n) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function max (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1000 diff --git a/parser/testdata/02137_mv_into_join/explain.txt b/parser/testdata/02137_mv_into_join/explain.txt new file mode 100644 index 000000000..8bd35b863 --- /dev/null +++ b/parser/testdata/02137_mv_into_join/explain.txt @@ -0,0 +1,16 @@ +CreateQuery main (children 3) + Identifier main + Columns definition (children 1) + ExpressionList (children 4) + ColumnDeclaration id (children 1) + DataType String + ColumnDeclaration color (children 1) + DataType String + ColumnDeclaration section (children 1) + DataType String + ColumnDeclaration description (children 1) + DataType String + Storage definition (children 2) + Function MergeTree + Function tuple (children 1) + ExpressionList diff --git a/parser/testdata/02139_MV_with_scalar_subquery/explain.txt b/parser/testdata/02139_MV_with_scalar_subquery/explain.txt new file mode 100644 index 000000000..e85fbaed7 --- /dev/null +++ b/parser/testdata/02139_MV_with_scalar_subquery/explain.txt @@ -0,0 +1,11 @@ +CreateQuery source (children 3) + Identifier source + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration a (children 1) + DataType Int32 + Storage definition (children 2) + Function MergeTree (children 1) + ExpressionList + Function tuple (children 1) + ExpressionList diff --git a/parser/testdata/02144_avg_ubsan/explain.txt b/parser/testdata/02144_avg_ubsan/explain.txt new file mode 100644 index 000000000..3c27f202c --- /dev/null +++ b/parser/testdata/02144_avg_ubsan/explain.txt @@ -0,0 +1,28 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function avg (children 1) + ExpressionList (children 1) + Literal Int64_-8000000000000000000 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Asterisk + Literal UInt64_1 (alias k) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Function multiply (children 1) + ExpressionList (children 2) + Literal UInt64_65535 + Literal UInt64_2 + ExpressionList (children 1) + Identifier k diff --git a/parser/testdata/02146_mv_non_phys/explain.txt b/parser/testdata/02146_mv_non_phys/explain.txt new file mode 100644 index 000000000..05ca90d6f --- /dev/null +++ b/parser/testdata/02146_mv_non_phys/explain.txt @@ -0,0 +1,2 @@ +DropQuery mv_02146 (children 1) + Identifier mv_02146 diff --git a/parser/testdata/02148_cast_type_parsing/explain.txt b/parser/testdata/02148_cast_type_parsing/explain.txt new file mode 100644 index 000000000..4d2eb5396 --- /dev/null +++ b/parser/testdata/02148_cast_type_parsing/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList (children 2) + Literal Tuple_(UInt64_1, \'Hello\') + Literal Tuple_(UInt64_2, \'World\') + Literal \'Array(Tuple(a UInt64, b String))\' diff --git a/parser/testdata/02148_issue_32737/explain.txt b/parser/testdata/02148_issue_32737/explain.txt new file mode 100644 index 000000000..4cd6ea28a --- /dev/null +++ b/parser/testdata/02148_issue_32737/explain.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function fuzzBits (children 1) + ExpressionList (children 2) + Function toFixedString (children 1) + ExpressionList (children 2) + Literal \'\' + Literal UInt64_200 + Literal Float64_0.99 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Identifier Null diff --git a/parser/testdata/02148_sql_user_defined_function_subquery/explain.txt b/parser/testdata/02148_sql_user_defined_function_subquery/explain.txt new file mode 100644 index 000000000..a8a51f196 --- /dev/null +++ b/parser/testdata/02148_sql_user_defined_function_subquery/explain.txt @@ -0,0 +1 @@ +DropFunctionQuery diff --git a/parser/testdata/02149_issue_32487/explain.txt b/parser/testdata/02149_issue_32487/explain.txt new file mode 100644 index 000000000..2c8d5db2c --- /dev/null +++ b/parser/testdata/02149_issue_32487/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function topKWeightedState (children 2) + ExpressionList (children 2) + Function now (children 1) + ExpressionList + Literal UInt64_1 + ExpressionList (children 1) + Literal UInt64_2 + Identifier Null diff --git a/parser/testdata/02149_read_in_order_fixed_prefix/explain.txt b/parser/testdata/02149_read_in_order_fixed_prefix/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02149_read_in_order_fixed_prefix/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02150_replace_regexp_all_empty_match/explain.txt b/parser/testdata/02150_replace_regexp_all_empty_match/explain.txt new file mode 100644 index 000000000..56d896b88 --- /dev/null +++ b/parser/testdata/02150_replace_regexp_all_empty_match/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function replaceRegexpAll (children 1) + ExpressionList (children 3) + Literal \'Hello, World!\' + Literal \'^\' + Literal \'here: \' diff --git a/parser/testdata/02151_lc_prefetch/explain.txt b/parser/testdata/02151_lc_prefetch/explain.txt new file mode 100644 index 000000000..5369bfc82 --- /dev/null +++ b/parser/testdata/02151_lc_prefetch/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab_lc (children 1) + Identifier tab_lc diff --git a/parser/testdata/02151_replace_regexp_all_empty_match_alternative/explain.txt b/parser/testdata/02151_replace_regexp_all_empty_match_alternative/explain.txt new file mode 100644 index 000000000..a7956dff1 --- /dev/null +++ b/parser/testdata/02151_replace_regexp_all_empty_match_alternative/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function replaceRegexpAll (children 1) + ExpressionList (children 3) + Literal \',,1,,\' + Literal \'^[,]*|[,]*$\' + Literal \'\' diff --git a/parser/testdata/02152_bool_type/explain.txt b/parser/testdata/02152_bool_type/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02152_bool_type/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02152_count_distinct_optimization/explain.txt b/parser/testdata/02152_count_distinct_optimization/explain.txt new file mode 100644 index 000000000..807ed11ed --- /dev/null +++ b/parser/testdata/02152_count_distinct_optimization/explain.txt @@ -0,0 +1,2 @@ +DropQuery table_02152 (children 1) + Identifier table_02152 diff --git a/parser/testdata/02152_csv_tuple/explain.txt b/parser/testdata/02152_csv_tuple/explain.txt new file mode 100644 index 000000000..111ed349b --- /dev/null +++ b/parser/testdata/02152_csv_tuple/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_02152 (children 1) + Identifier test_02152 diff --git a/parser/testdata/02152_dictionary_date32_type/explain.txt b/parser/testdata/02152_dictionary_date32_type/explain.txt new file mode 100644 index 000000000..d4bf1aa3f --- /dev/null +++ b/parser/testdata/02152_dictionary_date32_type/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_table (children 1) + Identifier test_table diff --git a/parser/testdata/02152_short_circuit_throw_if/explain.txt b/parser/testdata/02152_short_circuit_throw_if/explain.txt new file mode 100644 index 000000000..e82fdd0c0 --- /dev/null +++ b/parser/testdata/02152_short_circuit_throw_if/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function if (children 1) + ExpressionList (children 3) + Literal UInt64_1 + Literal UInt64_0 + Function throwIf (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal \'Executing FALSE branch\' diff --git a/parser/testdata/02154_bit_slice_for_fixedstring/explain.txt b/parser/testdata/02154_bit_slice_for_fixedstring/explain.txt new file mode 100644 index 000000000..71fafc510 --- /dev/null +++ b/parser/testdata/02154_bit_slice_for_fixedstring/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'Const Offset\' diff --git a/parser/testdata/02154_bit_slice_for_string/explain.txt b/parser/testdata/02154_bit_slice_for_string/explain.txt new file mode 100644 index 000000000..71fafc510 --- /dev/null +++ b/parser/testdata/02154_bit_slice_for_string/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'Const Offset\' diff --git a/parser/testdata/02154_bitmap_contains/explain.txt b/parser/testdata/02154_bitmap_contains/explain.txt new file mode 100644 index 000000000..3c27cc7bf --- /dev/null +++ b/parser/testdata/02154_bitmap_contains/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function bitmapContains (children 1) + ExpressionList (children 2) + Function bitmapBuild (children 1) + ExpressionList (children 1) + Literal Array_[UInt64_9] + Literal UInt64_964291337 diff --git a/parser/testdata/02154_default_keyword_insert/explain.txt b/parser/testdata/02154_default_keyword_insert/explain.txt new file mode 100644 index 000000000..bcf6c17bf --- /dev/null +++ b/parser/testdata/02154_default_keyword_insert/explain.txt @@ -0,0 +1,14 @@ +CreateQuery default_table (children 3) + Identifier default_table + Columns definition (children 1) + ExpressionList (children 3) + ColumnDeclaration x (children 1) + DataType UInt32 + ColumnDeclaration y (children 2) + DataType UInt32 + Literal UInt64_42 + ColumnDeclaration z (children 2) + DataType UInt32 + Literal UInt64_33 + Storage definition (children 1) + Function Memory diff --git a/parser/testdata/02155_binary_op_between_float_and_decimal/explain.txt b/parser/testdata/02155_binary_op_between_float_and_decimal/explain.txt new file mode 100644 index 000000000..2d536dd31 --- /dev/null +++ b/parser/testdata/02155_binary_op_between_float_and_decimal/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function plus (children 1) + ExpressionList (children 2) + Function CAST (children 1) + ExpressionList (children 2) + Literal \'1.5\' + Literal \'Decimal32(5)\' + Literal Float64_1.5 diff --git a/parser/testdata/02155_create_table_w_timezone/explain.txt b/parser/testdata/02155_create_table_w_timezone/explain.txt new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/parser/testdata/02155_create_table_w_timezone/explain.txt @@ -0,0 +1 @@ + diff --git a/parser/testdata/02155_dictionary_comment/explain.txt b/parser/testdata/02155_dictionary_comment/explain.txt new file mode 100644 index 000000000..c46b8a69e --- /dev/null +++ b/parser/testdata/02155_dictionary_comment/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02155_test_table (children 1) + Identifier 02155_test_table diff --git a/parser/testdata/02155_h3_to_center_child/explain.txt b/parser/testdata/02155_h3_to_center_child/explain.txt new file mode 100644 index 000000000..8f134ef81 --- /dev/null +++ b/parser/testdata/02155_h3_to_center_child/explain.txt @@ -0,0 +1,2 @@ +DropQuery h3_indexes (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02155_multiple_inserts_for_formats_with_suffix/explain.txt b/parser/testdata/02155_multiple_inserts_for_formats_with_suffix/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/02155_multiple_inserts_for_formats_with_suffix/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/02155_nested_lc_defalut_bug/explain.txt b/parser/testdata/02155_nested_lc_defalut_bug/explain.txt new file mode 100644 index 000000000..01a622df6 --- /dev/null +++ b/parser/testdata/02155_nested_lc_defalut_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery nested_test (children 1) + Identifier nested_test diff --git a/parser/testdata/02155_parse_date_lowcard_default_throw/explain.txt b/parser/testdata/02155_parse_date_lowcard_default_throw/explain.txt new file mode 100644 index 000000000..303e28951 --- /dev/null +++ b/parser/testdata/02155_parse_date_lowcard_default_throw/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function parseDateTimeBestEffort (children 1) + ExpressionList (children 1) + Function toLowCardinality (children 1) + ExpressionList (children 1) + Function materialize (children 1) + ExpressionList (children 1) + Literal \'15-JUL-16\' diff --git a/parser/testdata/02155_read_in_order_max_rows_to_read/explain.txt b/parser/testdata/02155_read_in_order_max_rows_to_read/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02155_read_in_order_max_rows_to_read/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02156_minus_op_with_datatime64/metadata.json b/parser/testdata/02156_minus_op_with_datatime64/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02156_minus_op_with_datatime64/metadata.json +++ b/parser/testdata/02156_minus_op_with_datatime64/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02156_storage_merge_prewhere/explain.txt b/parser/testdata/02156_storage_merge_prewhere/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02156_storage_merge_prewhere/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02156_storage_merge_prewhere_2/explain.txt b/parser/testdata/02156_storage_merge_prewhere_2/explain.txt new file mode 100644 index 000000000..995bc1a31 --- /dev/null +++ b/parser/testdata/02156_storage_merge_prewhere_2/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_02156_ololo_1 (children 1) + Identifier t_02156_ololo_1 diff --git a/parser/testdata/02156_storage_merge_prewhere_not_ready_set_bug/explain.txt b/parser/testdata/02156_storage_merge_prewhere_not_ready_set_bug/explain.txt new file mode 100644 index 000000000..f552ce675 --- /dev/null +++ b/parser/testdata/02156_storage_merge_prewhere_not_ready_set_bug/explain.txt @@ -0,0 +1,11 @@ +CreateQuery merge_kek_1 (children 3) + Identifier merge_kek_1 + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration x (children 1) + DataType UInt32 + ColumnDeclaration y (children 1) + DataType UInt32 + Storage definition (children 2) + Function MergeTree + Identifier x diff --git a/parser/testdata/02157_line_as_string_output_format/explain.txt b/parser/testdata/02157_line_as_string_output_format/explain.txt new file mode 100644 index 000000000..43d3571a7 --- /dev/null +++ b/parser/testdata/02157_line_as_string_output_format/explain.txt @@ -0,0 +1,6 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'Hello \\\\ World\' + Identifier LineAsString diff --git a/parser/testdata/02158_contingency/explain.txt b/parser/testdata/02158_contingency/explain.txt new file mode 100644 index 000000000..5b26bae35 --- /dev/null +++ b/parser/testdata/02158_contingency/explain.txt @@ -0,0 +1,61 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 5) + Function round (children 1) + ExpressionList (children 2) + Function cramersV (children 1) + ExpressionList (children 2) + Identifier a + Identifier b + Literal UInt64_2 + Function round (children 1) + ExpressionList (children 2) + Function cramersVBiasCorrected (children 1) + ExpressionList (children 2) + Identifier a + Identifier b + Literal UInt64_2 + Function round (children 1) + ExpressionList (children 2) + Function theilsU (children 1) + ExpressionList (children 2) + Identifier a + Identifier b + Literal UInt64_2 + Function round (children 1) + ExpressionList (children 2) + Function theilsU (children 1) + ExpressionList (children 2) + Identifier b + Identifier a + Literal UInt64_2 + Function round (children 1) + ExpressionList (children 2) + Function contingency (children 1) + ExpressionList (children 2) + Identifier a + Identifier b + Literal UInt64_2 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function modulo (alias a) (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_3 + Function modulo (alias b) (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_5 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_150 diff --git a/parser/testdata/02158_interval_length_sum/explain.txt b/parser/testdata/02158_interval_length_sum/explain.txt new file mode 100644 index 000000000..02214e7cd --- /dev/null +++ b/parser/testdata/02158_interval_length_sum/explain.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function intervalLengthSum (children 1) + ExpressionList (children 2) + Identifier x + Identifier y + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function values (children 1) + ExpressionList (children 5) + Literal \'x Int64, y Int64\' + Literal Tuple_(UInt64_0, UInt64_10) + Literal Tuple_(UInt64_5, UInt64_5) + Literal Tuple_(UInt64_5, UInt64_6) + Literal Tuple_(UInt64_1, Int64_-1) diff --git a/parser/testdata/02158_proportions_ztest/explain.txt b/parser/testdata/02158_proportions_ztest/explain.txt new file mode 100644 index 000000000..3bce98a87 --- /dev/null +++ b/parser/testdata/02158_proportions_ztest/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function proportionsZTest (children 1) + ExpressionList (children 6) + Literal UInt64_10 + Literal UInt64_11 + Literal UInt64_100 + Literal UInt64_101 + Literal Float64_0.95 + Literal \'unpooled\' diff --git a/parser/testdata/02158_ztest/explain.txt b/parser/testdata/02158_ztest/explain.txt new file mode 100644 index 000000000..7ef727dde --- /dev/null +++ b/parser/testdata/02158_ztest/explain.txt @@ -0,0 +1,2 @@ +DropQuery mean_ztest (children 1) + Identifier mean_ztest diff --git a/parser/testdata/02159_left_right/explain.txt b/parser/testdata/02159_left_right/explain.txt new file mode 100644 index 000000000..c5df7b795 --- /dev/null +++ b/parser/testdata/02159_left_right/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function left (children 1) + ExpressionList (children 2) + Literal \'Hello\' + Literal UInt64_3 diff --git a/parser/testdata/02160_h3_cell_area_m2/explain.txt b/parser/testdata/02160_h3_cell_area_m2/explain.txt new file mode 100644 index 000000000..8f134ef81 --- /dev/null +++ b/parser/testdata/02160_h3_cell_area_m2/explain.txt @@ -0,0 +1,2 @@ +DropQuery h3_indexes (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02160_h3_cell_area_rads2/explain.txt b/parser/testdata/02160_h3_cell_area_rads2/explain.txt new file mode 100644 index 000000000..8f134ef81 --- /dev/null +++ b/parser/testdata/02160_h3_cell_area_rads2/explain.txt @@ -0,0 +1,2 @@ +DropQuery h3_indexes (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02160_h3_hex_area_Km2/explain.txt b/parser/testdata/02160_h3_hex_area_Km2/explain.txt new file mode 100644 index 000000000..87450aecb --- /dev/null +++ b/parser/testdata/02160_h3_hex_area_Km2/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function h3HexAreaKm2 (children 1) + ExpressionList (children 1) + Literal UInt64_0 diff --git a/parser/testdata/02160_monthname/metadata.json b/parser/testdata/02160_monthname/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02160_monthname/metadata.json +++ b/parser/testdata/02160_monthname/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02160_special_functions/explain.txt b/parser/testdata/02160_special_functions/explain.txt new file mode 100644 index 000000000..5da93cc20 --- /dev/null +++ b/parser/testdata/02160_special_functions/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal \'UInt8\' diff --git a/parser/testdata/02161_addressToLineWithInlines/explain.txt b/parser/testdata/02161_addressToLineWithInlines/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02161_addressToLineWithInlines/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02161_array_first_last/explain.txt b/parser/testdata/02161_array_first_last/explain.txt new file mode 100644 index 000000000..87fd48f67 --- /dev/null +++ b/parser/testdata/02161_array_first_last/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'ArrayFirst constant predicate\' diff --git a/parser/testdata/02162_array_first_last_index/explain.txt b/parser/testdata/02162_array_first_last_index/explain.txt new file mode 100644 index 000000000..a19121411 --- /dev/null +++ b/parser/testdata/02162_array_first_last_index/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'ArrayFirstIndex constant predicate\' diff --git a/parser/testdata/02162_range_hashed_dictionary_ddl_expression/explain.txt b/parser/testdata/02162_range_hashed_dictionary_ddl_expression/explain.txt new file mode 100644 index 000000000..d61aa350b --- /dev/null +++ b/parser/testdata/02162_range_hashed_dictionary_ddl_expression/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02162_test_table (children 1) + Identifier 02162_test_table diff --git a/parser/testdata/02163_operators/metadata.json b/parser/testdata/02163_operators/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02163_operators/metadata.json +++ b/parser/testdata/02163_operators/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02163_shard_num/explain.txt b/parser/testdata/02163_shard_num/explain.txt new file mode 100644 index 000000000..5f58f6497 --- /dev/null +++ b/parser/testdata/02163_shard_num/explain.txt @@ -0,0 +1,22 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 2) + Function shardNum (alias shard_num) (children 1) + ExpressionList + Function sum (alias rows) (children 1) + ExpressionList (children 1) + Literal UInt64_1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 3) + Literal \'127.{1,2}\' + Identifier system + Identifier one + ExpressionList (children 1) + Identifier _shard_num + ExpressionList (children 1) + OrderByElement (children 1) + Identifier _shard_num diff --git a/parser/testdata/02164_materialized_view_support_virtual_column/explain.txt b/parser/testdata/02164_materialized_view_support_virtual_column/explain.txt new file mode 100644 index 000000000..3ab0f829f --- /dev/null +++ b/parser/testdata/02164_materialized_view_support_virtual_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_tb (children 1) + Identifier test_tb diff --git a/parser/testdata/02165_h3_edge_length_km/explain.txt b/parser/testdata/02165_h3_edge_length_km/explain.txt new file mode 100644 index 000000000..6bb948ab7 --- /dev/null +++ b/parser/testdata/02165_h3_edge_length_km/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function h3EdgeLengthKm (children 1) + ExpressionList (children 1) + Literal UInt64_0 diff --git a/parser/testdata/02165_h3_exact_edge_length_Km/explain.txt b/parser/testdata/02165_h3_exact_edge_length_Km/explain.txt new file mode 100644 index 000000000..8f134ef81 --- /dev/null +++ b/parser/testdata/02165_h3_exact_edge_length_Km/explain.txt @@ -0,0 +1,2 @@ +DropQuery h3_indexes (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02165_h3_exact_edge_length_m/explain.txt b/parser/testdata/02165_h3_exact_edge_length_m/explain.txt new file mode 100644 index 000000000..8f134ef81 --- /dev/null +++ b/parser/testdata/02165_h3_exact_edge_length_m/explain.txt @@ -0,0 +1,2 @@ +DropQuery h3_indexes (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02165_h3_exact_edge_length_rads/explain.txt b/parser/testdata/02165_h3_exact_edge_length_rads/explain.txt new file mode 100644 index 000000000..8f134ef81 --- /dev/null +++ b/parser/testdata/02165_h3_exact_edge_length_rads/explain.txt @@ -0,0 +1,2 @@ +DropQuery h3_indexes (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02165_h3_num_hexagons/explain.txt b/parser/testdata/02165_h3_num_hexagons/explain.txt new file mode 100644 index 000000000..5f2848f85 --- /dev/null +++ b/parser/testdata/02165_h3_num_hexagons/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function h3NumHexagons (children 1) + ExpressionList (children 1) + Literal UInt64_0 diff --git a/parser/testdata/02165_insert_from_infile/explain.txt b/parser/testdata/02165_insert_from_infile/explain.txt new file mode 100644 index 000000000..f9752176f --- /dev/null +++ b/parser/testdata/02165_insert_from_infile/explain.txt @@ -0,0 +1,15 @@ +Explain EXPLAIN SYNTAX (children 1) + InsertQuery (children 3) + Literal \'data.file\' + Identifier test + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier x + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function input (children 1) + ExpressionList (children 1) + Literal \'x UInt32\' diff --git a/parser/testdata/02165_replicated_grouping_sets/metadata.json b/parser/testdata/02165_replicated_grouping_sets/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02165_replicated_grouping_sets/metadata.json +++ b/parser/testdata/02165_replicated_grouping_sets/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02167_columns_with_dots_default_values/explain.txt b/parser/testdata/02167_columns_with_dots_default_values/explain.txt new file mode 100644 index 000000000..0eb0b4093 --- /dev/null +++ b/parser/testdata/02167_columns_with_dots_default_values/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_nested_default (children 1) + Identifier test_nested_default diff --git a/parser/testdata/02168_avro_bug/explain.txt b/parser/testdata/02168_avro_bug/explain.txt new file mode 100644 index 000000000..244ed2037 --- /dev/null +++ b/parser/testdata/02168_avro_bug/explain.txt @@ -0,0 +1,19 @@ +InsertQuery (children 3) + Function file (children 1) + ExpressionList (children 3) + Literal \'02168_avro_bug.avro\' + Literal \'Parquet\' + Literal \'x UInt64\' + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + Set + Set diff --git a/parser/testdata/02169_fix_view_offset_limit_setting/explain.txt b/parser/testdata/02169_fix_view_offset_limit_setting/explain.txt new file mode 100644 index 000000000..346800a9c --- /dev/null +++ b/parser/testdata/02169_fix_view_offset_limit_setting/explain.txt @@ -0,0 +1,2 @@ +DropQuery counter (children 1) + Identifier counter diff --git a/parser/testdata/02169_map_functions/explain.txt b/parser/testdata/02169_map_functions/explain.txt new file mode 100644 index 000000000..57de1f3ca --- /dev/null +++ b/parser/testdata/02169_map_functions/explain.txt @@ -0,0 +1,2 @@ +DropQuery table_map (children 1) + Identifier table_map diff --git a/parser/testdata/02174_cte_scalar_cache/explain.txt b/parser/testdata/02174_cte_scalar_cache/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02174_cte_scalar_cache/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02174_cte_scalar_cache_mv/explain.txt b/parser/testdata/02174_cte_scalar_cache_mv/explain.txt new file mode 100644 index 000000000..c7de1d0db --- /dev/null +++ b/parser/testdata/02174_cte_scalar_cache_mv/explain.txt @@ -0,0 +1,10 @@ +CreateQuery t1 (children 3) + Identifier t1 + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration i (children 1) + DataType Int64 + ColumnDeclaration j (children 1) + DataType Int64 + Storage definition (children 1) + Function Memory diff --git a/parser/testdata/02175_distributed_join_current_database/explain.txt b/parser/testdata/02175_distributed_join_current_database/explain.txt new file mode 100644 index 000000000..305ed9255 --- /dev/null +++ b/parser/testdata/02175_distributed_join_current_database/explain.txt @@ -0,0 +1,2 @@ +DropQuery local_02175 (children 1) + Identifier local_02175 diff --git a/parser/testdata/02176_dict_get_has_implicit_key_cast/explain.txt b/parser/testdata/02176_dict_get_has_implicit_key_cast/explain.txt new file mode 100644 index 000000000..50ec16978 --- /dev/null +++ b/parser/testdata/02176_dict_get_has_implicit_key_cast/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02176_test_simple_key_table (children 1) + Identifier 02176_test_simple_key_table diff --git a/parser/testdata/02176_optimize_aggregation_in_order_empty/explain.txt b/parser/testdata/02176_optimize_aggregation_in_order_empty/explain.txt new file mode 100644 index 000000000..db890e6a5 --- /dev/null +++ b/parser/testdata/02176_optimize_aggregation_in_order_empty/explain.txt @@ -0,0 +1,2 @@ +DropQuery data_02176 (children 1) + Identifier data_02176 diff --git a/parser/testdata/02176_toStartOfWeek_overflow_pruning/explain.txt b/parser/testdata/02176_toStartOfWeek_overflow_pruning/explain.txt new file mode 100644 index 000000000..8bef8ed3a --- /dev/null +++ b/parser/testdata/02176_toStartOfWeek_overflow_pruning/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toStartOfWeek (children 1) + ExpressionList (children 1) + Function toDateTime (children 1) + ExpressionList (children 2) + Literal \'1970-01-01 00:00:00\' + Literal \'UTC\' diff --git a/parser/testdata/02177_issue_31009/explain.txt b/parser/testdata/02177_issue_31009/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02177_issue_31009/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02177_merge_optimize_aggregation_in_order/explain.txt b/parser/testdata/02177_merge_optimize_aggregation_in_order/explain.txt new file mode 100644 index 000000000..20535cd53 --- /dev/null +++ b/parser/testdata/02177_merge_optimize_aggregation_in_order/explain.txt @@ -0,0 +1,2 @@ +DropQuery data_02177 (children 1) + Identifier data_02177 diff --git a/parser/testdata/02177_sum_if_not_found/explain.txt b/parser/testdata/02177_sum_if_not_found/explain.txt new file mode 100644 index 000000000..ab5121f15 --- /dev/null +++ b/parser/testdata/02177_sum_if_not_found/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function sumIf (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal UInt64_0 diff --git a/parser/testdata/02178_column_function_insert_from/explain.txt b/parser/testdata/02178_column_function_insert_from/explain.txt new file mode 100644 index 000000000..0bfbf1290 --- /dev/null +++ b/parser/testdata/02178_column_function_insert_from/explain.txt @@ -0,0 +1,2 @@ +DropQuery TESTTABLE (children 1) + Identifier TESTTABLE diff --git a/parser/testdata/02179_bool_type/explain.txt b/parser/testdata/02179_bool_type/explain.txt new file mode 100644 index 000000000..e22609392 --- /dev/null +++ b/parser/testdata/02179_bool_type/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toTypeName (children 1) + ExpressionList (children 1) + Literal Bool_1 diff --git a/parser/testdata/02179_degrees_radians/explain.txt b/parser/testdata/02179_degrees_radians/explain.txt new file mode 100644 index 000000000..6482be3cf --- /dev/null +++ b/parser/testdata/02179_degrees_radians/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_degs_to_rads (children 1) + Identifier test_degs_to_rads diff --git a/parser/testdata/02179_dict_reload_on_cluster/explain.txt b/parser/testdata/02179_dict_reload_on_cluster/explain.txt new file mode 100644 index 000000000..de956e310 --- /dev/null +++ b/parser/testdata/02179_dict_reload_on_cluster/explain.txt @@ -0,0 +1,2 @@ +DropQuery dict_db_02179 (children 1) + Identifier dict_db_02179 diff --git a/parser/testdata/02179_key_condition_no_common_type/explain.txt b/parser/testdata/02179_key_condition_no_common_type/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/02179_key_condition_no_common_type/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/02179_map_cast_to_array/metadata.json b/parser/testdata/02179_map_cast_to_array/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02179_map_cast_to_array/metadata.json +++ b/parser/testdata/02179_map_cast_to_array/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02179_range_hashed_dictionary_invalid_interval/explain.txt b/parser/testdata/02179_range_hashed_dictionary_invalid_interval/explain.txt new file mode 100644 index 000000000..c0b004495 --- /dev/null +++ b/parser/testdata/02179_range_hashed_dictionary_invalid_interval/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02179_test_table (children 1) + Identifier 02179_test_table diff --git a/parser/testdata/02179_sparse_columns_detach/explain.txt b/parser/testdata/02179_sparse_columns_detach/explain.txt new file mode 100644 index 000000000..fe0c73684 --- /dev/null +++ b/parser/testdata/02179_sparse_columns_detach/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_sparse_detach (children 1) + Identifier t_sparse_detach diff --git a/parser/testdata/02180_group_by_lowcardinality/explain.txt b/parser/testdata/02180_group_by_lowcardinality/explain.txt new file mode 100644 index 000000000..6d975a4d0 --- /dev/null +++ b/parser/testdata/02180_group_by_lowcardinality/explain.txt @@ -0,0 +1,12 @@ +CreateQuery t_group_by_lowcardinality (children 2) + Identifier t_group_by_lowcardinality + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration p_date (children 1) + DataType Date + ColumnDeclaration val (children 1) + DataType LowCardinality (children 1) + ExpressionList (children 1) + DataType Nullable (children 1) + ExpressionList (children 1) + DataType String diff --git a/parser/testdata/02180_insert_into_values_settings/explain.txt b/parser/testdata/02180_insert_into_values_settings/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/02180_insert_into_values_settings/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/02181_dictionary_attach_detach/explain.txt b/parser/testdata/02181_dictionary_attach_detach/explain.txt new file mode 100644 index 000000000..3a821d45a --- /dev/null +++ b/parser/testdata/02181_dictionary_attach_detach/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02181_test_table (children 1) + Identifier 02181_test_table diff --git a/parser/testdata/02181_sql_user_defined_functions_invalid_lambda/explain.txt b/parser/testdata/02181_sql_user_defined_functions_invalid_lambda/explain.txt new file mode 100644 index 000000000..877263c01 --- /dev/null +++ b/parser/testdata/02181_sql_user_defined_functions_invalid_lambda/explain.txt @@ -0,0 +1,12 @@ +CreateFunctionQuery 02181_invalid_lambda (children 2) + Identifier 02181_invalid_lambda + Function lambda (children 1) + ExpressionList (children 1) + Function plus (children 1) + ExpressionList (children 2) + Function multiply (alias x_doubled) (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_2 + Identifier x_doubled +The query succeeded but the server error '36' was expected (query: EXPLAIN AST CREATE FUNCTION 02181_invalid_lambda AS lambda(((x * 2) AS x_doubled) + x_doubled); --{serverError BAD_ARGUMENTS}). diff --git a/parser/testdata/02183_array_tuple_literals_remote/explain.txt b/parser/testdata/02183_array_tuple_literals_remote/explain.txt new file mode 100644 index 000000000..5db19c742 --- /dev/null +++ b/parser/testdata/02183_array_tuple_literals_remote/explain.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function any (alias k) (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 1) + Literal UInt64_0 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.0.0.{1,2}\' + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 diff --git a/parser/testdata/02183_combinator_if/explain.txt b/parser/testdata/02183_combinator_if/explain.txt new file mode 100644 index 000000000..5b5eebe80 --- /dev/null +++ b/parser/testdata/02183_combinator_if/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function anyIf (children 1) + ExpressionList (children 2) + Function toNullable (children 1) + ExpressionList (children 1) + Literal \'Hello\' + Function equals (children 1) + ExpressionList (children 2) + Function arrayJoin (children 1) + ExpressionList (children 1) + Literal Array_[UInt64_1, NULL] + Literal UInt64_0 diff --git a/parser/testdata/02183_dictionary_date_types/explain.txt b/parser/testdata/02183_dictionary_date_types/explain.txt new file mode 100644 index 000000000..ea229412d --- /dev/null +++ b/parser/testdata/02183_dictionary_date_types/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02183_dictionary_source_table (children 1) + Identifier 02183_dictionary_source_table diff --git a/parser/testdata/02183_dictionary_no_attributes/explain.txt b/parser/testdata/02183_dictionary_no_attributes/explain.txt new file mode 100644 index 000000000..0fc123e09 --- /dev/null +++ b/parser/testdata/02183_dictionary_no_attributes/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02183_dictionary_test_table (children 1) + Identifier 02183_dictionary_test_table diff --git a/parser/testdata/02184_default_table_engine/explain.txt b/parser/testdata/02184_default_table_engine/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02184_default_table_engine/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02184_hash_functions_and_ip_types/explain.txt b/parser/testdata/02184_hash_functions_and_ip_types/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02184_hash_functions_and_ip_types/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02184_ipv6_cast_test/explain.txt b/parser/testdata/02184_ipv6_cast_test/explain.txt new file mode 100644 index 000000000..67660f629 --- /dev/null +++ b/parser/testdata/02184_ipv6_cast_test/explain.txt @@ -0,0 +1,2 @@ +DropQuery ipv6_test26473 (children 1) + Identifier ipv6_test26473 diff --git a/parser/testdata/02184_ipv6_select_parsing/explain.txt b/parser/testdata/02184_ipv6_select_parsing/explain.txt new file mode 100644 index 000000000..647ffe1f1 --- /dev/null +++ b/parser/testdata/02184_ipv6_select_parsing/explain.txt @@ -0,0 +1,2 @@ +DropQuery ips_v6 (children 1) + Identifier ips_v6 diff --git a/parser/testdata/02184_nested_tuple/explain.txt b/parser/testdata/02184_nested_tuple/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02184_nested_tuple/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02184_range_hashed_dictionary_outside_range_values/explain.txt b/parser/testdata/02184_range_hashed_dictionary_outside_range_values/explain.txt new file mode 100644 index 000000000..d9c624126 --- /dev/null +++ b/parser/testdata/02184_range_hashed_dictionary_outside_range_values/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02184_range_dictionary_source_table (children 1) + Identifier 02184_range_dictionary_source_table diff --git a/parser/testdata/02184_storage_add_support_ttl/explain.txt b/parser/testdata/02184_storage_add_support_ttl/explain.txt new file mode 100644 index 000000000..d427d531e --- /dev/null +++ b/parser/testdata/02184_storage_add_support_ttl/explain.txt @@ -0,0 +1,2 @@ +DropQuery mergeTree_02184 (children 1) + Identifier mergeTree_02184 diff --git a/parser/testdata/02185_arraySlice_negative_offset_size/explain.txt b/parser/testdata/02185_arraySlice_negative_offset_size/explain.txt new file mode 100644 index 000000000..a6f0028bf --- /dev/null +++ b/parser/testdata/02185_arraySlice_negative_offset_size/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arraySlice (children 1) + ExpressionList (children 3) + Literal Array_[UInt64_1, UInt64_2, UInt64_3, UInt64_4, UInt64_5, UInt64_6, UInt64_7, UInt64_8] + Literal Int64_-2 + Literal Int64_-2 diff --git a/parser/testdata/02185_range_hashed_dictionary_open_ranges/explain.txt b/parser/testdata/02185_range_hashed_dictionary_open_ranges/explain.txt new file mode 100644 index 000000000..3da98c4a5 --- /dev/null +++ b/parser/testdata/02185_range_hashed_dictionary_open_ranges/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02185_range_dictionary_source_table (children 1) + Identifier 02185_range_dictionary_source_table diff --git a/parser/testdata/02185_split_by_char/explain.txt b/parser/testdata/02185_split_by_char/explain.txt new file mode 100644 index 000000000..bf4ee6cb9 --- /dev/null +++ b/parser/testdata/02185_split_by_char/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function splitByChar (children 1) + ExpressionList (children 2) + Literal \',\' + Literal \'1,2,3\' diff --git a/parser/testdata/02186_range_hashed_dictionary_intersecting_intervals/explain.txt b/parser/testdata/02186_range_hashed_dictionary_intersecting_intervals/explain.txt new file mode 100644 index 000000000..c53bad446 --- /dev/null +++ b/parser/testdata/02186_range_hashed_dictionary_intersecting_intervals/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02186_range_dictionary_source_table (children 1) + Identifier 02186_range_dictionary_source_table diff --git a/parser/testdata/02187_insert_values_with_mv/explain.txt b/parser/testdata/02187_insert_values_with_mv/explain.txt new file mode 100644 index 000000000..8c63a2ffe --- /dev/null +++ b/parser/testdata/02187_insert_values_with_mv/explain.txt @@ -0,0 +1,8 @@ +CreateQuery data_a_02187 (children 3) + Identifier data_a_02187 + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration a (children 1) + DataType Int64 + Storage definition (children 1) + Function Memory diff --git a/parser/testdata/02187_test_final_and_limit_modifier/explain.txt b/parser/testdata/02187_test_final_and_limit_modifier/explain.txt new file mode 100644 index 000000000..09869aae4 --- /dev/null +++ b/parser/testdata/02187_test_final_and_limit_modifier/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_02187 (children 1) + Identifier test_02187 diff --git a/parser/testdata/02188_parser_dictionary_primary_key/explain.txt b/parser/testdata/02188_parser_dictionary_primary_key/explain.txt new file mode 100644 index 000000000..b54a90852 --- /dev/null +++ b/parser/testdata/02188_parser_dictionary_primary_key/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02188_test_dictionary_source (children 1) + Identifier 02188_test_dictionary_source diff --git a/parser/testdata/02188_table_function_format/metadata.json b/parser/testdata/02188_table_function_format/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02188_table_function_format/metadata.json +++ b/parser/testdata/02188_table_function_format/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02189_join_type_conversion/explain.txt b/parser/testdata/02189_join_type_conversion/explain.txt new file mode 100644 index 000000000..c91d4e210 --- /dev/null +++ b/parser/testdata/02189_join_type_conversion/explain.txt @@ -0,0 +1,30 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + QualifiedAsterisk (children 1) + Identifier t1 + QualifiedAsterisk (children 1) + Identifier t2 + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias t1) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 (alias k) + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias t2) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal Int64_-1 (alias k) + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier t1.k + Identifier t2.k diff --git a/parser/testdata/02190_current_metrics_query/explain.txt b/parser/testdata/02190_current_metrics_query/explain.txt new file mode 100644 index 000000000..55c210276 --- /dev/null +++ b/parser/testdata/02190_current_metrics_query/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function greater (children 1) + ExpressionList (children 2) + Identifier value + Literal UInt64_0 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.metrics + Function equals (children 1) + ExpressionList (children 2) + Identifier metric + Literal \'Query\' diff --git a/parser/testdata/02191_nested_with_dots/explain.txt b/parser/testdata/02191_nested_with_dots/explain.txt new file mode 100644 index 000000000..d9a2320a8 --- /dev/null +++ b/parser/testdata/02191_nested_with_dots/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_nested_with_dots (children 1) + Identifier t_nested_with_dots diff --git a/parser/testdata/02191_parse_date_time_best_effort_more_cases/explain.txt b/parser/testdata/02191_parse_date_time_best_effort_more_cases/explain.txt new file mode 100644 index 000000000..5ebf94a1d --- /dev/null +++ b/parser/testdata/02191_parse_date_time_best_effort_more_cases/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function parseDateTimeBestEffort (children 1) + ExpressionList (children 2) + Literal \'20220101-010203\' + Literal \'UTC\' diff --git a/parser/testdata/02192_comment/metadata.json b/parser/testdata/02192_comment/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02192_comment/metadata.json +++ b/parser/testdata/02192_comment/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02193_async_insert_tcp_client_1/explain.txt b/parser/testdata/02193_async_insert_tcp_client_1/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02193_async_insert_tcp_client_1/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02200_use_skip_indexes/metadata.json b/parser/testdata/02200_use_skip_indexes/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02200_use_skip_indexes/metadata.json +++ b/parser/testdata/02200_use_skip_indexes/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02201_use_skip_indexes_if_final/metadata.json b/parser/testdata/02201_use_skip_indexes_if_final/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02201_use_skip_indexes_if_final/metadata.json +++ b/parser/testdata/02201_use_skip_indexes_if_final/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02202_use_skip_indexes_if_final/metadata.json b/parser/testdata/02202_use_skip_indexes_if_final/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02202_use_skip_indexes_if_final/metadata.json +++ b/parser/testdata/02202_use_skip_indexes_if_final/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02205_ephemeral_1/explain.txt b/parser/testdata/02205_ephemeral_1/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02205_ephemeral_1/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02205_map_populate_series_non_const/explain.txt b/parser/testdata/02205_map_populate_series_non_const/explain.txt new file mode 100644 index 000000000..6bcdf7c35 --- /dev/null +++ b/parser/testdata/02205_map_populate_series_non_const/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02005_test_table (children 1) + Identifier 02005_test_table diff --git a/parser/testdata/02205_postgresql_functions/explain.txt b/parser/testdata/02205_postgresql_functions/explain.txt new file mode 100644 index 000000000..9d80bdf51 --- /dev/null +++ b/parser/testdata/02205_postgresql_functions/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function match (children 1) + ExpressionList (children 2) + Literal \'a key="v" \' + Literal \'key="(.*?)"\' + Function REGEXP_MATCHES (children 1) + ExpressionList (children 2) + Literal \'a key="v" \' + Literal \'key="(.*?)"\' diff --git a/parser/testdata/02206_array_starts_ends_with/explain.txt b/parser/testdata/02206_array_starts_ends_with/explain.txt new file mode 100644 index 000000000..9aaa2c235 --- /dev/null +++ b/parser/testdata/02206_array_starts_ends_with/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function startsWith (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList + Function array (children 1) + ExpressionList diff --git a/parser/testdata/02206_information_schema_show_database/explain.txt b/parser/testdata/02206_information_schema_show_database/explain.txt new file mode 100644 index 000000000..949b4b6ec --- /dev/null +++ b/parser/testdata/02206_information_schema_show_database/explain.txt @@ -0,0 +1,2 @@ +ShowCreateDatabaseQuery INFORMATION_SCHEMA (children 1) + Identifier INFORMATION_SCHEMA diff --git a/parser/testdata/02206_minimum_sample_size/explain.txt b/parser/testdata/02206_minimum_sample_size/explain.txt new file mode 100644 index 000000000..5fab132c6 --- /dev/null +++ b/parser/testdata/02206_minimum_sample_size/explain.txt @@ -0,0 +1,34 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function minSampleSizeContinous (alias res) (children 1) + ExpressionList (children 5) + Literal UInt64_20 + Literal UInt64_10 + Literal Float64_0.05 + Literal Float64_0.8 + Literal Float64_0.05 + ExpressionList (children 4) + Literal \'continous const 1\' + Function roundBankers (children 1) + ExpressionList (children 2) + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier res + Literal UInt64_1 + Literal UInt64_2 + Function roundBankers (children 1) + ExpressionList (children 2) + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier res + Literal UInt64_2 + Literal UInt64_2 + Function roundBankers (children 1) + ExpressionList (children 2) + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier res + Literal UInt64_3 + Literal UInt64_2 diff --git a/parser/testdata/02207_key_condition_floats/explain.txt b/parser/testdata/02207_key_condition_floats/explain.txt new file mode 100644 index 000000000..25a922da4 --- /dev/null +++ b/parser/testdata/02207_key_condition_floats/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_key_condition_float (children 1) + Identifier t_key_condition_float diff --git a/parser/testdata/02207_subseconds_intervals/explain.txt b/parser/testdata/02207_subseconds_intervals/explain.txt new file mode 100644 index 000000000..5e8c2129d --- /dev/null +++ b/parser/testdata/02207_subseconds_intervals/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'test intervals\' diff --git a/parser/testdata/02207_ttl_move_if_exists/explain.txt b/parser/testdata/02207_ttl_move_if_exists/explain.txt new file mode 100644 index 000000000..6ee67bbd6 --- /dev/null +++ b/parser/testdata/02207_ttl_move_if_exists/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_ttl_move_if_exists (children 1) + Identifier t_ttl_move_if_exists diff --git a/parser/testdata/02209_short_circuit_node_without_parents/explain.txt b/parser/testdata/02209_short_circuit_node_without_parents/explain.txt new file mode 100644 index 000000000..feedca4dc --- /dev/null +++ b/parser/testdata/02209_short_circuit_node_without_parents/explain.txt @@ -0,0 +1,30 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Literal UInt64_1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function arrayJoin (children 1) + ExpressionList (children 1) + Function if (children 1) + ExpressionList (children 3) + Function empty (children 1) + ExpressionList (children 1) + Function range (children 1) + ExpressionList (children 1) + Identifier number + Literal Array_[UInt64_1] + Literal Array_[UInt64_2] + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/02210_append_to_dev_dull/explain.txt b/parser/testdata/02210_append_to_dev_dull/explain.txt new file mode 100644 index 000000000..63a1fdfdb --- /dev/null +++ b/parser/testdata/02210_append_to_dev_dull/explain.txt @@ -0,0 +1,17 @@ +InsertQuery (children 2) + Function file (children 1) + ExpressionList (children 3) + Literal \'/dev/null\' + Literal \'Parquet\' + Literal \'number UInt64\' + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 diff --git a/parser/testdata/02210_processors_profile_log/explain.txt b/parser/testdata/02210_processors_profile_log/explain.txt new file mode 100644 index 000000000..4de1fb6e0 --- /dev/null +++ b/parser/testdata/02210_processors_profile_log/explain.txt @@ -0,0 +1,8 @@ +Explain EXPLAIN PIPELINE (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function sleep (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/02210_toColumnTypeName_toLowCardinality_const/explain.txt b/parser/testdata/02210_toColumnTypeName_toLowCardinality_const/explain.txt new file mode 100644 index 000000000..054bb601c --- /dev/null +++ b/parser/testdata/02210_toColumnTypeName_toLowCardinality_const/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toColumnTypeName (children 1) + ExpressionList (children 1) + Function toLowCardinality (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/02211_jsonl_format_extension/explain.txt b/parser/testdata/02211_jsonl_format_extension/explain.txt new file mode 100644 index 000000000..e87ddd005 --- /dev/null +++ b/parser/testdata/02211_jsonl_format_extension/explain.txt @@ -0,0 +1,19 @@ +InsertQuery (children 3) + Function file (children 1) + ExpressionList (children 3) + Literal \'data.jsonl\' + Literal \'JSONEachRow\' + Literal \'x UInt32\' + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + Set + Set diff --git a/parser/testdata/02212_cte_and_table_alias/explain.txt b/parser/testdata/02212_cte_and_table_alias/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02212_cte_and_table_alias/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02212_h3_get_pentagon_indexes/explain.txt b/parser/testdata/02212_h3_get_pentagon_indexes/explain.txt new file mode 100644 index 000000000..f0662d5e1 --- /dev/null +++ b/parser/testdata/02212_h3_get_pentagon_indexes/explain.txt @@ -0,0 +1,2 @@ +DropQuery table1 (children 1) + Identifier table1 diff --git a/parser/testdata/02212_h3_get_res0_indexes/explain.txt b/parser/testdata/02212_h3_get_res0_indexes/explain.txt new file mode 100644 index 000000000..ff0817d9c --- /dev/null +++ b/parser/testdata/02212_h3_get_res0_indexes/explain.txt @@ -0,0 +1,6 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function h3GetRes0Indexes (children 1) + ExpressionList diff --git a/parser/testdata/02212_h3_point_dist/explain.txt b/parser/testdata/02212_h3_point_dist/explain.txt new file mode 100644 index 000000000..f0662d5e1 --- /dev/null +++ b/parser/testdata/02212_h3_point_dist/explain.txt @@ -0,0 +1,2 @@ +DropQuery table1 (children 1) + Identifier table1 diff --git a/parser/testdata/02220_array_join_format/explain.txt b/parser/testdata/02220_array_join_format/explain.txt new file mode 100644 index 000000000..c6314dd31 --- /dev/null +++ b/parser/testdata/02220_array_join_format/explain.txt @@ -0,0 +1,27 @@ +Explain EXPLAIN SYNTAX (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function range (alias range_) (children 1) + ExpressionList (children 2) + Literal UInt64_0 + Literal UInt64_10 + Identifier point_ + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.one + TablesInSelectQueryElement (children 1) + ArrayJoin (children 1) + ExpressionList (children 1) + Identifier range_ (alias point_) diff --git a/parser/testdata/02222_allow_experimental_projection_optimization__enable_global_with_statement/explain.txt b/parser/testdata/02222_allow_experimental_projection_optimization__enable_global_with_statement/explain.txt new file mode 100644 index 000000000..7097fd0db --- /dev/null +++ b/parser/testdata/02222_allow_experimental_projection_optimization__enable_global_with_statement/explain.txt @@ -0,0 +1,2 @@ +DropQuery data_02222 (children 1) + Identifier data_02222 diff --git a/parser/testdata/02223_h3_test_const_columns/explain.txt b/parser/testdata/02223_h3_test_const_columns/explain.txt new file mode 100644 index 000000000..ec9d5a820 --- /dev/null +++ b/parser/testdata/02223_h3_test_const_columns/explain.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function round (children 1) + ExpressionList (children 2) + Function geoToH3 (children 1) + ExpressionList (children 3) + Function toFloat64 (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Function toFloat64 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function arrayJoin (children 1) + ExpressionList (children 1) + Literal Array_[UInt64_1, UInt64_2] + Literal UInt64_2 diff --git a/parser/testdata/02223_insert_select_schema_inference/explain.txt b/parser/testdata/02223_insert_select_schema_inference/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/02223_insert_select_schema_inference/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/02224_parallel_distributed_insert_select_cluster/explain.txt b/parser/testdata/02224_parallel_distributed_insert_select_cluster/explain.txt new file mode 100644 index 000000000..ea364a6b2 --- /dev/null +++ b/parser/testdata/02224_parallel_distributed_insert_select_cluster/explain.txt @@ -0,0 +1,2 @@ +DropQuery dst_02224 (children 1) + Identifier dst_02224 diff --git a/parser/testdata/02224_s2_test_const_columns/explain.txt b/parser/testdata/02224_s2_test_const_columns/explain.txt new file mode 100644 index 000000000..add4437c3 --- /dev/null +++ b/parser/testdata/02224_s2_test_const_columns/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function geoToS2 (children 1) + ExpressionList (children 2) + Literal Float64_37.79506683 + Function arrayJoin (children 1) + ExpressionList (children 1) + Literal Array_[Float64_55.71290588, Float64_37.79506683] diff --git a/parser/testdata/02226_analyzer_or_like_combine/explain.txt b/parser/testdata/02226_analyzer_or_like_combine/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02226_analyzer_or_like_combine/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02226_async_insert_table_function/explain.txt b/parser/testdata/02226_async_insert_table_function/explain.txt new file mode 100644 index 000000000..0efe9cd11 --- /dev/null +++ b/parser/testdata/02226_async_insert_table_function/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_async_insert_table_function (children 1) + Identifier t_async_insert_table_function diff --git a/parser/testdata/02226_in_untuple_issue_34810/explain.txt b/parser/testdata/02226_in_untuple_issue_34810/explain.txt new file mode 100644 index 000000000..ee34c3b33 --- /dev/null +++ b/parser/testdata/02226_in_untuple_issue_34810/explain.txt @@ -0,0 +1,2 @@ +DropQuery calendar (children 1) + Identifier calendar diff --git a/parser/testdata/02226_low_cardinality_text_bloom_filter_index/explain.txt b/parser/testdata/02226_low_cardinality_text_bloom_filter_index/explain.txt new file mode 100644 index 000000000..d22890502 --- /dev/null +++ b/parser/testdata/02226_low_cardinality_text_bloom_filter_index/explain.txt @@ -0,0 +1,2 @@ +DropQuery bf_tokenbf_lowcard_test (children 1) + Identifier bf_tokenbf_lowcard_test diff --git a/parser/testdata/02227_union_match_by_name/explain.txt b/parser/testdata/02227_union_match_by_name/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02227_union_match_by_name/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02228_merge_tree_insert_memory_usage/explain.txt b/parser/testdata/02228_merge_tree_insert_memory_usage/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02228_merge_tree_insert_memory_usage/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02230_create_table_as_ignore_ttl/explain.txt b/parser/testdata/02230_create_table_as_ignore_ttl/explain.txt new file mode 100644 index 000000000..354aaf95c --- /dev/null +++ b/parser/testdata/02230_create_table_as_ignore_ttl/explain.txt @@ -0,0 +1,2 @@ +DropQuery data_02230_ttl (children 1) + Identifier data_02230_ttl diff --git a/parser/testdata/02231_bloom_filter_sizing/explain.txt b/parser/testdata/02231_bloom_filter_sizing/explain.txt new file mode 100644 index 000000000..441c5f0f2 --- /dev/null +++ b/parser/testdata/02231_bloom_filter_sizing/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'Bloom filter on sort key\' diff --git a/parser/testdata/02231_buffer_aggregate_states_leak/explain.txt b/parser/testdata/02231_buffer_aggregate_states_leak/explain.txt new file mode 100644 index 000000000..1126440ab --- /dev/null +++ b/parser/testdata/02231_buffer_aggregate_states_leak/explain.txt @@ -0,0 +1,2 @@ +DropQuery buffer_02231 (children 1) + Identifier buffer_02231 diff --git a/parser/testdata/02231_hierarchical_dictionaries_constant/explain.txt b/parser/testdata/02231_hierarchical_dictionaries_constant/explain.txt new file mode 100644 index 000000000..65450063e --- /dev/null +++ b/parser/testdata/02231_hierarchical_dictionaries_constant/explain.txt @@ -0,0 +1,2 @@ +DropQuery hierarchy_source_table (children 1) + Identifier hierarchy_source_table diff --git a/parser/testdata/02232_functions_to_subcolumns_alias/explain.txt b/parser/testdata/02232_functions_to_subcolumns_alias/explain.txt new file mode 100644 index 000000000..77a1c481c --- /dev/null +++ b/parser/testdata/02232_functions_to_subcolumns_alias/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_functions_to_subcolumns_alias (children 1) + Identifier t_functions_to_subcolumns_alias diff --git a/parser/testdata/02232_partition_pruner_mixed_constant_type/explain.txt b/parser/testdata/02232_partition_pruner_mixed_constant_type/explain.txt new file mode 100644 index 000000000..3fc552ce1 --- /dev/null +++ b/parser/testdata/02232_partition_pruner_mixed_constant_type/explain.txt @@ -0,0 +1,2 @@ +DropQuery broken (children 1) + Identifier broken diff --git a/parser/testdata/02232_partition_pruner_single_point/explain.txt b/parser/testdata/02232_partition_pruner_single_point/explain.txt new file mode 100644 index 000000000..bfb699569 --- /dev/null +++ b/parser/testdata/02232_partition_pruner_single_point/explain.txt @@ -0,0 +1,2 @@ +DropQuery lower_test (children 1) + Identifier lower_test diff --git a/parser/testdata/02233_interpolate_1/metadata.json b/parser/testdata/02233_interpolate_1/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02233_interpolate_1/metadata.json +++ b/parser/testdata/02233_interpolate_1/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02233_optimize_aggregation_in_order_prefix/explain.txt b/parser/testdata/02233_optimize_aggregation_in_order_prefix/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02233_optimize_aggregation_in_order_prefix/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02233_optimize_aggregation_in_order_prefix_with_merge/explain.txt b/parser/testdata/02233_optimize_aggregation_in_order_prefix_with_merge/explain.txt new file mode 100644 index 000000000..0297b7849 --- /dev/null +++ b/parser/testdata/02233_optimize_aggregation_in_order_prefix_with_merge/explain.txt @@ -0,0 +1,2 @@ +DropQuery data_02233 (children 1) + Identifier data_02233 diff --git a/parser/testdata/02233_set_enable_with_statement_cte_perf/explain.txt b/parser/testdata/02233_set_enable_with_statement_cte_perf/explain.txt new file mode 100644 index 000000000..f25e92bed --- /dev/null +++ b/parser/testdata/02233_set_enable_with_statement_cte_perf/explain.txt @@ -0,0 +1,2 @@ +DropQuery ev (children 1) + Identifier ev diff --git a/parser/testdata/02233_with_total_empty_chunk/explain.txt b/parser/testdata/02233_with_total_empty_chunk/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02233_with_total_empty_chunk/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02234_cast_to_ip_address/explain.txt b/parser/testdata/02234_cast_to_ip_address/explain.txt new file mode 100644 index 000000000..9ef6cb3b1 --- /dev/null +++ b/parser/testdata/02234_cast_to_ip_address/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'IPv4 functions\' diff --git a/parser/testdata/02234_column_function_short_circuit/explain.txt b/parser/testdata/02234_column_function_short_circuit/explain.txt new file mode 100644 index 000000000..8ef5d1d81 --- /dev/null +++ b/parser/testdata/02234_column_function_short_circuit/explain.txt @@ -0,0 +1,2 @@ +DropQuery dict_table (children 1) + Identifier dict_table diff --git a/parser/testdata/02234_position_case_insensitive_utf8/explain.txt b/parser/testdata/02234_position_case_insensitive_utf8/explain.txt new file mode 100644 index 000000000..4cd8dae06 --- /dev/null +++ b/parser/testdata/02234_position_case_insensitive_utf8/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function positionCaseInsensitiveUTF8 (children 1) + ExpressionList (children 2) + Literal \'Hello\' + Function materialize (children 1) + ExpressionList (children 1) + Literal \'%ð%\' diff --git a/parser/testdata/02235_add_part_offset_virtual_column/explain.txt b/parser/testdata/02235_add_part_offset_virtual_column/explain.txt new file mode 100644 index 000000000..befd23876 --- /dev/null +++ b/parser/testdata/02235_add_part_offset_virtual_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_1 (children 1) + Identifier t_1 diff --git a/parser/testdata/02235_check_table_sparse_serialization/explain.txt b/parser/testdata/02235_check_table_sparse_serialization/explain.txt new file mode 100644 index 000000000..3af68a743 --- /dev/null +++ b/parser/testdata/02235_check_table_sparse_serialization/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_sparse_02235 (children 1) + Identifier t_sparse_02235 diff --git a/parser/testdata/02236_explain_pipeline_join/explain.txt b/parser/testdata/02236_explain_pipeline_join/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02236_explain_pipeline_join/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02236_json_each_row_empty_map_schema_inference/explain.txt b/parser/testdata/02236_json_each_row_empty_map_schema_inference/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02236_json_each_row_empty_map_schema_inference/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02240_asof_join_biginteger/explain.txt b/parser/testdata/02240_asof_join_biginteger/explain.txt new file mode 100644 index 000000000..478553a63 --- /dev/null +++ b/parser/testdata/02240_asof_join_biginteger/explain.txt @@ -0,0 +1,32 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias t1) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_0 (alias k) + Function toInt128 (alias v) (children 1) + ExpressionList (children 1) + Literal \'18446744073709551617\' + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias t2) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_0 (alias k) + Function toInt128 (alias v) (children 1) + ExpressionList (children 1) + Literal \'18446744073709551616\' + TableJoin (children 1) + ExpressionList (children 2) + Identifier k + Identifier v diff --git a/parser/testdata/02240_filesystem_cache_bypass_cache_threshold/explain.txt b/parser/testdata/02240_filesystem_cache_bypass_cache_threshold/explain.txt new file mode 100644 index 000000000..1684cb9d8 --- /dev/null +++ b/parser/testdata/02240_filesystem_cache_bypass_cache_threshold/explain.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02240_filesystem_query_cache/explain.txt b/parser/testdata/02240_filesystem_query_cache/explain.txt new file mode 100644 index 000000000..1684cb9d8 --- /dev/null +++ b/parser/testdata/02240_filesystem_query_cache/explain.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02240_get_type_serialization_streams/explain.txt b/parser/testdata/02240_get_type_serialization_streams/explain.txt new file mode 100644 index 000000000..66ae2c6e9 --- /dev/null +++ b/parser/testdata/02240_get_type_serialization_streams/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function getTypeSerializationStreams (children 1) + ExpressionList (children 1) + Literal \'Array(Int8)\' diff --git a/parser/testdata/02241_array_first_last_or_null/explain.txt b/parser/testdata/02241_array_first_last_or_null/explain.txt new file mode 100644 index 000000000..87fd48f67 --- /dev/null +++ b/parser/testdata/02241_array_first_last_or_null/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'ArrayFirst constant predicate\' diff --git a/parser/testdata/02241_short_circuit_short_column/explain.txt b/parser/testdata/02241_short_circuit_short_column/explain.txt new file mode 100644 index 000000000..308c29dec --- /dev/null +++ b/parser/testdata/02241_short_circuit_short_column/explain.txt @@ -0,0 +1,76 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function and (children 1) + ExpressionList (children 2) + Literal UInt64_65536 + Literal UInt64_2147483647 + Function throwIf (children 1) + ExpressionList (children 2) + Function and (children 1) + ExpressionList (children 2) + Function and (children 1) + ExpressionList (children 2) + Function and (children 1) + ExpressionList (children 2) + Function and (children 1) + ExpressionList (children 4) + Literal UInt64_1048575 + Function throwIf (children 1) + ExpressionList (children 1) + Function and (children 1) + ExpressionList (children 3) + Function and (children 1) + ExpressionList (children 2) + Literal Float64_0 + Literal NULL + Function and (children 1) + ExpressionList (children 2) + Function and (children 1) + ExpressionList (children 3) + Function and (children 1) + ExpressionList (children 2) + Literal UInt64_65536 + Literal UInt64_257 + Function and (children 1) + ExpressionList (children 2) + Literal Float64_1.1754943508222875e-38 + Literal UInt64_1024 + Literal Int64_-2147483649 + Literal NULL + Function and (children 1) + ExpressionList (children 2) + Literal UInt64_10 + Literal NULL + Function and (children 1) + ExpressionList (children 2) + Function and (children 1) + ExpressionList (children 3) + Function and (children 1) + ExpressionList (children 2) + Literal UInt64_65536 + Literal UInt64_257 + Function and (children 1) + ExpressionList (children 2) + Literal Float64_1.1754943508222875e-38 + Literal UInt64_1024 + Literal Int64_-1 + Literal NULL + Literal UInt64_65535 + Literal Int64_-1 + Literal NULL + Function and (children 1) + ExpressionList (children 2) + Literal NULL + Literal NULL + Function less (children 1) + ExpressionList (children 2) + Literal NULL + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 diff --git a/parser/testdata/02242_if_then_else_null_bug/explain.txt b/parser/testdata/02242_if_then_else_null_bug/explain.txt new file mode 100644 index 000000000..d6837e38c --- /dev/null +++ b/parser/testdata/02242_if_then_else_null_bug/explain.txt @@ -0,0 +1,21 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function if (children 1) + ExpressionList (children 3) + Function greater (children 1) + ExpressionList (children 2) + Function materialize (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Literal UInt64_0 + Function CAST (children 1) + ExpressionList (children 2) + Literal NULL + Literal \'Nullable(Int64)\' + Function materialize (children 1) + ExpressionList (children 1) + Function toInt32 (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/02242_join_rocksdb/explain.txt b/parser/testdata/02242_join_rocksdb/explain.txt new file mode 100644 index 000000000..37bf357e2 --- /dev/null +++ b/parser/testdata/02242_join_rocksdb/explain.txt @@ -0,0 +1,2 @@ +DropQuery rdb (children 1) + Identifier rdb diff --git a/parser/testdata/02242_make_date/explain.txt b/parser/testdata/02242_make_date/explain.txt new file mode 100644 index 000000000..fcfc01045 --- /dev/null +++ b/parser/testdata/02242_make_date/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toTypeName (children 1) + ExpressionList (children 1) + Function makeDate (children 1) + ExpressionList (children 3) + Literal UInt64_1991 + Literal UInt64_8 + Literal UInt64_24 diff --git a/parser/testdata/02242_make_date_mysql/explain.txt b/parser/testdata/02242_make_date_mysql/explain.txt new file mode 100644 index 000000000..5187454bc --- /dev/null +++ b/parser/testdata/02242_make_date_mysql/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toTypeName (children 1) + ExpressionList (children 1) + Function makeDate (children 1) + ExpressionList (children 2) + Literal UInt64_1991 + Literal UInt64_8 diff --git a/parser/testdata/02242_negative_datetime64/explain.txt b/parser/testdata/02242_negative_datetime64/explain.txt new file mode 100644 index 000000000..87c01b984 --- /dev/null +++ b/parser/testdata/02242_negative_datetime64/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Function toDateTime64 (children 1) + ExpressionList (children 3) + Literal \'1965-12-12 12:12:12.123\' + Literal UInt64_3 + Literal \'UTC\' + Literal \'Decimal64(3)\' diff --git a/parser/testdata/02242_optimize_to_subcolumns_no_storage/explain.txt b/parser/testdata/02242_optimize_to_subcolumns_no_storage/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02242_optimize_to_subcolumns_no_storage/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02242_subcolumns_sizes/explain.txt b/parser/testdata/02242_subcolumns_sizes/explain.txt new file mode 100644 index 000000000..b285f7158 --- /dev/null +++ b/parser/testdata/02242_subcolumns_sizes/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_subcolumns_sizes (children 1) + Identifier t_subcolumns_sizes diff --git a/parser/testdata/02242_throw_if_constant_argument/explain.txt b/parser/testdata/02242_throw_if_constant_argument/explain.txt new file mode 100644 index 000000000..30a00c627 --- /dev/null +++ b/parser/testdata/02242_throw_if_constant_argument/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function throwIf (children 1) + ExpressionList (children 1) + Function and (children 1) + ExpressionList (children 2) + Literal UInt64_0 + Literal UInt64_2147483646 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_10 diff --git a/parser/testdata/02243_in_ip_address/explain.txt b/parser/testdata/02243_in_ip_address/explain.txt new file mode 100644 index 000000000..d4bf1aa3f --- /dev/null +++ b/parser/testdata/02243_in_ip_address/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_table (children 1) + Identifier test_table diff --git a/parser/testdata/02243_ipv6_long_parsing/explain.txt b/parser/testdata/02243_ipv6_long_parsing/explain.txt new file mode 100644 index 000000000..d4bf1aa3f --- /dev/null +++ b/parser/testdata/02243_ipv6_long_parsing/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_table (children 1) + Identifier test_table diff --git a/parser/testdata/02243_make_date32/explain.txt b/parser/testdata/02243_make_date32/explain.txt new file mode 100644 index 000000000..f884e495c --- /dev/null +++ b/parser/testdata/02243_make_date32/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toTypeName (children 1) + ExpressionList (children 1) + Function makeDate32 (children 1) + ExpressionList (children 3) + Literal UInt64_1991 + Literal UInt64_8 + Literal UInt64_24 diff --git a/parser/testdata/02243_make_date32_mysql/explain.txt b/parser/testdata/02243_make_date32_mysql/explain.txt new file mode 100644 index 000000000..10de31f09 --- /dev/null +++ b/parser/testdata/02243_make_date32_mysql/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toTypeName (children 1) + ExpressionList (children 1) + Function makeDate32 (children 1) + ExpressionList (children 2) + Literal UInt64_1991 + Literal UInt64_8 diff --git a/parser/testdata/02244_casewithexpression_return_type/explain.txt b/parser/testdata/02244_casewithexpression_return_type/explain.txt new file mode 100644 index 000000000..6523f5319 --- /dev/null +++ b/parser/testdata/02244_casewithexpression_return_type/explain.txt @@ -0,0 +1,6 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Identifier number + Identifier CASE (alias number) diff --git a/parser/testdata/02244_column_names_in_shcmea_inference/explain.txt b/parser/testdata/02244_column_names_in_shcmea_inference/explain.txt new file mode 100644 index 000000000..a1af83590 --- /dev/null +++ b/parser/testdata/02244_column_names_in_shcmea_inference/explain.txt @@ -0,0 +1,18 @@ +InsertQuery (children 3) + Function file (children 1) + ExpressionList (children 3) + Function concat (children 1) + ExpressionList (children 2) + Function currentDatabase (children 1) + ExpressionList + Literal \'_test_02244\' + Literal \'TSV\' + Literal \'x String, y UInt32\' + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Literal \'Hello, world!\' + Literal UInt64_42 + Set + Set diff --git a/parser/testdata/02244_ip_address_invalid_insert/explain.txt b/parser/testdata/02244_ip_address_invalid_insert/explain.txt new file mode 100644 index 000000000..b44142a56 --- /dev/null +++ b/parser/testdata/02244_ip_address_invalid_insert/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_table_ipv4 (children 1) + Identifier test_table_ipv4 diff --git a/parser/testdata/02244_lowcardinality_hash_join/explain.txt b/parser/testdata/02244_lowcardinality_hash_join/explain.txt new file mode 100644 index 000000000..da9405c49 --- /dev/null +++ b/parser/testdata/02244_lowcardinality_hash_join/explain.txt @@ -0,0 +1,2 @@ +DropQuery lc_table (children 1) + Identifier lc_table diff --git a/parser/testdata/02244_make_datetime/explain.txt b/parser/testdata/02244_make_datetime/explain.txt new file mode 100644 index 000000000..3477da3bc --- /dev/null +++ b/parser/testdata/02244_make_datetime/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function makeDateTime (children 1) + ExpressionList (children 6) + Literal UInt64_1991 + Literal UInt64_8 + Literal UInt64_24 + Literal UInt64_21 + Literal UInt64_4 + Literal UInt64_0 diff --git a/parser/testdata/02244_url_engine_headers_test/explain.txt b/parser/testdata/02244_url_engine_headers_test/explain.txt new file mode 100644 index 000000000..e45c250fe --- /dev/null +++ b/parser/testdata/02244_url_engine_headers_test/explain.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function url (children 1) + ExpressionList (children 3) + Identifier url_with_headers + Function equals (children 1) + ExpressionList (children 2) + Identifier url + Literal \'http://127.0.0.1:8123?query=select+12\' + Function equals (children 1) + ExpressionList (children 2) + Identifier format + Literal \'RawBLOB\' +The query succeeded but the server error '86' was expected (query: EXPLAIN AST select * from url(url_with_headers, url='http://127.0.0.1:8123?query=select+12', format='RawBLOB'); -- { serverError RECEIVED_ERROR_FROM_REMOTE_IO_SERVER }). diff --git a/parser/testdata/02245_format_string_stack_overflow/explain.txt b/parser/testdata/02245_format_string_stack_overflow/explain.txt new file mode 100644 index 000000000..33b1a6b35 --- /dev/null +++ b/parser/testdata/02245_format_string_stack_overflow/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function format (alias str) (children 1) + ExpressionList (children 2) + Literal \'{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}\' + Function toString (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/02245_join_with_nullable_lowcardinality_crash/explain.txt b/parser/testdata/02245_join_with_nullable_lowcardinality_crash/explain.txt new file mode 100644 index 000000000..ec242cf12 --- /dev/null +++ b/parser/testdata/02245_join_with_nullable_lowcardinality_crash/explain.txt @@ -0,0 +1,2 @@ +DropQuery with_nullable (children 1) + Identifier with_nullable diff --git a/parser/testdata/02245_make_datetime64/explain.txt b/parser/testdata/02245_make_datetime64/explain.txt new file mode 100644 index 000000000..cfce046c7 --- /dev/null +++ b/parser/testdata/02245_make_datetime64/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function makeDateTime64 (children 1) + ExpressionList (children 6) + Literal UInt64_1991 + Literal UInt64_8 + Literal UInt64_24 + Literal UInt64_21 + Literal UInt64_4 + Literal UInt64_0 diff --git a/parser/testdata/02245_s3_schema_desc/explain.txt b/parser/testdata/02245_s3_schema_desc/explain.txt new file mode 100644 index 000000000..0d1d8283f --- /dev/null +++ b/parser/testdata/02245_s3_schema_desc/explain.txt @@ -0,0 +1,6 @@ +DescribeQuery (children 1) + TableExpression (children 1) + Function s3Cluster (children 1) + ExpressionList (children 2) + Literal \'test_cluster_two_shards_localhost\' + Literal \'http://localhost:11111/test/{a,b,c}.tsv\' diff --git a/parser/testdata/02245_s3_support_read_nested_column/explain.txt b/parser/testdata/02245_s3_support_read_nested_column/explain.txt new file mode 100644 index 000000000..1766bc5eb --- /dev/null +++ b/parser/testdata/02245_s3_support_read_nested_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_02245_s3_nested_parquet1 (children 1) + Identifier test_02245_s3_nested_parquet1 diff --git a/parser/testdata/02245_s3_virtual_columns/explain.txt b/parser/testdata/02245_s3_virtual_columns/explain.txt new file mode 100644 index 000000000..d182ae9ff --- /dev/null +++ b/parser/testdata/02245_s3_virtual_columns/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_02245 (children 1) + Identifier test_02245 diff --git a/parser/testdata/02245_weird_partitions_pruning/explain.txt b/parser/testdata/02245_weird_partitions_pruning/explain.txt new file mode 100644 index 000000000..eb4accf71 --- /dev/null +++ b/parser/testdata/02245_weird_partitions_pruning/explain.txt @@ -0,0 +1,2 @@ +DropQuery weird_partitions_02245 (children 1) + Identifier weird_partitions_02245 diff --git a/parser/testdata/02246_flatten_tuple/explain.txt b/parser/testdata/02246_flatten_tuple/explain.txt new file mode 100644 index 000000000..2f504be0b --- /dev/null +++ b/parser/testdata/02246_flatten_tuple/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_flatten_tuple (children 1) + Identifier t_flatten_tuple diff --git a/parser/testdata/02247_fix_extract_parser/explain.txt b/parser/testdata/02247_fix_extract_parser/explain.txt new file mode 100644 index 000000000..3682b851d --- /dev/null +++ b/parser/testdata/02247_fix_extract_parser/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Literal \'number: 1\' (alias year) + ExpressionList (children 1) + Function extract (children 1) + ExpressionList (children 2) + Identifier year + Literal \'\\\\d+\' diff --git a/parser/testdata/02248_nullable_custom_types_to_string/explain.txt b/parser/testdata/02248_nullable_custom_types_to_string/explain.txt new file mode 100644 index 000000000..856afccb1 --- /dev/null +++ b/parser/testdata/02248_nullable_custom_types_to_string/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toString (children 1) + ExpressionList (children 1) + Function toNullable (children 1) + ExpressionList (children 1) + Literal Bool_1 diff --git a/parser/testdata/02249_insert_select_from_input_schema_inference/explain.txt b/parser/testdata/02249_insert_select_from_input_schema_inference/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02249_insert_select_from_input_schema_inference/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02249_parse_date_time_basic/explain.txt b/parser/testdata/02249_parse_date_time_basic/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02249_parse_date_time_basic/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02250_insert_select_from_file_schema_inference/explain.txt b/parser/testdata/02250_insert_select_from_file_schema_inference/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02250_insert_select_from_file_schema_inference/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02251_alter_enum_nested_struct/explain.txt b/parser/testdata/02251_alter_enum_nested_struct/explain.txt new file mode 100644 index 000000000..6d7785f19 --- /dev/null +++ b/parser/testdata/02251_alter_enum_nested_struct/explain.txt @@ -0,0 +1,2 @@ +DropQuery alter_enum_array (children 1) + Identifier alter_enum_array diff --git a/parser/testdata/02251_last_day_of_month/metadata.json b/parser/testdata/02251_last_day_of_month/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02251_last_day_of_month/metadata.json +++ b/parser/testdata/02251_last_day_of_month/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02252_executable_user_defined_function_short_circuit/explain.txt b/parser/testdata/02252_executable_user_defined_function_short_circuit/explain.txt new file mode 100644 index 000000000..3b027ad37 --- /dev/null +++ b/parser/testdata/02252_executable_user_defined_function_short_circuit/explain.txt @@ -0,0 +1,24 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + Function and (children 1) + ExpressionList (children 2) + Function greater (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_15 + Function equals (children 1) + ExpressionList (children 2) + Function test_function (children 1) + ExpressionList (children 2) + Identifier number + Identifier number + Literal UInt64_4 diff --git a/parser/testdata/02252_jit_profile_events/explain.txt b/parser/testdata/02252_jit_profile_events/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02252_jit_profile_events/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02252_reset_non_existing_setting/explain.txt b/parser/testdata/02252_reset_non_existing_setting/explain.txt new file mode 100644 index 000000000..00d526cce --- /dev/null +++ b/parser/testdata/02252_reset_non_existing_setting/explain.txt @@ -0,0 +1,2 @@ +DropQuery most_ordinary_mt (children 1) + Identifier most_ordinary_mt diff --git a/parser/testdata/02264_format_insert_compression/explain.txt b/parser/testdata/02264_format_insert_compression/explain.txt new file mode 100644 index 000000000..125fcf109 --- /dev/null +++ b/parser/testdata/02264_format_insert_compression/explain.txt @@ -0,0 +1,5 @@ +Explain EXPLAIN SYNTAX (children 1) + InsertQuery (children 3) + Literal \'/dev/null\' + Literal \'gz\' + Identifier foo diff --git a/parser/testdata/02264_format_insert_infile/explain.txt b/parser/testdata/02264_format_insert_infile/explain.txt new file mode 100644 index 000000000..f7bb9a72e --- /dev/null +++ b/parser/testdata/02264_format_insert_infile/explain.txt @@ -0,0 +1,4 @@ +Explain EXPLAIN SYNTAX (children 1) + InsertQuery (children 2) + Literal \'/dev/null\' + Identifier foo diff --git a/parser/testdata/02265_column_ttl/explain.txt b/parser/testdata/02265_column_ttl/explain.txt new file mode 100644 index 000000000..0706cdd97 --- /dev/null +++ b/parser/testdata/02265_column_ttl/explain.txt @@ -0,0 +1,2 @@ +DropQuery ttl_02265 (children 1) + Identifier ttl_02265 diff --git a/parser/testdata/02265_cross_join_empty_list/explain.txt b/parser/testdata/02265_cross_join_empty_list/explain.txt new file mode 100644 index 000000000..b1d003aef --- /dev/null +++ b/parser/testdata/02265_cross_join_empty_list/explain.txt @@ -0,0 +1,25 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function count (children 1) + ExpressionList (children 1) + Literal UInt64_1 + TablesInSelectQuery (children 3) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (alias n1) (children 1) + ExpressionList (children 1) + Literal UInt64_2 + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Function numbers (alias n2) (children 1) + ExpressionList (children 1) + Literal UInt64_3 + TableJoin + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Function numbers (alias n3) (children 1) + ExpressionList (children 1) + Literal UInt64_4 + TableJoin diff --git a/parser/testdata/02265_limit_push_down_over_window_functions_bug/metadata.json b/parser/testdata/02265_limit_push_down_over_window_functions_bug/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02265_limit_push_down_over_window_functions_bug/metadata.json +++ b/parser/testdata/02265_limit_push_down_over_window_functions_bug/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02265_per_table_ttl_mutation_on_change/explain.txt b/parser/testdata/02265_per_table_ttl_mutation_on_change/explain.txt new file mode 100644 index 000000000..deb69109c --- /dev/null +++ b/parser/testdata/02265_per_table_ttl_mutation_on_change/explain.txt @@ -0,0 +1,2 @@ +DropQuery per_table_ttl_02265 (children 1) + Identifier per_table_ttl_02265 diff --git a/parser/testdata/02265_rename_join_ordinary_to_atomic/explain.txt b/parser/testdata/02265_rename_join_ordinary_to_atomic/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02265_rename_join_ordinary_to_atomic/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02266_auto_add_nullable/explain.txt b/parser/testdata/02266_auto_add_nullable/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02266_auto_add_nullable/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02267_empty_arrays_read_reverse/explain.txt b/parser/testdata/02267_empty_arrays_read_reverse/explain.txt new file mode 100644 index 000000000..4a36894c0 --- /dev/null +++ b/parser/testdata/02267_empty_arrays_read_reverse/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_02267 (children 1) + Identifier t_02267 diff --git a/parser/testdata/02267_insert_empty_data/explain.txt b/parser/testdata/02267_insert_empty_data/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/02267_insert_empty_data/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/02267_join_dup_columns_issue36199/metadata.json b/parser/testdata/02267_join_dup_columns_issue36199/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02267_join_dup_columns_issue36199/metadata.json +++ b/parser/testdata/02267_join_dup_columns_issue36199/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02267_jsonlines_ndjson_format/explain.txt b/parser/testdata/02267_jsonlines_ndjson_format/explain.txt new file mode 100644 index 000000000..816ad0a59 --- /dev/null +++ b/parser/testdata/02267_jsonlines_ndjson_format/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + Identifier JSONLines diff --git a/parser/testdata/02267_output_format_prometheus/metadata.json b/parser/testdata/02267_output_format_prometheus/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02267_output_format_prometheus/metadata.json +++ b/parser/testdata/02267_output_format_prometheus/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02267_special_operator_parse_alias_check/explain.txt b/parser/testdata/02267_special_operator_parse_alias_check/explain.txt new file mode 100644 index 000000000..e72408dba --- /dev/null +++ b/parser/testdata/02267_special_operator_parse_alias_check/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Literal \'1234\' + Literal \'UInt32\' diff --git a/parser/testdata/02267_type_inference_for_insert_into_function_null/explain.txt b/parser/testdata/02267_type_inference_for_insert_into_function_null/explain.txt new file mode 100644 index 000000000..02e4ed7af --- /dev/null +++ b/parser/testdata/02267_type_inference_for_insert_into_function_null/explain.txt @@ -0,0 +1,8 @@ +InsertQuery (children 2) + Function null (children 1) + ExpressionList + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/02268_json_wrong_root_type_in_schema_inference/explain.txt b/parser/testdata/02268_json_wrong_root_type_in_schema_inference/explain.txt new file mode 100644 index 000000000..ddb7c9dfa --- /dev/null +++ b/parser/testdata/02268_json_wrong_root_type_in_schema_inference/explain.txt @@ -0,0 +1,14 @@ +InsertQuery (children 2) + Function file (children 1) + ExpressionList (children 2) + Function concat (children 1) + ExpressionList (children 2) + Function currentDatabase (children 1) + ExpressionList + Literal \'_02268_data.jsonl\' + Literal \'TSV\' + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/02269_create_table_with_collation/explain.txt b/parser/testdata/02269_create_table_with_collation/explain.txt new file mode 100644 index 000000000..b174102f4 --- /dev/null +++ b/parser/testdata/02269_create_table_with_collation/explain.txt @@ -0,0 +1,12 @@ +Explain EXPLAIN SYNTAX (children 1) + CreateQuery t (children 3) + Identifier t + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration x (children 2) + DataType varchar (children 1) + ExpressionList (children 1) + Literal UInt64_255 + Collation + Storage definition (children 1) + Function Memory diff --git a/parser/testdata/02269_insert_select_with_format_without_schema_inference/explain.txt b/parser/testdata/02269_insert_select_with_format_without_schema_inference/explain.txt new file mode 100644 index 000000000..3caee3ab9 --- /dev/null +++ b/parser/testdata/02269_insert_select_with_format_without_schema_inference/explain.txt @@ -0,0 +1,16 @@ +InsertQuery (children 3) + Function file (children 1) + ExpressionList (children 2) + Function concat (children 1) + ExpressionList (children 2) + Function currentDatabase (children 1) + ExpressionList + Literal \'_02269_data\' + Literal \'RowBinary\' + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Literal UInt64_1 + Set + Set diff --git a/parser/testdata/02269_to_start_of_interval_overflow/explain.txt b/parser/testdata/02269_to_start_of_interval_overflow/explain.txt new file mode 100644 index 000000000..c307f1264 --- /dev/null +++ b/parser/testdata/02269_to_start_of_interval_overflow/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toStartOfInterval (children 1) + ExpressionList (children 2) + Function toDateTime64 (children 1) + ExpressionList (children 2) + Literal \'\\0930-12-12 12:12:12.1234567\' + Literal UInt64_3 + Function toIntervalNanosecond (children 1) + ExpressionList (children 1) + Literal UInt64_1024 +The query succeeded but the server error '407' was expected (query: EXPLAIN AST select toStartOfInterval(toDateTime64('\0930-12-12 12:12:12.1234567', 3), toIntervalNanosecond(1024)); -- {serverError DECIMAL_OVERFLOW}). diff --git a/parser/testdata/02270_client_name/explain.txt b/parser/testdata/02270_client_name/explain.txt new file mode 100644 index 000000000..1edf773ca --- /dev/null +++ b/parser/testdata/02270_client_name/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Literal UInt64_1 + Set + Identifier Null diff --git a/parser/testdata/02271_fix_column_matcher_and_column_transformer/explain.txt b/parser/testdata/02271_fix_column_matcher_and_column_transformer/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02271_fix_column_matcher_and_column_transformer/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02271_int_sql_compatibility/explain.txt b/parser/testdata/02271_int_sql_compatibility/explain.txt new file mode 100644 index 000000000..961d24595 --- /dev/null +++ b/parser/testdata/02271_int_sql_compatibility/explain.txt @@ -0,0 +1,6 @@ +CreateQuery t1_02271 (children 2) + Identifier t1_02271 + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration x (children 1) + DataType INT diff --git a/parser/testdata/02271_replace_partition_many_tables/explain.txt b/parser/testdata/02271_replace_partition_many_tables/explain.txt new file mode 100644 index 000000000..e59a35288 --- /dev/null +++ b/parser/testdata/02271_replace_partition_many_tables/explain.txt @@ -0,0 +1,2 @@ +DropQuery replace_partition_source (children 1) + Identifier replace_partition_source diff --git a/parser/testdata/02271_temporary_table_show_rows_bytes/explain.txt b/parser/testdata/02271_temporary_table_show_rows_bytes/explain.txt new file mode 100644 index 000000000..8266896ca --- /dev/null +++ b/parser/testdata/02271_temporary_table_show_rows_bytes/explain.txt @@ -0,0 +1,19 @@ +CreateQuery 02271_temporary_table_show_rows_bytes (children 4) + Identifier 02271_temporary_table_show_rows_bytes + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration A (children 1) + DataType Int64 + Storage definition (children 1) + Function Memory + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1000 diff --git a/parser/testdata/02276_full_sort_join_unsupported/explain.txt b/parser/testdata/02276_full_sort_join_unsupported/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/02276_full_sort_join_unsupported/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/02277_full_sort_join_misc/explain.txt b/parser/testdata/02277_full_sort_join_misc/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02277_full_sort_join_misc/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02280_add_query_level_settings/explain.txt b/parser/testdata/02280_add_query_level_settings/explain.txt new file mode 100644 index 000000000..721732737 --- /dev/null +++ b/parser/testdata/02280_add_query_level_settings/explain.txt @@ -0,0 +1,2 @@ +DropQuery table_for_alter (children 1) + Identifier table_for_alter diff --git a/parser/testdata/02281_limit_by_distributed/explain.txt b/parser/testdata/02281_limit_by_distributed/explain.txt new file mode 100644 index 000000000..1dc74d489 --- /dev/null +++ b/parser/testdata/02281_limit_by_distributed/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Identifier k diff --git a/parser/testdata/02282_array_distance/explain.txt b/parser/testdata/02282_array_distance/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02282_array_distance/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02283_array_norm/explain.txt b/parser/testdata/02283_array_norm/explain.txt new file mode 100644 index 000000000..a226ea4dc --- /dev/null +++ b/parser/testdata/02283_array_norm/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function L1Norm (children 1) + ExpressionList (children 1) + Literal Array_[UInt64_1, UInt64_2, UInt64_3] diff --git a/parser/testdata/02285_executable_user_defined_function_group_by/explain.txt b/parser/testdata/02285_executable_user_defined_function_group_by/explain.txt new file mode 100644 index 000000000..c44d454cd --- /dev/null +++ b/parser/testdata/02285_executable_user_defined_function_group_by/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function test_function (alias a) (children 1) + ExpressionList (children 2) + Identifier number + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + ExpressionList (children 1) + Identifier a + ExpressionList (children 1) + OrderByElement (children 1) + Identifier a diff --git a/parser/testdata/02285_hex_bin_support_more_types/explain.txt b/parser/testdata/02285_hex_bin_support_more_types/explain.txt new file mode 100644 index 000000000..6c8fd6f82 --- /dev/null +++ b/parser/testdata/02285_hex_bin_support_more_types/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function hex (alias res) (children 1) + ExpressionList (children 1) + Function toUInt128 (children 1) + ExpressionList (children 1) + Literal UInt64_100000000000 diff --git a/parser/testdata/02286_convert_decimal_type/explain.txt b/parser/testdata/02286_convert_decimal_type/explain.txt new file mode 100644 index 000000000..07ecf3d2c --- /dev/null +++ b/parser/testdata/02286_convert_decimal_type/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function VALUES (children 1) + ExpressionList (children 2) + Literal \'x Decimal32(0)\' + Literal UInt64_1 diff --git a/parser/testdata/02286_function_wyhash/explain.txt b/parser/testdata/02286_function_wyhash/explain.txt new file mode 100644 index 000000000..f1cb5ea4e --- /dev/null +++ b/parser/testdata/02286_function_wyhash/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function wyHash64 (children 1) + ExpressionList (children 1) + Literal NULL diff --git a/parser/testdata/02286_quantile_tdigest_infinity/explain.txt b/parser/testdata/02286_quantile_tdigest_infinity/explain.txt new file mode 100644 index 000000000..cb795a950 --- /dev/null +++ b/parser/testdata/02286_quantile_tdigest_infinity/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'1\' diff --git a/parser/testdata/02286_tuple_numeric_identifier/explain.txt b/parser/testdata/02286_tuple_numeric_identifier/explain.txt new file mode 100644 index 000000000..5749b589f --- /dev/null +++ b/parser/testdata/02286_tuple_numeric_identifier/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_tuple_numeric (children 1) + Identifier t_tuple_numeric diff --git a/parser/testdata/02286_vertical_merges_missed_column/explain.txt b/parser/testdata/02286_vertical_merges_missed_column/explain.txt new file mode 100644 index 000000000..7b2dd793a --- /dev/null +++ b/parser/testdata/02286_vertical_merges_missed_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_vertical_merges (children 1) + Identifier t_vertical_merges diff --git a/parser/testdata/02287_ephemeral_format_crash/explain.txt b/parser/testdata/02287_ephemeral_format_crash/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/02287_ephemeral_format_crash/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/02287_legacy_column_name_of_tuple_literal_over_distributed/explain.txt b/parser/testdata/02287_legacy_column_name_of_tuple_literal_over_distributed/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02287_legacy_column_name_of_tuple_literal_over_distributed/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02291_dictionary_scalar_subquery_reload/explain.txt b/parser/testdata/02291_dictionary_scalar_subquery_reload/explain.txt new file mode 100644 index 000000000..fd3dd9c65 --- /dev/null +++ b/parser/testdata/02291_dictionary_scalar_subquery_reload/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_dictionary_source_table (children 1) + Identifier test_dictionary_source_table diff --git a/parser/testdata/02291_join_const_literal_36279/explain.txt b/parser/testdata/02291_join_const_literal_36279/explain.txt new file mode 100644 index 000000000..1ce42f6e7 --- /dev/null +++ b/parser/testdata/02291_join_const_literal_36279/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_distributed (children 1) + Identifier test_distributed diff --git a/parser/testdata/02292_create_function_validate/explain.txt b/parser/testdata/02292_create_function_validate/explain.txt new file mode 100644 index 000000000..e001e32cf --- /dev/null +++ b/parser/testdata/02292_create_function_validate/explain.txt @@ -0,0 +1,4 @@ +CreateFunctionQuery foo (children 2) + Identifier foo + Identifier x +The query succeeded but the server error '36' was expected (query: EXPLAIN AST create function foo as x -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/02292_h3_unidirectional_funcs/explain.txt b/parser/testdata/02292_h3_unidirectional_funcs/explain.txt new file mode 100644 index 000000000..17a864beb --- /dev/null +++ b/parser/testdata/02292_h3_unidirectional_funcs/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function h3GetDestinationIndexFromUnidirectionalEdge (children 1) + ExpressionList (children 1) + Literal UInt64_1248204388774707197 diff --git a/parser/testdata/02292_hash_array_tuples/explain.txt b/parser/testdata/02292_hash_array_tuples/explain.txt new file mode 100644 index 000000000..e04540e37 --- /dev/null +++ b/parser/testdata/02292_hash_array_tuples/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'arrays\' diff --git a/parser/testdata/02292_nested_not_flattened_detach/explain.txt b/parser/testdata/02292_nested_not_flattened_detach/explain.txt new file mode 100644 index 000000000..e435b8ef0 --- /dev/null +++ b/parser/testdata/02292_nested_not_flattened_detach/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_nested_detach (children 1) + Identifier t_nested_detach diff --git a/parser/testdata/02293_arrow_dictionary_indexes/explain.txt b/parser/testdata/02293_arrow_dictionary_indexes/explain.txt new file mode 100644 index 000000000..5d074e2ae --- /dev/null +++ b/parser/testdata/02293_arrow_dictionary_indexes/explain.txt @@ -0,0 +1,25 @@ +InsertQuery (children 3) + Function file (children 1) + ExpressionList (children 1) + Function concat (children 1) + ExpressionList (children 2) + Function currentDatabase (children 1) + ExpressionList + Literal \'_02293_data.arrow\' + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function toLowCardinality (children 1) + ExpressionList (children 1) + Function toString (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_300 + Set + Set diff --git a/parser/testdata/02293_compatibility_ignore_auto_increment_in_create_table/explain.txt b/parser/testdata/02293_compatibility_ignore_auto_increment_in_create_table/explain.txt new file mode 100644 index 000000000..8bf4e3fcb --- /dev/null +++ b/parser/testdata/02293_compatibility_ignore_auto_increment_in_create_table/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'disable AUTO_INCREMENT compatibility mode\' diff --git a/parser/testdata/02293_grouping_function/explain.txt b/parser/testdata/02293_grouping_function/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02293_grouping_function/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02293_grouping_function_group_by/explain.txt b/parser/testdata/02293_grouping_function_group_by/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02293_grouping_function_group_by/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02293_h3_distance/explain.txt b/parser/testdata/02293_h3_distance/explain.txt new file mode 100644 index 000000000..8f134ef81 --- /dev/null +++ b/parser/testdata/02293_h3_distance/explain.txt @@ -0,0 +1,2 @@ +DropQuery h3_indexes (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_h3_hex_ring/explain.txt b/parser/testdata/02293_h3_hex_ring/explain.txt new file mode 100644 index 000000000..02c9ed7dd --- /dev/null +++ b/parser/testdata/02293_h3_hex_ring/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function h3HexRing (children 1) + ExpressionList (children 2) + Literal UInt64_581276613233082367 + Function toUInt16 (children 1) + ExpressionList (children 1) + Literal UInt64_0 diff --git a/parser/testdata/02293_h3_line/explain.txt b/parser/testdata/02293_h3_line/explain.txt new file mode 100644 index 000000000..8f134ef81 --- /dev/null +++ b/parser/testdata/02293_h3_line/explain.txt @@ -0,0 +1,2 @@ +DropQuery h3_indexes (children 1) + Identifier h3_indexes diff --git a/parser/testdata/02293_ilike_on_fixed_strings/explain.txt b/parser/testdata/02293_ilike_on_fixed_strings/explain.txt new file mode 100644 index 000000000..0a00b06d1 --- /dev/null +++ b/parser/testdata/02293_ilike_on_fixed_strings/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab (children 1) + Identifier tab diff --git a/parser/testdata/02293_optimize_aggregation_in_order_Array_functions/explain.txt b/parser/testdata/02293_optimize_aggregation_in_order_Array_functions/explain.txt new file mode 100644 index 000000000..9739b168b --- /dev/null +++ b/parser/testdata/02293_optimize_aggregation_in_order_Array_functions/explain.txt @@ -0,0 +1,2 @@ +DropQuery data_02293 (children 1) + Identifier data_02293 diff --git a/parser/testdata/02293_ttest_large_samples/metadata.json b/parser/testdata/02293_ttest_large_samples/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02293_ttest_large_samples/metadata.json +++ b/parser/testdata/02293_ttest_large_samples/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02294_decimal_second_errors/explain.txt b/parser/testdata/02294_decimal_second_errors/explain.txt new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/parser/testdata/02294_decimal_second_errors/explain.txt @@ -0,0 +1 @@ + diff --git a/parser/testdata/02294_dictionaries_hierarchical_index/explain.txt b/parser/testdata/02294_dictionaries_hierarchical_index/explain.txt new file mode 100644 index 000000000..656446d94 --- /dev/null +++ b/parser/testdata/02294_dictionaries_hierarchical_index/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_hierarchy_source_table (children 1) + Identifier test_hierarchy_source_table diff --git a/parser/testdata/02294_fp_seconds_profile/explain.txt b/parser/testdata/02294_fp_seconds_profile/explain.txt new file mode 100644 index 000000000..5d4d45fba --- /dev/null +++ b/parser/testdata/02294_fp_seconds_profile/explain.txt @@ -0,0 +1 @@ +DROP SETTINGS PROFILE query diff --git a/parser/testdata/02294_nothing_arguments_in_functions/explain.txt b/parser/testdata/02294_nothing_arguments_in_functions/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02294_nothing_arguments_in_functions/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02294_optimize_aggregation_in_order_prefix_Array_functions/explain.txt b/parser/testdata/02294_optimize_aggregation_in_order_prefix_Array_functions/explain.txt new file mode 100644 index 000000000..bf947056e --- /dev/null +++ b/parser/testdata/02294_optimize_aggregation_in_order_prefix_Array_functions/explain.txt @@ -0,0 +1,2 @@ +DropQuery data_02294 (children 1) + Identifier data_02294 diff --git a/parser/testdata/02294_stringsearch_with_nonconst_needle/explain.txt b/parser/testdata/02294_stringsearch_with_nonconst_needle/explain.txt new file mode 100644 index 000000000..2e17797fb --- /dev/null +++ b/parser/testdata/02294_stringsearch_with_nonconst_needle/explain.txt @@ -0,0 +1,2 @@ +DropQuery non_const_needle (children 1) + Identifier non_const_needle diff --git a/parser/testdata/02294_system_certificates/metadata.json b/parser/testdata/02294_system_certificates/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02294_system_certificates/metadata.json +++ b/parser/testdata/02294_system_certificates/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02295_GROUP_BY_AggregateFunction/explain.txt b/parser/testdata/02295_GROUP_BY_AggregateFunction/explain.txt new file mode 100644 index 000000000..fba925f57 --- /dev/null +++ b/parser/testdata/02295_GROUP_BY_AggregateFunction/explain.txt @@ -0,0 +1,2 @@ +DropQuery data_02295 (children 1) + Identifier data_02295 diff --git a/parser/testdata/02295_global_with_in_subquery/metadata.json b/parser/testdata/02295_global_with_in_subquery/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02295_global_with_in_subquery/metadata.json +++ b/parser/testdata/02295_global_with_in_subquery/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02296_nullable_arguments_in_array_filter/explain.txt b/parser/testdata/02296_nullable_arguments_in_array_filter/explain.txt new file mode 100644 index 000000000..aa81f3429 --- /dev/null +++ b/parser/testdata/02296_nullable_arguments_in_array_filter/explain.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayFilter (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function greater (children 1) + ExpressionList (children 2) + Function multiply (children 1) + ExpressionList (children 2) + Literal UInt64_2 + Identifier x + Literal UInt64_0 + Function array (children 1) + ExpressionList diff --git a/parser/testdata/02296_ttl_non_deterministic/explain.txt b/parser/testdata/02296_ttl_non_deterministic/explain.txt new file mode 100644 index 000000000..c05cabea7 --- /dev/null +++ b/parser/testdata/02296_ttl_non_deterministic/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_ttl_non_deterministic (children 1) + Identifier t_ttl_non_deterministic diff --git a/parser/testdata/02302_clash_const_aggegate_join/explain.txt b/parser/testdata/02302_clash_const_aggegate_join/explain.txt new file mode 100644 index 000000000..7c24d859d --- /dev/null +++ b/parser/testdata/02302_clash_const_aggegate_join/explain.txt @@ -0,0 +1,2 @@ +DropQuery e (children 1) + Identifier e diff --git a/parser/testdata/02302_column_decl_null_before_defaul_value/explain.txt b/parser/testdata/02302_column_decl_null_before_defaul_value/explain.txt new file mode 100644 index 000000000..b74962acf --- /dev/null +++ b/parser/testdata/02302_column_decl_null_before_defaul_value/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'create table, column +type +NULL\' diff --git a/parser/testdata/02302_defaults_in_columnar_formats/explain.txt b/parser/testdata/02302_defaults_in_columnar_formats/explain.txt new file mode 100644 index 000000000..91d51e8f4 --- /dev/null +++ b/parser/testdata/02302_defaults_in_columnar_formats/explain.txt @@ -0,0 +1,19 @@ +InsertQuery (children 3) + Function file (children 1) + ExpressionList (children 1) + Function concat (children 1) + ExpressionList (children 2) + Function currentDatabase (children 1) + ExpressionList + Literal \'_data_02302.parquet\' + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Literal UInt64_1 (alias x) + Function CAST (alias xx) (children 1) + ExpressionList (children 2) + Literal NULL + Literal \'Nullable(UInt8)\' + Set + Set diff --git a/parser/testdata/02302_join_auto_lc_nullable_bug/explain.txt b/parser/testdata/02302_join_auto_lc_nullable_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02302_join_auto_lc_nullable_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02302_lc_nullable_string_insert_as_number/explain.txt b/parser/testdata/02302_lc_nullable_string_insert_as_number/explain.txt new file mode 100644 index 000000000..2b66c56da --- /dev/null +++ b/parser/testdata/02302_lc_nullable_string_insert_as_number/explain.txt @@ -0,0 +1,2 @@ +DropQuery lc_nullable_string (children 1) + Identifier lc_nullable_string diff --git a/parser/testdata/02302_projections_GROUP_BY_ORDERY_BY_optimize_aggregation_in_order/explain.txt b/parser/testdata/02302_projections_GROUP_BY_ORDERY_BY_optimize_aggregation_in_order/explain.txt new file mode 100644 index 000000000..6fa5fdd4d --- /dev/null +++ b/parser/testdata/02302_projections_GROUP_BY_ORDERY_BY_optimize_aggregation_in_order/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_agg_proj_02302 (children 1) + Identifier test_agg_proj_02302 diff --git a/parser/testdata/02302_s3_file_pruning/explain.txt b/parser/testdata/02302_s3_file_pruning/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02302_s3_file_pruning/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02303_cast_nullable_to_custom_types/explain.txt b/parser/testdata/02303_cast_nullable_to_custom_types/explain.txt new file mode 100644 index 000000000..2743f2354 --- /dev/null +++ b/parser/testdata/02303_cast_nullable_to_custom_types/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Function CAST (children 1) + ExpressionList (children 2) + Literal NULL + Literal \'Nullable(String)\' + Literal \'Nullable(Bool)\' diff --git a/parser/testdata/02304_grouping_set_order_by/explain.txt b/parser/testdata/02304_grouping_set_order_by/explain.txt new file mode 100644 index 000000000..1960d7289 --- /dev/null +++ b/parser/testdata/02304_grouping_set_order_by/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 3) + Function toStartOfHour (alias timex) (children 1) + ExpressionList (children 1) + Identifier time + Identifier id + Function count (children 1) + ExpressionList diff --git a/parser/testdata/02304_grouping_sets_with_rollup_cube/metadata.json b/parser/testdata/02304_grouping_sets_with_rollup_cube/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02304_grouping_sets_with_rollup_cube/metadata.json +++ b/parser/testdata/02304_grouping_sets_with_rollup_cube/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02304_orc_arrow_parquet_string_as_string/explain.txt b/parser/testdata/02304_orc_arrow_parquet_string_as_string/explain.txt new file mode 100644 index 000000000..bf840390c --- /dev/null +++ b/parser/testdata/02304_orc_arrow_parquet_string_as_string/explain.txt @@ -0,0 +1,21 @@ +InsertQuery (children 3) + Function file (children 1) + ExpressionList (children 1) + Function concat (children 1) + ExpressionList (children 2) + Function currentDatabase (children 1) + ExpressionList + Literal \'_data_02304.parquet\' + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Literal \'hello\' (alias s) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_3 + Set + Set diff --git a/parser/testdata/02306_part_types_profile_events/explain.txt b/parser/testdata/02306_part_types_profile_events/explain.txt new file mode 100644 index 000000000..e86673167 --- /dev/null +++ b/parser/testdata/02306_part_types_profile_events/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_parts_profile_events (children 1) + Identifier t_parts_profile_events diff --git a/parser/testdata/02306_window_move_row_number_fix/explain.txt b/parser/testdata/02306_window_move_row_number_fix/explain.txt new file mode 100644 index 000000000..2e27d6bd4 --- /dev/null +++ b/parser/testdata/02306_window_move_row_number_fix/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function nth_value (children 2) + ExpressionList (children 2) + Literal NULL + Literal UInt64_1048577 + WindowDefinition (children 1) + Literal UInt64_1023 diff --git a/parser/testdata/02307_join_get_array_null/explain.txt b/parser/testdata/02307_join_get_array_null/explain.txt new file mode 100644 index 000000000..8aa2d968f --- /dev/null +++ b/parser/testdata/02307_join_get_array_null/explain.txt @@ -0,0 +1,2 @@ +DropQuery id_val (children 1) + Identifier id_val diff --git a/parser/testdata/02310_generate_multi_columns_with_uuid/explain.txt b/parser/testdata/02310_generate_multi_columns_with_uuid/explain.txt new file mode 100644 index 000000000..5880e671b --- /dev/null +++ b/parser/testdata/02310_generate_multi_columns_with_uuid/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Function generateUUIDv4 (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Function generateUUIDv4 (children 1) + ExpressionList (children 1) + Literal UInt64_2 diff --git a/parser/testdata/02310_uuid_v7/explain.txt b/parser/testdata/02310_uuid_v7/explain.txt new file mode 100644 index 000000000..7215b1de6 --- /dev/null +++ b/parser/testdata/02310_uuid_v7/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toTypeName (children 1) + ExpressionList (children 1) + Function generateUUIDv7 (children 1) + ExpressionList diff --git a/parser/testdata/02311_create_table_with_unknown_format/explain.txt b/parser/testdata/02311_create_table_with_unknown_format/explain.txt new file mode 100644 index 000000000..5dcc5e59b --- /dev/null +++ b/parser/testdata/02311_create_table_with_unknown_format/explain.txt @@ -0,0 +1,11 @@ +CreateQuery test_02311 (children 3) + Identifier test_02311 + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration x (children 1) + DataType UInt32 + Storage definition (children 1) + Function File (children 1) + ExpressionList (children 1) + Identifier UnknownFormat +The query succeeded but the server error '73' was expected (query: EXPLAIN AST create table test_02311 (x UInt32) engine=File(UnknownFormat); -- {serverError UNKNOWN_FORMAT}). diff --git a/parser/testdata/02311_normalize_utf8_constant/metadata.json b/parser/testdata/02311_normalize_utf8_constant/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02311_normalize_utf8_constant/metadata.json +++ b/parser/testdata/02311_normalize_utf8_constant/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02311_range_hashed_dictionary_range_cast/explain.txt b/parser/testdata/02311_range_hashed_dictionary_range_cast/explain.txt new file mode 100644 index 000000000..3985e7297 --- /dev/null +++ b/parser/testdata/02311_range_hashed_dictionary_range_cast/explain.txt @@ -0,0 +1,2 @@ +DropQuery dictionary_source_table (children 1) + Identifier dictionary_source_table diff --git a/parser/testdata/02311_system_zookeeper_insert/explain.txt b/parser/testdata/02311_system_zookeeper_insert/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02311_system_zookeeper_insert/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02312_is_not_null_prewhere/explain.txt b/parser/testdata/02312_is_not_null_prewhere/explain.txt new file mode 100644 index 000000000..9fd589a24 --- /dev/null +++ b/parser/testdata/02312_is_not_null_prewhere/explain.txt @@ -0,0 +1,2 @@ +DropQuery bug_36995 (children 1) + Identifier bug_36995 diff --git a/parser/testdata/02312_parquet_orc_arrow_names_tuples/explain.txt b/parser/testdata/02312_parquet_orc_arrow_names_tuples/explain.txt new file mode 100644 index 000000000..4b099db04 --- /dev/null +++ b/parser/testdata/02312_parquet_orc_arrow_names_tuples/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_02312 (children 1) + Identifier test_02312 diff --git a/parser/testdata/02313_avro_records_and_maps/explain.txt b/parser/testdata/02313_avro_records_and_maps/explain.txt new file mode 100644 index 000000000..d8cbbf279 --- /dev/null +++ b/parser/testdata/02313_avro_records_and_maps/explain.txt @@ -0,0 +1,27 @@ +InsertQuery (children 3) + Function file (children 1) + ExpressionList (children 1) + Function concat (children 1) + ExpressionList (children 2) + Function currentDatabase (children 1) + ExpressionList + Literal \'_data_02313.avro\' + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function CAST (alias t) (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 2) + Identifier number + Literal \'String\' + Literal \'Tuple(a UInt32, b String)\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_3 + Set + Set diff --git a/parser/testdata/02313_cross_join_dup_col_names/explain.txt b/parser/testdata/02313_cross_join_dup_col_names/explain.txt new file mode 100644 index 000000000..c67ca85d2 --- /dev/null +++ b/parser/testdata/02313_cross_join_dup_col_names/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal NULL diff --git a/parser/testdata/02313_displayname/explain.txt b/parser/testdata/02313_displayname/explain.txt new file mode 100644 index 000000000..4d011023f --- /dev/null +++ b/parser/testdata/02313_displayname/explain.txt @@ -0,0 +1,6 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function displayName (children 1) + ExpressionList diff --git a/parser/testdata/02313_dump_column_structure_low_cardinality/explain.txt b/parser/testdata/02313_dump_column_structure_low_cardinality/explain.txt new file mode 100644 index 000000000..10f6d5c73 --- /dev/null +++ b/parser/testdata/02313_dump_column_structure_low_cardinality/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function dumpColumnStructure (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Literal \'[\\\'Hello\\\', \\\'World\\\']\' + Literal \'Array(LowCardinality(String))\' diff --git a/parser/testdata/02313_group_by_modifiers_with_non_default_types/explain.txt b/parser/testdata/02313_group_by_modifiers_with_non_default_types/explain.txt new file mode 100644 index 000000000..a0b663c33 --- /dev/null +++ b/parser/testdata/02313_group_by_modifiers_with_non_default_types/explain.txt @@ -0,0 +1,2 @@ +DropQuery test02313 (children 1) + Identifier test02313 diff --git a/parser/testdata/02313_multiple_limits/explain.txt b/parser/testdata/02313_multiple_limits/explain.txt new file mode 100644 index 000000000..7a773c729 --- /dev/null +++ b/parser/testdata/02313_multiple_limits/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function sum (children 1) + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/02313_negative_datetime64/metadata.json b/parser/testdata/02313_negative_datetime64/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02313_negative_datetime64/metadata.json +++ b/parser/testdata/02313_negative_datetime64/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02313_test_fpc_codec/explain.txt b/parser/testdata/02313_test_fpc_codec/explain.txt new file mode 100644 index 000000000..5d94db3f2 --- /dev/null +++ b/parser/testdata/02313_test_fpc_codec/explain.txt @@ -0,0 +1,2 @@ +DropQuery codecTest (children 1) + Identifier codecTest diff --git a/parser/testdata/02314_csv_tsv_skip_first_lines/explain.txt b/parser/testdata/02314_csv_tsv_skip_first_lines/explain.txt new file mode 100644 index 000000000..deae50736 --- /dev/null +++ b/parser/testdata/02314_csv_tsv_skip_first_lines/explain.txt @@ -0,0 +1,25 @@ +InsertQuery (children 3) + Function file (children 1) + ExpressionList (children 1) + Function concat (children 1) + ExpressionList (children 2) + Function currentDatabase (children 1) + ExpressionList + Literal \'_data_02314.csv\' + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Identifier number + Function plus (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_5 + Set + Set diff --git a/parser/testdata/02315_grouping_constant_folding/explain.txt b/parser/testdata/02315_grouping_constant_folding/explain.txt new file mode 100644 index 000000000..663570231 --- /dev/null +++ b/parser/testdata/02315_grouping_constant_folding/explain.txt @@ -0,0 +1,2 @@ +DropQuery test02315 (children 1) + Identifier test02315 diff --git a/parser/testdata/02315_pmj_union_ubsan_35857/explain.txt b/parser/testdata/02315_pmj_union_ubsan_35857/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02315_pmj_union_ubsan_35857/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02315_replace_multiif_to_if/explain.txt b/parser/testdata/02315_replace_multiif_to_if/explain.txt new file mode 100644 index 000000000..fd4f807f8 --- /dev/null +++ b/parser/testdata/02315_replace_multiif_to_if/explain.txt @@ -0,0 +1,21 @@ +Explain EXPLAIN SYNTAX (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function multiIf (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_0 + Literal NULL + Function toNullable (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10000 diff --git a/parser/testdata/02316_cast_to_ip_address_default_column/explain.txt b/parser/testdata/02316_cast_to_ip_address_default_column/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02316_cast_to_ip_address_default_column/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02316_const_string_intersact/explain.txt b/parser/testdata/02316_const_string_intersact/explain.txt new file mode 100644 index 000000000..e0e93ab72 --- /dev/null +++ b/parser/testdata/02316_const_string_intersact/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectIntersectExceptQuery (children 2) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'Play ClickHouse\' + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'Play ClickHouse\' diff --git a/parser/testdata/02316_expressions_with_window_functions/explain.txt b/parser/testdata/02316_expressions_with_window_functions/explain.txt new file mode 100644 index 000000000..43097be67 --- /dev/null +++ b/parser/testdata/02316_expressions_with_window_functions/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Identifier number + Function plus (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Function sum (children 2) + ExpressionList (children 1) + Identifier number + WindowDefinition (children 1) + ExpressionList (children 1) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 diff --git a/parser/testdata/02316_literal_no_octal/explain.txt b/parser/testdata/02316_literal_no_octal/explain.txt new file mode 100644 index 000000000..7826454b2 --- /dev/null +++ b/parser/testdata/02316_literal_no_octal/explain.txt @@ -0,0 +1,6 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_77 + Literal UInt64_78 diff --git a/parser/testdata/02316_values_table_func_bug/explain.txt b/parser/testdata/02316_values_table_func_bug/explain.txt new file mode 100644 index 000000000..383b6416f --- /dev/null +++ b/parser/testdata/02316_values_table_func_bug/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function values (children 1) + ExpressionList (children 1) + Literal Array_[UInt64_1, Float64_2.2] diff --git a/parser/testdata/02317_distinct_in_order_optimization/explain.txt b/parser/testdata/02317_distinct_in_order_optimization/explain.txt new file mode 100644 index 000000000..6396f7efa --- /dev/null +++ b/parser/testdata/02317_distinct_in_order_optimization/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'-- enable distinct in order optimization\' diff --git a/parser/testdata/02317_functions_with_nothing/explain.txt b/parser/testdata/02317_functions_with_nothing/explain.txt new file mode 100644 index 000000000..caccf6720 --- /dev/null +++ b/parser/testdata/02317_functions_with_nothing/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function JSONExtractKeysAndValuesRaw (children 1) + ExpressionList (children 1) + Function arrayJoin (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList +The query succeeded but the server error '43' was expected (query: EXPLAIN AST SELECT JSONExtractKeysAndValuesRaw(arrayJoin([])); -- {serverError ILLEGAL_TYPE_OF_ARGUMENT}). diff --git a/parser/testdata/02317_like_with_trailing_escape/explain.txt b/parser/testdata/02317_like_with_trailing_escape/explain.txt new file mode 100644 index 000000000..0a00b06d1 --- /dev/null +++ b/parser/testdata/02317_like_with_trailing_escape/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab (children 1) + Identifier tab diff --git a/parser/testdata/02318_template_schema_inference_bug/explain.txt b/parser/testdata/02318_template_schema_inference_bug/explain.txt new file mode 100644 index 000000000..aa7abdfd2 --- /dev/null +++ b/parser/testdata/02318_template_schema_inference_bug/explain.txt @@ -0,0 +1,19 @@ +InsertQuery (children 2) + Function file (children 1) + ExpressionList (children 1) + Function concat (children 1) + ExpressionList (children 2) + Function currentDatabase (children 1) + ExpressionList + Literal \'_data_02318.tsv\' + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 diff --git a/parser/testdata/02319_dict_get_check_arguments_size/explain.txt b/parser/testdata/02319_dict_get_check_arguments_size/explain.txt new file mode 100644 index 000000000..3985e7297 --- /dev/null +++ b/parser/testdata/02319_dict_get_check_arguments_size/explain.txt @@ -0,0 +1,2 @@ +DropQuery dictionary_source_table (children 1) + Identifier dictionary_source_table diff --git a/parser/testdata/02319_lightweight_delete_on_merge_tree/explain.txt b/parser/testdata/02319_lightweight_delete_on_merge_tree/explain.txt new file mode 100644 index 000000000..d472b7ccf --- /dev/null +++ b/parser/testdata/02319_lightweight_delete_on_merge_tree/explain.txt @@ -0,0 +1,2 @@ +DropQuery merge_table_standard_delete (children 1) + Identifier merge_table_standard_delete diff --git a/parser/testdata/02319_lightweight_delete_on_merge_tree_compact_parts/explain.txt b/parser/testdata/02319_lightweight_delete_on_merge_tree_compact_parts/explain.txt new file mode 100644 index 000000000..d472b7ccf --- /dev/null +++ b/parser/testdata/02319_lightweight_delete_on_merge_tree_compact_parts/explain.txt @@ -0,0 +1,2 @@ +DropQuery merge_table_standard_delete (children 1) + Identifier merge_table_standard_delete diff --git a/parser/testdata/02319_no_columns_in_row_level_filter/explain.txt b/parser/testdata/02319_no_columns_in_row_level_filter/explain.txt new file mode 100644 index 000000000..ed0ed194e --- /dev/null +++ b/parser/testdata/02319_no_columns_in_row_level_filter/explain.txt @@ -0,0 +1 @@ +DROP ROW POLICY query diff --git a/parser/testdata/02319_quantile_interpolated_weighted/explain.txt b/parser/testdata/02319_quantile_interpolated_weighted/explain.txt new file mode 100644 index 000000000..43dace053 --- /dev/null +++ b/parser/testdata/02319_quantile_interpolated_weighted/explain.txt @@ -0,0 +1,2 @@ +DropQuery decimal (children 1) + Identifier decimal diff --git a/parser/testdata/02319_sql_standard_create_drop_index/explain.txt b/parser/testdata/02319_sql_standard_create_drop_index/explain.txt new file mode 100644 index 000000000..b1b1d37d9 --- /dev/null +++ b/parser/testdata/02319_sql_standard_create_drop_index/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_index (children 1) + Identifier t_index diff --git a/parser/testdata/02319_timeslots_dt64/explain.txt b/parser/testdata/02319_timeslots_dt64/explain.txt new file mode 100644 index 000000000..e0283f1fb --- /dev/null +++ b/parser/testdata/02319_timeslots_dt64/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function timeSlots (children 1) + ExpressionList (children 2) + Function toDateTime64 (children 1) + ExpressionList (children 3) + Literal \'2000-01-02 03:04:05.12\' + Literal UInt64_2 + Literal \'UTC\' + Function toDecimal64 (children 1) + ExpressionList (children 2) + Literal UInt64_10000 + Literal UInt64_0 diff --git a/parser/testdata/02320_alter_columns_with_dots/explain.txt b/parser/testdata/02320_alter_columns_with_dots/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/02320_alter_columns_with_dots/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/02320_mapped_array_witn_const_nullable/explain.txt b/parser/testdata/02320_mapped_array_witn_const_nullable/explain.txt new file mode 100644 index 000000000..551977b33 --- /dev/null +++ b/parser/testdata/02320_mapped_array_witn_const_nullable/explain.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function arrayMap (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function toNullable (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Function range (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_3 diff --git a/parser/testdata/02321_nested_short_circuit_functions/explain.txt b/parser/testdata/02321_nested_short_circuit_functions/explain.txt new file mode 100644 index 000000000..f3dae89bc --- /dev/null +++ b/parser/testdata/02321_nested_short_circuit_functions/explain.txt @@ -0,0 +1,27 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function and (children 1) + ExpressionList (children 2) + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_0 + Function if (children 1) + ExpressionList (children 3) + Function notEquals (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_0 + Function intDiv (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Identifier number + Literal UInt64_1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_5 diff --git a/parser/testdata/02322_sql_insert_format/explain.txt b/parser/testdata/02322_sql_insert_format/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02322_sql_insert_format/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02323_null_modifier_in_table_function/explain.txt b/parser/testdata/02323_null_modifier_in_table_function/explain.txt new file mode 100644 index 000000000..eb659c39e --- /dev/null +++ b/parser/testdata/02323_null_modifier_in_table_function/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function values (children 1) + ExpressionList (children 2) + Literal \'x UInt8 NOT NULL\' + Literal UInt64_1 diff --git a/parser/testdata/02324_map_combinator_bug/explain.txt b/parser/testdata/02324_map_combinator_bug/explain.txt new file mode 100644 index 000000000..5349b5223 --- /dev/null +++ b/parser/testdata/02324_map_combinator_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery segfault (children 1) + Identifier segfault diff --git a/parser/testdata/02325_compatibility_setting_2/explain.txt b/parser/testdata/02325_compatibility_setting_2/explain.txt new file mode 100644 index 000000000..b7af36ece --- /dev/null +++ b/parser/testdata/02325_compatibility_setting_2/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier value + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.settings + Function equals (children 1) + ExpressionList (children 2) + Identifier name + Literal \'allow_settings_after_format_in_insert\' diff --git a/parser/testdata/02325_dates_schema_inference/explain.txt b/parser/testdata/02325_dates_schema_inference/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02325_dates_schema_inference/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02326_numbers_from_json_strings_schema_inference/explain.txt b/parser/testdata/02326_numbers_from_json_strings_schema_inference/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02326_numbers_from_json_strings_schema_inference/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02326_settings_changes_system_table/explain.txt b/parser/testdata/02326_settings_changes_system_table/explain.txt new file mode 100644 index 000000000..836a5116d --- /dev/null +++ b/parser/testdata/02326_settings_changes_system_table/explain.txt @@ -0,0 +1,3 @@ +DescribeQuery (children 1) + TableExpression (children 1) + TableIdentifier system.settings_changes diff --git a/parser/testdata/02327_try_infer_integers_schema_inference/explain.txt b/parser/testdata/02327_try_infer_integers_schema_inference/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02327_try_infer_integers_schema_inference/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02336_sort_optimization_with_fill/metadata.json b/parser/testdata/02336_sort_optimization_with_fill/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02336_sort_optimization_with_fill/metadata.json +++ b/parser/testdata/02336_sort_optimization_with_fill/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02336_sparse_columns_s3/explain.txt b/parser/testdata/02336_sparse_columns_s3/explain.txt new file mode 100644 index 000000000..38d306237 --- /dev/null +++ b/parser/testdata/02336_sparse_columns_s3/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_sparse_s3 (children 1) + Identifier t_sparse_s3 diff --git a/parser/testdata/02337_analyzer_columns_basic/explain.txt b/parser/testdata/02337_analyzer_columns_basic/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02337_analyzer_columns_basic/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02337_base58/explain.txt b/parser/testdata/02337_base58/explain.txt new file mode 100644 index 000000000..6a3441ccc --- /dev/null +++ b/parser/testdata/02337_base58/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function base58Encode (children 1) + ExpressionList (children 1) + Literal \'Hold my beer...\' diff --git a/parser/testdata/02337_check_translate_qualified_names_matcher/explain.txt b/parser/testdata/02337_check_translate_qualified_names_matcher/explain.txt new file mode 100644 index 000000000..663dbf097 --- /dev/null +++ b/parser/testdata/02337_check_translate_qualified_names_matcher/explain.txt @@ -0,0 +1,2 @@ +CreateQuery nested_name_tuples (children 1) + Identifier nested_name_tuples diff --git a/parser/testdata/02337_join_analyze_stuck/metadata.json b/parser/testdata/02337_join_analyze_stuck/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02337_join_analyze_stuck/metadata.json +++ b/parser/testdata/02337_join_analyze_stuck/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02337_multiple_joins_original_names/explain.txt b/parser/testdata/02337_multiple_joins_original_names/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02337_multiple_joins_original_names/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02338_analyzer_constants_basic/explain.txt b/parser/testdata/02338_analyzer_constants_basic/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02338_analyzer_constants_basic/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02339_analyzer_matcher_basic/explain.txt b/parser/testdata/02339_analyzer_matcher_basic/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02339_analyzer_matcher_basic/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02340_analyzer_functions/explain.txt b/parser/testdata/02340_analyzer_functions/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02340_analyzer_functions/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02340_union_header/explain.txt b/parser/testdata/02340_union_header/explain.txt new file mode 100644 index 000000000..71823b781 --- /dev/null +++ b/parser/testdata/02340_union_header/explain.txt @@ -0,0 +1,26 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 3) + Identifier a + Identifier b + Identifier c + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias js1) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 2) + SelectQuery (children 1) + ExpressionList (children 3) + Literal UInt64_3 (alias a) + Literal UInt64_2147483647 (alias b) + Literal UInt64_1048575 (alias c) + SelectQuery (children 1) + ExpressionList (children 3) + Literal Int64_-2 + Literal NULL + Literal Int64_-2 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier a diff --git a/parser/testdata/02341_analyzer_aliases_basics/explain.txt b/parser/testdata/02341_analyzer_aliases_basics/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02341_analyzer_aliases_basics/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02341_global_join_cte/explain.txt b/parser/testdata/02341_global_join_cte/explain.txt new file mode 100644 index 000000000..240d506f9 --- /dev/null +++ b/parser/testdata/02341_global_join_cte/explain.txt @@ -0,0 +1,60 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 1) + WithElement (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.{1,2}\' + Function view (children 1) + ExpressionList (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Identifier dummy (alias d1) + Identifier dummy (alias d2) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.one + ExpressionList (children 1) + Identifier lhs.d2 + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (alias lhs) (children 1) + ExpressionList (children 2) + Literal \'127.{1,2}\' + Function view (children 1) + ExpressionList (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Identifier dummy (alias d1) + Identifier dummy (alias d2) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.one + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier rhs + TableJoin (children 1) + ExpressionList (children 1) + Identifier d1 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier rhs.d2 + Set +The query succeeded but the server error '206' was expected (query: EXPLAIN AST with rhs as (select * from remote('127.{1,2}', view(select dummy d1, dummy d2 from system.one))) select lhs.d2 from remote('127.{1,2}', view(select dummy d1, dummy d2 from system.one)) lhs global join rhs using (d1) order by rhs.d2 settings enable_analyzer=0; -- { serverError ALIAS_REQUIRED }). diff --git a/parser/testdata/02342_analyzer_compound_types/explain.txt b/parser/testdata/02342_analyzer_compound_types/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02342_analyzer_compound_types/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02343_aggregation_pipeline/explain.txt b/parser/testdata/02343_aggregation_pipeline/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02343_aggregation_pipeline/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02343_analyzer_column_transformers_strict/explain.txt b/parser/testdata/02343_analyzer_column_transformers_strict/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02343_analyzer_column_transformers_strict/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02343_analyzer_lambdas/explain.txt b/parser/testdata/02343_analyzer_lambdas/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02343_analyzer_lambdas/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02343_analyzer_lambdas_issue_28083/explain.txt b/parser/testdata/02343_analyzer_lambdas_issue_28083/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02343_analyzer_lambdas_issue_28083/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02343_analyzer_lambdas_issue_36677/explain.txt b/parser/testdata/02343_analyzer_lambdas_issue_36677/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02343_analyzer_lambdas_issue_36677/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02343_create_empty_as_select/explain.txt b/parser/testdata/02343_create_empty_as_select/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/02343_create_empty_as_select/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/02343_group_by_use_nulls/explain.txt b/parser/testdata/02343_group_by_use_nulls/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02343_group_by_use_nulls/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02343_group_by_use_nulls_distributed/explain.txt b/parser/testdata/02343_group_by_use_nulls_distributed/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02343_group_by_use_nulls_distributed/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02343_read_from_s3_compressed_blocks/explain.txt b/parser/testdata/02343_read_from_s3_compressed_blocks/explain.txt new file mode 100644 index 000000000..26bb9ba5b --- /dev/null +++ b/parser/testdata/02343_read_from_s3_compressed_blocks/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_s3_compressed_blocks (children 1) + Identifier t_s3_compressed_blocks diff --git a/parser/testdata/02344_analyzer_multiple_aliases_for_expression/explain.txt b/parser/testdata/02344_analyzer_multiple_aliases_for_expression/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02344_analyzer_multiple_aliases_for_expression/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02344_distinct_limit_distiributed/explain.txt b/parser/testdata/02344_distinct_limit_distiributed/explain.txt new file mode 100644 index 000000000..005094e05 --- /dev/null +++ b/parser/testdata/02344_distinct_limit_distiributed/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_distinct_limit (children 1) + Identifier t_distinct_limit diff --git a/parser/testdata/02344_insert_profile_events_stress/explain.txt b/parser/testdata/02344_insert_profile_events_stress/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02344_insert_profile_events_stress/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02345_analyzer_subqueries/explain.txt b/parser/testdata/02345_analyzer_subqueries/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02345_analyzer_subqueries/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02345_create_table_allow_trailing_comma/explain.txt b/parser/testdata/02345_create_table_allow_trailing_comma/explain.txt new file mode 100644 index 000000000..d5845f34d --- /dev/null +++ b/parser/testdata/02345_create_table_allow_trailing_comma/explain.txt @@ -0,0 +1,2 @@ +DropQuery trailing_comma_1 (children 1) + Identifier trailing_comma_1 diff --git a/parser/testdata/02345_implicit_transaction/explain.txt b/parser/testdata/02345_implicit_transaction/explain.txt new file mode 100644 index 000000000..f27005ebd --- /dev/null +++ b/parser/testdata/02345_implicit_transaction/explain.txt @@ -0,0 +1,2 @@ +DropQuery landing_to_target (children 1) + Identifier landing_to_target diff --git a/parser/testdata/02345_partial_sort_transform_optimization/explain.txt b/parser/testdata/02345_partial_sort_transform_optimization/explain.txt new file mode 100644 index 000000000..e729d9ad0 --- /dev/null +++ b/parser/testdata/02345_partial_sort_transform_optimization/explain.txt @@ -0,0 +1,44 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 3) + Literal UInt64_0 (alias a) + Function toNullable (alias b) (children 1) + ExpressionList (children 1) + Identifier number + Function toString (alias c) (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal Float64_1000000 + ExpressionList (children 3) + OrderByElement (children 1) + Identifier a + OrderByElement (children 1) + Identifier b + OrderByElement (children 1) + Identifier c + Literal UInt64_1500 + Literal UInt64_10 diff --git a/parser/testdata/02346_additional_filters/explain.txt b/parser/testdata/02346_additional_filters/explain.txt new file mode 100644 index 000000000..5f04f8312 --- /dev/null +++ b/parser/testdata/02346_additional_filters/explain.txt @@ -0,0 +1,2 @@ +DropQuery table_1 (children 1) + Identifier table_1 diff --git a/parser/testdata/02346_additional_filters_distr/explain.txt b/parser/testdata/02346_additional_filters_distr/explain.txt new file mode 100644 index 000000000..a7487bd7e --- /dev/null +++ b/parser/testdata/02346_additional_filters_distr/explain.txt @@ -0,0 +1,2 @@ +CreateQuery shard_0 (children 1) + Identifier shard_0 diff --git a/parser/testdata/02346_additional_filters_index/explain.txt b/parser/testdata/02346_additional_filters_index/explain.txt new file mode 100644 index 000000000..2ed8466e1 --- /dev/null +++ b/parser/testdata/02346_additional_filters_index/explain.txt @@ -0,0 +1,19 @@ +CreateQuery table_1 (children 3) + Identifier table_1 + Columns definition (children 2) + ExpressionList (children 2) + ColumnDeclaration x (children 1) + DataType UInt32 + ColumnDeclaration y (children 1) + DataType String + ExpressionList (children 1) + Index (children 2) + Function length (children 1) + ExpressionList (children 1) + Identifier y + Function minmax (children 1) + ExpressionList + Storage definition (children 3) + Function MergeTree + Identifier x + Set diff --git a/parser/testdata/02346_exclude_materialize_skip_indexes_on_insert/explain.txt b/parser/testdata/02346_exclude_materialize_skip_indexes_on_insert/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02346_exclude_materialize_skip_indexes_on_insert/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02346_exclude_materialize_skip_indexes_on_merge/explain.txt b/parser/testdata/02346_exclude_materialize_skip_indexes_on_merge/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02346_exclude_materialize_skip_indexes_on_merge/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02346_non_negative_derivative/explain.txt b/parser/testdata/02346_non_negative_derivative/explain.txt new file mode 100644 index 000000000..285fb1d76 --- /dev/null +++ b/parser/testdata/02346_non_negative_derivative/explain.txt @@ -0,0 +1,2 @@ +DropQuery nnd (children 1) + Identifier nnd diff --git a/parser/testdata/02346_position_countsubstrings_zero_byte/explain.txt b/parser/testdata/02346_position_countsubstrings_zero_byte/explain.txt new file mode 100644 index 000000000..0a00b06d1 --- /dev/null +++ b/parser/testdata/02346_position_countsubstrings_zero_byte/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab (children 1) + Identifier tab diff --git a/parser/testdata/02346_text_index_array_support/explain.txt b/parser/testdata/02346_text_index_array_support/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02346_text_index_array_support/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02346_text_index_bug47393/explain.txt b/parser/testdata/02346_text_index_bug47393/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02346_text_index_bug47393/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02346_text_index_bug54541/explain.txt b/parser/testdata/02346_text_index_bug54541/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02346_text_index_bug54541/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02346_text_index_bug59039/explain.txt b/parser/testdata/02346_text_index_bug59039/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02346_text_index_bug59039/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02346_text_index_bug62681/explain.txt b/parser/testdata/02346_text_index_bug62681/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02346_text_index_bug62681/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02346_text_index_bug84805/explain.txt b/parser/testdata/02346_text_index_bug84805/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02346_text_index_bug84805/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02346_text_index_bug87887/explain.txt b/parser/testdata/02346_text_index_bug87887/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02346_text_index_bug87887/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02346_text_index_bug88080/explain.txt b/parser/testdata/02346_text_index_bug88080/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02346_text_index_bug88080/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02346_text_index_bug89605/explain.txt b/parser/testdata/02346_text_index_bug89605/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02346_text_index_bug89605/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02346_text_index_coalescingmergetree/explain.txt b/parser/testdata/02346_text_index_coalescingmergetree/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02346_text_index_coalescingmergetree/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02346_text_index_collapsingmergetree/explain.txt b/parser/testdata/02346_text_index_collapsingmergetree/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02346_text_index_collapsingmergetree/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02346_text_index_creation/explain.txt b/parser/testdata/02346_text_index_creation/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02346_text_index_creation/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02346_text_index_default_granularity/explain.txt b/parser/testdata/02346_text_index_default_granularity/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02346_text_index_default_granularity/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02346_text_index_detach_attach/explain.txt b/parser/testdata/02346_text_index_detach_attach/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02346_text_index_detach_attach/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02346_text_index_dictionary_cache/explain.txt b/parser/testdata/02346_text_index_dictionary_cache/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02346_text_index_dictionary_cache/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02346_text_index_dictionary_frontcoding/explain.txt b/parser/testdata/02346_text_index_dictionary_frontcoding/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02346_text_index_dictionary_frontcoding/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02346_text_index_direct_read/explain.txt b/parser/testdata/02346_text_index_direct_read/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02346_text_index_direct_read/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02346_text_index_direct_read_crash/explain.txt b/parser/testdata/02346_text_index_direct_read_crash/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02346_text_index_direct_read_crash/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02346_text_index_direct_read_with_query_condition_cache/explain.txt b/parser/testdata/02346_text_index_direct_read_with_query_condition_cache/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02346_text_index_direct_read_with_query_condition_cache/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02346_text_index_experimental_flag/explain.txt b/parser/testdata/02346_text_index_experimental_flag/explain.txt new file mode 100644 index 000000000..0a00b06d1 --- /dev/null +++ b/parser/testdata/02346_text_index_experimental_flag/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab (children 1) + Identifier tab diff --git a/parser/testdata/02346_text_index_function_hasAnyAllTokens/explain.txt b/parser/testdata/02346_text_index_function_hasAnyAllTokens/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02346_text_index_function_hasAnyAllTokens/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02346_text_index_function_hasAnyAllTokens_partially_materialized/explain.txt b/parser/testdata/02346_text_index_function_hasAnyAllTokens_partially_materialized/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02346_text_index_function_hasAnyAllTokens_partially_materialized/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02346_text_index_functions_with_empty_needle/explain.txt b/parser/testdata/02346_text_index_functions_with_empty_needle/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02346_text_index_functions_with_empty_needle/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02346_text_index_header_cache/explain.txt b/parser/testdata/02346_text_index_header_cache/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02346_text_index_header_cache/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02346_text_index_hits/explain.txt b/parser/testdata/02346_text_index_hits/explain.txt new file mode 100644 index 000000000..8f0afe043 --- /dev/null +++ b/parser/testdata/02346_text_index_hits/explain.txt @@ -0,0 +1,2 @@ +DropQuery hits_text (children 1) + Identifier hits_text diff --git a/parser/testdata/02346_text_index_map_support/explain.txt b/parser/testdata/02346_text_index_map_support/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02346_text_index_map_support/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02346_text_index_match_predicate/explain.txt b/parser/testdata/02346_text_index_match_predicate/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02346_text_index_match_predicate/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02346_text_index_on_lower_column/explain.txt b/parser/testdata/02346_text_index_on_lower_column/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02346_text_index_on_lower_column/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02346_text_index_parallel_replicas/explain.txt b/parser/testdata/02346_text_index_parallel_replicas/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02346_text_index_parallel_replicas/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02346_text_index_part_format/explain.txt b/parser/testdata/02346_text_index_part_format/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02346_text_index_part_format/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02346_text_index_postings_cache/explain.txt b/parser/testdata/02346_text_index_postings_cache/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02346_text_index_postings_cache/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02346_text_index_prefetch/explain.txt b/parser/testdata/02346_text_index_prefetch/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02346_text_index_prefetch/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02346_text_index_preprocessor/explain.txt b/parser/testdata/02346_text_index_preprocessor/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02346_text_index_preprocessor/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02346_text_index_queries/explain.txt b/parser/testdata/02346_text_index_queries/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02346_text_index_queries/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02346_text_index_replacingmergetree/explain.txt b/parser/testdata/02346_text_index_replacingmergetree/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02346_text_index_replacingmergetree/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02346_text_index_summingmergetree/explain.txt b/parser/testdata/02346_text_index_summingmergetree/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02346_text_index_summingmergetree/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02346_to_hour_monotonicity_fix/explain.txt b/parser/testdata/02346_to_hour_monotonicity_fix/explain.txt new file mode 100644 index 000000000..7f3d409f9 --- /dev/null +++ b/parser/testdata/02346_to_hour_monotonicity_fix/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_tz_hour (children 1) + Identifier test_tz_hour diff --git a/parser/testdata/02346_to_hour_monotonicity_fix_2/explain.txt b/parser/testdata/02346_to_hour_monotonicity_fix_2/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/02346_to_hour_monotonicity_fix_2/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/02347_rank_corr_nan/explain.txt b/parser/testdata/02347_rank_corr_nan/explain.txt new file mode 100644 index 000000000..8de61f7d1 --- /dev/null +++ b/parser/testdata/02347_rank_corr_nan/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function rankCorr (children 1) + ExpressionList (children 2) + Identifier number + Literal Float64_nan + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 diff --git a/parser/testdata/02347_rank_corr_size_overflow/explain.txt b/parser/testdata/02347_rank_corr_size_overflow/explain.txt new file mode 100644 index 000000000..00923108f --- /dev/null +++ b/parser/testdata/02347_rank_corr_size_overflow/explain.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function round (children 1) + ExpressionList (children 1) + Function rankCorr (children 1) + ExpressionList (children 2) + Identifier number + Function negate (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_5000000 diff --git a/parser/testdata/02350_views_max_insert_threads/explain.txt b/parser/testdata/02350_views_max_insert_threads/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/02350_views_max_insert_threads/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/02351_Map_combinator_dist/explain.txt b/parser/testdata/02351_Map_combinator_dist/explain.txt new file mode 100644 index 000000000..46b6e53b5 --- /dev/null +++ b/parser/testdata/02351_Map_combinator_dist/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayElement (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_67 diff --git a/parser/testdata/02352_grouby_shadows_arg/explain.txt b/parser/testdata/02352_grouby_shadows_arg/explain.txt new file mode 100644 index 000000000..3643a6f81 --- /dev/null +++ b/parser/testdata/02352_grouby_shadows_arg/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function toString (alias dummy) (children 1) + ExpressionList (children 1) + Identifier dummy + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.{1,1}\' + Literal \'system.one\' + ExpressionList (children 1) + Identifier dummy diff --git a/parser/testdata/02352_lightweight_delete/explain.txt b/parser/testdata/02352_lightweight_delete/explain.txt new file mode 100644 index 000000000..448c72369 --- /dev/null +++ b/parser/testdata/02352_lightweight_delete/explain.txt @@ -0,0 +1,2 @@ +DropQuery lwd_test (children 1) + Identifier lwd_test diff --git a/parser/testdata/02352_lightweight_delete_in_partition/explain.txt b/parser/testdata/02352_lightweight_delete_in_partition/explain.txt new file mode 100644 index 000000000..d75e6d0a3 --- /dev/null +++ b/parser/testdata/02352_lightweight_delete_in_partition/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_merge_tree (children 1) + Identifier t_merge_tree diff --git a/parser/testdata/02352_lightweight_delete_on_replicated_merge_tree/explain.txt b/parser/testdata/02352_lightweight_delete_on_replicated_merge_tree/explain.txt new file mode 100644 index 000000000..410e6f7e5 --- /dev/null +++ b/parser/testdata/02352_lightweight_delete_on_replicated_merge_tree/explain.txt @@ -0,0 +1,2 @@ +DropQuery replicated_table_r1 (children 1) + Identifier replicated_table_r1 diff --git a/parser/testdata/02353_ascii/explain.txt b/parser/testdata/02353_ascii/explain.txt new file mode 100644 index 000000000..18866f4be --- /dev/null +++ b/parser/testdata/02353_ascii/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function ascii (children 1) + ExpressionList (children 1) + Literal \'234\' diff --git a/parser/testdata/02353_explain_ast_optimize/explain.txt b/parser/testdata/02353_explain_ast_optimize/explain.txt new file mode 100644 index 000000000..e8b46386b --- /dev/null +++ b/parser/testdata/02353_explain_ast_optimize/explain.txt @@ -0,0 +1,13 @@ +Explain EXPLAIN AST (children 2) + Set + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_0 diff --git a/parser/testdata/02353_isnullable/explain.txt b/parser/testdata/02353_isnullable/explain.txt new file mode 100644 index 000000000..d11664586 --- /dev/null +++ b/parser/testdata/02353_isnullable/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function isNullable (children 1) + ExpressionList (children 1) + Literal UInt64_3 diff --git a/parser/testdata/02353_partition_prune_nullable_key/explain.txt b/parser/testdata/02353_partition_prune_nullable_key/explain.txt new file mode 100644 index 000000000..e9dd142e1 --- /dev/null +++ b/parser/testdata/02353_partition_prune_nullable_key/explain.txt @@ -0,0 +1,2 @@ +DropQuery n (children 1) + Identifier n diff --git a/parser/testdata/02353_simdjson_buffer_overflow/explain.txt b/parser/testdata/02353_simdjson_buffer_overflow/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02353_simdjson_buffer_overflow/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02353_translate/explain.txt b/parser/testdata/02353_translate/explain.txt new file mode 100644 index 000000000..ebdb1d23b --- /dev/null +++ b/parser/testdata/02353_translate/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function translate (children 1) + ExpressionList (children 3) + Literal \'Hello? world.\' + Literal \'.?\' + Literal \'!,\' diff --git a/parser/testdata/02354_array_lowcardinality/explain.txt b/parser/testdata/02354_array_lowcardinality/explain.txt new file mode 100644 index 000000000..45b9ef995 --- /dev/null +++ b/parser/testdata/02354_array_lowcardinality/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toTypeName (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 2) + Function toLowCardinality (children 1) + ExpressionList (children 1) + Literal \'1\' + Function toLowCardinality (children 1) + ExpressionList (children 1) + Literal \'2\' diff --git a/parser/testdata/02354_distributed_with_external_aggregation_memory_usage/explain.txt b/parser/testdata/02354_distributed_with_external_aggregation_memory_usage/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02354_distributed_with_external_aggregation_memory_usage/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02354_numeric_literals_with_underscores/explain.txt b/parser/testdata/02354_numeric_literals_with_underscores/explain.txt new file mode 100644 index 000000000..5b05177ad --- /dev/null +++ b/parser/testdata/02354_numeric_literals_with_underscores/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1000 diff --git a/parser/testdata/02354_parse_timedelta/explain.txt b/parser/testdata/02354_parse_timedelta/explain.txt new file mode 100644 index 000000000..ea089ca46 --- /dev/null +++ b/parser/testdata/02354_parse_timedelta/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function parseTimeDelta (children 1) + ExpressionList (children 1) + Literal \'1 min 35 sec\' diff --git a/parser/testdata/02354_read_in_order_prewhere/explain.txt b/parser/testdata/02354_read_in_order_prewhere/explain.txt new file mode 100644 index 000000000..19d4c8313 --- /dev/null +++ b/parser/testdata/02354_read_in_order_prewhere/explain.txt @@ -0,0 +1,2 @@ +DropQuery order (children 1) + Identifier order diff --git a/parser/testdata/02354_tuple_element_with_default/explain.txt b/parser/testdata/02354_tuple_element_with_default/explain.txt new file mode 100644 index 000000000..52acd805e --- /dev/null +++ b/parser/testdata/02354_tuple_element_with_default/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function tupleElement (children 1) + ExpressionList (children 3) + Literal Tuple_(\'hello\', \'world\') + Literal UInt64_1 + Literal \'default\' diff --git a/parser/testdata/02354_tuple_lowcardinality/explain.txt b/parser/testdata/02354_tuple_lowcardinality/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02354_tuple_lowcardinality/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02354_vector_search_adaptive_index_granularity/explain.txt b/parser/testdata/02354_vector_search_adaptive_index_granularity/explain.txt new file mode 100644 index 000000000..0a00b06d1 --- /dev/null +++ b/parser/testdata/02354_vector_search_adaptive_index_granularity/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab (children 1) + Identifier tab diff --git a/parser/testdata/02354_vector_search_and_other_skipping_indexes/explain.txt b/parser/testdata/02354_vector_search_and_other_skipping_indexes/explain.txt new file mode 100644 index 000000000..0a00b06d1 --- /dev/null +++ b/parser/testdata/02354_vector_search_and_other_skipping_indexes/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab (children 1) + Identifier tab diff --git a/parser/testdata/02354_vector_search_binary_quantization/explain.txt b/parser/testdata/02354_vector_search_binary_quantization/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02354_vector_search_binary_quantization/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02354_vector_search_choose_correct_index/explain.txt b/parser/testdata/02354_vector_search_choose_correct_index/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02354_vector_search_choose_correct_index/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02354_vector_search_default_granularity/explain.txt b/parser/testdata/02354_vector_search_default_granularity/explain.txt new file mode 100644 index 000000000..0a00b06d1 --- /dev/null +++ b/parser/testdata/02354_vector_search_default_granularity/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab (children 1) + Identifier tab diff --git a/parser/testdata/02354_vector_search_detach_attach/explain.txt b/parser/testdata/02354_vector_search_detach_attach/explain.txt new file mode 100644 index 000000000..0a00b06d1 --- /dev/null +++ b/parser/testdata/02354_vector_search_detach_attach/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab (children 1) + Identifier tab diff --git a/parser/testdata/02354_vector_search_different_array_sizes/explain.txt b/parser/testdata/02354_vector_search_different_array_sizes/explain.txt new file mode 100644 index 000000000..0a00b06d1 --- /dev/null +++ b/parser/testdata/02354_vector_search_different_array_sizes/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab (children 1) + Identifier tab diff --git a/parser/testdata/02354_vector_search_drop_table_clear_cache/explain.txt b/parser/testdata/02354_vector_search_drop_table_clear_cache/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02354_vector_search_drop_table_clear_cache/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02354_vector_search_empty_arrays_or_default_values/explain.txt b/parser/testdata/02354_vector_search_empty_arrays_or_default_values/explain.txt new file mode 100644 index 000000000..0a00b06d1 --- /dev/null +++ b/parser/testdata/02354_vector_search_empty_arrays_or_default_values/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab (children 1) + Identifier tab diff --git a/parser/testdata/02354_vector_search_expansion_search/explain.txt b/parser/testdata/02354_vector_search_expansion_search/explain.txt new file mode 100644 index 000000000..0a00b06d1 --- /dev/null +++ b/parser/testdata/02354_vector_search_expansion_search/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab (children 1) + Identifier tab diff --git a/parser/testdata/02354_vector_search_index_creation_negative/explain.txt b/parser/testdata/02354_vector_search_index_creation_negative/explain.txt new file mode 100644 index 000000000..0a00b06d1 --- /dev/null +++ b/parser/testdata/02354_vector_search_index_creation_negative/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab (children 1) + Identifier tab diff --git a/parser/testdata/02354_vector_search_multiple_indexes/explain.txt b/parser/testdata/02354_vector_search_multiple_indexes/explain.txt new file mode 100644 index 000000000..0a00b06d1 --- /dev/null +++ b/parser/testdata/02354_vector_search_multiple_indexes/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab (children 1) + Identifier tab diff --git a/parser/testdata/02354_vector_search_multiple_marks/explain.txt b/parser/testdata/02354_vector_search_multiple_marks/explain.txt new file mode 100644 index 000000000..0a00b06d1 --- /dev/null +++ b/parser/testdata/02354_vector_search_multiple_marks/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab (children 1) + Identifier tab diff --git a/parser/testdata/02354_vector_search_part_format/explain.txt b/parser/testdata/02354_vector_search_part_format/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02354_vector_search_part_format/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02354_vector_search_postfiltering_bug/explain.txt b/parser/testdata/02354_vector_search_postfiltering_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02354_vector_search_postfiltering_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02354_vector_search_pre_and_post_filtering/explain.txt b/parser/testdata/02354_vector_search_pre_and_post_filtering/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02354_vector_search_pre_and_post_filtering/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02354_vector_search_queries/explain.txt b/parser/testdata/02354_vector_search_queries/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02354_vector_search_queries/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02354_vector_search_reference_vector_types/explain.txt b/parser/testdata/02354_vector_search_reference_vector_types/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02354_vector_search_reference_vector_types/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02354_vector_search_rescoring/explain.txt b/parser/testdata/02354_vector_search_rescoring/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02354_vector_search_rescoring/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02354_vector_search_rescoring_and_prewhere/explain.txt b/parser/testdata/02354_vector_search_rescoring_and_prewhere/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02354_vector_search_rescoring_and_prewhere/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02354_vector_search_rescoring_distance_in_select_list/explain.txt b/parser/testdata/02354_vector_search_rescoring_distance_in_select_list/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02354_vector_search_rescoring_distance_in_select_list/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02354_vector_search_subquery/explain.txt b/parser/testdata/02354_vector_search_subquery/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02354_vector_search_subquery/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02354_vector_search_unquoted_index_parameters/explain.txt b/parser/testdata/02354_vector_search_unquoted_index_parameters/explain.txt new file mode 100644 index 000000000..f16d15dac --- /dev/null +++ b/parser/testdata/02354_vector_search_unquoted_index_parameters/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab1 (children 1) + Identifier tab1 diff --git a/parser/testdata/02354_vector_search_vector_similarity_index_cache/explain.txt b/parser/testdata/02354_vector_search_vector_similarity_index_cache/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02354_vector_search_vector_similarity_index_cache/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02354_vector_search_with_huge_dimension/explain.txt b/parser/testdata/02354_vector_search_with_huge_dimension/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02354_vector_search_with_huge_dimension/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02354_window_expression_with_aggregation_expression/metadata.json b/parser/testdata/02354_window_expression_with_aggregation_expression/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02354_window_expression_with_aggregation_expression/metadata.json +++ b/parser/testdata/02354_window_expression_with_aggregation_expression/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02354_with_statement_non_exist_column/explain.txt b/parser/testdata/02354_with_statement_non_exist_column/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/02354_with_statement_non_exist_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/02355_column_type_name_lc/explain.txt b/parser/testdata/02355_column_type_name_lc/explain.txt new file mode 100644 index 000000000..ca8a698dd --- /dev/null +++ b/parser/testdata/02355_column_type_name_lc/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toColumnTypeName (children 1) + ExpressionList (children 1) + Function toLowCardinality (children 1) + ExpressionList (children 1) + Function materialize (children 1) + ExpressionList (children 1) + Literal \'foo\' diff --git a/parser/testdata/02355_control_block_size_in_aggregator/explain.txt b/parser/testdata/02355_control_block_size_in_aggregator/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02355_control_block_size_in_aggregator/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02355_control_block_size_in_array_join/explain.txt b/parser/testdata/02355_control_block_size_in_array_join/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02355_control_block_size_in_array_join/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02356_insert_query_log_metrics/explain.txt b/parser/testdata/02356_insert_query_log_metrics/explain.txt new file mode 100644 index 000000000..d16e6b323 --- /dev/null +++ b/parser/testdata/02356_insert_query_log_metrics/explain.txt @@ -0,0 +1,10 @@ +CreateQuery 02356_destination (children 3) + Identifier 02356_destination + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration a (children 1) + DataType Int64 + ColumnDeclaration b (children 1) + DataType String + Storage definition (children 1) + Function Memory diff --git a/parser/testdata/02356_trivial_count_with_empty_set/explain.txt b/parser/testdata/02356_trivial_count_with_empty_set/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/02356_trivial_count_with_empty_set/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/02357_file_default_value/explain.txt b/parser/testdata/02357_file_default_value/explain.txt new file mode 100644 index 000000000..5e7206f7d --- /dev/null +++ b/parser/testdata/02357_file_default_value/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function file (children 1) + ExpressionList (children 1) + Literal \'nonexistent.txt\' +The query succeeded but the server error '107' was expected (query: EXPLAIN AST SELECT file('nonexistent.txt'); -- { serverError FILE_DOESNT_EXIST }). diff --git a/parser/testdata/02360_small_notation_h_for_hour_interval/explain.txt b/parser/testdata/02360_small_notation_h_for_hour_interval/explain.txt new file mode 100644 index 000000000..c5c2726ed --- /dev/null +++ b/parser/testdata/02360_small_notation_h_for_hour_interval/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function dateDiff (children 1) + ExpressionList (children 3) + Literal \'h\' + Function toDateTime (children 1) + ExpressionList (children 1) + Literal \'2018-01-01 22:00:00\' + Function toDateTime (children 1) + ExpressionList (children 1) + Literal \'2018-01-02 23:00:00\' diff --git a/parser/testdata/02362_part_log_merge_algorithm/metadata.json b/parser/testdata/02362_part_log_merge_algorithm/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02362_part_log_merge_algorithm/metadata.json +++ b/parser/testdata/02362_part_log_merge_algorithm/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02363_mapupdate_improve/explain.txt b/parser/testdata/02363_mapupdate_improve/explain.txt new file mode 100644 index 000000000..2791aaa46 --- /dev/null +++ b/parser/testdata/02363_mapupdate_improve/explain.txt @@ -0,0 +1,2 @@ +DropQuery map_test (children 1) + Identifier map_test diff --git a/parser/testdata/02364_dictionary_datetime_64_attribute_crash/explain.txt b/parser/testdata/02364_dictionary_datetime_64_attribute_crash/explain.txt new file mode 100644 index 000000000..566ae421f --- /dev/null +++ b/parser/testdata/02364_dictionary_datetime_64_attribute_crash/explain.txt @@ -0,0 +1,17 @@ +CreateQuery dat (children 3) + Identifier dat + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration blockNum (children 1) + DataType Decimal (children 1) + ExpressionList (children 2) + Literal UInt64_10 + Literal UInt64_0 + ColumnDeclaration eventTimestamp (children 1) + DataType DateTime64 (children 1) + ExpressionList (children 1) + Literal UInt64_9 + Storage definition (children 2) + Function MergeTree (children 1) + ExpressionList + Identifier eventTimestamp diff --git a/parser/testdata/02364_multiSearch_function_family/explain.txt b/parser/testdata/02364_multiSearch_function_family/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02364_multiSearch_function_family/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02364_setting_cross_to_inner_rewrite/explain.txt b/parser/testdata/02364_setting_cross_to_inner_rewrite/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/02364_setting_cross_to_inner_rewrite/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/02364_window_case/explain.txt b/parser/testdata/02364_window_case/explain.txt new file mode 100644 index 000000000..227f23aeb --- /dev/null +++ b/parser/testdata/02364_window_case/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Identifier CASE diff --git a/parser/testdata/02365_multisearch_random_tests/explain.txt b/parser/testdata/02365_multisearch_random_tests/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02365_multisearch_random_tests/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02366_asof_optimize_predicate_bug_37813/explain.txt b/parser/testdata/02366_asof_optimize_predicate_bug_37813/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/02366_asof_optimize_predicate_bug_37813/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/02366_decimal_agg_state_conversion/metadata.json b/parser/testdata/02366_decimal_agg_state_conversion/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02366_decimal_agg_state_conversion/metadata.json +++ b/parser/testdata/02366_decimal_agg_state_conversion/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02366_direct_dictionary_dict_has/explain.txt b/parser/testdata/02366_direct_dictionary_dict_has/explain.txt new file mode 100644 index 000000000..d4bf1aa3f --- /dev/null +++ b/parser/testdata/02366_direct_dictionary_dict_has/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_table (children 1) + Identifier test_table diff --git a/parser/testdata/02366_explain_query_tree/explain.txt b/parser/testdata/02366_explain_query_tree/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02366_explain_query_tree/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02366_kql_create_table/explain.txt b/parser/testdata/02366_kql_create_table/explain.txt new file mode 100644 index 000000000..eff6edfc8 --- /dev/null +++ b/parser/testdata/02366_kql_create_table/explain.txt @@ -0,0 +1,2 @@ +DropQuery Customers (children 1) + Identifier Customers diff --git a/parser/testdata/02366_kql_datatype/explain.txt b/parser/testdata/02366_kql_datatype/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02366_kql_datatype/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02366_kql_distinct/explain.txt b/parser/testdata/02366_kql_distinct/explain.txt new file mode 100644 index 000000000..eff6edfc8 --- /dev/null +++ b/parser/testdata/02366_kql_distinct/explain.txt @@ -0,0 +1,2 @@ +DropQuery Customers (children 1) + Identifier Customers diff --git a/parser/testdata/02366_kql_extend/explain.txt b/parser/testdata/02366_kql_extend/explain.txt new file mode 100644 index 000000000..54208ae68 --- /dev/null +++ b/parser/testdata/02366_kql_extend/explain.txt @@ -0,0 +1,2 @@ +DropQuery Ledger (children 1) + Identifier Ledger diff --git a/parser/testdata/02366_kql_func_binary/explain.txt b/parser/testdata/02366_kql_func_binary/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02366_kql_func_binary/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02366_kql_func_datetime/explain.txt b/parser/testdata/02366_kql_func_datetime/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02366_kql_func_datetime/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02366_kql_func_dynamic/explain.txt b/parser/testdata/02366_kql_func_dynamic/explain.txt new file mode 100644 index 000000000..3d0b047d6 --- /dev/null +++ b/parser/testdata/02366_kql_func_dynamic/explain.txt @@ -0,0 +1,2 @@ +DropQuery array_test (children 1) + Identifier array_test diff --git a/parser/testdata/02366_kql_func_ip/explain.txt b/parser/testdata/02366_kql_func_ip/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02366_kql_func_ip/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02366_kql_func_math/explain.txt b/parser/testdata/02366_kql_func_math/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02366_kql_func_math/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02366_kql_func_scalar/explain.txt b/parser/testdata/02366_kql_func_scalar/explain.txt new file mode 100644 index 000000000..21e5ce3a5 --- /dev/null +++ b/parser/testdata/02366_kql_func_scalar/explain.txt @@ -0,0 +1,2 @@ +DropQuery Bin_at_test (children 1) + Identifier Bin_at_test diff --git a/parser/testdata/02366_kql_func_string/explain.txt b/parser/testdata/02366_kql_func_string/explain.txt new file mode 100644 index 000000000..eff6edfc8 --- /dev/null +++ b/parser/testdata/02366_kql_func_string/explain.txt @@ -0,0 +1,2 @@ +DropQuery Customers (children 1) + Identifier Customers diff --git a/parser/testdata/02366_kql_mvexpand/explain.txt b/parser/testdata/02366_kql_mvexpand/explain.txt new file mode 100644 index 000000000..a3e1c362f --- /dev/null +++ b/parser/testdata/02366_kql_mvexpand/explain.txt @@ -0,0 +1,2 @@ +DropQuery mv_expand_test_table (children 1) + Identifier mv_expand_test_table diff --git a/parser/testdata/02366_kql_operator_in_sql/explain.txt b/parser/testdata/02366_kql_operator_in_sql/explain.txt new file mode 100644 index 000000000..eff6edfc8 --- /dev/null +++ b/parser/testdata/02366_kql_operator_in_sql/explain.txt @@ -0,0 +1,2 @@ +DropQuery Customers (children 1) + Identifier Customers diff --git a/parser/testdata/02366_kql_summarize/explain.txt b/parser/testdata/02366_kql_summarize/explain.txt new file mode 100644 index 000000000..eff6edfc8 --- /dev/null +++ b/parser/testdata/02366_kql_summarize/explain.txt @@ -0,0 +1,2 @@ +DropQuery Customers (children 1) + Identifier Customers diff --git a/parser/testdata/02366_kql_tabular/explain.txt b/parser/testdata/02366_kql_tabular/explain.txt new file mode 100644 index 000000000..eff6edfc8 --- /dev/null +++ b/parser/testdata/02366_kql_tabular/explain.txt @@ -0,0 +1,2 @@ +DropQuery Customers (children 1) + Identifier Customers diff --git a/parser/testdata/02366_normalize_aggregate_function_types_and_states/explain.txt b/parser/testdata/02366_normalize_aggregate_function_types_and_states/explain.txt new file mode 100644 index 000000000..03a94b070 --- /dev/null +++ b/parser/testdata/02366_normalize_aggregate_function_types_and_states/explain.txt @@ -0,0 +1,39 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function countMerge (children 1) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 5) + SelectQuery (children 1) + ExpressionList (children 1) + Function countState (alias a) (children 1) + ExpressionList (children 1) + Literal Float64_0.5 + SelectQuery (children 1) + ExpressionList (children 1) + Function countState (children 1) + ExpressionList + SelectQuery (children 1) + ExpressionList (children 1) + Function countIfState (children 1) + ExpressionList (children 2) + Literal UInt64_2 + Literal UInt64_1 + SelectQuery (children 1) + ExpressionList (children 1) + Function countArrayState (children 1) + ExpressionList (children 1) + Literal Array_[UInt64_1, UInt64_2] + SelectQuery (children 1) + ExpressionList (children 1) + Function countArrayIfState (children 1) + ExpressionList (children 2) + Literal Array_[UInt64_1, UInt64_2] + Literal UInt64_1 diff --git a/parser/testdata/02366_union_decimal_conversion/explain.txt b/parser/testdata/02366_union_decimal_conversion/explain.txt new file mode 100644 index 000000000..8b6fc7c97 --- /dev/null +++ b/parser/testdata/02366_union_decimal_conversion/explain.txt @@ -0,0 +1,46 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function sum (children 1) + ExpressionList (children 1) + Identifier a + Function sum (children 1) + ExpressionList (children 1) + Identifier b + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function cluster (children 1) + ExpressionList (children 2) + Identifier test_cluster_two_shards + Function view (children 1) + ExpressionList (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 2) + SelectQuery (children 2) + ExpressionList (children 2) + Function CAST (alias a) (children 1) + ExpressionList (children 2) + Identifier number + Literal \'Decimal(7, 2)\' + Literal UInt64_0 (alias b) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_2 + SelectQuery (children 2) + ExpressionList (children 2) + Literal UInt64_0 + Function CAST (alias b) (children 1) + ExpressionList (children 2) + Identifier number + Literal \'Decimal(7, 2)\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_2 diff --git a/parser/testdata/02366_window_function_order_by/explain.txt b/parser/testdata/02366_window_function_order_by/explain.txt new file mode 100644 index 000000000..073db618a --- /dev/null +++ b/parser/testdata/02366_window_function_order_by/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function groupArray (children 2) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList (children 1) + Identifier value + WindowDefinition diff --git a/parser/testdata/02366_with_fill_date/explain.txt b/parser/testdata/02366_with_fill_date/explain.txt new file mode 100644 index 000000000..17a18f9e9 --- /dev/null +++ b/parser/testdata/02366_with_fill_date/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toDate (alias d1) (children 1) + ExpressionList (children 1) + Literal \'2022-02-01\' diff --git a/parser/testdata/02367_analyzer_table_alias_columns/explain.txt b/parser/testdata/02367_analyzer_table_alias_columns/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02367_analyzer_table_alias_columns/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02367_optimize_trivial_count_with_array_join/explain.txt b/parser/testdata/02367_optimize_trivial_count_with_array_join/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/02367_optimize_trivial_count_with_array_join/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/02368_analyzer_table_functions/explain.txt b/parser/testdata/02368_analyzer_table_functions/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02368_analyzer_table_functions/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02369_analyzer_array_join_function/explain.txt b/parser/testdata/02369_analyzer_array_join_function/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02369_analyzer_array_join_function/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02370_analyzer_in_function/explain.txt b/parser/testdata/02370_analyzer_in_function/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02370_analyzer_in_function/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02370_extractAll_regress/metadata.json b/parser/testdata/02370_extractAll_regress/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02370_extractAll_regress/metadata.json +++ b/parser/testdata/02370_extractAll_regress/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02371_analyzer_join_cross/explain.txt b/parser/testdata/02371_analyzer_join_cross/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02371_analyzer_join_cross/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02371_create_temporary_table_as_with_columns_list/explain.txt b/parser/testdata/02371_create_temporary_table_as_with_columns_list/explain.txt new file mode 100644 index 000000000..586854f62 --- /dev/null +++ b/parser/testdata/02371_create_temporary_table_as_with_columns_list/explain.txt @@ -0,0 +1,18 @@ +CreateQuery test_02327 (children 3) + Identifier test_02327 + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration name (children 1) + DataType String + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function VALUES (children 1) + ExpressionList (children 2) + Literal \'Vasya\' + Literal \'Petya\' diff --git a/parser/testdata/02371_select_projection_normal_agg/explain.txt b/parser/testdata/02371_select_projection_normal_agg/explain.txt new file mode 100644 index 000000000..32b109b5f --- /dev/null +++ b/parser/testdata/02371_select_projection_normal_agg/explain.txt @@ -0,0 +1,2 @@ +DropQuery video_log (children 1) + Identifier video_log diff --git a/parser/testdata/02372_nowInBlock/explain.txt b/parser/testdata/02372_nowInBlock/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02372_nowInBlock/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02373_analyzer_join_use_nulls/explain.txt b/parser/testdata/02373_analyzer_join_use_nulls/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02373_analyzer_join_use_nulls/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02374_analyzer_array_join/explain.txt b/parser/testdata/02374_analyzer_array_join/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02374_analyzer_array_join/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02374_combine_multi_if_and_count_if_opt/explain.txt b/parser/testdata/02374_combine_multi_if_and_count_if_opt/explain.txt new file mode 100644 index 000000000..d55ffe596 --- /dev/null +++ b/parser/testdata/02374_combine_multi_if_and_count_if_opt/explain.txt @@ -0,0 +1,2 @@ +DropQuery m (children 1) + Identifier m diff --git a/parser/testdata/02374_in_tuple_index/explain.txt b/parser/testdata/02374_in_tuple_index/explain.txt new file mode 100644 index 000000000..4da418a95 --- /dev/null +++ b/parser/testdata/02374_in_tuple_index/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_in_tuple_index (children 1) + Identifier t_in_tuple_index diff --git a/parser/testdata/02374_regexp_replace/explain.txt b/parser/testdata/02374_regexp_replace/explain.txt new file mode 100644 index 000000000..10b219a7e --- /dev/null +++ b/parser/testdata/02374_regexp_replace/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal \'https://www.clickhouse.com/\' (alias s) + Function REGEXP_REPLACE (children 1) + ExpressionList (children 3) + Identifier s + Literal \'^https?://(?:www\\\\.)?([^/]+)/.*$\' + Literal \'\\\\1\' diff --git a/parser/testdata/02375_analyzer_union/metadata.json b/parser/testdata/02375_analyzer_union/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02375_analyzer_union/metadata.json +++ b/parser/testdata/02375_analyzer_union/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02375_double_escaping_json/explain.txt b/parser/testdata/02375_double_escaping_json/explain.txt new file mode 100644 index 000000000..93682416d --- /dev/null +++ b/parser/testdata/02375_double_escaping_json/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 3) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'\\\\\' (alias ") + Identifier JSON + Set diff --git a/parser/testdata/02375_scalar_lc_cte/explain.txt b/parser/testdata/02375_scalar_lc_cte/explain.txt new file mode 100644 index 000000000..7bbc47d91 --- /dev/null +++ b/parser/testdata/02375_scalar_lc_cte/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Subquery (alias bar) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toLowCardinality (children 1) + ExpressionList (children 1) + Literal \'a\' + ExpressionList (children 1) + Identifier bar diff --git a/parser/testdata/02376_analyzer_in_function_subquery/explain.txt b/parser/testdata/02376_analyzer_in_function_subquery/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02376_analyzer_in_function_subquery/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02376_arrow_dict_with_string/explain.txt b/parser/testdata/02376_arrow_dict_with_string/explain.txt new file mode 100644 index 000000000..d5e09893f --- /dev/null +++ b/parser/testdata/02376_arrow_dict_with_string/explain.txt @@ -0,0 +1,21 @@ +InsertQuery (children 3) + Function file (children 1) + ExpressionList (children 1) + Identifier 02376_data.arrow + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function toLowCardinality (alias x) (children 1) + ExpressionList (children 1) + Function toString (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + Set + Set diff --git a/parser/testdata/02377_analyzer_in_function_set/explain.txt b/parser/testdata/02377_analyzer_in_function_set/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02377_analyzer_in_function_set/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02377_executable_function_settings/explain.txt b/parser/testdata/02377_executable_function_settings/explain.txt new file mode 100644 index 000000000..e9f31b8b6 --- /dev/null +++ b/parser/testdata/02377_executable_function_settings/explain.txt @@ -0,0 +1,14 @@ +Explain EXPLAIN SYNTAX (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function executable (children 1) + ExpressionList (children 3) + Literal \'\' + Literal \'JSON\' + Literal \'data String\' diff --git a/parser/testdata/02377_fix_file_virtual_column/explain.txt b/parser/testdata/02377_fix_file_virtual_column/explain.txt new file mode 100644 index 000000000..5c272f4ed --- /dev/null +++ b/parser/testdata/02377_fix_file_virtual_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_02377 (children 1) + Identifier test_02377 diff --git a/parser/testdata/02377_majority_insert_quorum_zookeeper_long/explain.txt b/parser/testdata/02377_majority_insert_quorum_zookeeper_long/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02377_majority_insert_quorum_zookeeper_long/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02377_modify_column_from_lc/explain.txt b/parser/testdata/02377_modify_column_from_lc/explain.txt new file mode 100644 index 000000000..d92ef2e76 --- /dev/null +++ b/parser/testdata/02377_modify_column_from_lc/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_modify_from_lc_1 (children 1) + Identifier t_modify_from_lc_1 diff --git a/parser/testdata/02377_modify_column_from_nested/explain.txt b/parser/testdata/02377_modify_column_from_nested/explain.txt new file mode 100644 index 000000000..530937003 --- /dev/null +++ b/parser/testdata/02377_modify_column_from_nested/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_nested_modify (children 1) + Identifier t_nested_modify diff --git a/parser/testdata/02377_optimize_sorting_by_input_stream_properties/explain.txt b/parser/testdata/02377_optimize_sorting_by_input_stream_properties/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02377_optimize_sorting_by_input_stream_properties/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02377_optimize_sorting_by_input_stream_properties_2/explain.txt b/parser/testdata/02377_optimize_sorting_by_input_stream_properties_2/explain.txt new file mode 100644 index 000000000..0a00b06d1 --- /dev/null +++ b/parser/testdata/02377_optimize_sorting_by_input_stream_properties_2/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab (children 1) + Identifier tab diff --git a/parser/testdata/02378_analyzer_projection_names/explain.txt b/parser/testdata/02378_analyzer_projection_names/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02378_analyzer_projection_names/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02378_part_log_profile_events_replicated/explain.txt b/parser/testdata/02378_part_log_profile_events_replicated/explain.txt new file mode 100644 index 000000000..86e57e7f6 --- /dev/null +++ b/parser/testdata/02378_part_log_profile_events_replicated/explain.txt @@ -0,0 +1,2 @@ +DropQuery part_log_profile_events_r1 (children 1) + Identifier part_log_profile_events_r1 diff --git a/parser/testdata/02379_analyzer_subquery_depth/explain.txt b/parser/testdata/02379_analyzer_subquery_depth/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02379_analyzer_subquery_depth/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02380_analyzer_join_sample/explain.txt b/parser/testdata/02380_analyzer_join_sample/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02380_analyzer_join_sample/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02381_analyzer_join_final/explain.txt b/parser/testdata/02381_analyzer_join_final/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02381_analyzer_join_final/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02381_compress_marks_and_primary_key/explain.txt b/parser/testdata/02381_compress_marks_and_primary_key/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02381_compress_marks_and_primary_key/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02381_parseDateTime64BestEffortUS/explain.txt b/parser/testdata/02381_parseDateTime64BestEffortUS/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02381_parseDateTime64BestEffortUS/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02381_parse_array_of_tuples/explain.txt b/parser/testdata/02381_parse_array_of_tuples/explain.txt new file mode 100644 index 000000000..c6d1f88de --- /dev/null +++ b/parser/testdata/02381_parse_array_of_tuples/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_parse_tuples (children 1) + Identifier t_parse_tuples diff --git a/parser/testdata/02381_setting_value_auto/explain.txt b/parser/testdata/02381_setting_value_auto/explain.txt new file mode 100644 index 000000000..2c47f28c9 --- /dev/null +++ b/parser/testdata/02381_setting_value_auto/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 3) + Identifier value + Identifier changed + Identifier type + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.settings + Function equals (children 1) + ExpressionList (children 2) + Identifier name + Literal \'insert_quorum\' diff --git a/parser/testdata/02382_analyzer_matcher_join_using/explain.txt b/parser/testdata/02382_analyzer_matcher_join_using/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02382_analyzer_matcher_join_using/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02382_join_and_filtering_set/explain.txt b/parser/testdata/02382_join_and_filtering_set/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/02382_join_and_filtering_set/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/02383_analyzer_merge_tree_self_join/explain.txt b/parser/testdata/02383_analyzer_merge_tree_self_join/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02383_analyzer_merge_tree_self_join/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02383_array_signed_const_positive_index/explain.txt b/parser/testdata/02383_array_signed_const_positive_index/explain.txt new file mode 100644 index 000000000..02159b09b --- /dev/null +++ b/parser/testdata/02383_array_signed_const_positive_index/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayElement (children 1) + ExpressionList (children 2) + Function materialize (children 1) + ExpressionList (children 1) + Literal Array_[Array_[UInt64_13]] + Function CAST (children 1) + ExpressionList (children 2) + Literal \'1\' + Literal \'Int8\' diff --git a/parser/testdata/02383_schema_inference_hints/explain.txt b/parser/testdata/02383_schema_inference_hints/explain.txt new file mode 100644 index 000000000..ab7c55f00 --- /dev/null +++ b/parser/testdata/02383_schema_inference_hints/explain.txt @@ -0,0 +1,7 @@ +DescribeQuery (children 2) + TableExpression (children 1) + Function format (children 1) + ExpressionList (children 2) + Identifier JSONEachRow + Literal \'{"x" : 1, "y" : "String", "z" : "0.0.0.0" }\' + Set diff --git a/parser/testdata/02384_analyzer_dict_get_join_get/explain.txt b/parser/testdata/02384_analyzer_dict_get_join_get/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02384_analyzer_dict_get_join_get/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02384_decrypt_bad_arguments/explain.txt b/parser/testdata/02384_decrypt_bad_arguments/explain.txt new file mode 100644 index 000000000..745d79b4b --- /dev/null +++ b/parser/testdata/02384_decrypt_bad_arguments/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function decrypt (children 1) + ExpressionList (children 5) + Literal \'aes-128-gcm\' + Literal Array_[UInt64_1024, UInt64_65535, NULL, NULL, UInt64_9223372036854775807, UInt64_1048576, NULL] + Literal \'text\' + Literal \'key\' + Literal \'IV\' +The query succeeded but the server error '43' was expected (query: EXPLAIN AST SELECT decrypt('aes-128-gcm', [1024, 65535, NULL, NULL, 9223372036854775807, 1048576, NULL], 'text', 'key', 'IV'); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }). diff --git a/parser/testdata/02384_nullable_low_cardinality_as_dict_in_arrow/explain.txt b/parser/testdata/02384_nullable_low_cardinality_as_dict_in_arrow/explain.txt new file mode 100644 index 000000000..fcb74db4b --- /dev/null +++ b/parser/testdata/02384_nullable_low_cardinality_as_dict_in_arrow/explain.txt @@ -0,0 +1,15 @@ +InsertQuery (children 3) + Function file (children 1) + ExpressionList (children 1) + Identifier 02384_data.arrow + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function toLowCardinality (alias lc) (children 1) + ExpressionList (children 1) + Function toNullable (children 1) + ExpressionList (children 1) + Literal \'abc\' + Set + Set diff --git a/parser/testdata/02385_analyzer_aliases_compound_expression/explain.txt b/parser/testdata/02385_analyzer_aliases_compound_expression/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02385_analyzer_aliases_compound_expression/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02385_profile_events_overflow/explain.txt b/parser/testdata/02385_profile_events_overflow/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02385_profile_events_overflow/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02386_analyzer_in_function_nested_subqueries/explain.txt b/parser/testdata/02386_analyzer_in_function_nested_subqueries/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02386_analyzer_in_function_nested_subqueries/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02386_set_columns_order/explain.txt b/parser/testdata/02386_set_columns_order/explain.txt new file mode 100644 index 000000000..f47669b46 --- /dev/null +++ b/parser/testdata/02386_set_columns_order/explain.txt @@ -0,0 +1,2 @@ +DropQuery userid_set (children 1) + Identifier userid_set diff --git a/parser/testdata/02387_analyzer_cte/explain.txt b/parser/testdata/02387_analyzer_cte/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02387_analyzer_cte/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02387_parse_date_as_datetime/explain.txt b/parser/testdata/02387_parse_date_as_datetime/explain.txt new file mode 100644 index 000000000..5ca40f24a --- /dev/null +++ b/parser/testdata/02387_parse_date_as_datetime/explain.txt @@ -0,0 +1,8 @@ +CreateQuery test (children 2) + Identifier test + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration i (children 1) + DataType Int64 + ColumnDeclaration d (children 1) + DataType DateTime diff --git a/parser/testdata/02388_analyzer_recursive_lambda/explain.txt b/parser/testdata/02388_analyzer_recursive_lambda/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02388_analyzer_recursive_lambda/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02388_conversion_from_string_with_datetime64_to_date_and_date32/explain.txt b/parser/testdata/02388_conversion_from_string_with_datetime64_to_date_and_date32/explain.txt new file mode 100644 index 000000000..b3b8da997 --- /dev/null +++ b/parser/testdata/02388_conversion_from_string_with_datetime64_to_date_and_date32/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toDate (children 1) + ExpressionList (children 1) + Literal \'2022-08-22 01:02:03\' diff --git a/parser/testdata/02389_analyzer_nested_lambda/explain.txt b/parser/testdata/02389_analyzer_nested_lambda/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02389_analyzer_nested_lambda/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02391_hashed_dictionary_shards/explain.txt b/parser/testdata/02391_hashed_dictionary_shards/explain.txt new file mode 100644 index 000000000..d4bf1aa3f --- /dev/null +++ b/parser/testdata/02391_hashed_dictionary_shards/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_table (children 1) + Identifier test_table diff --git a/parser/testdata/02391_recursive_buffer/explain.txt b/parser/testdata/02391_recursive_buffer/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/02391_recursive_buffer/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/02392_every_setting_must_have_documentation/explain.txt b/parser/testdata/02392_every_setting_must_have_documentation/explain.txt new file mode 100644 index 000000000..7840cb24a --- /dev/null +++ b/parser/testdata/02392_every_setting_must_have_documentation/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier name + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.settings + Function less (children 1) + ExpressionList (children 2) + Function length (children 1) + ExpressionList (children 1) + Identifier description + Literal UInt64_10 diff --git a/parser/testdata/02393_every_metric_must_have_documentation/explain.txt b/parser/testdata/02393_every_metric_must_have_documentation/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02393_every_metric_must_have_documentation/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02394_every_profile_event_must_have_documentation/explain.txt b/parser/testdata/02394_every_profile_event_must_have_documentation/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02394_every_profile_event_must_have_documentation/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02395_every_merge_tree_setting_must_have_documentation/explain.txt b/parser/testdata/02395_every_merge_tree_setting_must_have_documentation/explain.txt new file mode 100644 index 000000000..6ace4b802 --- /dev/null +++ b/parser/testdata/02395_every_merge_tree_setting_must_have_documentation/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier name + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.merge_tree_settings + Function less (children 1) + ExpressionList (children 2) + Function length (children 1) + ExpressionList (children 1) + Identifier description + Literal UInt64_10 diff --git a/parser/testdata/02398_subquery_where_pushdown_and_limit_offset/explain.txt b/parser/testdata/02398_subquery_where_pushdown_and_limit_offset/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/02398_subquery_where_pushdown_and_limit_offset/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/02399_merge_tree_mutate_in_partition/explain.txt b/parser/testdata/02399_merge_tree_mutate_in_partition/explain.txt new file mode 100644 index 000000000..38773513b --- /dev/null +++ b/parser/testdata/02399_merge_tree_mutate_in_partition/explain.txt @@ -0,0 +1,2 @@ +DropQuery mt (children 1) + Identifier mt diff --git a/parser/testdata/02400_create_table_on_cluster_normalization/explain.txt b/parser/testdata/02400_create_table_on_cluster_normalization/explain.txt new file mode 100644 index 000000000..3f6645e92 --- /dev/null +++ b/parser/testdata/02400_create_table_on_cluster_normalization/explain.txt @@ -0,0 +1,2 @@ +DropQuery local_t_l5ydey (children 1) + Identifier local_t_l5ydey diff --git a/parser/testdata/02400_memory_accounting_on_error/explain.txt b/parser/testdata/02400_memory_accounting_on_error/explain.txt new file mode 100644 index 000000000..1d20c6d93 --- /dev/null +++ b/parser/testdata/02400_memory_accounting_on_error/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function generateRandom (children 1) + ExpressionList (children 4) + Literal \'i Array(Int8)\' + Literal UInt64_1 + Literal UInt64_1 + Literal UInt64_1048577 + Literal UInt64_65536 + Set +The query succeeded but the server error '241' was expected (query: EXPLAIN AST SELECT * FROM generateRandom('i Array(Int8)', 1, 1, 1048577) LIMIT 65536 SETTINGS max_memory_usage='1Gi', max_block_size=65505, log_queries=1; -- { serverError MEMORY_LIMIT_EXCEEDED }). diff --git a/parser/testdata/02401_merge_tree_old_tmp_dirs_cleanup/explain.txt b/parser/testdata/02401_merge_tree_old_tmp_dirs_cleanup/explain.txt new file mode 100644 index 000000000..67c91ccbd --- /dev/null +++ b/parser/testdata/02401_merge_tree_old_tmp_dirs_cleanup/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_inserts (children 1) + Identifier test_inserts diff --git a/parser/testdata/02402_external_disk_metrics/explain.txt b/parser/testdata/02402_external_disk_metrics/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02402_external_disk_metrics/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02402_merge_engine_with_view/explain.txt b/parser/testdata/02402_merge_engine_with_view/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02402_merge_engine_with_view/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02403_ttl_column_multiple_times/explain.txt b/parser/testdata/02403_ttl_column_multiple_times/explain.txt new file mode 100644 index 000000000..b44fcf061 --- /dev/null +++ b/parser/testdata/02403_ttl_column_multiple_times/explain.txt @@ -0,0 +1,2 @@ +DropQuery ttl_table (children 1) + Identifier ttl_table diff --git a/parser/testdata/02404_lightweight_delete_vertical_merge/explain.txt b/parser/testdata/02404_lightweight_delete_vertical_merge/explain.txt new file mode 100644 index 000000000..448c72369 --- /dev/null +++ b/parser/testdata/02404_lightweight_delete_vertical_merge/explain.txt @@ -0,0 +1,2 @@ +DropQuery lwd_test (children 1) + Identifier lwd_test diff --git a/parser/testdata/02404_memory_bound_merging/explain.txt b/parser/testdata/02404_memory_bound_merging/explain.txt new file mode 100644 index 000000000..608ee7d63 --- /dev/null +++ b/parser/testdata/02404_memory_bound_merging/explain.txt @@ -0,0 +1,2 @@ +DropQuery pr_t (children 1) + Identifier pr_t diff --git a/parser/testdata/02405_avro_read_nested/explain.txt b/parser/testdata/02405_avro_read_nested/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02405_avro_read_nested/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02405_pmj_issue_40335/explain.txt b/parser/testdata/02405_pmj_issue_40335/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/02405_pmj_issue_40335/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/02406_minmax_behaviour/explain.txt b/parser/testdata/02406_minmax_behaviour/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02406_minmax_behaviour/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02406_try_read_datetime64_bug/explain.txt b/parser/testdata/02406_try_read_datetime64_bug/explain.txt new file mode 100644 index 000000000..24e6cce8e --- /dev/null +++ b/parser/testdata/02406_try_read_datetime64_bug/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toDateTime64OrDefault (children 1) + ExpressionList (children 3) + Literal \'Aaaa e a.a.aaaaaaaaa\' + Literal UInt64_9 + Literal \'UTC\' diff --git a/parser/testdata/02407_array_element_from_map_wrong_type/explain.txt b/parser/testdata/02407_array_element_from_map_wrong_type/explain.txt new file mode 100644 index 000000000..b0c875266 --- /dev/null +++ b/parser/testdata/02407_array_element_from_map_wrong_type/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function arrayElement (children 1) + ExpressionList (children 2) + Identifier m + Literal UInt64_0 + Function materialize (alias m) (children 1) + ExpressionList (children 1) + Function map (children 1) + ExpressionList (children 2) + Literal \'key\' + Literal UInt64_42 +The query succeeded but the server error '43' was expected (query: EXPLAIN AST select m[0], materialize(map('key', 42)) as m; -- {serverError ILLEGAL_TYPE_OF_ARGUMENT}). diff --git a/parser/testdata/02408_to_fixed_string_short_circuit/explain.txt b/parser/testdata/02408_to_fixed_string_short_circuit/explain.txt new file mode 100644 index 000000000..96f04d7f3 --- /dev/null +++ b/parser/testdata/02408_to_fixed_string_short_circuit/explain.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function if (children 1) + ExpressionList (children 3) + Function less (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_0 + Function toFixedString (children 1) + ExpressionList (children 2) + Function materialize (children 1) + ExpressionList (children 1) + Literal \'123\' + Literal UInt64_2 + Literal NULL + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_2 diff --git a/parser/testdata/02409_url_format_detection/explain.txt b/parser/testdata/02409_url_format_detection/explain.txt new file mode 100644 index 000000000..568ba27dc --- /dev/null +++ b/parser/testdata/02409_url_format_detection/explain.txt @@ -0,0 +1,7 @@ +DescribeQuery (children 1) + TableExpression (children 1) + Function url (children 1) + ExpressionList (children 3) + Literal \'http://localhost:8888/test/data.tsv?get=parameterHere\' + Identifier auto + Literal \'x UInt32\' diff --git a/parser/testdata/02410_csv_empty_fields_inference/explain.txt b/parser/testdata/02410_csv_empty_fields_inference/explain.txt new file mode 100644 index 000000000..a34fc308a --- /dev/null +++ b/parser/testdata/02410_csv_empty_fields_inference/explain.txt @@ -0,0 +1,6 @@ +DescribeQuery (children 1) + TableExpression (children 1) + Function format (children 1) + ExpressionList (children 2) + Identifier CSV + Literal \',,,\' diff --git a/parser/testdata/02410_to_decimal_or_default/explain.txt b/parser/testdata/02410_to_decimal_or_default/explain.txt new file mode 100644 index 000000000..b542dc616 --- /dev/null +++ b/parser/testdata/02410_to_decimal_or_default/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function toDecimal32OrDefault (alias x) (children 1) + ExpressionList (children 3) + Literal UInt64_111 + Literal UInt64_3 + Function CAST (children 1) + ExpressionList (children 2) + Literal \'123.456\' + Literal \'Decimal32(3)\' + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/02411_legacy_geobase/explain.txt b/parser/testdata/02411_legacy_geobase/explain.txt new file mode 100644 index 000000000..72da856c0 --- /dev/null +++ b/parser/testdata/02411_legacy_geobase/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function regionToName (children 1) + ExpressionList (children 2) + Function CAST (children 1) + ExpressionList (children 2) + Identifier number + Literal \'UInt32\' + Literal \'en\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_13 diff --git a/parser/testdata/02412_nlp/explain.txt b/parser/testdata/02412_nlp/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02412_nlp/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02414_all_new_table_functions_must_be_documented/explain.txt b/parser/testdata/02414_all_new_table_functions_must_be_documented/explain.txt new file mode 100644 index 000000000..edeada690 --- /dev/null +++ b/parser/testdata/02414_all_new_table_functions_must_be_documented/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier name + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.table_functions + Function less (children 1) + ExpressionList (children 2) + Function length (children 1) + ExpressionList (children 1) + Identifier description + Literal UInt64_10 diff --git a/parser/testdata/02415_all_new_functions_must_be_documented/explain.txt b/parser/testdata/02415_all_new_functions_must_be_documented/explain.txt new file mode 100644 index 000000000..77404054f --- /dev/null +++ b/parser/testdata/02415_all_new_functions_must_be_documented/explain.txt @@ -0,0 +1,28 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier name + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.functions + Function and (children 1) + ExpressionList (children 4) + Function not (children 1) + ExpressionList (children 1) + Identifier is_aggregate + Function equals (children 1) + ExpressionList (children 2) + Identifier origin + Literal \'System\' + Function equals (children 1) + ExpressionList (children 2) + Identifier alias_to + Literal \'\' + Function less (children 1) + ExpressionList (children 2) + Function length (children 1) + ExpressionList (children 1) + Identifier description + Literal UInt64_10 diff --git a/parser/testdata/02415_all_new_functions_must_have_version_information/explain.txt b/parser/testdata/02415_all_new_functions_must_have_version_information/explain.txt new file mode 100644 index 000000000..f43a7e57c --- /dev/null +++ b/parser/testdata/02415_all_new_functions_must_have_version_information/explain.txt @@ -0,0 +1,26 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier name + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.functions + Function and (children 1) + ExpressionList (children 4) + Function not (children 1) + ExpressionList (children 1) + Identifier is_aggregate + Function equals (children 1) + ExpressionList (children 2) + Identifier origin + Literal \'System\' + Function equals (children 1) + ExpressionList (children 2) + Identifier alias_to + Literal \'\' + Function equals (children 1) + ExpressionList (children 2) + Identifier introduced_in + Literal \'\' diff --git a/parser/testdata/02416_grouping_function_compatibility/explain.txt b/parser/testdata/02416_grouping_function_compatibility/explain.txt new file mode 100644 index 000000000..b8cf123cf --- /dev/null +++ b/parser/testdata/02416_grouping_function_compatibility/explain.txt @@ -0,0 +1,2 @@ +DropQuery test02416 (children 1) + Identifier test02416 diff --git a/parser/testdata/02416_in_set_same_ast_diff_columns/explain.txt b/parser/testdata/02416_in_set_same_ast_diff_columns/explain.txt new file mode 100644 index 000000000..7bd552cb4 --- /dev/null +++ b/parser/testdata/02416_in_set_same_ast_diff_columns/explain.txt @@ -0,0 +1,14 @@ +CreateQuery set_crash (children 3) + Identifier set_crash + Columns definition (children 1) + ExpressionList (children 3) + ColumnDeclaration key1 (children 1) + DataType Int32 + ColumnDeclaration id1 (children 1) + DataType Int64 + ColumnDeclaration c1 (children 1) + DataType Int64 + Storage definition (children 3) + Function MergeTree + Identifier id1 + Identifier key1 diff --git a/parser/testdata/02416_input_json_formats/explain.txt b/parser/testdata/02416_input_json_formats/explain.txt new file mode 100644 index 000000000..ba238967b --- /dev/null +++ b/parser/testdata/02416_input_json_formats/explain.txt @@ -0,0 +1,24 @@ +InsertQuery (children 3) + Function file (children 1) + ExpressionList (children 1) + Identifier 02416_data.json + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 3) + Function CAST (alias n) (children 1) + ExpressionList (children 2) + Identifier number + Literal \'UInt32\' + Literal \'Hello\' (alias s) + Function range (alias a) (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_3 + Set + Set diff --git a/parser/testdata/02416_json_tuple_to_array_schema_inference/explain.txt b/parser/testdata/02416_json_tuple_to_array_schema_inference/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02416_json_tuple_to_array_schema_inference/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02416_keeper_map/explain.txt b/parser/testdata/02416_keeper_map/explain.txt new file mode 100644 index 000000000..87d57435d --- /dev/null +++ b/parser/testdata/02416_keeper_map/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02416_test (children 1) + Identifier 02416_test diff --git a/parser/testdata/02416_rocksdb_delete_update/explain.txt b/parser/testdata/02416_rocksdb_delete_update/explain.txt new file mode 100644 index 000000000..b0be89e70 --- /dev/null +++ b/parser/testdata/02416_rocksdb_delete_update/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02416_rocksdb (children 1) + Identifier 02416_rocksdb diff --git a/parser/testdata/02416_row_policy_always_false_index/explain.txt b/parser/testdata/02416_row_policy_always_false_index/explain.txt new file mode 100644 index 000000000..ff737eb65 --- /dev/null +++ b/parser/testdata/02416_row_policy_always_false_index/explain.txt @@ -0,0 +1,2 @@ +DropQuery tbl (children 1) + Identifier tbl diff --git a/parser/testdata/02417_from_select_syntax/explain.txt b/parser/testdata/02417_from_select_syntax/explain.txt new file mode 100644 index 000000000..aee5d5afc --- /dev/null +++ b/parser/testdata/02417_from_select_syntax/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/02417_json_object_each_row_format/explain.txt b/parser/testdata/02417_json_object_each_row_format/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02417_json_object_each_row_format/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02417_keeper_map_create_drop/explain.txt b/parser/testdata/02417_keeper_map_create_drop/explain.txt new file mode 100644 index 000000000..1739aec72 --- /dev/null +++ b/parser/testdata/02417_keeper_map_create_drop/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02417_test (children 1) + Identifier 02417_test diff --git a/parser/testdata/02417_null_variadic_behaviour/explain.txt b/parser/testdata/02417_null_variadic_behaviour/explain.txt new file mode 100644 index 000000000..b3b82842f --- /dev/null +++ b/parser/testdata/02417_null_variadic_behaviour/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function avgWeighted (alias t) (children 1) + ExpressionList (children 2) + Identifier number + Identifier number + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier t + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/02418_aggregate_combinators/explain.txt b/parser/testdata/02418_aggregate_combinators/explain.txt new file mode 100644 index 000000000..1c00efc7e --- /dev/null +++ b/parser/testdata/02418_aggregate_combinators/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function uniqStateMap (children 1) + ExpressionList (children 1) + Function map (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 diff --git a/parser/testdata/02418_keeper_map_keys_limit/explain.txt b/parser/testdata/02418_keeper_map_keys_limit/explain.txt new file mode 100644 index 000000000..287ae9213 --- /dev/null +++ b/parser/testdata/02418_keeper_map_keys_limit/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02418_test (children 1) + Identifier 02418_test diff --git a/parser/testdata/02418_tautological_if_index/explain.txt b/parser/testdata/02418_tautological_if_index/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02418_tautological_if_index/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02419_contingency_array_nullable/explain.txt b/parser/testdata/02419_contingency_array_nullable/explain.txt new file mode 100644 index 000000000..a049583a9 --- /dev/null +++ b/parser/testdata/02419_contingency_array_nullable/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function contingency (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal Array_[UInt64_1, NULL] +The query succeeded but the server error '48' was expected (query: EXPLAIN AST SELECT contingency(1, [1, NULL]); -- { serverError NOT_IMPLEMENTED }). diff --git a/parser/testdata/02420_final_setting/explain.txt b/parser/testdata/02420_final_setting/explain.txt new file mode 100644 index 000000000..861fc6954 --- /dev/null +++ b/parser/testdata/02420_final_setting/explain.txt @@ -0,0 +1,2 @@ +SYSTEM query (children 1) + Identifier tbl diff --git a/parser/testdata/02420_final_setting_analyzer/explain.txt b/parser/testdata/02420_final_setting_analyzer/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02420_final_setting_analyzer/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02420_key_condition_actions_dag_bug_40599/explain.txt b/parser/testdata/02420_key_condition_actions_dag_bug_40599/explain.txt new file mode 100644 index 000000000..a597c423a --- /dev/null +++ b/parser/testdata/02420_key_condition_actions_dag_bug_40599/explain.txt @@ -0,0 +1,11 @@ +CreateQuery tba (children 3) + Identifier tba + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration event_id (children 1) + DataType Int64 + ColumnDeclaration event_dt (children 1) + DataType Int64 + Storage definition (children 2) + Function MergeTree + Identifier event_id diff --git a/parser/testdata/02421_decimal_in_precision_issue_41125/explain.txt b/parser/testdata/02421_decimal_in_precision_issue_41125/explain.txt new file mode 100644 index 000000000..c06a95fef --- /dev/null +++ b/parser/testdata/02421_decimal_in_precision_issue_41125/explain.txt @@ -0,0 +1,2 @@ +DropQuery dtest (children 1) + Identifier dtest diff --git a/parser/testdata/02421_explain_subquery/metadata.json b/parser/testdata/02421_explain_subquery/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02421_explain_subquery/metadata.json +++ b/parser/testdata/02421_explain_subquery/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02421_exponential_join_rewrite_21557/explain.txt b/parser/testdata/02421_exponential_join_rewrite_21557/explain.txt new file mode 100644 index 000000000..1361ed3df --- /dev/null +++ b/parser/testdata/02421_exponential_join_rewrite_21557/explain.txt @@ -0,0 +1,2 @@ +DropQuery store_returns (children 1) + Identifier store_returns diff --git a/parser/testdata/02421_json_decimals_as_strings/explain.txt b/parser/testdata/02421_json_decimals_as_strings/explain.txt new file mode 100644 index 000000000..6098c2584 --- /dev/null +++ b/parser/testdata/02421_json_decimals_as_strings/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 3) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toDecimal128 (alias d) (children 1) + ExpressionList (children 2) + Literal Float64_42.42 + Literal UInt64_5 + Identifier JSONEachRow + Set diff --git a/parser/testdata/02422_insert_different_granularity/explain.txt b/parser/testdata/02422_insert_different_granularity/explain.txt new file mode 100644 index 000000000..6fc846a15 --- /dev/null +++ b/parser/testdata/02422_insert_different_granularity/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'=== ataptive granularity: table one -; table two + ===\' diff --git a/parser/testdata/02422_msgpack_uuid_wrong_column/explain.txt b/parser/testdata/02422_msgpack_uuid_wrong_column/explain.txt new file mode 100644 index 000000000..a588db7fa --- /dev/null +++ b/parser/testdata/02422_msgpack_uuid_wrong_column/explain.txt @@ -0,0 +1,13 @@ +InsertQuery (children 3) + Function file (children 1) + ExpressionList (children 1) + Identifier 02422_data.msgpack + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function toUUID (alias uuid) (children 1) + ExpressionList (children 1) + Literal \'f4cdd80d-5d15-4bdc-9527-adcca635ec1f\' + Set + Set diff --git a/parser/testdata/02422_read_numbers_as_strings/explain.txt b/parser/testdata/02422_read_numbers_as_strings/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02422_read_numbers_as_strings/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02423_json_quote_float64/explain.txt b/parser/testdata/02423_json_quote_float64/explain.txt new file mode 100644 index 000000000..baadcb828 --- /dev/null +++ b/parser/testdata/02423_json_quote_float64/explain.txt @@ -0,0 +1,26 @@ +SelectWithUnionQuery (children 3) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 3) + Function CAST (alias x) (children 1) + ExpressionList (children 2) + Literal \'42424.4242424242\' + Literal \'Float64\' + Function array (alias arr) (children 1) + ExpressionList (children 2) + Function CAST (children 1) + ExpressionList (children 2) + Literal \'42.42\' + Literal \'Float64\' + Function CAST (children 1) + ExpressionList (children 2) + Literal \'42.42\' + Literal \'Float64\' + Function tuple (alias tuple) (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Literal \'42.42\' + Literal \'Float64\' + Identifier JSONEachRow + Set diff --git a/parser/testdata/02423_multidimensional_array_get_data_at/explain.txt b/parser/testdata/02423_multidimensional_array_get_data_at/explain.txt new file mode 100644 index 000000000..9973a411f --- /dev/null +++ b/parser/testdata/02423_multidimensional_array_get_data_at/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function formatRow (children 1) + ExpressionList (children 2) + Literal \'RawBLOB\' + Function array (children 1) + ExpressionList (children 2) + Literal Array_[Array_[UInt64_33]] + Function array (children 1) + ExpressionList +The query succeeded but the server error '48' was expected (query: EXPLAIN AST SELECT formatRow('RawBLOB', [[[33]], []]); -- { serverError NOT_IMPLEMENTED }). diff --git a/parser/testdata/02424_pod_array_overflow/explain.txt b/parser/testdata/02424_pod_array_overflow/explain.txt new file mode 100644 index 000000000..1c48b5d4d --- /dev/null +++ b/parser/testdata/02424_pod_array_overflow/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function format (children 1) + ExpressionList (children 2) + Identifier Native + Literal \'k0Map(FixedString(1), Int64)\\0\\0\\0\\0\\0\\0\\0ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ\\0ÿ\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0d\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0Ï1?Vi‰%\' +The query succeeded but the server error '636' was expected (query: EXPLAIN AST SELECT * FROM format(Native, '\x02\x02\x02\x6b\x30\x1a\x4d\x61\x70\x28\x46\x69\x78\x65\x64\x53\x74\x72\x69\x6e\x67\x28\x31\x29\x2c\x20\x49\x6e\x74\x36\x34\x29\x01\x00\x00\x00\x00\x00\x00\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\x7f\x00\x7f\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x64\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xcf\x31\x3f\x56\x69\x11\x89\x25'); -- { serverError CANNOT_EXTRACT_TABLE_STRUCTURE }). diff --git a/parser/testdata/02425_categorical_information_value_properties/explain.txt b/parser/testdata/02425_categorical_information_value_properties/explain.txt new file mode 100644 index 000000000..46cdb1c2f --- /dev/null +++ b/parser/testdata/02425_categorical_information_value_properties/explain.txt @@ -0,0 +1,35 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function round (children 1) + ExpressionList (children 2) + Function arrayJoin (children 1) + ExpressionList (children 1) + Function categoricalInformationValue (children 1) + ExpressionList (children 2) + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_1 + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_2 + Literal UInt64_3 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayJoin (alias x) (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 4) + Literal Tuple_(UInt64_0, UInt64_0) + Literal Tuple_(NULL, UInt64_2) + Literal Tuple_(UInt64_1, UInt64_0) + Literal Tuple_(UInt64_1, UInt64_1) diff --git a/parser/testdata/02426_create_suspicious_fixed_string/explain.txt b/parser/testdata/02426_create_suspicious_fixed_string/explain.txt new file mode 100644 index 000000000..78b1ae7aa --- /dev/null +++ b/parser/testdata/02426_create_suspicious_fixed_string/explain.txt @@ -0,0 +1,14 @@ +CreateQuery fixed_string (children 3) + Identifier fixed_string + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration id (children 1) + DataType UInt64 + ColumnDeclaration s (children 1) + DataType FixedString (children 1) + ExpressionList (children 1) + Literal UInt64_256 + Storage definition (children 2) + Function MergeTree (children 1) + ExpressionList + Identifier id diff --git a/parser/testdata/02426_pod_array_overflow_2/explain.txt b/parser/testdata/02426_pod_array_overflow_2/explain.txt new file mode 100644 index 000000000..b8bdddf1a --- /dev/null +++ b/parser/testdata/02426_pod_array_overflow_2/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function format (children 1) + ExpressionList (children 2) + Identifier Native + Literal \'k0#Array(Tuple(FixedString(1), Int64))\\0\\0\\0\\0\\0\\0\\0�����\\0����������������\\0�\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0d\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0�1?Vi�%\' +The query succeeded but the server error '636' was expected (query: EXPLAIN AST SELECT * FROM format(Native, 'k0\x23Array(Tuple(FixedString(1), Int64))\0\0\0\0\0\0\0�����\0����������������\0�\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0d\0\0\0\0\0\0\0\0\0\0\0\0\0�1?Vi�%'); -- { serverError CANNOT_EXTRACT_TABLE_STRUCTURE }). diff --git a/parser/testdata/02426_pod_array_overflow_3/explain.txt b/parser/testdata/02426_pod_array_overflow_3/explain.txt new file mode 100644 index 000000000..25613bbea --- /dev/null +++ b/parser/testdata/02426_pod_array_overflow_3/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function format (children 1) + ExpressionList (children 2) + Identifier Native + Literal \'x\\fArray(UInt8)\\0½ï¿½ï¿½ï\' +The query succeeded but the server error '636' was expected (query: EXPLAIN AST SELECT * FROM format(Native, '\x01\x01\x01x\x0CArray(UInt8)\x01\x00\xBD\xEF\xBF\xBD\xEF\xBF\xBD\xEF'); -- { serverError CANNOT_EXTRACT_TABLE_STRUCTURE }). diff --git a/parser/testdata/02426_to_string_nullable_fixedstring/explain.txt b/parser/testdata/02426_to_string_nullable_fixedstring/explain.txt new file mode 100644 index 000000000..87e7cbb53 --- /dev/null +++ b/parser/testdata/02426_to_string_nullable_fixedstring/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 3) + Function CAST (alias s) (children 1) + ExpressionList (children 2) + Literal \'a\' + Literal \'Nullable(FixedString(1))\' + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier s + Function toString (children 1) + ExpressionList (children 1) + Identifier s diff --git a/parser/testdata/02427_column_nullable_ubsan/explain.txt b/parser/testdata/02427_column_nullable_ubsan/explain.txt new file mode 100644 index 000000000..e729d9ad0 --- /dev/null +++ b/parser/testdata/02427_column_nullable_ubsan/explain.txt @@ -0,0 +1,44 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 3) + Literal UInt64_0 (alias a) + Function toNullable (alias b) (children 1) + ExpressionList (children 1) + Identifier number + Function toString (alias c) (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal Float64_1000000 + ExpressionList (children 3) + OrderByElement (children 1) + Identifier a + OrderByElement (children 1) + Identifier b + OrderByElement (children 1) + Identifier c + Literal UInt64_1500 + Literal UInt64_10 diff --git a/parser/testdata/02427_msan_group_array_resample/explain.txt b/parser/testdata/02427_msan_group_array_resample/explain.txt new file mode 100644 index 000000000..612319d5a --- /dev/null +++ b/parser/testdata/02427_msan_group_array_resample/explain.txt @@ -0,0 +1,51 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function arrayMap (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function finalizeAggregation (children 1) + ExpressionList (children 1) + Identifier x + Identifier state + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function groupArrayResample (children 2) + ExpressionList (children 2) + Identifier number + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_3 + ExpressionList (children 3) + Literal UInt64_9223372036854775806 + Literal UInt64_1048575 + Literal UInt64_65537 + Function groupArrayStateResample (alias state) (children 2) + ExpressionList (children 2) + Identifier number + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_9223372036854775806 + ExpressionList (children 3) + Literal UInt64_10 + Literal UInt64_2147483648 + Literal UInt64_65535 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_100 diff --git a/parser/testdata/02427_mutate_and_zero_copy_replication_zookeeper/explain.txt b/parser/testdata/02427_mutate_and_zero_copy_replication_zookeeper/explain.txt new file mode 100644 index 000000000..f6c23d954 --- /dev/null +++ b/parser/testdata/02427_mutate_and_zero_copy_replication_zookeeper/explain.txt @@ -0,0 +1,2 @@ +DropQuery mutate_and_zero_copy_replication1 (children 1) + Identifier mutate_and_zero_copy_replication1 diff --git a/parser/testdata/02428_batch_nullable_assert/metadata.json b/parser/testdata/02428_batch_nullable_assert/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02428_batch_nullable_assert/metadata.json +++ b/parser/testdata/02428_batch_nullable_assert/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02428_combinators_with_over_statement/explain.txt b/parser/testdata/02428_combinators_with_over_statement/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/02428_combinators_with_over_statement/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/02428_decimal_in_floating_point_literal/explain.txt b/parser/testdata/02428_decimal_in_floating_point_literal/explain.txt new file mode 100644 index 000000000..4b3abf7b6 --- /dev/null +++ b/parser/testdata/02428_decimal_in_floating_point_literal/explain.txt @@ -0,0 +1,2 @@ +DropQuery decimal_in_float_test (children 1) + Identifier decimal_in_float_test diff --git a/parser/testdata/02428_delete_with_settings/explain.txt b/parser/testdata/02428_delete_with_settings/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/02428_delete_with_settings/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/02428_index_analysis_with_null_literal/explain.txt b/parser/testdata/02428_index_analysis_with_null_literal/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/02428_index_analysis_with_null_literal/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/02428_parameterized_view_param_in_select_section/metadata.json b/parser/testdata/02428_parameterized_view_param_in_select_section/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02428_parameterized_view_param_in_select_section/metadata.json +++ b/parser/testdata/02428_parameterized_view_param_in_select_section/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02428_partial_sort_optimization_bug/explain.txt b/parser/testdata/02428_partial_sort_optimization_bug/explain.txt new file mode 100644 index 000000000..7d5468260 --- /dev/null +++ b/parser/testdata/02428_partial_sort_optimization_bug/explain.txt @@ -0,0 +1,11 @@ +CreateQuery partial_sort_opt_bug (children 3) + Identifier partial_sort_opt_bug + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration x (children 1) + DataType UInt64 + Storage definition (children 3) + Function MergeTree + Function tuple (children 1) + ExpressionList + Set diff --git a/parser/testdata/02429_combinators_in_array_reduce/explain.txt b/parser/testdata/02429_combinators_in_array_reduce/explain.txt new file mode 100644 index 000000000..a1cbd7f9b --- /dev/null +++ b/parser/testdata/02429_combinators_in_array_reduce/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayReduce (children 1) + ExpressionList (children 2) + Literal \'uniqStateMap\' + Function array (children 1) + ExpressionList (children 1) + Function map (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal UInt64_2 diff --git a/parser/testdata/02429_groupBitmap_chain_state/explain.txt b/parser/testdata/02429_groupBitmap_chain_state/explain.txt new file mode 100644 index 000000000..a47ae903e --- /dev/null +++ b/parser/testdata/02429_groupBitmap_chain_state/explain.txt @@ -0,0 +1,27 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function groupBitmapAnd (alias y) (children 1) + ExpressionList (children 1) + Identifier z + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function groupBitmapState (alias z) (children 1) + ExpressionList (children 1) + Identifier u + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias a1) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_123 (alias u) diff --git a/parser/testdata/02429_offset_pipeline_stuck_bug/explain.txt b/parser/testdata/02429_offset_pipeline_stuck_bug/explain.txt new file mode 100644 index 000000000..bbeb57fa6 --- /dev/null +++ b/parser/testdata/02429_offset_pipeline_stuck_bug/explain.txt @@ -0,0 +1,14 @@ +CreateQuery t (children 3) + Identifier t + Storage definition (children 1) + Function Log + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_20 diff --git a/parser/testdata/02430_bitmap_transform_exception_code/explain.txt b/parser/testdata/02430_bitmap_transform_exception_code/explain.txt new file mode 100644 index 000000000..6de37cbb6 --- /dev/null +++ b/parser/testdata/02430_bitmap_transform_exception_code/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function bitmapTransform (children 1) + ExpressionList (children 3) + Function arrayReduce (children 1) + ExpressionList (children 2) + Literal \'groupBitmapState\' + Literal Array_[UInt64_1] + Literal Array_[UInt64_1, UInt64_2] + Literal Array_[UInt64_1, UInt64_2, UInt64_3] +The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT bitmapTransform(arrayReduce('groupBitmapState', [1]), [1, 2], [1, 2, 3]); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/02430_initialize_aggregation_with_combinators/explain.txt b/parser/testdata/02430_initialize_aggregation_with_combinators/explain.txt new file mode 100644 index 000000000..66be42360 --- /dev/null +++ b/parser/testdata/02430_initialize_aggregation_with_combinators/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function initializeAggregation (children 1) + ExpressionList (children 2) + Literal \'uniqStateMap\' + Function map (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal UInt64_2 diff --git a/parser/testdata/02431_single_value_or_null_empty/explain.txt b/parser/testdata/02431_single_value_or_null_empty/explain.txt new file mode 100644 index 000000000..36396d030 --- /dev/null +++ b/parser/testdata/02431_single_value_or_null_empty/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function singleValueOrNull (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_0 diff --git a/parser/testdata/02433_default_expression_operator_in/explain.txt b/parser/testdata/02433_default_expression_operator_in/explain.txt new file mode 100644 index 000000000..8b00c7b20 --- /dev/null +++ b/parser/testdata/02433_default_expression_operator_in/explain.txt @@ -0,0 +1,2 @@ +DropQuery dep (children 1) + Identifier dep diff --git a/parser/testdata/02436_system_zookeeper_context/explain.txt b/parser/testdata/02436_system_zookeeper_context/explain.txt new file mode 100644 index 000000000..38773513b --- /dev/null +++ b/parser/testdata/02436_system_zookeeper_context/explain.txt @@ -0,0 +1,2 @@ +DropQuery mt (children 1) + Identifier mt diff --git a/parser/testdata/02438_sync_replica_lightweight/explain.txt b/parser/testdata/02438_sync_replica_lightweight/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02438_sync_replica_lightweight/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02439_merge_selecting_partitions/explain.txt b/parser/testdata/02439_merge_selecting_partitions/explain.txt new file mode 100644 index 000000000..4f80957a1 --- /dev/null +++ b/parser/testdata/02439_merge_selecting_partitions/explain.txt @@ -0,0 +1,2 @@ +DropQuery rmt (children 1) + Identifier rmt diff --git a/parser/testdata/02440_mutations_finalization/explain.txt b/parser/testdata/02440_mutations_finalization/explain.txt new file mode 100644 index 000000000..bc52595d9 --- /dev/null +++ b/parser/testdata/02440_mutations_finalization/explain.txt @@ -0,0 +1,13 @@ +CreateQuery mut (children 3) + Identifier mut + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration n (children 1) + DataType int + Storage definition (children 2) + Function ReplicatedMergeTree (children 1) + ExpressionList (children 2) + Literal \'/test/02440/{database}/mut\' + Literal \'1\' + Function tuple (children 1) + ExpressionList diff --git a/parser/testdata/02441_alter_delete_and_drop_column/explain.txt b/parser/testdata/02441_alter_delete_and_drop_column/explain.txt new file mode 100644 index 000000000..0890f3f21 --- /dev/null +++ b/parser/testdata/02441_alter_delete_and_drop_column/explain.txt @@ -0,0 +1,16 @@ +CreateQuery mut (children 3) + Identifier mut + Columns definition (children 1) + ExpressionList (children 3) + ColumnDeclaration n (children 1) + DataType int + ColumnDeclaration m (children 1) + DataType int + ColumnDeclaration k (children 1) + DataType int + Storage definition (children 2) + Function ReplicatedMergeTree (children 1) + ExpressionList (children 2) + Literal \'/test/02441/{database}/mut\' + Literal \'1\' + Identifier n diff --git a/parser/testdata/02442_auxiliary_zookeeper_endpoint_id/explain.txt b/parser/testdata/02442_auxiliary_zookeeper_endpoint_id/explain.txt new file mode 100644 index 000000000..de2cac435 --- /dev/null +++ b/parser/testdata/02442_auxiliary_zookeeper_endpoint_id/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1_r1 (children 1) + Identifier t1_r1 diff --git a/parser/testdata/02448_clone_replica_lost_part/explain.txt b/parser/testdata/02448_clone_replica_lost_part/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02448_clone_replica_lost_part/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02449_check_dependencies_and_table_shutdown/explain.txt b/parser/testdata/02449_check_dependencies_and_table_shutdown/explain.txt new file mode 100644 index 000000000..811ae32e9 --- /dev/null +++ b/parser/testdata/02449_check_dependencies_and_table_shutdown/explain.txt @@ -0,0 +1,2 @@ +DropQuery table (children 1) + Identifier table diff --git a/parser/testdata/02451_variadic_null_garbage_data/explain.txt b/parser/testdata/02451_variadic_null_garbage_data/explain.txt new file mode 100644 index 000000000..dffbbd090 --- /dev/null +++ b/parser/testdata/02451_variadic_null_garbage_data/explain.txt @@ -0,0 +1,36 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function argMax (alias t) (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 2) + Identifier n + Identifier n + Identifier n + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier t + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function if (alias n) (children 1) + ExpressionList (children 3) + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_100 + Literal NULL + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 diff --git a/parser/testdata/02452_check_low_cardinality/explain.txt b/parser/testdata/02452_check_low_cardinality/explain.txt new file mode 100644 index 000000000..8f88157db --- /dev/null +++ b/parser/testdata/02452_check_low_cardinality/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_low_cardinality_string (children 1) + Identifier test_low_cardinality_string diff --git a/parser/testdata/02452_json_utf8_validation/explain.txt b/parser/testdata/02452_json_utf8_validation/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02452_json_utf8_validation/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02453_check_path_in_errors_logger/explain.txt b/parser/testdata/02453_check_path_in_errors_logger/explain.txt new file mode 100644 index 000000000..2ba0e78c8 --- /dev/null +++ b/parser/testdata/02453_check_path_in_errors_logger/explain.txt @@ -0,0 +1,12 @@ +InsertQuery (children 3) + Function file (children 1) + ExpressionList (children 2) + Identifier 02453_data.jsonl + Identifier TSV + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Literal UInt64_1 + Set + Set diff --git a/parser/testdata/02454_compressed_marks_in_compact_part/explain.txt b/parser/testdata/02454_compressed_marks_in_compact_part/explain.txt new file mode 100644 index 000000000..c224dae48 --- /dev/null +++ b/parser/testdata/02454_compressed_marks_in_compact_part/explain.txt @@ -0,0 +1,2 @@ +DropQuery cc (children 1) + Identifier cc diff --git a/parser/testdata/02454_disable_mergetree_with_lightweight_delete_column/explain.txt b/parser/testdata/02454_disable_mergetree_with_lightweight_delete_column/explain.txt new file mode 100644 index 000000000..d34f77e0b --- /dev/null +++ b/parser/testdata/02454_disable_mergetree_with_lightweight_delete_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_row_exists (children 1) + Identifier t_row_exists diff --git a/parser/testdata/02454_json_object_each_row_column_for_object_name/explain.txt b/parser/testdata/02454_json_object_each_row_column_for_object_name/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02454_json_object_each_row_column_for_object_name/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02455_count_state_asterisk/explain.txt b/parser/testdata/02455_count_state_asterisk/explain.txt new file mode 100644 index 000000000..3b8a0aad6 --- /dev/null +++ b/parser/testdata/02455_count_state_asterisk/explain.txt @@ -0,0 +1,2 @@ +DropQuery a (children 1) + Identifier a diff --git a/parser/testdata/02455_duplicate_column_names_in_schema_inference/explain.txt b/parser/testdata/02455_duplicate_column_names_in_schema_inference/explain.txt new file mode 100644 index 000000000..066d43b05 --- /dev/null +++ b/parser/testdata/02455_duplicate_column_names_in_schema_inference/explain.txt @@ -0,0 +1,7 @@ +DescribeQuery (children 1) + TableExpression (children 1) + Function format (children 1) + ExpressionList (children 2) + Identifier JSONEachRow + Literal \'{"x" : 1, "x" : 2}\' +The query succeeded but the server error '636' was expected (query: EXPLAIN AST desc format(JSONEachRow, '{"x" : 1, "x" : 2}'); -- {serverError CANNOT_EXTRACT_TABLE_STRUCTURE}). diff --git a/parser/testdata/02455_extract_fixed_string_from_nested_json/explain.txt b/parser/testdata/02455_extract_fixed_string_from_nested_json/explain.txt new file mode 100644 index 000000000..74b545005 --- /dev/null +++ b/parser/testdata/02455_extract_fixed_string_from_nested_json/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_fixed_string_nested_json (children 1) + Identifier test_fixed_string_nested_json diff --git a/parser/testdata/02455_improve_feedback_when_replacing_partition_with_different_primary_key/explain.txt b/parser/testdata/02455_improve_feedback_when_replacing_partition_with_different_primary_key/explain.txt new file mode 100644 index 000000000..4f76466c7 --- /dev/null +++ b/parser/testdata/02455_improve_feedback_when_replacing_partition_with_different_primary_key/explain.txt @@ -0,0 +1,19 @@ +CreateQuery test_a (children 3) + Identifier test_a + Columns definition (children 1) + ExpressionList (children 3) + ColumnDeclaration id (children 1) + DataType UInt32 + ColumnDeclaration company (children 1) + DataType UInt32 + ColumnDeclaration total (children 1) + DataType UInt64 + Storage definition (children 4) + Function SummingMergeTree (children 1) + ExpressionList + Identifier company + Identifier id + Function tuple (children 1) + ExpressionList (children 2) + Identifier id + Identifier company diff --git a/parser/testdata/02456_BLAKE3_hash_function_test/explain.txt b/parser/testdata/02456_BLAKE3_hash_function_test/explain.txt new file mode 100644 index 000000000..5af23dc11 --- /dev/null +++ b/parser/testdata/02456_BLAKE3_hash_function_test/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function hex (children 1) + ExpressionList (children 1) + Function BLAKE3 (children 1) + ExpressionList (children 1) + Literal \'test_1\' diff --git a/parser/testdata/02456_aggregate_state_conversion/explain.txt b/parser/testdata/02456_aggregate_state_conversion/explain.txt new file mode 100644 index 000000000..ba496ddb0 --- /dev/null +++ b/parser/testdata/02456_aggregate_state_conversion/explain.txt @@ -0,0 +1,29 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function hex (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Identifier x + Literal \'AggregateFunction(sum, Decimal(50, 10))\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayReduce (alias x) (children 1) + ExpressionList (children 2) + Literal \'sumState\' + Function array (children 1) + ExpressionList (children 1) + Function toDecimal256 (children 1) + ExpressionList (children 2) + Literal \'0.0000010.000001\' + Literal UInt64_10 + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/02456_alter-nullable-column-bag-2/explain.txt b/parser/testdata/02456_alter-nullable-column-bag-2/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/02456_alter-nullable-column-bag-2/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/02456_alter-nullable-column-bag/explain.txt b/parser/testdata/02456_alter-nullable-column-bag/explain.txt new file mode 100644 index 000000000..0d9599f6d --- /dev/null +++ b/parser/testdata/02456_alter-nullable-column-bag/explain.txt @@ -0,0 +1,2 @@ +DropQuery column_modify_test (children 1) + Identifier column_modify_test diff --git a/parser/testdata/02456_datetime_schema_inference/explain.txt b/parser/testdata/02456_datetime_schema_inference/explain.txt new file mode 100644 index 000000000..9913b871a --- /dev/null +++ b/parser/testdata/02456_datetime_schema_inference/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function format (children 1) + ExpressionList (children 2) + Literal \'TSV\' + Literal \'222222222222222\' diff --git a/parser/testdata/02456_keeper_retries_during_insert/explain.txt b/parser/testdata/02456_keeper_retries_during_insert/explain.txt new file mode 100644 index 000000000..945452d8a --- /dev/null +++ b/parser/testdata/02456_keeper_retries_during_insert/explain.txt @@ -0,0 +1,2 @@ +DropQuery keeper_retries_r1 (children 1) + Identifier keeper_retries_r1 diff --git a/parser/testdata/02456_summing_mt_lc/explain.txt b/parser/testdata/02456_summing_mt_lc/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02456_summing_mt_lc/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02457_datediff_via_unix_epoch/explain.txt b/parser/testdata/02457_datediff_via_unix_epoch/explain.txt new file mode 100644 index 000000000..3ae96e02e --- /dev/null +++ b/parser/testdata/02457_datediff_via_unix_epoch/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal \'year\' + Function dateDiff (children 1) + ExpressionList (children 3) + Literal \'year\' + Function toDate32 (children 1) + ExpressionList (children 1) + Literal \'1969-12-25\' + Function toDate32 (children 1) + ExpressionList (children 1) + Literal \'1970-01-05\' diff --git a/parser/testdata/02457_filesystem_function/explain.txt b/parser/testdata/02457_filesystem_function/explain.txt new file mode 100644 index 000000000..bb605ba13 --- /dev/null +++ b/parser/testdata/02457_filesystem_function/explain.txt @@ -0,0 +1,22 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function and (children 1) + ExpressionList (children 2) + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Function filesystemCapacity (children 1) + ExpressionList (children 1) + Literal \'s3_disk\' + Function filesystemAvailable (children 1) + ExpressionList (children 1) + Literal \'s3_disk\' + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Function filesystemAvailable (children 1) + ExpressionList (children 1) + Literal \'s3_disk\' + Function filesystemUnreserved (children 1) + ExpressionList (children 1) + Literal \'s3_disk\' diff --git a/parser/testdata/02457_key_condition_with_types_that_cannot_be_nullable/explain.txt b/parser/testdata/02457_key_condition_with_types_that_cannot_be_nullable/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/02457_key_condition_with_types_that_cannot_be_nullable/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/02457_morton_coding/explain.txt b/parser/testdata/02457_morton_coding/explain.txt new file mode 100644 index 000000000..6eedb877e --- /dev/null +++ b/parser/testdata/02457_morton_coding/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'----- START -----\' diff --git a/parser/testdata/02457_morton_coding_with_mask/explain.txt b/parser/testdata/02457_morton_coding_with_mask/explain.txt new file mode 100644 index 000000000..6eedb877e --- /dev/null +++ b/parser/testdata/02457_morton_coding_with_mask/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'----- START -----\' diff --git a/parser/testdata/02457_parse_date_time_best_effort/explain.txt b/parser/testdata/02457_parse_date_time_best_effort/explain.txt new file mode 100644 index 000000000..0dd3f4c2e --- /dev/null +++ b/parser/testdata/02457_parse_date_time_best_effort/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function parseDateTimeBestEffort (children 1) + ExpressionList (children 1) + Literal \'01/12/2017, 18:31:44\' diff --git a/parser/testdata/02457_s3_cluster_schema_inference/explain.txt b/parser/testdata/02457_s3_cluster_schema_inference/explain.txt new file mode 100644 index 000000000..8ea238f87 --- /dev/null +++ b/parser/testdata/02457_s3_cluster_schema_inference/explain.txt @@ -0,0 +1,6 @@ +DescribeQuery (children 1) + TableExpression (children 1) + Function s3Cluster (children 1) + ExpressionList (children 2) + Literal \'test_cluster_one_shard_three_replicas_localhost\' + Literal \'http://localhost:11111/test/{a,b}.tsv\' diff --git a/parser/testdata/02457_tuple_of_intervals/explain.txt b/parser/testdata/02457_tuple_of_intervals/explain.txt new file mode 100644 index 000000000..379669712 --- /dev/null +++ b/parser/testdata/02457_tuple_of_intervals/explain.txt @@ -0,0 +1,19 @@ +Explain EXPLAIN SYNTAX (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList (children 4) + Function toIntervalSecond (children 1) + ExpressionList (children 1) + Literal Int64_-1 + Function toIntervalMinute (children 1) + ExpressionList (children 1) + Literal UInt64_2 + Function toIntervalMonth (children 1) + ExpressionList (children 1) + Literal Int64_-3 + Function toIntervalYear (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/02458_datediff_date32/explain.txt b/parser/testdata/02458_datediff_date32/explain.txt new file mode 100644 index 000000000..bbae8fa74 --- /dev/null +++ b/parser/testdata/02458_datediff_date32/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function dateDiff (children 1) + ExpressionList (children 4) + Literal \'second\' + Function toDate32 (children 1) + ExpressionList (children 2) + Literal \'1927-01-01\' + Literal \'UTC\' + Function toDate32 (children 1) + ExpressionList (children 2) + Literal \'1927-01-02\' + Literal \'UTC\' + Literal \'UTC\' diff --git a/parser/testdata/02458_default_setting/explain.txt b/parser/testdata/02458_default_setting/explain.txt new file mode 100644 index 000000000..4a604c7f0 --- /dev/null +++ b/parser/testdata/02458_default_setting/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier value + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.settings + Function equals (children 1) + ExpressionList (children 2) + Identifier name + Literal \'max_insert_block_size\' diff --git a/parser/testdata/02458_key_condition_not_like_prefix/explain.txt b/parser/testdata/02458_key_condition_not_like_prefix/explain.txt new file mode 100644 index 000000000..6c7f5309d --- /dev/null +++ b/parser/testdata/02458_key_condition_not_like_prefix/explain.txt @@ -0,0 +1,9 @@ +CreateQuery data (children 3) + Identifier data + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration str (children 1) + DataType String + Storage definition (children 2) + Function MergeTree + Identifier str diff --git a/parser/testdata/02458_relax_too_many_parts/explain.txt b/parser/testdata/02458_relax_too_many_parts/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/02458_relax_too_many_parts/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/02458_use_structure_from_insertion_table/explain.txt b/parser/testdata/02458_use_structure_from_insertion_table/explain.txt new file mode 100644 index 000000000..485745b87 --- /dev/null +++ b/parser/testdata/02458_use_structure_from_insertion_table/explain.txt @@ -0,0 +1,12 @@ +InsertQuery (children 3) + Function file (children 1) + ExpressionList (children 1) + Identifier 02458_data.jsonl + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Literal NULL (alias x) + Literal UInt64_42 (alias y) + Set + Set diff --git a/parser/testdata/02459_group_by_all/explain.txt b/parser/testdata/02459_group_by_all/explain.txt new file mode 100644 index 000000000..154df7563 --- /dev/null +++ b/parser/testdata/02459_group_by_all/explain.txt @@ -0,0 +1,2 @@ +DropQuery group_by_all (children 1) + Identifier group_by_all diff --git a/parser/testdata/02459_low_cardinality_uint128_aggregator/explain.txt b/parser/testdata/02459_low_cardinality_uint128_aggregator/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02459_low_cardinality_uint128_aggregator/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02459_materialized_view_default_value/explain.txt b/parser/testdata/02459_materialized_view_default_value/explain.txt new file mode 100644 index 000000000..29ee41fe4 --- /dev/null +++ b/parser/testdata/02459_materialized_view_default_value/explain.txt @@ -0,0 +1,2 @@ +DropQuery session (children 1) + Identifier session diff --git a/parser/testdata/02459_read_in_order_bufer/explain.txt b/parser/testdata/02459_read_in_order_bufer/explain.txt new file mode 100644 index 000000000..d676c2837 --- /dev/null +++ b/parser/testdata/02459_read_in_order_bufer/explain.txt @@ -0,0 +1,9 @@ +CreateQuery mytable_stored (children 3) + Identifier mytable_stored + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration a (children 1) + DataType UInt8 + Storage definition (children 2) + Function MergeTree + Identifier a diff --git a/parser/testdata/02460_prewhere_row_level_policy/explain.txt b/parser/testdata/02460_prewhere_row_level_policy/explain.txt new file mode 100644 index 000000000..285a2a9fa --- /dev/null +++ b/parser/testdata/02460_prewhere_row_level_policy/explain.txt @@ -0,0 +1,2 @@ +DropQuery row_level_policy_prewhere (children 1) + Identifier row_level_policy_prewhere diff --git a/parser/testdata/02461_alter_update_respect_part_column_type_bug/explain.txt b/parser/testdata/02461_alter_update_respect_part_column_type_bug/explain.txt new file mode 100644 index 000000000..86d217994 --- /dev/null +++ b/parser/testdata/02461_alter_update_respect_part_column_type_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery src (children 1) + Identifier src diff --git a/parser/testdata/02461_join_lc_issue_42380/explain.txt b/parser/testdata/02461_join_lc_issue_42380/explain.txt new file mode 100644 index 000000000..86cd1a349 --- /dev/null +++ b/parser/testdata/02461_join_lc_issue_42380/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1__fuzz_13 (children 1) + Identifier t1__fuzz_13 diff --git a/parser/testdata/02461_mullable_pk_monotonicity_bug/explain.txt b/parser/testdata/02461_mullable_pk_monotonicity_bug/explain.txt new file mode 100644 index 000000000..68fbaf4cd --- /dev/null +++ b/parser/testdata/02461_mullable_pk_monotonicity_bug/explain.txt @@ -0,0 +1,12 @@ +CreateQuery tab (children 3) + Identifier tab + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration x (children 1) + DataType Nullable (children 1) + ExpressionList (children 1) + DataType UInt8 + Storage definition (children 3) + Function MergeTree + Identifier x + Set diff --git a/parser/testdata/02461_welch_t_test_fuzz/explain.txt b/parser/testdata/02461_welch_t_test_fuzz/explain.txt new file mode 100644 index 000000000..64d5b7023 --- /dev/null +++ b/parser/testdata/02461_welch_t_test_fuzz/explain.txt @@ -0,0 +1,2 @@ +DropQuery welch_ttest__fuzz_7 (children 1) + Identifier welch_ttest__fuzz_7 diff --git a/parser/testdata/02462_distributions/metadata.json b/parser/testdata/02462_distributions/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02462_distributions/metadata.json +++ b/parser/testdata/02462_distributions/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02462_match_regexp_pk/explain.txt b/parser/testdata/02462_match_regexp_pk/explain.txt new file mode 100644 index 000000000..c94cad4b3 --- /dev/null +++ b/parser/testdata/02462_match_regexp_pk/explain.txt @@ -0,0 +1,10 @@ +CreateQuery mt_match_pk (children 3) + Identifier mt_match_pk + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration v (children 1) + DataType String + Storage definition (children 3) + Function MergeTree + Identifier v + Set diff --git a/parser/testdata/02462_number_to_datetype/explain.txt b/parser/testdata/02462_number_to_datetype/explain.txt new file mode 100644 index 000000000..4b1a8e231 --- /dev/null +++ b/parser/testdata/02462_number_to_datetype/explain.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 4) + Function toYYYYMMDD (children 1) + ExpressionList (children 1) + Function toDate (children 1) + ExpressionList (children 2) + Identifier recordTimestamp + Literal \'Europe/Amsterdam\' + Function toDate (children 1) + ExpressionList (children 2) + Identifier recordTimestamp + Literal \'Europe/Amsterdam\' + Function toInt64 (alias recordTimestamp) (children 1) + ExpressionList (children 1) + Literal UInt64_1665519765 + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier recordTimestamp diff --git a/parser/testdata/02463_julian_day_ubsan/explain.txt b/parser/testdata/02463_julian_day_ubsan/explain.txt new file mode 100644 index 000000000..b20930648 --- /dev/null +++ b/parser/testdata/02463_julian_day_ubsan/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function fromModifiedJulianDay (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Literal \'9223372036854775807\' + Literal \'Int64\' +The query succeeded but the server error '490' was expected (query: EXPLAIN AST SELECT fromModifiedJulianDay(9223372036854775807 :: Int64); -- { serverError CANNOT_FORMAT_DATETIME }). diff --git a/parser/testdata/02464_decimal_scale_buffer_overflow/explain.txt b/parser/testdata/02464_decimal_scale_buffer_overflow/explain.txt new file mode 100644 index 000000000..8db71c43f --- /dev/null +++ b/parser/testdata/02464_decimal_scale_buffer_overflow/explain.txt @@ -0,0 +1,2 @@ +DropQuery series__fuzz_35 (children 1) + Identifier series__fuzz_35 diff --git a/parser/testdata/02465_limit_trivial_max_rows_to_read/explain.txt b/parser/testdata/02465_limit_trivial_max_rows_to_read/explain.txt new file mode 100644 index 000000000..7d6630688 --- /dev/null +++ b/parser/testdata/02465_limit_trivial_max_rows_to_read/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_max_rows_to_read (children 1) + Identifier t_max_rows_to_read diff --git a/parser/testdata/02466_distributed_query_profiler/metadata.json b/parser/testdata/02466_distributed_query_profiler/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02466_distributed_query_profiler/metadata.json +++ b/parser/testdata/02466_distributed_query_profiler/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02467_cross_join_three_table_functions/explain.txt b/parser/testdata/02467_cross_join_three_table_functions/explain.txt new file mode 100644 index 000000000..fa6e66a1a --- /dev/null +++ b/parser/testdata/02467_cross_join_three_table_functions/explain.txt @@ -0,0 +1,25 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function count (children 1) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 3) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (alias a) (children 1) + ExpressionList (children 1) + Literal UInt64_10 + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Function numbers (alias b) (children 1) + ExpressionList (children 1) + Literal UInt64_11 + TableJoin + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Function numbers (alias c) (children 1) + ExpressionList (children 1) + Literal UInt64_12 + TableJoin diff --git a/parser/testdata/02467_set_with_lowcardinality_type/explain.txt b/parser/testdata/02467_set_with_lowcardinality_type/explain.txt new file mode 100644 index 000000000..fa9008e69 --- /dev/null +++ b/parser/testdata/02467_set_with_lowcardinality_type/explain.txt @@ -0,0 +1,2 @@ +DropQuery bloom_filter_nullable_index__fuzz_0 (children 1) + Identifier bloom_filter_nullable_index__fuzz_0 diff --git a/parser/testdata/02468_has_any_tuple/explain.txt b/parser/testdata/02468_has_any_tuple/explain.txt new file mode 100644 index 000000000..6ff7d166b --- /dev/null +++ b/parser/testdata/02468_has_any_tuple/explain.txt @@ -0,0 +1,26 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList (children 2) + Function toUInt8 (children 1) + ExpressionList (children 1) + Literal UInt64_3 + Function toUInt8 (children 1) + ExpressionList (children 1) + Literal UInt64_3 + Function array (children 1) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList (children 2) + Function toInt16 (children 1) + ExpressionList (children 1) + Literal UInt64_3 + Function toInt16 (children 1) + ExpressionList (children 1) + Literal UInt64_3 diff --git a/parser/testdata/02469_fix_aliases_parser/explain.txt b/parser/testdata/02469_fix_aliases_parser/explain.txt new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/parser/testdata/02469_fix_aliases_parser/explain.txt @@ -0,0 +1 @@ + diff --git a/parser/testdata/02469_interval_msan/explain.txt b/parser/testdata/02469_interval_msan/explain.txt new file mode 100644 index 000000000..a89c7d582 --- /dev/null +++ b/parser/testdata/02469_interval_msan/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function plus (children 1) + ExpressionList (children 2) + Function now (children 1) + ExpressionList + Function CAST (children 1) + ExpressionList (children 2) + Literal \'1\' + Literal \'Int128\' +The query succeeded but the server error '43' was expected (query: EXPLAIN AST SELECT now() + 1::Int128; -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }). diff --git a/parser/testdata/02470_suspicious_low_cardinality_msan/explain.txt b/parser/testdata/02470_suspicious_low_cardinality_msan/explain.txt new file mode 100644 index 000000000..734cbc5e7 --- /dev/null +++ b/parser/testdata/02470_suspicious_low_cardinality_msan/explain.txt @@ -0,0 +1,2 @@ +DropQuery alias_2__fuzz_25 (children 1) + Identifier alias_2__fuzz_25 diff --git a/parser/testdata/02471_wrong_date_monotonicity/explain.txt b/parser/testdata/02471_wrong_date_monotonicity/explain.txt new file mode 100644 index 000000000..ac5871b7a --- /dev/null +++ b/parser/testdata/02471_wrong_date_monotonicity/explain.txt @@ -0,0 +1,2 @@ +DropQuery tdm__fuzz_23 (children 1) + Identifier tdm__fuzz_23 diff --git a/parser/testdata/02472_segfault_expression_parser/explain.txt b/parser/testdata/02472_segfault_expression_parser/explain.txt new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/parser/testdata/02472_segfault_expression_parser/explain.txt @@ -0,0 +1 @@ + diff --git a/parser/testdata/02473_extract_low_cardinality_from_json/explain.txt b/parser/testdata/02473_extract_low_cardinality_from_json/explain.txt new file mode 100644 index 000000000..ff380ef93 --- /dev/null +++ b/parser/testdata/02473_extract_low_cardinality_from_json/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function JSONExtract (children 1) + ExpressionList (children 2) + Literal \'{"a" : {"b" : {"c" : 1, "d" : "str"}}}\' + Literal \'Tuple( a LowCardinality(String), b LowCardinality(String), c LowCardinality(String), d LowCardinality(String))\' diff --git a/parser/testdata/02473_map_element_nullable/explain.txt b/parser/testdata/02473_map_element_nullable/explain.txt new file mode 100644 index 000000000..16572b3bd --- /dev/null +++ b/parser/testdata/02473_map_element_nullable/explain.txt @@ -0,0 +1,29 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function map (alias m) (children 1) + ExpressionList (children 4) + Literal UInt64_1 + Literal UInt64_2 + Literal UInt64_3 + Literal NULL + ExpressionList (children 3) + Function arrayElement (children 1) + ExpressionList (children 2) + Identifier m + Function toNullable (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Function arrayElement (children 1) + ExpressionList (children 2) + Identifier m + Function toNullable (children 1) + ExpressionList (children 1) + Literal UInt64_2 + Function arrayElement (children 1) + ExpressionList (children 2) + Identifier m + Function toNullable (children 1) + ExpressionList (children 1) + Literal UInt64_3 diff --git a/parser/testdata/02473_prewhere_with_bigint/explain.txt b/parser/testdata/02473_prewhere_with_bigint/explain.txt new file mode 100644 index 000000000..92900103f --- /dev/null +++ b/parser/testdata/02473_prewhere_with_bigint/explain.txt @@ -0,0 +1,2 @@ +DropQuery prewhere_int128 (children 1) + Identifier prewhere_int128 diff --git a/parser/testdata/02474_analyzer_subqueries_table_expression_modifiers/explain.txt b/parser/testdata/02474_analyzer_subqueries_table_expression_modifiers/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02474_analyzer_subqueries_table_expression_modifiers/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02474_create_user_query_fuzzer_bug/explain.txt b/parser/testdata/02474_create_user_query_fuzzer_bug/explain.txt new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/parser/testdata/02474_create_user_query_fuzzer_bug/explain.txt @@ -0,0 +1 @@ + diff --git a/parser/testdata/02474_extract_fixedstring_from_json/explain.txt b/parser/testdata/02474_extract_fixedstring_from_json/explain.txt new file mode 100644 index 000000000..ccc2d50cc --- /dev/null +++ b/parser/testdata/02474_extract_fixedstring_from_json/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function JSONExtract (children 1) + ExpressionList (children 2) + Literal \'{"a": 123456}\' + Literal \'FixedString(11)\' diff --git a/parser/testdata/02474_fix_function_parser_bug/explain.txt b/parser/testdata/02474_fix_function_parser_bug/explain.txt new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/parser/testdata/02474_fix_function_parser_bug/explain.txt @@ -0,0 +1 @@ + diff --git a/parser/testdata/02474_timeDiff_UTCTimestamp/explain.txt b/parser/testdata/02474_timeDiff_UTCTimestamp/explain.txt new file mode 100644 index 000000000..9fc62a153 --- /dev/null +++ b/parser/testdata/02474_timeDiff_UTCTimestamp/explain.txt @@ -0,0 +1,26 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function lessOrEquals (children 1) + ExpressionList (children 2) + Function minus (children 1) + ExpressionList (children 2) + Function dateDiff (children 1) + ExpressionList (children 3) + Literal \'second\' + Function toDate32 (children 1) + ExpressionList (children 1) + Literal \'1927-01-01\' + Function toDate32 (children 1) + ExpressionList (children 1) + Literal \'1927-01-02\' + Function timeDiff (children 1) + ExpressionList (children 2) + Function toDate32 (children 1) + ExpressionList (children 1) + Literal \'1927-01-01\' + Function toDate32 (children 1) + ExpressionList (children 1) + Literal \'1927-01-02\' + Literal UInt64_2 diff --git a/parser/testdata/02474_unhex_in_fix_string/explain.txt b/parser/testdata/02474_unhex_in_fix_string/explain.txt new file mode 100644 index 000000000..c529d9816 --- /dev/null +++ b/parser/testdata/02474_unhex_in_fix_string/explain.txt @@ -0,0 +1,2 @@ +DropQuery unhex_in_fix_string_table (children 1) + Identifier unhex_in_fix_string_table diff --git a/parser/testdata/02475_analysis_of_variance/explain.txt b/parser/testdata/02475_analysis_of_variance/explain.txt new file mode 100644 index 000000000..bbf9d85ca --- /dev/null +++ b/parser/testdata/02475_analysis_of_variance/explain.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function analysisOfVariance (children 1) + ExpressionList (children 2) + Identifier number + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + Identifier Null diff --git a/parser/testdata/02475_analyzer_join_tree_subquery/explain.txt b/parser/testdata/02475_analyzer_join_tree_subquery/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02475_analyzer_join_tree_subquery/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02475_analyzer_subquery_compound_expression/explain.txt b/parser/testdata/02475_analyzer_subquery_compound_expression/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02475_analyzer_subquery_compound_expression/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02475_bad_cast_low_cardinality_to_string_bug/explain.txt b/parser/testdata/02475_bad_cast_low_cardinality_to_string_bug/explain.txt new file mode 100644 index 000000000..0ee99af30 --- /dev/null +++ b/parser/testdata/02475_bad_cast_low_cardinality_to_string_bug/explain.txt @@ -0,0 +1,33 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function if (alias res) (children 1) + ExpressionList (children 3) + Function materialize (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function extract (children 1) + ExpressionList (children 2) + Function materialize (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Literal \'aaaaaa\' + Literal \'LowCardinality(String)\' + Literal \'\\\\w\' + Function extract (children 1) + ExpressionList (children 2) + Function materialize (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Literal \'bbbbb\' + Literal \'LowCardinality(String)\' + Literal \'\\\\w*\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_2 diff --git a/parser/testdata/02475_date_time_schema_inference_bug/explain.txt b/parser/testdata/02475_date_time_schema_inference_bug/explain.txt new file mode 100644 index 000000000..77dc78521 --- /dev/null +++ b/parser/testdata/02475_date_time_schema_inference_bug/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function format (children 1) + ExpressionList (children 2) + Identifier CSV + Literal \'""\' diff --git a/parser/testdata/02475_join_bug_42832/explain.txt b/parser/testdata/02475_join_bug_42832/explain.txt new file mode 100644 index 000000000..f16d15dac --- /dev/null +++ b/parser/testdata/02475_join_bug_42832/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab1 (children 1) + Identifier tab1 diff --git a/parser/testdata/02475_or_function_alias_and_const_where/explain.txt b/parser/testdata/02475_or_function_alias_and_const_where/explain.txt new file mode 100644 index 000000000..5d0cc67ce --- /dev/null +++ b/parser/testdata/02475_or_function_alias_and_const_where/explain.txt @@ -0,0 +1,25 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Function and (alias value) (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_1 + Function equals (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + Function sum (children 2) + ExpressionList (children 1) + Identifier value + WindowDefinition + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Literal UInt64_1 diff --git a/parser/testdata/02475_positive_modulo/explain.txt b/parser/testdata/02475_positive_modulo/explain.txt new file mode 100644 index 000000000..48c40717b --- /dev/null +++ b/parser/testdata/02475_positive_modulo/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function positive_modulo (children 1) + ExpressionList (children 2) + Literal UInt64_1000 + Literal UInt64_32 diff --git a/parser/testdata/02475_precise_decimal_arithmetics/explain.txt b/parser/testdata/02475_precise_decimal_arithmetics/explain.txt new file mode 100644 index 000000000..ad81d59ce --- /dev/null +++ b/parser/testdata/02475_precise_decimal_arithmetics/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function divideDecimal (children 1) + ExpressionList (children 2) + Function toDecimal32 (children 1) + ExpressionList (children 2) + Literal UInt64_0 + Literal UInt64_2 + Function toDecimal128 (children 1) + ExpressionList (children 2) + Literal Float64_11.123456 + Literal UInt64_6 diff --git a/parser/testdata/02475_split_with_max_substrings/explain.txt b/parser/testdata/02475_split_with_max_substrings/explain.txt new file mode 100644 index 000000000..e2c34d24a --- /dev/null +++ b/parser/testdata/02475_split_with_max_substrings/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'-- negative tests\' diff --git a/parser/testdata/02476_analyzer_join_with_unused_columns/explain.txt b/parser/testdata/02476_analyzer_join_with_unused_columns/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02476_analyzer_join_with_unused_columns/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02476_fix_cast_parser_bug/explain.txt b/parser/testdata/02476_fix_cast_parser_bug/explain.txt new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/parser/testdata/02476_fix_cast_parser_bug/explain.txt @@ -0,0 +1 @@ + diff --git a/parser/testdata/02476_fuse_sum_count/explain.txt b/parser/testdata/02476_fuse_sum_count/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02476_fuse_sum_count/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02476_query_parameters_insert/explain.txt b/parser/testdata/02476_query_parameters_insert/explain.txt new file mode 100644 index 000000000..4b27326c1 --- /dev/null +++ b/parser/testdata/02476_query_parameters_insert/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02476_query_parameters_insert (children 1) + Identifier 02476_query_parameters_insert diff --git a/parser/testdata/02476_query_parameters_without_serialisation/explain.txt b/parser/testdata/02476_query_parameters_without_serialisation/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02476_query_parameters_without_serialisation/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02477_age/explain.txt b/parser/testdata/02477_age/explain.txt new file mode 100644 index 000000000..7a2ffbc83 --- /dev/null +++ b/parser/testdata/02477_age/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'Various intervals\' diff --git a/parser/testdata/02477_age_date32/explain.txt b/parser/testdata/02477_age_date32/explain.txt new file mode 100644 index 000000000..38477275a --- /dev/null +++ b/parser/testdata/02477_age_date32/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function age (children 1) + ExpressionList (children 4) + Literal \'second\' + Function toDate32 (children 1) + ExpressionList (children 2) + Literal \'1927-01-01\' + Literal \'UTC\' + Function toDate32 (children 1) + ExpressionList (children 2) + Literal \'1927-01-02\' + Literal \'UTC\' + Literal \'UTC\' diff --git a/parser/testdata/02477_age_datetime64/explain.txt b/parser/testdata/02477_age_datetime64/explain.txt new file mode 100644 index 000000000..1f34913cb --- /dev/null +++ b/parser/testdata/02477_age_datetime64/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function age (children 1) + ExpressionList (children 3) + Literal \'second\' + Function toDateTime64 (children 1) + ExpressionList (children 3) + Literal \'1927-01-01 00:00:00\' + Literal UInt64_0 + Literal \'UTC\' + Function toDateTime64 (children 1) + ExpressionList (children 3) + Literal \'1927-01-01 00:00:10\' + Literal UInt64_0 + Literal \'UTC\' diff --git a/parser/testdata/02477_analyzer_array_join_with_join/explain.txt b/parser/testdata/02477_analyzer_array_join_with_join/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02477_analyzer_array_join_with_join/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02477_analyzer_ast_key_condition_crash/explain.txt b/parser/testdata/02477_analyzer_ast_key_condition_crash/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02477_analyzer_ast_key_condition_crash/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02477_exists_fuzz_43478/explain.txt b/parser/testdata/02477_exists_fuzz_43478/explain.txt new file mode 100644 index 000000000..51aa311fb --- /dev/null +++ b/parser/testdata/02477_exists_fuzz_43478/explain.txt @@ -0,0 +1,9 @@ +CreateQuery test_rows_compact_part__fuzz_11 (children 3) + Identifier test_rows_compact_part__fuzz_11 + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration x (children 1) + DataType UInt32 + Storage definition (children 2) + Function MergeTree + Identifier x diff --git a/parser/testdata/02477_fuse_quantiles/explain.txt b/parser/testdata/02477_fuse_quantiles/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02477_fuse_quantiles/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02477_invalid_reads/explain.txt b/parser/testdata/02477_invalid_reads/explain.txt new file mode 100644 index 000000000..a594faad6 --- /dev/null +++ b/parser/testdata/02477_invalid_reads/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function finalizeAggregation (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Function unhex (children 1) + ExpressionList (children 1) + Literal \'0F00000030\' + Literal \'AggregateFunction(min, String)\' +The query succeeded but the server error '33' was expected (query: EXPLAIN AST SELECT finalizeAggregation(CAST(unhex('0F00000030'), 'AggregateFunction(min, String)')); -- { serverError CANNOT_READ_ALL_DATA }). diff --git a/parser/testdata/02477_is_null_parser/explain.txt b/parser/testdata/02477_is_null_parser/explain.txt new file mode 100644 index 000000000..550ebf097 --- /dev/null +++ b/parser/testdata/02477_is_null_parser/explain.txt @@ -0,0 +1,13 @@ +Explain EXPLAIN SYNTAX (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function isNotNull (children 1) + ExpressionList (children 1) + Function plus (children 1) + ExpressionList (children 2) + Function isNull (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Literal UInt64_1 diff --git a/parser/testdata/02477_logical_expressions_optimizer_issue_89803/explain.txt b/parser/testdata/02477_logical_expressions_optimizer_issue_89803/explain.txt new file mode 100644 index 000000000..3b3510cac --- /dev/null +++ b/parser/testdata/02477_logical_expressions_optimizer_issue_89803/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'Integer\' diff --git a/parser/testdata/02477_logical_expressions_optimizer_low_cardinality/explain.txt b/parser/testdata/02477_logical_expressions_optimizer_low_cardinality/explain.txt new file mode 100644 index 000000000..f2c508525 --- /dev/null +++ b/parser/testdata/02477_logical_expressions_optimizer_low_cardinality/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_logical_expressions_optimizer_low_cardinality (children 1) + Identifier t_logical_expressions_optimizer_low_cardinality diff --git a/parser/testdata/02477_single_value_data_string_regression/explain.txt b/parser/testdata/02477_single_value_data_string_regression/explain.txt new file mode 100644 index 000000000..039e9bdf7 --- /dev/null +++ b/parser/testdata/02477_single_value_data_string_regression/explain.txt @@ -0,0 +1,2 @@ +CreateQuery argmaxstate_hex_small (children 1) + Identifier argmaxstate_hex_small diff --git a/parser/testdata/02478_analyzer_table_expression_aliases/explain.txt b/parser/testdata/02478_analyzer_table_expression_aliases/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02478_analyzer_table_expression_aliases/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02478_factorial/explain.txt b/parser/testdata/02478_factorial/explain.txt new file mode 100644 index 000000000..17a743048 --- /dev/null +++ b/parser/testdata/02478_factorial/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Function factorial (children 1) + ExpressionList (children 1) + Literal Int64_-1 + Literal UInt64_1 diff --git a/parser/testdata/02478_projection_and_alter_low_cardinality/explain.txt b/parser/testdata/02478_projection_and_alter_low_cardinality/explain.txt new file mode 100644 index 000000000..1bfae71da --- /dev/null +++ b/parser/testdata/02478_projection_and_alter_low_cardinality/explain.txt @@ -0,0 +1,2 @@ +DropQuery testing (children 1) + Identifier testing diff --git a/parser/testdata/02478_projection_with_group_by_alter/explain.txt b/parser/testdata/02478_projection_with_group_by_alter/explain.txt new file mode 100644 index 000000000..1bfae71da --- /dev/null +++ b/parser/testdata/02478_projection_with_group_by_alter/explain.txt @@ -0,0 +1,2 @@ +DropQuery testing (children 1) + Identifier testing diff --git a/parser/testdata/02478_window_frame_type_groups/metadata.json b/parser/testdata/02478_window_frame_type_groups/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02478_window_frame_type_groups/metadata.json +++ b/parser/testdata/02478_window_frame_type_groups/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02479_analyzer_aggregation_crash/explain.txt b/parser/testdata/02479_analyzer_aggregation_crash/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02479_analyzer_aggregation_crash/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02479_analyzer_aggregation_totals_rollup_crash_fix/explain.txt b/parser/testdata/02479_analyzer_aggregation_totals_rollup_crash_fix/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02479_analyzer_aggregation_totals_rollup_crash_fix/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02479_analyzer_join_with_constants/explain.txt b/parser/testdata/02479_analyzer_join_with_constants/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02479_analyzer_join_with_constants/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02479_if_with_null_and_cullable_const/explain.txt b/parser/testdata/02479_if_with_null_and_cullable_const/explain.txt new file mode 100644 index 000000000..ef7912dcf --- /dev/null +++ b/parser/testdata/02479_if_with_null_and_cullable_const/explain.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function if (children 1) + ExpressionList (children 3) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + Literal NULL + Function toNullable (children 1) + ExpressionList (children 1) + Literal UInt64_1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_2 diff --git a/parser/testdata/02479_mysql_connect_to_self/explain.txt b/parser/testdata/02479_mysql_connect_to_self/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02479_mysql_connect_to_self/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02479_nullable_primary_key_non_first_column/explain.txt b/parser/testdata/02479_nullable_primary_key_non_first_column/explain.txt new file mode 100644 index 000000000..d4bf1aa3f --- /dev/null +++ b/parser/testdata/02479_nullable_primary_key_non_first_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_table (children 1) + Identifier test_table diff --git a/parser/testdata/02480_analyzer_alias_nullptr/explain.txt b/parser/testdata/02480_analyzer_alias_nullptr/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02480_analyzer_alias_nullptr/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02480_every_asynchronous_metric_must_have_documentation/explain.txt b/parser/testdata/02480_every_asynchronous_metric_must_have_documentation/explain.txt new file mode 100644 index 000000000..556037e3d --- /dev/null +++ b/parser/testdata/02480_every_asynchronous_metric_must_have_documentation/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier metric + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.asynchronous_metrics + Function less (children 1) + ExpressionList (children 2) + Function length (children 1) + ExpressionList (children 1) + Identifier description + Literal UInt64_10 diff --git a/parser/testdata/02480_interval_casting_and_subquery/explain.txt b/parser/testdata/02480_interval_casting_and_subquery/explain.txt new file mode 100644 index 000000000..ece0f38c3 --- /dev/null +++ b/parser/testdata/02480_interval_casting_and_subquery/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function toIntervalSecond (alias interval) (children 1) + ExpressionList (children 1) + Literal UInt64_5 + Function plus (alias res) (children 1) + ExpressionList (children 2) + Function toDateTime (children 1) + ExpressionList (children 1) + Literal \'2017-01-01 00:00:00\' + Identifier interval diff --git a/parser/testdata/02480_max_map_null_totals/explain.txt b/parser/testdata/02480_max_map_null_totals/explain.txt new file mode 100644 index 000000000..70ab18dc3 --- /dev/null +++ b/parser/testdata/02480_max_map_null_totals/explain.txt @@ -0,0 +1,34 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function maxMap (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_3 + Function minus (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_4 + Literal UInt64_1 + Function array (children 1) + ExpressionList (children 2) + Identifier number + Literal NULL + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_3 + ExpressionList (children 1) + Identifier number + ExpressionList (children 1) + OrderByElement (children 1) + Identifier number diff --git a/parser/testdata/02480_parse_date_time_best_effort_math_overflow/explain.txt b/parser/testdata/02480_parse_date_time_best_effort_math_overflow/explain.txt new file mode 100644 index 000000000..1d02dc1ed --- /dev/null +++ b/parser/testdata/02480_parse_date_time_best_effort_math_overflow/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function format (children 1) + ExpressionList (children 2) + Identifier TSV + Literal \'9279104479c7da1114861274de32208ead91b60e\' + Set diff --git a/parser/testdata/02480_s3_support_wildcard/explain.txt b/parser/testdata/02480_s3_support_wildcard/explain.txt new file mode 100644 index 000000000..c7f114edc --- /dev/null +++ b/parser/testdata/02480_s3_support_wildcard/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_02480_support_wildcard_write (children 1) + Identifier test_02480_support_wildcard_write diff --git a/parser/testdata/02480_suspicious_lowcard_in_key/explain.txt b/parser/testdata/02480_suspicious_lowcard_in_key/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02480_suspicious_lowcard_in_key/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02480_tlp_nan/explain.txt b/parser/testdata/02480_tlp_nan/explain.txt new file mode 100644 index 000000000..865945abf --- /dev/null +++ b/parser/testdata/02480_tlp_nan/explain.txt @@ -0,0 +1,21 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 4) + Function sqrt (alias x) (children 1) + ExpressionList (children 1) + Literal Int64_-1 + Function not (children 1) + ExpressionList (children 1) + Identifier x + Function not (children 1) + ExpressionList (children 1) + Function not (children 1) + ExpressionList (children 1) + Identifier x + Function isNull (children 1) + ExpressionList (children 1) + Function not (children 1) + ExpressionList (children 1) + Identifier x + Set diff --git a/parser/testdata/02481_aggregation_in_order_plan/explain.txt b/parser/testdata/02481_aggregation_in_order_plan/explain.txt new file mode 100644 index 000000000..0a00b06d1 --- /dev/null +++ b/parser/testdata/02481_aggregation_in_order_plan/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab (children 1) + Identifier tab diff --git a/parser/testdata/02481_analyzer_join_alias_unknown_identifier_crash/explain.txt b/parser/testdata/02481_analyzer_join_alias_unknown_identifier_crash/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02481_analyzer_join_alias_unknown_identifier_crash/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02481_analyzer_optimize_aggregation_arithmetics/explain.txt b/parser/testdata/02481_analyzer_optimize_aggregation_arithmetics/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02481_analyzer_optimize_aggregation_arithmetics/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02481_analyzer_optimize_grouping_sets_keys/explain.txt b/parser/testdata/02481_analyzer_optimize_grouping_sets_keys/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02481_analyzer_optimize_grouping_sets_keys/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02481_array_join_with_map/explain.txt b/parser/testdata/02481_array_join_with_map/explain.txt new file mode 100644 index 000000000..5e49c2b64 --- /dev/null +++ b/parser/testdata/02481_array_join_with_map/explain.txt @@ -0,0 +1,2 @@ +DropQuery arrays_test (children 1) + Identifier arrays_test diff --git a/parser/testdata/02481_default_value_used_in_row_level_filter/explain.txt b/parser/testdata/02481_default_value_used_in_row_level_filter/explain.txt new file mode 100644 index 000000000..a7480af52 --- /dev/null +++ b/parser/testdata/02481_default_value_used_in_row_level_filter/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_rlp (children 1) + Identifier test_rlp diff --git a/parser/testdata/02481_fix_parameters_parsing/explain.txt b/parser/testdata/02481_fix_parameters_parsing/explain.txt new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/parser/testdata/02481_fix_parameters_parsing/explain.txt @@ -0,0 +1 @@ + diff --git a/parser/testdata/02481_i43247_ubsan_in_minmaxany/metadata.json b/parser/testdata/02481_i43247_ubsan_in_minmaxany/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02481_i43247_ubsan_in_minmaxany/metadata.json +++ b/parser/testdata/02481_i43247_ubsan_in_minmaxany/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02481_inject_random_order_for_select_without_order_by/explain.txt b/parser/testdata/02481_inject_random_order_for_select_without_order_by/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02481_inject_random_order_for_select_without_order_by/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02481_low_cardinality_with_short_circuit_functins/explain.txt b/parser/testdata/02481_low_cardinality_with_short_circuit_functins/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02481_low_cardinality_with_short_circuit_functins/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02481_low_cardinality_with_short_circuit_functins_mutations/explain.txt b/parser/testdata/02481_low_cardinality_with_short_circuit_functins_mutations/explain.txt new file mode 100644 index 000000000..14bb9a777 --- /dev/null +++ b/parser/testdata/02481_low_cardinality_with_short_circuit_functins_mutations/explain.txt @@ -0,0 +1,2 @@ +DropQuery issue_46128 (children 1) + Identifier issue_46128 diff --git a/parser/testdata/02481_merge_array_join_sample_by/explain.txt b/parser/testdata/02481_merge_array_join_sample_by/explain.txt new file mode 100644 index 000000000..9979ba1d2 --- /dev/null +++ b/parser/testdata/02481_merge_array_join_sample_by/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02481_mergetree (children 1) + Identifier 02481_mergetree diff --git a/parser/testdata/02481_pk_analysis_with_enum_to_string/explain.txt b/parser/testdata/02481_pk_analysis_with_enum_to_string/explain.txt new file mode 100644 index 000000000..c7a348492 --- /dev/null +++ b/parser/testdata/02481_pk_analysis_with_enum_to_string/explain.txt @@ -0,0 +1,2 @@ +CreateQuery gen (children 1) + Identifier gen diff --git a/parser/testdata/02481_prewhere_filtered_rows_div_by_zero/explain.txt b/parser/testdata/02481_prewhere_filtered_rows_div_by_zero/explain.txt new file mode 100644 index 000000000..faf685a02 --- /dev/null +++ b/parser/testdata/02481_prewhere_filtered_rows_div_by_zero/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_filter (children 1) + Identifier test_filter diff --git a/parser/testdata/02481_s3_throw_if_mismatch_files/explain.txt b/parser/testdata/02481_s3_throw_if_mismatch_files/explain.txt new file mode 100644 index 000000000..33a2c0c83 --- /dev/null +++ b/parser/testdata/02481_s3_throw_if_mismatch_files/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_02481_mismatch_files (children 1) + Identifier test_02481_mismatch_files diff --git a/parser/testdata/02481_xxh3_hash_function/explain.txt b/parser/testdata/02481_xxh3_hash_function/explain.txt new file mode 100644 index 000000000..b1c411910 --- /dev/null +++ b/parser/testdata/02481_xxh3_hash_function/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function xxh3 (children 1) + ExpressionList (children 1) + Literal \'ClickHouse\' diff --git a/parser/testdata/02482_execute_functions_before_sorting_bug/explain.txt b/parser/testdata/02482_execute_functions_before_sorting_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02482_execute_functions_before_sorting_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02482_if_with_nothing_argument/explain.txt b/parser/testdata/02482_if_with_nothing_argument/explain.txt new file mode 100644 index 000000000..75a262ea2 --- /dev/null +++ b/parser/testdata/02482_if_with_nothing_argument/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function array (alias arr) (children 1) + ExpressionList + Function if (children 1) + ExpressionList (children 3) + Function empty (children 1) + ExpressionList (children 1) + Identifier arr + Literal UInt64_0 + Function arrayElement (children 1) + ExpressionList (children 2) + Identifier arr + Literal Int64_-1 diff --git a/parser/testdata/02482_insert_into_dist_race/explain.txt b/parser/testdata/02482_insert_into_dist_race/explain.txt new file mode 100644 index 000000000..d652fb817 --- /dev/null +++ b/parser/testdata/02482_insert_into_dist_race/explain.txt @@ -0,0 +1,2 @@ +DropQuery tmp_02482 (children 1) + Identifier tmp_02482 diff --git a/parser/testdata/02482_value_block_assert/explain.txt b/parser/testdata/02482_value_block_assert/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02482_value_block_assert/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02483_add_engine_full_column_to_system_databases/metadata.json b/parser/testdata/02483_add_engine_full_column_to_system_databases/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02483_add_engine_full_column_to_system_databases/metadata.json +++ b/parser/testdata/02483_add_engine_full_column_to_system_databases/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02483_check_virtuals_shile_using_structure_from_insertion_table/explain.txt b/parser/testdata/02483_check_virtuals_shile_using_structure_from_insertion_table/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/02483_check_virtuals_shile_using_structure_from_insertion_table/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/02483_cuturlparameter_with_arrays/explain.txt b/parser/testdata/02483_cuturlparameter_with_arrays/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02483_cuturlparameter_with_arrays/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02483_substitute_udf_create/explain.txt b/parser/testdata/02483_substitute_udf_create/explain.txt new file mode 100644 index 000000000..d69ca7dd1 --- /dev/null +++ b/parser/testdata/02483_substitute_udf_create/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02483_substitute_udf (children 1) + Identifier 02483_substitute_udf diff --git a/parser/testdata/02484_substitute_udf_storage_args/explain.txt b/parser/testdata/02484_substitute_udf_storage_args/explain.txt new file mode 100644 index 000000000..cdb7550e6 --- /dev/null +++ b/parser/testdata/02484_substitute_udf_storage_args/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02484_substitute_udf (children 1) + Identifier 02484_substitute_udf diff --git a/parser/testdata/02486_truncate_and_unexpected_parts/explain.txt b/parser/testdata/02486_truncate_and_unexpected_parts/explain.txt new file mode 100644 index 000000000..ec709c27a --- /dev/null +++ b/parser/testdata/02486_truncate_and_unexpected_parts/explain.txt @@ -0,0 +1,18 @@ +CreateQuery rmt (children 3) + Identifier rmt + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration n (children 1) + DataType int + Storage definition (children 4) + Function ReplicatedMergeTree (children 1) + ExpressionList (children 2) + Literal \'/test/02468/{database}\' + Literal \'1\' + Function modulo (children 1) + ExpressionList (children 2) + Identifier n + Literal UInt64_2 + Function tuple (children 1) + ExpressionList + Set diff --git a/parser/testdata/02487_create_index_normalize_functions/explain.txt b/parser/testdata/02487_create_index_normalize_functions/explain.txt new file mode 100644 index 000000000..d08f158e3 --- /dev/null +++ b/parser/testdata/02487_create_index_normalize_functions/explain.txt @@ -0,0 +1,17 @@ +CreateQuery rmt (children 3) + Identifier rmt + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration n (children 1) + DataType int + ColumnDeclaration ts (children 1) + DataType DateTime64 (children 1) + ExpressionList (children 2) + Literal UInt64_8 + Literal \'UTC\' + Storage definition (children 2) + Function ReplicatedMergeTree (children 1) + ExpressionList (children 2) + Literal \'/test/02487/{database}/rmt\' + Literal \'1\' + Identifier n diff --git a/parser/testdata/02489_analyzer_indexes/explain.txt b/parser/testdata/02489_analyzer_indexes/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02489_analyzer_indexes/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain.txt b/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02490_replacing_merge_tree_is_deleted_column/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02490_replacing_merge_tree_is_deleted_column_transform_opt/explain.txt b/parser/testdata/02490_replacing_merge_tree_is_deleted_column_transform_opt/explain.txt new file mode 100644 index 000000000..0a00b06d1 --- /dev/null +++ b/parser/testdata/02490_replacing_merge_tree_is_deleted_column_transform_opt/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab (children 1) + Identifier tab diff --git a/parser/testdata/02491_part_log_has_table_uuid/explain.txt b/parser/testdata/02491_part_log_has_table_uuid/explain.txt new file mode 100644 index 000000000..e03365836 --- /dev/null +++ b/parser/testdata/02491_part_log_has_table_uuid/explain.txt @@ -0,0 +1,12 @@ +CreateQuery data_02491 (children 3) + Identifier data_02491 + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration key (children 1) + DataType Int + Storage definition (children 3) + Function MergeTree (children 1) + ExpressionList + Function tuple (children 1) + ExpressionList + Set diff --git a/parser/testdata/02493_analyzer_sum_if_to_count_if/explain.txt b/parser/testdata/02493_analyzer_sum_if_to_count_if/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02493_analyzer_sum_if_to_count_if/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02493_analyzer_table_functions_untuple/explain.txt b/parser/testdata/02493_analyzer_table_functions_untuple/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02493_analyzer_table_functions_untuple/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02493_analyzer_uniq_injective_functions_elimination/explain.txt b/parser/testdata/02493_analyzer_uniq_injective_functions_elimination/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02493_analyzer_uniq_injective_functions_elimination/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02493_do_not_assume_that_the_original_query_was_valid_when_transforming_joins/explain.txt b/parser/testdata/02493_do_not_assume_that_the_original_query_was_valid_when_transforming_joins/explain.txt new file mode 100644 index 000000000..61924be40 --- /dev/null +++ b/parser/testdata/02493_do_not_assume_that_the_original_query_was_valid_when_transforming_joins/explain.txt @@ -0,0 +1,11 @@ +CreateQuery table1 (children 3) + Identifier table1 + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration column1 (children 1) + DataType String + Storage definition (children 2) + Function MergeTree (children 1) + ExpressionList + Function tuple (children 1) + ExpressionList diff --git a/parser/testdata/02493_max_streams_for_merge_tree_reading/explain.txt b/parser/testdata/02493_max_streams_for_merge_tree_reading/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02493_max_streams_for_merge_tree_reading/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02493_numeric_literals_with_underscores/explain.txt b/parser/testdata/02493_numeric_literals_with_underscores/explain.txt new file mode 100644 index 000000000..20b060f3d --- /dev/null +++ b/parser/testdata/02493_numeric_literals_with_underscores/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1234 diff --git a/parser/testdata/02494_analyzer_compound_expression_crash_fix/explain.txt b/parser/testdata/02494_analyzer_compound_expression_crash_fix/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02494_analyzer_compound_expression_crash_fix/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02494_analyzer_cte_resolution_in_subquery_fix/metadata.json b/parser/testdata/02494_analyzer_cte_resolution_in_subquery_fix/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02494_analyzer_cte_resolution_in_subquery_fix/metadata.json +++ b/parser/testdata/02494_analyzer_cte_resolution_in_subquery_fix/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02494_array_function_range/explain.txt b/parser/testdata/02494_array_function_range/explain.txt new file mode 100644 index 000000000..bee41790b --- /dev/null +++ b/parser/testdata/02494_array_function_range/explain.txt @@ -0,0 +1,26 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function and (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Function range (children 1) + ExpressionList (children 1) + Literal UInt64_100 + Function range (children 1) + ExpressionList (children 2) + Literal UInt64_0 + Literal UInt64_100 + Function equals (children 1) + ExpressionList (children 2) + Function range (children 1) + ExpressionList (children 2) + Literal UInt64_0 + Literal UInt64_100 + Function range (children 1) + ExpressionList (children 3) + Literal UInt64_0 + Literal UInt64_100 + Literal UInt64_1 diff --git a/parser/testdata/02494_combinators_with_null_argument/explain.txt b/parser/testdata/02494_combinators_with_null_argument/explain.txt new file mode 100644 index 000000000..d31f82eb9 --- /dev/null +++ b/parser/testdata/02494_combinators_with_null_argument/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function sumIf (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal NULL diff --git a/parser/testdata/02494_optimize_group_by_function_keys_and_alias_columns/explain.txt b/parser/testdata/02494_optimize_group_by_function_keys_and_alias_columns/explain.txt new file mode 100644 index 000000000..1c468918a --- /dev/null +++ b/parser/testdata/02494_optimize_group_by_function_keys_and_alias_columns/explain.txt @@ -0,0 +1,13 @@ +CreateQuery t (children 3) + Identifier t + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration timestamp (children 1) + DataType DateTime + ColumnDeclaration day (children 1) + Function toYYYYMMDD (children 1) + ExpressionList (children 1) + Identifier timestamp + Storage definition (children 2) + Function MergeTree + Identifier timestamp diff --git a/parser/testdata/02494_parser_string_binary_literal/explain.txt b/parser/testdata/02494_parser_string_binary_literal/explain.txt new file mode 100644 index 000000000..bae561d0d --- /dev/null +++ b/parser/testdata/02494_parser_string_binary_literal/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'\' diff --git a/parser/testdata/02494_query_cache_bugs/explain.txt b/parser/testdata/02494_query_cache_bugs/explain.txt new file mode 100644 index 000000000..1684cb9d8 --- /dev/null +++ b/parser/testdata/02494_query_cache_bugs/explain.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02494_query_cache_case_agnostic_matching/explain.txt b/parser/testdata/02494_query_cache_case_agnostic_matching/explain.txt new file mode 100644 index 000000000..1684cb9d8 --- /dev/null +++ b/parser/testdata/02494_query_cache_case_agnostic_matching/explain.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02494_query_cache_compression/explain.txt b/parser/testdata/02494_query_cache_compression/explain.txt new file mode 100644 index 000000000..1684cb9d8 --- /dev/null +++ b/parser/testdata/02494_query_cache_compression/explain.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02494_query_cache_drop_cache/explain.txt b/parser/testdata/02494_query_cache_drop_cache/explain.txt new file mode 100644 index 000000000..1684cb9d8 --- /dev/null +++ b/parser/testdata/02494_query_cache_drop_cache/explain.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02494_query_cache_eligible_queries/explain.txt b/parser/testdata/02494_query_cache_eligible_queries/explain.txt new file mode 100644 index 000000000..1684cb9d8 --- /dev/null +++ b/parser/testdata/02494_query_cache_eligible_queries/explain.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02494_query_cache_empty_tuple/explain.txt b/parser/testdata/02494_query_cache_empty_tuple/explain.txt new file mode 100644 index 000000000..573e61617 --- /dev/null +++ b/parser/testdata/02494_query_cache_empty_tuple/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList + Literal UInt64_0 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Set diff --git a/parser/testdata/02494_query_cache_events/explain.txt b/parser/testdata/02494_query_cache_events/explain.txt new file mode 100644 index 000000000..1684cb9d8 --- /dev/null +++ b/parser/testdata/02494_query_cache_events/explain.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02494_query_cache_exception_handling/explain.txt b/parser/testdata/02494_query_cache_exception_handling/explain.txt new file mode 100644 index 000000000..1684cb9d8 --- /dev/null +++ b/parser/testdata/02494_query_cache_exception_handling/explain.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02494_query_cache_explain/explain.txt b/parser/testdata/02494_query_cache_explain/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02494_query_cache_explain/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02494_query_cache_ignore_output_settings/explain.txt b/parser/testdata/02494_query_cache_ignore_output_settings/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02494_query_cache_ignore_output_settings/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02494_query_cache_key/explain.txt b/parser/testdata/02494_query_cache_key/explain.txt new file mode 100644 index 000000000..98386d1c2 --- /dev/null +++ b/parser/testdata/02494_query_cache_key/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'Test (1)\' diff --git a/parser/testdata/02494_query_cache_log_comment/explain.txt b/parser/testdata/02494_query_cache_log_comment/explain.txt new file mode 100644 index 000000000..1684cb9d8 --- /dev/null +++ b/parser/testdata/02494_query_cache_log_comment/explain.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02494_query_cache_metrics/explain.txt b/parser/testdata/02494_query_cache_metrics/explain.txt new file mode 100644 index 000000000..1684cb9d8 --- /dev/null +++ b/parser/testdata/02494_query_cache_metrics/explain.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02494_query_cache_min_query_duration/explain.txt b/parser/testdata/02494_query_cache_min_query_duration/explain.txt new file mode 100644 index 000000000..1684cb9d8 --- /dev/null +++ b/parser/testdata/02494_query_cache_min_query_duration/explain.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02494_query_cache_min_query_runs/explain.txt b/parser/testdata/02494_query_cache_min_query_runs/explain.txt new file mode 100644 index 000000000..1684cb9d8 --- /dev/null +++ b/parser/testdata/02494_query_cache_min_query_runs/explain.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02494_query_cache_nondeterministic_functions/explain.txt b/parser/testdata/02494_query_cache_nondeterministic_functions/explain.txt new file mode 100644 index 000000000..1684cb9d8 --- /dev/null +++ b/parser/testdata/02494_query_cache_nondeterministic_functions/explain.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02494_query_cache_normalize_ast/explain.txt b/parser/testdata/02494_query_cache_normalize_ast/explain.txt new file mode 100644 index 000000000..1684cb9d8 --- /dev/null +++ b/parser/testdata/02494_query_cache_normalize_ast/explain.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02494_query_cache_passive_usage/explain.txt b/parser/testdata/02494_query_cache_passive_usage/explain.txt new file mode 100644 index 000000000..1684cb9d8 --- /dev/null +++ b/parser/testdata/02494_query_cache_passive_usage/explain.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02494_query_cache_query_log/explain.txt b/parser/testdata/02494_query_cache_query_log/explain.txt new file mode 100644 index 000000000..1684cb9d8 --- /dev/null +++ b/parser/testdata/02494_query_cache_query_log/explain.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02494_query_cache_secrets/explain.txt b/parser/testdata/02494_query_cache_secrets/explain.txt new file mode 100644 index 000000000..1684cb9d8 --- /dev/null +++ b/parser/testdata/02494_query_cache_secrets/explain.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02494_query_cache_sparse_columns/explain.txt b/parser/testdata/02494_query_cache_sparse_columns/explain.txt new file mode 100644 index 000000000..138a36cea --- /dev/null +++ b/parser/testdata/02494_query_cache_sparse_columns/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_cache_sparse (children 1) + Identifier t_cache_sparse diff --git a/parser/testdata/02494_query_cache_squash_partial_results/explain.txt b/parser/testdata/02494_query_cache_squash_partial_results/explain.txt new file mode 100644 index 000000000..1684cb9d8 --- /dev/null +++ b/parser/testdata/02494_query_cache_squash_partial_results/explain.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02494_query_cache_system_tables/explain.txt b/parser/testdata/02494_query_cache_system_tables/explain.txt new file mode 100644 index 000000000..1684cb9d8 --- /dev/null +++ b/parser/testdata/02494_query_cache_system_tables/explain.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02494_query_cache_tag/explain.txt b/parser/testdata/02494_query_cache_tag/explain.txt new file mode 100644 index 000000000..1684cb9d8 --- /dev/null +++ b/parser/testdata/02494_query_cache_tag/explain.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02494_query_cache_totals_extremes/explain.txt b/parser/testdata/02494_query_cache_totals_extremes/explain.txt new file mode 100644 index 000000000..1684cb9d8 --- /dev/null +++ b/parser/testdata/02494_query_cache_totals_extremes/explain.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02494_query_cache_ttl_long/explain.txt b/parser/testdata/02494_query_cache_ttl_long/explain.txt new file mode 100644 index 000000000..1684cb9d8 --- /dev/null +++ b/parser/testdata/02494_query_cache_ttl_long/explain.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02494_query_cache_udf_sql/explain.txt b/parser/testdata/02494_query_cache_udf_sql/explain.txt new file mode 100644 index 000000000..1684cb9d8 --- /dev/null +++ b/parser/testdata/02494_query_cache_udf_sql/explain.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02494_query_cache_user_quotas/explain.txt b/parser/testdata/02494_query_cache_user_quotas/explain.txt new file mode 100644 index 000000000..1684cb9d8 --- /dev/null +++ b/parser/testdata/02494_query_cache_user_quotas/explain.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02494_query_cache_user_quotas_after_drop/explain.txt b/parser/testdata/02494_query_cache_user_quotas_after_drop/explain.txt new file mode 100644 index 000000000..1684cb9d8 --- /dev/null +++ b/parser/testdata/02494_query_cache_user_quotas_after_drop/explain.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02495_analyzer_storage_join/explain.txt b/parser/testdata/02495_analyzer_storage_join/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/02495_analyzer_storage_join/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/02495_concat_with_separator/explain.txt b/parser/testdata/02495_concat_with_separator/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02495_concat_with_separator/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02495_s3_filter_by_file/explain.txt b/parser/testdata/02495_s3_filter_by_file/explain.txt new file mode 100644 index 000000000..66ac1855a --- /dev/null +++ b/parser/testdata/02495_s3_filter_by_file/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_s3_filter_02495 (children 1) + Identifier t_s3_filter_02495 diff --git a/parser/testdata/02495_sum_if_to_count_if_bug/explain.txt b/parser/testdata/02495_sum_if_to_count_if_bug/explain.txt new file mode 100644 index 000000000..2de402a1a --- /dev/null +++ b/parser/testdata/02495_sum_if_to_count_if_bug/explain.txt @@ -0,0 +1,24 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function sum (children 1) + ExpressionList (children 1) + Function if (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal NULL + Literal UInt64_2 + Literal UInt64_0 + Literal UInt64_1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1024 + Set diff --git a/parser/testdata/02496_format_datetime_in_joda_syntax/explain.txt b/parser/testdata/02496_format_datetime_in_joda_syntax/explain.txt new file mode 100644 index 000000000..93833a172 --- /dev/null +++ b/parser/testdata/02496_format_datetime_in_joda_syntax/explain.txt @@ -0,0 +1,35 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 5) + Literal \'2018-01-12 22:33:44\' (alias s) + Function toDateTime (alias datetime) (children 1) + ExpressionList (children 1) + Identifier s + Function toDateTime64 (alias datetime64) (children 1) + ExpressionList (children 2) + Identifier s + Literal UInt64_6 + Function toDate (alias date) (children 1) + ExpressionList (children 1) + Identifier s + Function toDate32 (alias date32) (children 1) + ExpressionList (children 1) + Identifier s + ExpressionList (children 4) + Function formatDateTimeInJodaSyntax (children 1) + ExpressionList (children 2) + Identifier datetime + Literal \'G\' + Function formatDateTimeInJodaSyntax (children 1) + ExpressionList (children 2) + Identifier datetime64 + Literal \'G\' + Function formatDateTimeInJodaSyntax (children 1) + ExpressionList (children 2) + Identifier date + Literal \'G\' + Function formatDateTimeInJodaSyntax (children 1) + ExpressionList (children 2) + Identifier date32 + Literal \'G\' diff --git a/parser/testdata/02496_from_unixtime_in_joda_syntax/explain.txt b/parser/testdata/02496_from_unixtime_in_joda_syntax/explain.txt new file mode 100644 index 000000000..a9a8dd31f --- /dev/null +++ b/parser/testdata/02496_from_unixtime_in_joda_syntax/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function fromUnixTimestampInJodaSyntax (children 1) + ExpressionList (children 3) + Literal UInt64_1669804872 + Literal \'G\' + Literal \'UTC\' diff --git a/parser/testdata/02496_storage_s3_profile_events/explain.txt b/parser/testdata/02496_storage_s3_profile_events/explain.txt new file mode 100644 index 000000000..a333059e4 --- /dev/null +++ b/parser/testdata/02496_storage_s3_profile_events/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_s3_events_02496 (children 1) + Identifier t_s3_events_02496 diff --git a/parser/testdata/02497_analyzer_sum_if_count_if_pass_crash_fix/explain.txt b/parser/testdata/02497_analyzer_sum_if_count_if_pass_crash_fix/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02497_analyzer_sum_if_count_if_pass_crash_fix/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02497_having_without_actual_aggregation_bug/explain.txt b/parser/testdata/02497_having_without_actual_aggregation_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02497_having_without_actual_aggregation_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02497_if_transform_strings_to_enum/explain.txt b/parser/testdata/02497_if_transform_strings_to_enum/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02497_if_transform_strings_to_enum/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02497_remote_disk_fat_column/explain.txt b/parser/testdata/02497_remote_disk_fat_column/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02497_remote_disk_fat_column/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02497_schema_inference_nulls/explain.txt b/parser/testdata/02497_schema_inference_nulls/explain.txt new file mode 100644 index 000000000..3595d55a7 --- /dev/null +++ b/parser/testdata/02497_schema_inference_nulls/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'JSONEachRow\' diff --git a/parser/testdata/02497_source_part_is_intact_when_mutation/explain.txt b/parser/testdata/02497_source_part_is_intact_when_mutation/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02497_source_part_is_intact_when_mutation/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02497_storage_join_right_assert/explain.txt b/parser/testdata/02497_storage_join_right_assert/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/02497_storage_join_right_assert/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/02498_analyzer_aggregate_functions_arithmetic_operations_pass_fix/explain.txt b/parser/testdata/02498_analyzer_aggregate_functions_arithmetic_operations_pass_fix/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02498_analyzer_aggregate_functions_arithmetic_operations_pass_fix/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02498_analyzer_settings_push_down/explain.txt b/parser/testdata/02498_analyzer_settings_push_down/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02498_analyzer_settings_push_down/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02498_storage_join_key_positions/explain.txt b/parser/testdata/02498_storage_join_key_positions/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02498_storage_join_key_positions/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02499_analyzer_aggregate_function_lambda_crash_fix/explain.txt b/parser/testdata/02499_analyzer_aggregate_function_lambda_crash_fix/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02499_analyzer_aggregate_function_lambda_crash_fix/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02499_analyzer_set_index/explain.txt b/parser/testdata/02499_analyzer_set_index/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02499_analyzer_set_index/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02499_escaped_quote_schema_inference/explain.txt b/parser/testdata/02499_escaped_quote_schema_inference/explain.txt new file mode 100644 index 000000000..1867aca36 --- /dev/null +++ b/parser/testdata/02499_escaped_quote_schema_inference/explain.txt @@ -0,0 +1,6 @@ +DescribeQuery (children 1) + TableExpression (children 1) + Function format (children 1) + ExpressionList (children 2) + Identifier CSV + Literal \'"[\\\'abc\\\\\\\'\\\']"\' diff --git a/parser/testdata/02499_extract_key_value_pairs_multiple_input/metadata.json b/parser/testdata/02499_extract_key_value_pairs_multiple_input/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02499_extract_key_value_pairs_multiple_input/metadata.json +++ b/parser/testdata/02499_extract_key_value_pairs_multiple_input/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02499_quantile_nan_ubsan_msan/explain.txt b/parser/testdata/02499_quantile_nan_ubsan_msan/explain.txt new file mode 100644 index 000000000..72bfd4850 --- /dev/null +++ b/parser/testdata/02499_quantile_nan_ubsan_msan/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function quantiles (children 2) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Function now (children 1) + ExpressionList + Literal \'DateTime(\\\'UTC\\\')\' + ExpressionList (children 1) + Literal Float64_0.5 + Literal UInt64_0 diff --git a/parser/testdata/02499_read_json_objects_as_strings/explain.txt b/parser/testdata/02499_read_json_objects_as_strings/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02499_read_json_objects_as_strings/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02500_analyzer_storage_view_crash_fix/explain.txt b/parser/testdata/02500_analyzer_storage_view_crash_fix/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02500_analyzer_storage_view_crash_fix/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02500_prevent_drop_nested_if_empty_part/explain.txt b/parser/testdata/02500_prevent_drop_nested_if_empty_part/explain.txt new file mode 100644 index 000000000..3e7d03fd4 --- /dev/null +++ b/parser/testdata/02500_prevent_drop_nested_if_empty_part/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02500_nested (children 1) + Identifier 02500_nested diff --git a/parser/testdata/02501_analyzer_expired_context_crash_fix/explain.txt b/parser/testdata/02501_analyzer_expired_context_crash_fix/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02501_analyzer_expired_context_crash_fix/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02501_limits_on_result_for_view/explain.txt b/parser/testdata/02501_limits_on_result_for_view/explain.txt new file mode 100644 index 000000000..3c2b3e0c5 --- /dev/null +++ b/parser/testdata/02501_limits_on_result_for_view/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02501_test (children 1) + Identifier 02501_test diff --git a/parser/testdata/02502_analyzer_insert_select_crash_fix/explain.txt b/parser/testdata/02502_analyzer_insert_select_crash_fix/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02502_analyzer_insert_select_crash_fix/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02502_bad_values_schema_inference/explain.txt b/parser/testdata/02502_bad_values_schema_inference/explain.txt new file mode 100644 index 000000000..2762150d4 --- /dev/null +++ b/parser/testdata/02502_bad_values_schema_inference/explain.txt @@ -0,0 +1,7 @@ +DescribeQuery (children 1) + TableExpression (children 1) + Function format (children 1) + ExpressionList (children 2) + Identifier Values + Literal \'(\\\'abc)\' +The query succeeded but the server error '636' was expected (query: EXPLAIN AST desc format(Values, '(\'abc)'); -- { serverError CANNOT_EXTRACT_TABLE_STRUCTURE }). diff --git a/parser/testdata/02502_fuzz_bad_cast_to_ast_literal/explain.txt b/parser/testdata/02502_fuzz_bad_cast_to_ast_literal/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02502_fuzz_bad_cast_to_ast_literal/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02503_bad_compatibility_setting/explain.txt b/parser/testdata/02503_bad_compatibility_setting/explain.txt new file mode 100644 index 000000000..d79d94259 --- /dev/null +++ b/parser/testdata/02503_bad_compatibility_setting/explain.txt @@ -0,0 +1,2 @@ +Set +The query succeeded but the server error '36' was expected (query: EXPLAIN AST set compatibility='a.a'; -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/02503_in_lc_const_args_bug/explain.txt b/parser/testdata/02503_in_lc_const_args_bug/explain.txt new file mode 100644 index 000000000..d9b1834e3 --- /dev/null +++ b/parser/testdata/02503_in_lc_const_args_bug/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function substr (alias x) (children 1) + ExpressionList (children 2) + Function toLowCardinality (children 1) + ExpressionList (children 1) + Literal \'abc\' + Function in (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal UInt64_1 + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/02503_join_switch_alias_fuzz/explain.txt b/parser/testdata/02503_join_switch_alias_fuzz/explain.txt new file mode 100644 index 000000000..aa235239c --- /dev/null +++ b/parser/testdata/02503_join_switch_alias_fuzz/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias a) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_1 (alias id) + Literal \'\' (alias test) diff --git a/parser/testdata/02503_mysql_compat_utc_timestamp/explain.txt b/parser/testdata/02503_mysql_compat_utc_timestamp/explain.txt new file mode 100644 index 000000000..77b5bc8c7 --- /dev/null +++ b/parser/testdata/02503_mysql_compat_utc_timestamp/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function intDiv (children 1) + ExpressionList (children 2) + Function TIMEDIFF (children 1) + ExpressionList (children 2) + Function NOW (children 1) + ExpressionList + Function UTC_TIMESTAMP (children 1) + ExpressionList + Literal UInt64_600 diff --git a/parser/testdata/02504_bar_fractions/metadata.json b/parser/testdata/02504_bar_fractions/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02504_bar_fractions/metadata.json +++ b/parser/testdata/02504_bar_fractions/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02504_disallow_arrayjoin_in_mutations/explain.txt b/parser/testdata/02504_disallow_arrayjoin_in_mutations/explain.txt new file mode 100644 index 000000000..3b1dfd79b --- /dev/null +++ b/parser/testdata/02504_disallow_arrayjoin_in_mutations/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_02504 (children 1) + Identifier test_02504 diff --git a/parser/testdata/02504_explain_ast_insert/metadata.json b/parser/testdata/02504_explain_ast_insert/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02504_explain_ast_insert/metadata.json +++ b/parser/testdata/02504_explain_ast_insert/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02504_parse_datetime_best_effort_calebeaires/explain.txt b/parser/testdata/02504_parse_datetime_best_effort_calebeaires/explain.txt new file mode 100644 index 000000000..1cf7fc36b --- /dev/null +++ b/parser/testdata/02504_parse_datetime_best_effort_calebeaires/explain.txt @@ -0,0 +1,18 @@ +CreateQuery my_table (children 2) + Identifier my_table + Columns definition (children 1) + ExpressionList (children 5) + ColumnDeclaration col_date (children 1) + DataType Date + ColumnDeclaration col_date32 (children 1) + DataType Date32 + ColumnDeclaration col_datetime (children 1) + DataType DateTime (children 1) + ExpressionList (children 1) + Literal \'UTC\' + ColumnDeclaration col_datetime32 (children 1) + DataType DateTime32 (children 1) + ExpressionList (children 1) + Literal \'UTC\' + ColumnDeclaration col_datetime64 (children 1) + DataType DateTime64 diff --git a/parser/testdata/02504_regexp_dictionary_table_source/explain.txt b/parser/testdata/02504_regexp_dictionary_table_source/explain.txt new file mode 100644 index 000000000..be40b9ac3 --- /dev/null +++ b/parser/testdata/02504_regexp_dictionary_table_source/explain.txt @@ -0,0 +1,2 @@ +DropQuery regexp_dict1 (children 1) + Identifier regexp_dict1 diff --git a/parser/testdata/02505_forbid_paths_in_datetime_timezone/explain.txt b/parser/testdata/02505_forbid_paths_in_datetime_timezone/explain.txt new file mode 100644 index 000000000..777f2aadf --- /dev/null +++ b/parser/testdata/02505_forbid_paths_in_datetime_timezone/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toDateTime (children 1) + ExpressionList (children 2) + Literal UInt64_0 + Literal \'/abc\' +The query succeeded but the server error '36' was expected (query: EXPLAIN AST select toDateTime(0, '/abc'); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/02506_date_time64_floating_point_negative_value/explain.txt b/parser/testdata/02506_date_time64_floating_point_negative_value/explain.txt new file mode 100644 index 000000000..7ef0914ab --- /dev/null +++ b/parser/testdata/02506_date_time64_floating_point_negative_value/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toUnixTimestamp64Milli (children 1) + ExpressionList (children 1) + Function toDateTime64 (children 1) + ExpressionList (children 3) + Literal \'1969-12-31 23:59:59.999\' + Literal UInt64_3 + Literal \'Europe/Amsterdam\' diff --git a/parser/testdata/02507_to_unix_timestamp_overflow/explain.txt b/parser/testdata/02507_to_unix_timestamp_overflow/explain.txt new file mode 100644 index 000000000..40031a36e --- /dev/null +++ b/parser/testdata/02507_to_unix_timestamp_overflow/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toUnixTimestamp (children 1) + ExpressionList (children 1) + Function toDateTime64 (children 1) + ExpressionList (children 3) + Literal \'1928-12-31 12:12:12.123\' + Literal UInt64_3 + Literal \'UTC\' +The query succeeded but the server error '407' was expected (query: EXPLAIN AST SELECT toUnixTimestamp(toDateTime64('1928-12-31 12:12:12.123', 3, 'UTC')); -- { serverError DECIMAL_OVERFLOW }). diff --git a/parser/testdata/02508_bad_graphite/explain.txt b/parser/testdata/02508_bad_graphite/explain.txt new file mode 100644 index 000000000..58be3090b --- /dev/null +++ b/parser/testdata/02508_bad_graphite/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_graphite (children 1) + Identifier test_graphite diff --git a/parser/testdata/02508_index_analysis_to_date_timezone/explain.txt b/parser/testdata/02508_index_analysis_to_date_timezone/explain.txt new file mode 100644 index 000000000..811ae32e9 --- /dev/null +++ b/parser/testdata/02508_index_analysis_to_date_timezone/explain.txt @@ -0,0 +1,2 @@ +DropQuery table (children 1) + Identifier table diff --git a/parser/testdata/02509_h3_arguments/explain.txt b/parser/testdata/02509_h3_arguments/explain.txt new file mode 100644 index 000000000..e9474a49b --- /dev/null +++ b/parser/testdata/02509_h3_arguments/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function h3ToParent (children 1) + ExpressionList (children 2) + Literal UInt64_641573946153969375 + Literal UInt64_1 diff --git a/parser/testdata/02510_group_by_prewhere_null/explain.txt b/parser/testdata/02510_group_by_prewhere_null/explain.txt new file mode 100644 index 000000000..f0662d5e1 --- /dev/null +++ b/parser/testdata/02510_group_by_prewhere_null/explain.txt @@ -0,0 +1,2 @@ +DropQuery table1 (children 1) + Identifier table1 diff --git a/parser/testdata/02511_complex_literals_as_aggregate_function_parameters/explain.txt b/parser/testdata/02511_complex_literals_as_aggregate_function_parameters/explain.txt new file mode 100644 index 000000000..c86548b7c --- /dev/null +++ b/parser/testdata/02511_complex_literals_as_aggregate_function_parameters/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toTypeName (children 1) + ExpressionList (children 1) + Function sumMapFilteredState (children 2) + ExpressionList (children 2) + Literal Array_[UInt64_1, UInt64_2, UInt64_3] + Literal Array_[UInt64_10, UInt64_10, UInt64_10] + ExpressionList (children 1) + Literal Array_[UInt64_1, UInt64_2] diff --git a/parser/testdata/02512_array_join_name_resolution/explain.txt b/parser/testdata/02512_array_join_name_resolution/explain.txt new file mode 100644 index 000000000..a60ff027e --- /dev/null +++ b/parser/testdata/02512_array_join_name_resolution/explain.txt @@ -0,0 +1,2 @@ +DropQuery x (children 1) + Identifier x diff --git a/parser/testdata/02513_analyzer_duplicate_alias_crash_fix/explain.txt b/parser/testdata/02513_analyzer_duplicate_alias_crash_fix/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02513_analyzer_duplicate_alias_crash_fix/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02513_analyzer_sort_msan/explain.txt b/parser/testdata/02513_analyzer_sort_msan/explain.txt new file mode 100644 index 000000000..72a5e27c8 --- /dev/null +++ b/parser/testdata/02513_analyzer_sort_msan/explain.txt @@ -0,0 +1,2 @@ +DropQuery products (children 1) + Identifier products diff --git a/parser/testdata/02513_broken_datetime64_init_on_mac/explain.txt b/parser/testdata/02513_broken_datetime64_init_on_mac/explain.txt new file mode 100644 index 000000000..df679bf1b --- /dev/null +++ b/parser/testdata/02513_broken_datetime64_init_on_mac/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Literal \'1670853969\' + Literal \'DateTime64(3, \\\'UTC\\\')\' diff --git a/parser/testdata/02513_date_string_comparison/metadata.json b/parser/testdata/02513_date_string_comparison/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02513_date_string_comparison/metadata.json +++ b/parser/testdata/02513_date_string_comparison/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02513_prewhere_combine_step_filters/explain.txt b/parser/testdata/02513_prewhere_combine_step_filters/explain.txt new file mode 100644 index 000000000..4a6fce10c --- /dev/null +++ b/parser/testdata/02513_prewhere_combine_step_filters/explain.txt @@ -0,0 +1,2 @@ +DropQuery table_02513 (children 1) + Identifier table_02513 diff --git a/parser/testdata/02513_validate_data_types/explain.txt b/parser/testdata/02513_validate_data_types/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02513_validate_data_types/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02514_analyzer_drop_join_on/explain.txt b/parser/testdata/02514_analyzer_drop_join_on/explain.txt new file mode 100644 index 000000000..3b8a0aad6 --- /dev/null +++ b/parser/testdata/02514_analyzer_drop_join_on/explain.txt @@ -0,0 +1,2 @@ +DropQuery a (children 1) + Identifier a diff --git a/parser/testdata/02514_bad_index_granularity/explain.txt b/parser/testdata/02514_bad_index_granularity/explain.txt new file mode 100644 index 000000000..11ed2798b --- /dev/null +++ b/parser/testdata/02514_bad_index_granularity/explain.txt @@ -0,0 +1,2 @@ +CreateQuery t (children 1) + Identifier t diff --git a/parser/testdata/02514_if_with_lazy_low_cardinality/explain.txt b/parser/testdata/02514_if_with_lazy_low_cardinality/explain.txt new file mode 100644 index 000000000..127f0c547 --- /dev/null +++ b/parser/testdata/02514_if_with_lazy_low_cardinality/explain.txt @@ -0,0 +1,18 @@ +CreateQuery t (children 3) + Identifier t + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration arr.key (children 1) + DataType Array (children 1) + ExpressionList (children 1) + DataType LowCardinality (children 1) + ExpressionList (children 1) + DataType String + ColumnDeclaration arr.value (children 1) + DataType Array (children 1) + ExpressionList (children 1) + DataType LowCardinality (children 1) + ExpressionList (children 1) + DataType String + Storage definition (children 1) + Function Memory diff --git a/parser/testdata/02514_null_dictionary_source/explain.txt b/parser/testdata/02514_null_dictionary_source/explain.txt new file mode 100644 index 000000000..77dcf0f60 --- /dev/null +++ b/parser/testdata/02514_null_dictionary_source/explain.txt @@ -0,0 +1,2 @@ +DropQuery null_dict (children 1) + Identifier null_dict diff --git a/parser/testdata/02514_tsv_zero_started_number/explain.txt b/parser/testdata/02514_tsv_zero_started_number/explain.txt new file mode 100644 index 000000000..3495bd8ff --- /dev/null +++ b/parser/testdata/02514_tsv_zero_started_number/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function toTypeName (children 1) + ExpressionList (children 1) + Asterisk + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function format (children 1) + ExpressionList (children 2) + Identifier TSV + Literal \'0123\' diff --git a/parser/testdata/02515_aggregate_functions_statistics/explain.txt b/parser/testdata/02515_aggregate_functions_statistics/explain.txt new file mode 100644 index 000000000..231c2a0a9 --- /dev/null +++ b/parser/testdata/02515_aggregate_functions_statistics/explain.txt @@ -0,0 +1,2 @@ +DropQuery fh (children 1) + Identifier fh diff --git a/parser/testdata/02515_analyzer_null_for_empty/explain.txt b/parser/testdata/02515_analyzer_null_for_empty/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02515_analyzer_null_for_empty/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02515_and_or_if_multiif_not_return_lc/explain.txt b/parser/testdata/02515_and_or_if_multiif_not_return_lc/explain.txt new file mode 100644 index 000000000..25b5bb3f5 --- /dev/null +++ b/parser/testdata/02515_and_or_if_multiif_not_return_lc/explain.txt @@ -0,0 +1,22 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function toTypeName (children 1) + ExpressionList (children 1) + Function if (children 1) + ExpressionList (children 3) + Function toLowCardinality (children 1) + ExpressionList (children 1) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + Literal UInt64_1 + Literal UInt64_2 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/02515_distinct_zero_size_key_bug_44831/explain.txt b/parser/testdata/02515_distinct_zero_size_key_bug_44831/explain.txt new file mode 100644 index 000000000..403e43cf5 --- /dev/null +++ b/parser/testdata/02515_distinct_zero_size_key_bug_44831/explain.txt @@ -0,0 +1,22 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Literal NULL + Function if (alias res) (children 1) + ExpressionList (children 3) + Function greater (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_0 + Literal \'t\' + Literal \'\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier res diff --git a/parser/testdata/02515_generate_ulid/explain.txt b/parser/testdata/02515_generate_ulid/explain.txt new file mode 100644 index 000000000..08b62af02 --- /dev/null +++ b/parser/testdata/02515_generate_ulid/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function notEquals (children 1) + ExpressionList (children 2) + Function generateULID (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Function generateULID (children 1) + ExpressionList (children 1) + Literal UInt64_2 + Function toTypeName (children 1) + ExpressionList (children 1) + Function generateULID (children 1) + ExpressionList diff --git a/parser/testdata/02515_projections_with_totals/explain.txt b/parser/testdata/02515_projections_with_totals/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/02515_projections_with_totals/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/02515_tuple_lambda_parsing/explain.txt b/parser/testdata/02515_tuple_lambda_parsing/explain.txt new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/parser/testdata/02515_tuple_lambda_parsing/explain.txt @@ -0,0 +1 @@ + diff --git a/parser/testdata/02516_projections_and_context/explain.txt b/parser/testdata/02516_projections_and_context/explain.txt new file mode 100644 index 000000000..4189bee4a --- /dev/null +++ b/parser/testdata/02516_projections_and_context/explain.txt @@ -0,0 +1,2 @@ +DropQuery test1__fuzz_37 (children 1) + Identifier test1__fuzz_37 diff --git a/parser/testdata/02516_projections_with_rollup/explain.txt b/parser/testdata/02516_projections_with_rollup/explain.txt new file mode 100644 index 000000000..32b109b5f --- /dev/null +++ b/parser/testdata/02516_projections_with_rollup/explain.txt @@ -0,0 +1,2 @@ +DropQuery video_log (children 1) + Identifier video_log diff --git a/parser/testdata/02517_executable_pool_bad_input_query/explain.txt b/parser/testdata/02517_executable_pool_bad_input_query/explain.txt new file mode 100644 index 000000000..349d7341d --- /dev/null +++ b/parser/testdata/02517_executable_pool_bad_input_query/explain.txt @@ -0,0 +1,13 @@ +CreateQuery test_table (children 3) + Identifier test_table + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration value (children 1) + DataType String + Storage definition (children 1) + Function ExecutablePool (children 1) + ExpressionList (children 3) + Literal \'nonexist.py\' + Literal \'TabSeparated\' + Identifier foobar +The query succeeded but the server error '36' was expected (query: EXPLAIN AST CREATE TABLE test_table (value String) ENGINE=ExecutablePool('nonexist.py', 'TabSeparated', (foobar)); -- {serverError BAD_ARGUMENTS}). diff --git a/parser/testdata/02517_union_columns_order/explain.txt b/parser/testdata/02517_union_columns_order/explain.txt new file mode 100644 index 000000000..61f8a0e3a --- /dev/null +++ b/parser/testdata/02517_union_columns_order/explain.txt @@ -0,0 +1,9 @@ +CreateQuery t1 (children 3) + Identifier t1 + Columns definition (children 2) + ExpressionList (children 1) + ColumnDeclaration c0 (children 1) + DataType Int32 + Identifier c0 + Storage definition (children 1) + Function MergeTree diff --git a/parser/testdata/02517_uuid_parsing/explain.txt b/parser/testdata/02517_uuid_parsing/explain.txt new file mode 100644 index 000000000..5cc659f20 --- /dev/null +++ b/parser/testdata/02517_uuid_parsing/explain.txt @@ -0,0 +1,2 @@ +CreateQuery temp (children 1) + Identifier temp diff --git a/parser/testdata/02517_wrong_total_structure_crash/explain.txt b/parser/testdata/02517_wrong_total_structure_crash/explain.txt new file mode 100644 index 000000000..98f61da12 --- /dev/null +++ b/parser/testdata/02517_wrong_total_structure_crash/explain.txt @@ -0,0 +1,41 @@ +CreateQuery alias10__fuzz_13 (children 3) + Identifier alias10__fuzz_13 + Columns definition (children 1) + ExpressionList (children 5) + ColumnDeclaration Id (children 1) + DataType Array (children 1) + ExpressionList (children 1) + DataType Array (children 1) + ExpressionList (children 1) + DataType UInt256 + ColumnDeclaration EventDate (children 1) + DataType Array (children 1) + ExpressionList (children 1) + DataType String + ColumnDeclaration field1 (children 1) + DataType Array (children 1) + ExpressionList (children 1) + DataType Array (children 1) + ExpressionList (children 1) + DataType Nullable (children 1) + ExpressionList (children 1) + DataType Int8 + ColumnDeclaration field2 (children 1) + DataType Array (children 1) + ExpressionList (children 1) + DataType Date + ColumnDeclaration field3 (children 1) + DataType Array (children 1) + ExpressionList (children 1) + DataType Array (children 1) + ExpressionList (children 1) + DataType Array (children 1) + ExpressionList (children 1) + DataType UInt128 + Storage definition (children 1) + Function Distributed (children 1) + ExpressionList (children 3) + Identifier test_shard_localhost + Function currentDatabase (children 1) + ExpressionList + Identifier alias_local10 diff --git a/parser/testdata/02518_delete_on_materialized_view/explain.txt b/parser/testdata/02518_delete_on_materialized_view/explain.txt new file mode 100644 index 000000000..a15fbe62d --- /dev/null +++ b/parser/testdata/02518_delete_on_materialized_view/explain.txt @@ -0,0 +1,2 @@ +DropQuery kek (children 1) + Identifier kek diff --git a/parser/testdata/02518_merge_engine_nullable_43324/explain.txt b/parser/testdata/02518_merge_engine_nullable_43324/explain.txt new file mode 100644 index 000000000..275941d99 --- /dev/null +++ b/parser/testdata/02518_merge_engine_nullable_43324/explain.txt @@ -0,0 +1,2 @@ +DropQuery foo (children 1) + Identifier foo diff --git a/parser/testdata/02518_qualified_asterisks_alias_table_name/explain.txt b/parser/testdata/02518_qualified_asterisks_alias_table_name/explain.txt new file mode 100644 index 000000000..84ad30951 --- /dev/null +++ b/parser/testdata/02518_qualified_asterisks_alias_table_name/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_table_join_1 (children 1) + Identifier test_table_join_1 diff --git a/parser/testdata/02518_rewrite_aggregate_function_with_if/explain.txt b/parser/testdata/02518_rewrite_aggregate_function_with_if/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02518_rewrite_aggregate_function_with_if/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02519_monotonicity_fuzz/explain.txt b/parser/testdata/02519_monotonicity_fuzz/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/02519_monotonicity_fuzz/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/02520_group_array_last/explain.txt b/parser/testdata/02520_group_array_last/explain.txt new file mode 100644 index 000000000..c29e89c3f --- /dev/null +++ b/parser/testdata/02520_group_array_last/explain.txt @@ -0,0 +1,2 @@ +DropQuery simple_agg_groupArrayLastArray (children 1) + Identifier simple_agg_groupArrayLastArray diff --git a/parser/testdata/02521_aggregation_by_partitions/explain.txt b/parser/testdata/02521_aggregation_by_partitions/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02521_aggregation_by_partitions/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02521_analyzer_aggregation_without_column/explain.txt b/parser/testdata/02521_analyzer_aggregation_without_column/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02521_analyzer_aggregation_without_column/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02521_analyzer_array_join_crash/explain.txt b/parser/testdata/02521_analyzer_array_join_crash/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02521_analyzer_array_join_crash/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02521_cannot_find_column_in_projection/explain.txt b/parser/testdata/02521_cannot_find_column_in_projection/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/02521_cannot_find_column_in_projection/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/02521_grouping_sets_plus_memory_efficient_aggr/explain.txt b/parser/testdata/02521_grouping_sets_plus_memory_efficient_aggr/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02521_grouping_sets_plus_memory_efficient_aggr/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02521_lightweight_delete_and_ttl/explain.txt b/parser/testdata/02521_lightweight_delete_and_ttl/explain.txt new file mode 100644 index 000000000..63b2799e3 --- /dev/null +++ b/parser/testdata/02521_lightweight_delete_and_ttl/explain.txt @@ -0,0 +1,2 @@ +DropQuery lwd_test_02521 (children 1) + Identifier lwd_test_02521 diff --git a/parser/testdata/02521_to_custom_day_of_week/explain.txt b/parser/testdata/02521_to_custom_day_of_week/explain.txt new file mode 100644 index 000000000..043330c91 --- /dev/null +++ b/parser/testdata/02521_to_custom_day_of_week/explain.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function toDate (alias date_mon) (children 1) + ExpressionList (children 1) + Literal \'2023-01-09\' + Function minus (alias date_sun) (children 1) + ExpressionList (children 2) + Identifier date_mon + Literal UInt64_1 + ExpressionList (children 2) + Function toDayOfWeek (children 1) + ExpressionList (children 1) + Identifier date_mon + Function toDayOfWeek (children 1) + ExpressionList (children 1) + Identifier date_sun diff --git a/parser/testdata/02522_different_types_in_storage_merge/explain.txt b/parser/testdata/02522_different_types_in_storage_merge/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02522_different_types_in_storage_merge/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02523_array_shuffle/explain.txt b/parser/testdata/02523_array_shuffle/explain.txt new file mode 100644 index 000000000..f32bf174e --- /dev/null +++ b/parser/testdata/02523_array_shuffle/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayShuffle (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList diff --git a/parser/testdata/02523_range_const_start/metadata.json b/parser/testdata/02523_range_const_start/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02523_range_const_start/metadata.json +++ b/parser/testdata/02523_range_const_start/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02524_fuzz_and_fuss/explain.txt b/parser/testdata/02524_fuzz_and_fuss/explain.txt new file mode 100644 index 000000000..fb0d5d2cf --- /dev/null +++ b/parser/testdata/02524_fuzz_and_fuss/explain.txt @@ -0,0 +1,56 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 3) + Literal Array_[UInt64_9223372036854775806, UInt64_1048575] + Function array (children 1) + ExpressionList + Function sumMap (children 1) + ExpressionList (children 3) + Identifier val + Function array (children 1) + ExpressionList (children 2) + Function toDateTime64 (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList (children 2) + Function CAST (children 1) + ExpressionList (children 2) + Literal Float64_1 + Literal \'Decimal(10,2)\' + Function CAST (children 1) + ExpressionList (children 2) + Literal Float64_10.000100135803223 + Literal \'Decimal(10,2)\' + Literal NULL + Function CAST (children 1) + ExpressionList (children 2) + Literal Float64_-0 + Literal \'Decimal(10,2)\' + Identifier cnt + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 4) + Function toDateTime64 (children 1) + ExpressionList (children 4) + Literal \'0.0000001023\' + Literal Array_[UInt64_1025, UInt64_256] + Literal \'102.5\' + Literal NULL + Literal Array_[NULL] + Function array (alias val) (children 1) + ExpressionList (children 2) + Function CAST (children 1) + ExpressionList (children 2) + Literal \'a\' + Literal \'FixedString(1)\' + Function CAST (children 1) + ExpressionList (children 2) + Literal \'\' + Literal \'FixedString(1)\' + Literal Array_[UInt64_1024, UInt64_100] (alias cnt) diff --git a/parser/testdata/02524_fuzz_and_fuss_2/explain.txt b/parser/testdata/02524_fuzz_and_fuss_2/explain.txt new file mode 100644 index 000000000..888967726 --- /dev/null +++ b/parser/testdata/02524_fuzz_and_fuss_2/explain.txt @@ -0,0 +1,2 @@ +DropQuery data_a_02187 (children 1) + Identifier data_a_02187 diff --git a/parser/testdata/02525_analyzer_function_in_crash_fix/explain.txt b/parser/testdata/02525_analyzer_function_in_crash_fix/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02525_analyzer_function_in_crash_fix/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02525_different_engines_in_temporary_tables/explain.txt b/parser/testdata/02525_different_engines_in_temporary_tables/explain.txt new file mode 100644 index 000000000..4bac6286e --- /dev/null +++ b/parser/testdata/02525_different_engines_in_temporary_tables/explain.txt @@ -0,0 +1,2 @@ +DropQuery table_merge_tree_02525 (children 1) + Identifier table_merge_tree_02525 diff --git a/parser/testdata/02525_jit_logical_functions_nan/explain.txt b/parser/testdata/02525_jit_logical_functions_nan/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02525_jit_logical_functions_nan/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02525_range_hashed_dictionary_update_field/explain.txt b/parser/testdata/02525_range_hashed_dictionary_update_field/explain.txt new file mode 100644 index 000000000..d4bf1aa3f --- /dev/null +++ b/parser/testdata/02525_range_hashed_dictionary_update_field/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_table (children 1) + Identifier test_table diff --git a/parser/testdata/02526_kv_engine_different_filter_type/explain.txt b/parser/testdata/02526_kv_engine_different_filter_type/explain.txt new file mode 100644 index 000000000..73119a72e --- /dev/null +++ b/parser/testdata/02526_kv_engine_different_filter_type/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02526_keeper_map (children 1) + Identifier 02526_keeper_map diff --git a/parser/testdata/02526_merge_join_int_decimal/explain.txt b/parser/testdata/02526_merge_join_int_decimal/explain.txt new file mode 100644 index 000000000..275941d99 --- /dev/null +++ b/parser/testdata/02526_merge_join_int_decimal/explain.txt @@ -0,0 +1,2 @@ +DropQuery foo (children 1) + Identifier foo diff --git a/parser/testdata/02527_storage_merge_prewhere_different_type/explain.txt b/parser/testdata/02527_storage_merge_prewhere_different_type/explain.txt new file mode 100644 index 000000000..275941d99 --- /dev/null +++ b/parser/testdata/02527_storage_merge_prewhere_different_type/explain.txt @@ -0,0 +1,2 @@ +DropQuery foo (children 1) + Identifier foo diff --git a/parser/testdata/02530_ip_part_id/explain.txt b/parser/testdata/02530_ip_part_id/explain.txt new file mode 100644 index 000000000..3e2018585 --- /dev/null +++ b/parser/testdata/02530_ip_part_id/explain.txt @@ -0,0 +1,2 @@ +DropQuery ip_part_test (children 1) + Identifier ip_part_test diff --git a/parser/testdata/02531_ipv4_arithmetic/explain.txt b/parser/testdata/02531_ipv4_arithmetic/explain.txt new file mode 100644 index 000000000..db064259e --- /dev/null +++ b/parser/testdata/02531_ipv4_arithmetic/explain.txt @@ -0,0 +1,29 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 3) + Identifier number + Identifier ip + Function modulo (children 1) + ExpressionList (children 2) + Identifier ip + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Identifier number + Function toIPv4 (alias ip) (children 1) + ExpressionList (children 1) + Literal \'1.2.3.4\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 2) + Literal UInt64_10 + Literal UInt64_20 diff --git a/parser/testdata/02531_semi_join_null_const_bug/explain.txt b/parser/testdata/02531_semi_join_null_const_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02531_semi_join_null_const_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02531_storage_join_null_44940/explain.txt b/parser/testdata/02531_storage_join_null_44940/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02531_storage_join_null_44940/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02532_analyzer_aggregation_with_rollup/explain.txt b/parser/testdata/02532_analyzer_aggregation_with_rollup/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02532_analyzer_aggregation_with_rollup/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02532_profileevents_server_startup_time/explain.txt b/parser/testdata/02532_profileevents_server_startup_time/explain.txt new file mode 100644 index 000000000..67ee15c62 --- /dev/null +++ b/parser/testdata/02532_profileevents_server_startup_time/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier event + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.events + Function equals (children 1) + ExpressionList (children 2) + Identifier event + Literal \'ServerStartupMilliseconds\' diff --git a/parser/testdata/02533_generate_random_schema_inference/explain.txt b/parser/testdata/02533_generate_random_schema_inference/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/02533_generate_random_schema_inference/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/02534_analyzer_grouping_function/explain.txt b/parser/testdata/02534_analyzer_grouping_function/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02534_analyzer_grouping_function/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02534_default_granularity/explain.txt b/parser/testdata/02534_default_granularity/explain.txt new file mode 100644 index 000000000..13c72fdd1 --- /dev/null +++ b/parser/testdata/02534_default_granularity/explain.txt @@ -0,0 +1,2 @@ +DropQuery users_02534 (children 1) + Identifier users_02534 diff --git a/parser/testdata/02534_join_prewhere_bug/explain.txt b/parser/testdata/02534_join_prewhere_bug/explain.txt new file mode 100644 index 000000000..5cbd34a73 --- /dev/null +++ b/parser/testdata/02534_join_prewhere_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery test1 (children 1) + Identifier test1 diff --git a/parser/testdata/02534_keyed_siphash/metadata.json b/parser/testdata/02534_keyed_siphash/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02534_keyed_siphash/metadata.json +++ b/parser/testdata/02534_keyed_siphash/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02534_s3_cluster_insert_select_schema_inference/explain.txt b/parser/testdata/02534_s3_cluster_insert_select_schema_inference/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/02534_s3_cluster_insert_select_schema_inference/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/02534_s3_heap_use_after_free/explain.txt b/parser/testdata/02534_s3_heap_use_after_free/explain.txt new file mode 100644 index 000000000..9fa959e24 --- /dev/null +++ b/parser/testdata/02534_s3_heap_use_after_free/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function s3 (children 1) + ExpressionList (children 2) + Literal \'http://localhost:11111/test/a.tsv\' + Identifier CustomSeparated diff --git a/parser/testdata/02535_analyzer_group_by_use_nulls/explain.txt b/parser/testdata/02535_analyzer_group_by_use_nulls/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02535_analyzer_group_by_use_nulls/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02535_analyzer_limit_offset/explain.txt b/parser/testdata/02535_analyzer_limit_offset/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02535_analyzer_limit_offset/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02535_ip_parser_not_whole/explain.txt b/parser/testdata/02535_ip_parser_not_whole/explain.txt new file mode 100644 index 000000000..f640bfb2e --- /dev/null +++ b/parser/testdata/02535_ip_parser_not_whole/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function format (children 1) + ExpressionList (children 2) + Identifier CSVWithNamesAndTypes + Literal \'ip,port\\nIPv6,UInt16\\n::1,42\\n\' diff --git a/parser/testdata/02536_date_from_number_inference_fix/explain.txt b/parser/testdata/02536_date_from_number_inference_fix/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02536_date_from_number_inference_fix/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02536_delta_gorilla_corruption/explain.txt b/parser/testdata/02536_delta_gorilla_corruption/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02536_delta_gorilla_corruption/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02536_distributed_detach_table/explain.txt b/parser/testdata/02536_distributed_detach_table/explain.txt new file mode 100644 index 000000000..97c4aec1d --- /dev/null +++ b/parser/testdata/02536_distributed_detach_table/explain.txt @@ -0,0 +1,11 @@ +CreateQuery test_02536 (children 3) + Identifier test_02536 + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration n (children 1) + DataType Int8 + Storage definition (children 2) + Function MergeTree (children 1) + ExpressionList + Function tuple (children 1) + ExpressionList diff --git a/parser/testdata/02536_replace_with_nonconst_needle_and_replacement/explain.txt b/parser/testdata/02536_replace_with_nonconst_needle_and_replacement/explain.txt new file mode 100644 index 000000000..29b2e3bea --- /dev/null +++ b/parser/testdata/02536_replace_with_nonconst_needle_and_replacement/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_tab (children 1) + Identifier test_tab diff --git a/parser/testdata/02536_system_sync_file_cache/explain.txt b/parser/testdata/02536_system_sync_file_cache/explain.txt new file mode 100644 index 000000000..1684cb9d8 --- /dev/null +++ b/parser/testdata/02536_system_sync_file_cache/explain.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02537_system_formats/explain.txt b/parser/testdata/02537_system_formats/explain.txt new file mode 100644 index 000000000..a4412aedc --- /dev/null +++ b/parser/testdata/02537_system_formats/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.formats + Function in (children 1) + ExpressionList (children 2) + Identifier name + Literal Tuple_(\'CSV\', \'Native\') + ExpressionList (children 1) + OrderByElement (children 1) + Identifier name diff --git a/parser/testdata/02538_alter_rename_sequence/explain.txt b/parser/testdata/02538_alter_rename_sequence/explain.txt new file mode 100644 index 000000000..13f04da6a --- /dev/null +++ b/parser/testdata/02538_alter_rename_sequence/explain.txt @@ -0,0 +1,2 @@ +DropQuery wrong_metadata (children 1) + Identifier wrong_metadata diff --git a/parser/testdata/02538_analyzer_create_table_as_select/explain.txt b/parser/testdata/02538_analyzer_create_table_as_select/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02538_analyzer_create_table_as_select/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02538_ngram_bf_index_with_null/explain.txt b/parser/testdata/02538_ngram_bf_index_with_null/explain.txt new file mode 100644 index 000000000..0bab9c8cf --- /dev/null +++ b/parser/testdata/02538_ngram_bf_index_with_null/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02538_bf_ngrambf_map_values_test (children 1) + Identifier 02538_bf_ngrambf_map_values_test diff --git a/parser/testdata/02538_nullable_array_tuple_timeseries/explain.txt b/parser/testdata/02538_nullable_array_tuple_timeseries/explain.txt new file mode 100644 index 000000000..ff737eb65 --- /dev/null +++ b/parser/testdata/02538_nullable_array_tuple_timeseries/explain.txt @@ -0,0 +1,2 @@ +DropQuery tbl (children 1) + Identifier tbl diff --git a/parser/testdata/02539_generate_random_ip/explain.txt b/parser/testdata/02539_generate_random_ip/explain.txt new file mode 100644 index 000000000..1e7ada3f8 --- /dev/null +++ b/parser/testdata/02539_generate_random_ip/explain.txt @@ -0,0 +1,32 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function greater (children 1) + ExpressionList (children 2) + Function uniq (children 1) + ExpressionList (children 1) + Identifier v4 + Literal UInt64_1000 + Function greater (children 1) + ExpressionList (children 2) + Function uniq (children 1) + ExpressionList (children 1) + Identifier v6 + Literal UInt64_1000 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function generateRandom (children 1) + ExpressionList (children 1) + Literal \'v4 IPv4, v6 IPv6\' + Literal UInt64_100000 diff --git a/parser/testdata/02539_generate_random_low_cardinality/explain.txt b/parser/testdata/02539_generate_random_low_cardinality/explain.txt new file mode 100644 index 000000000..e85837d22 --- /dev/null +++ b/parser/testdata/02539_generate_random_low_cardinality/explain.txt @@ -0,0 +1,26 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function greater (children 1) + ExpressionList (children 2) + Function uniq (children 1) + ExpressionList (children 1) + Identifier x + Literal UInt64_1000 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function generateRandom (children 1) + ExpressionList (children 1) + Literal \'x Array(LowCardinality(Nullable(String)))\' + Literal UInt64_100000 diff --git a/parser/testdata/02539_generate_random_map/explain.txt b/parser/testdata/02539_generate_random_map/explain.txt new file mode 100644 index 000000000..f0d991777 --- /dev/null +++ b/parser/testdata/02539_generate_random_map/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function max (children 1) + ExpressionList (children 1) + Function length (children 1) + ExpressionList (children 1) + Function mapKeys (children 1) + ExpressionList (children 1) + Identifier a diff --git a/parser/testdata/02539_vertical_merge_compact_parts/explain.txt b/parser/testdata/02539_vertical_merge_compact_parts/explain.txt new file mode 100644 index 000000000..8a92dc1e8 --- /dev/null +++ b/parser/testdata/02539_vertical_merge_compact_parts/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_compact_vertical_merge (children 1) + Identifier t_compact_vertical_merge diff --git a/parser/testdata/02540_analyzer_matcher_alias_materialized_columns/explain.txt b/parser/testdata/02540_analyzer_matcher_alias_materialized_columns/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02540_analyzer_matcher_alias_materialized_columns/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02540_date_column_consistent_insert_behaviour/explain.txt b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain.txt new file mode 100644 index 000000000..407bac390 --- /dev/null +++ b/parser/testdata/02540_date_column_consistent_insert_behaviour/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02540_date (children 1) + Identifier 02540_date diff --git a/parser/testdata/02540_duplicate_primary_key/explain.txt b/parser/testdata/02540_duplicate_primary_key/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/02540_duplicate_primary_key/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/02540_duplicate_primary_key2/explain.txt b/parser/testdata/02540_duplicate_primary_key2/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/02540_duplicate_primary_key2/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/02541_analyzer_grouping_sets_crash_fix/explain.txt b/parser/testdata/02541_analyzer_grouping_sets_crash_fix/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02541_analyzer_grouping_sets_crash_fix/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02541_empty_function_support_ip/explain.txt b/parser/testdata/02541_empty_function_support_ip/explain.txt new file mode 100644 index 000000000..b0f14e3ad --- /dev/null +++ b/parser/testdata/02541_empty_function_support_ip/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function empty (children 1) + ExpressionList (children 1) + Function toIPv6 (children 1) + ExpressionList (children 1) + Literal \'::\' diff --git a/parser/testdata/02541_lightweight_delete_on_cluster/explain.txt b/parser/testdata/02541_lightweight_delete_on_cluster/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02541_lightweight_delete_on_cluster/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02541_multiple_ignore_with_nested_select/explain.txt b/parser/testdata/02541_multiple_ignore_with_nested_select/explain.txt new file mode 100644 index 000000000..b55818d6b --- /dev/null +++ b/parser/testdata/02541_multiple_ignore_with_nested_select/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Asterisk diff --git a/parser/testdata/02541_tuple_element_with_null/explain.txt b/parser/testdata/02541_tuple_element_with_null/explain.txt new file mode 100644 index 000000000..7caca639d --- /dev/null +++ b/parser/testdata/02541_tuple_element_with_null/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_tuple_element (children 1) + Identifier test_tuple_element diff --git a/parser/testdata/02542_case_no_else/explain.txt b/parser/testdata/02542_case_no_else/explain.txt new file mode 100644 index 000000000..a27a21304 --- /dev/null +++ b/parser/testdata/02542_case_no_else/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function caseWithExpression (children 1) + ExpressionList (children 4) + Literal UInt64_1 + Literal UInt64_1 + Literal UInt64_2 + Literal NULL diff --git a/parser/testdata/02542_table_function_format/metadata.json b/parser/testdata/02542_table_function_format/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02542_table_function_format/metadata.json +++ b/parser/testdata/02542_table_function_format/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02542_transform_new/explain.txt b/parser/testdata/02542_transform_new/explain.txt new file mode 100644 index 000000000..9d34448b8 --- /dev/null +++ b/parser/testdata/02542_transform_new/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function transform (children 1) + ExpressionList (children 4) + Literal UInt64_2 + Literal Array_[UInt64_1, UInt64_2] + Literal Array_[UInt64_9, UInt64_1] + Function materialize (children 1) + ExpressionList (children 1) + Literal NULL diff --git a/parser/testdata/02542_transform_old/explain.txt b/parser/testdata/02542_transform_old/explain.txt new file mode 100644 index 000000000..88bd7f495 --- /dev/null +++ b/parser/testdata/02542_transform_old/explain.txt @@ -0,0 +1,21 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function transform (alias x) (children 1) + ExpressionList (children 4) + Identifier number + Literal Array_[UInt64_2, UInt64_4, UInt64_6] + Literal Array_[\'google\', \'yandex\', \'yahoo\'] + Literal \'other\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + ExpressionList (children 1) + Identifier x + ExpressionList (children 1) + OrderByElement (children 1) + Identifier x diff --git a/parser/testdata/02551_ipv4_implicit_uint64/explain.txt b/parser/testdata/02551_ipv4_implicit_uint64/explain.txt new file mode 100644 index 000000000..4f89838af --- /dev/null +++ b/parser/testdata/02551_ipv4_implicit_uint64/explain.txt @@ -0,0 +1,8 @@ +CreateQuery ip4test (children 3) + Identifier ip4test + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration ip (children 1) + DataType IPv4 + Storage definition (children 1) + Function Memory diff --git a/parser/testdata/02552_analyzer_optimize_group_by_function_keys_crash/explain.txt b/parser/testdata/02552_analyzer_optimize_group_by_function_keys_crash/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02552_analyzer_optimize_group_by_function_keys_crash/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02552_check_referential_table_dependencies/explain.txt b/parser/testdata/02552_check_referential_table_dependencies/explain.txt new file mode 100644 index 000000000..4ef0197c6 --- /dev/null +++ b/parser/testdata/02552_check_referential_table_dependencies/explain.txt @@ -0,0 +1,2 @@ +DropQuery mv (children 1) + Identifier mv diff --git a/parser/testdata/02552_client_format_settings/explain.txt b/parser/testdata/02552_client_format_settings/explain.txt new file mode 100644 index 000000000..8f09cc7c2 --- /dev/null +++ b/parser/testdata/02552_client_format_settings/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_5 + Set + Identifier JSONEachRow diff --git a/parser/testdata/02552_inner_join_with_where_true/explain.txt b/parser/testdata/02552_inner_join_with_where_true/explain.txt new file mode 100644 index 000000000..d1a46db86 --- /dev/null +++ b/parser/testdata/02552_inner_join_with_where_true/explain.txt @@ -0,0 +1,8 @@ +CreateQuery t0 (children 3) + Identifier t0 + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration c0 (children 1) + DataType Int32 + Storage definition (children 1) + Function Memory diff --git a/parser/testdata/02552_regression_crash/explain.txt b/parser/testdata/02552_regression_crash/explain.txt new file mode 100644 index 000000000..3060bebb3 --- /dev/null +++ b/parser/testdata/02552_regression_crash/explain.txt @@ -0,0 +1,2 @@ +CreateQuery store_sales (children 1) + Identifier store_sales diff --git a/parser/testdata/02552_siphash128_reference/metadata.json b/parser/testdata/02552_siphash128_reference/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02552_siphash128_reference/metadata.json +++ b/parser/testdata/02552_siphash128_reference/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02552_sparse_columns_intersect/explain.txt b/parser/testdata/02552_sparse_columns_intersect/explain.txt new file mode 100644 index 000000000..1b0a4d409 --- /dev/null +++ b/parser/testdata/02552_sparse_columns_intersect/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_sparse_intersect (children 1) + Identifier t_sparse_intersect diff --git a/parser/testdata/02553_new_type_json_attach_partition/explain.txt b/parser/testdata/02553_new_type_json_attach_partition/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02553_new_type_json_attach_partition/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02554_fix_grouping_sets_predicate_push_down/explain.txt b/parser/testdata/02554_fix_grouping_sets_predicate_push_down/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02554_fix_grouping_sets_predicate_push_down/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02554_format_json_columns_for_empty/explain.txt b/parser/testdata/02554_format_json_columns_for_empty/explain.txt new file mode 100644 index 000000000..19ec29173 --- /dev/null +++ b/parser/testdata/02554_format_json_columns_for_empty/explain.txt @@ -0,0 +1,2 @@ +DropQuery json_columns (children 1) + Identifier json_columns diff --git a/parser/testdata/02554_invalid_create_view_syntax/explain.txt b/parser/testdata/02554_invalid_create_view_syntax/explain.txt new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/parser/testdata/02554_invalid_create_view_syntax/explain.txt @@ -0,0 +1 @@ + diff --git a/parser/testdata/02554_log_faminy_support_storage_policy/explain.txt b/parser/testdata/02554_log_faminy_support_storage_policy/explain.txt new file mode 100644 index 000000000..807f8920c --- /dev/null +++ b/parser/testdata/02554_log_faminy_support_storage_policy/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_2554_log (children 1) + Identifier test_2554_log diff --git a/parser/testdata/02554_rewrite_count_distinct_if_with_count_distinct_implementation/explain.txt b/parser/testdata/02554_rewrite_count_distinct_if_with_count_distinct_implementation/explain.txt new file mode 100644 index 000000000..6bef445c0 --- /dev/null +++ b/parser/testdata/02554_rewrite_count_distinct_if_with_count_distinct_implementation/explain.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function countDistinctIf (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_5 + Literal UInt64_2 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1000 diff --git a/parser/testdata/02559_add_parts/explain.txt b/parser/testdata/02559_add_parts/explain.txt new file mode 100644 index 000000000..d4b7fb954 --- /dev/null +++ b/parser/testdata/02559_add_parts/explain.txt @@ -0,0 +1,2 @@ +CreateQuery check_system_tables (children 1) + Identifier check_system_tables diff --git a/parser/testdata/02559_ip_types_bloom/explain.txt b/parser/testdata/02559_ip_types_bloom/explain.txt new file mode 100644 index 000000000..44b9f8327 --- /dev/null +++ b/parser/testdata/02559_ip_types_bloom/explain.txt @@ -0,0 +1,2 @@ +DropQuery ip_bloom (children 1) + Identifier ip_bloom diff --git a/parser/testdata/02559_multiple_read_steps_in_prewhere/explain.txt b/parser/testdata/02559_multiple_read_steps_in_prewhere/explain.txt new file mode 100644 index 000000000..42155fc6a --- /dev/null +++ b/parser/testdata/02559_multiple_read_steps_in_prewhere/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_02559 (children 1) + Identifier test_02559 diff --git a/parser/testdata/02559_multiple_read_steps_in_prewhere_fuzz/explain.txt b/parser/testdata/02559_multiple_read_steps_in_prewhere_fuzz/explain.txt new file mode 100644 index 000000000..b68e84bb5 --- /dev/null +++ b/parser/testdata/02559_multiple_read_steps_in_prewhere_fuzz/explain.txt @@ -0,0 +1,14 @@ +CreateQuery test_02559__fuzz_20 (children 3) + Identifier test_02559__fuzz_20 + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration id1 (children 1) + DataType Int16 + ColumnDeclaration id2 (children 1) + DataType Decimal (children 1) + ExpressionList (children 2) + Literal UInt64_18 + Literal UInt64_14 + Storage definition (children 2) + Function MergeTree + Identifier id1 diff --git a/parser/testdata/02559_multiple_read_steps_in_prewhere_missing_columns/explain.txt b/parser/testdata/02559_multiple_read_steps_in_prewhere_missing_columns/explain.txt new file mode 100644 index 000000000..42155fc6a --- /dev/null +++ b/parser/testdata/02559_multiple_read_steps_in_prewhere_missing_columns/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_02559 (children 1) + Identifier test_02559 diff --git a/parser/testdata/02559_multiple_read_steps_in_prewhere_missing_columns_2/explain.txt b/parser/testdata/02559_multiple_read_steps_in_prewhere_missing_columns_2/explain.txt new file mode 100644 index 000000000..8f9f7eb3b --- /dev/null +++ b/parser/testdata/02559_multiple_read_steps_in_prewhere_missing_columns_2/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_02559 (children 1) + Identifier t_02559 diff --git a/parser/testdata/02559_multiple_read_steps_in_prewhere_reuse_computation/explain.txt b/parser/testdata/02559_multiple_read_steps_in_prewhere_reuse_computation/explain.txt new file mode 100644 index 000000000..8f9f7eb3b --- /dev/null +++ b/parser/testdata/02559_multiple_read_steps_in_prewhere_reuse_computation/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_02559 (children 1) + Identifier t_02559 diff --git a/parser/testdata/02559_nested_multiple_levels_default/explain.txt b/parser/testdata/02559_nested_multiple_levels_default/explain.txt new file mode 100644 index 000000000..d548fdd2f --- /dev/null +++ b/parser/testdata/02559_nested_multiple_levels_default/explain.txt @@ -0,0 +1,2 @@ +DropQuery data_compact (children 1) + Identifier data_compact diff --git a/parser/testdata/02560_agg_state_deserialization_hash_table_crash/explain.txt b/parser/testdata/02560_agg_state_deserialization_hash_table_crash/explain.txt new file mode 100644 index 000000000..0a00b06d1 --- /dev/null +++ b/parser/testdata/02560_agg_state_deserialization_hash_table_crash/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab (children 1) + Identifier tab diff --git a/parser/testdata/02560_analyzer_materialized_view/explain.txt b/parser/testdata/02560_analyzer_materialized_view/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02560_analyzer_materialized_view/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02560_count_digits/explain.txt b/parser/testdata/02560_count_digits/explain.txt new file mode 100644 index 000000000..2365d9847 --- /dev/null +++ b/parser/testdata/02560_count_digits/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function countDigits (children 1) + ExpressionList (children 1) + Literal UInt64_0 diff --git a/parser/testdata/02560_null_as_default/explain.txt b/parser/testdata/02560_null_as_default/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/02560_null_as_default/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/02560_quantile_min_max/explain.txt b/parser/testdata/02560_quantile_min_max/explain.txt new file mode 100644 index 000000000..1648463de --- /dev/null +++ b/parser/testdata/02560_quantile_min_max/explain.txt @@ -0,0 +1,2 @@ +DropQuery nums (children 1) + Identifier nums diff --git a/parser/testdata/02560_regexp_denial_of_service/explain.txt b/parser/testdata/02560_regexp_denial_of_service/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/02560_regexp_denial_of_service/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/02560_vertical_merge_memory_usage/explain.txt b/parser/testdata/02560_vertical_merge_memory_usage/explain.txt new file mode 100644 index 000000000..1352d94cc --- /dev/null +++ b/parser/testdata/02560_vertical_merge_memory_usage/explain.txt @@ -0,0 +1,2 @@ +DropQuery tvm (children 1) + Identifier tvm diff --git a/parser/testdata/02560_window_ntile/explain.txt b/parser/testdata/02560_window_ntile/explain.txt new file mode 100644 index 000000000..5e91d5adb --- /dev/null +++ b/parser/testdata/02560_window_ntile/explain.txt @@ -0,0 +1,37 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 3) + Identifier a + Identifier b + Function ntile (children 2) + ExpressionList (children 1) + Literal UInt64_3 + WindowDefinition (children 2) + ExpressionList (children 1) + Identifier a + ExpressionList (children 1) + OrderByElement (children 1) + Identifier b + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function intDiv (alias a) (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 + Function modulo (alias b) (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_20 diff --git a/parser/testdata/02560_with_fill_int256_int/explain.txt b/parser/testdata/02560_with_fill_int256_int/explain.txt new file mode 100644 index 000000000..ee83b07b5 --- /dev/null +++ b/parser/testdata/02560_with_fill_int256_int/explain.txt @@ -0,0 +1,22 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Function multiply (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + Literal \'Int128\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + ExpressionList (children 1) + OrderByElement (children 3) + Literal UInt64_1 + Literal UInt64_3 + Literal UInt64_8 diff --git a/parser/testdata/02561_sorting_constants_and_distinct_crash/explain.txt b/parser/testdata/02561_sorting_constants_and_distinct_crash/explain.txt new file mode 100644 index 000000000..d4bf1aa3f --- /dev/null +++ b/parser/testdata/02561_sorting_constants_and_distinct_crash/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_table (children 1) + Identifier test_table diff --git a/parser/testdata/02561_with_fill_date_datetime_incompatible/explain.txt b/parser/testdata/02561_with_fill_date_datetime_incompatible/explain.txt new file mode 100644 index 000000000..65dbb816c --- /dev/null +++ b/parser/testdata/02561_with_fill_date_datetime_incompatible/explain.txt @@ -0,0 +1,6 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function today (alias a) (children 1) + ExpressionList diff --git a/parser/testdata/02562_regexp_extract/explain.txt b/parser/testdata/02562_regexp_extract/explain.txt new file mode 100644 index 000000000..c5f75f623 --- /dev/null +++ b/parser/testdata/02562_regexp_extract/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function regexpExtract (children 1) + ExpressionList (children 3) + Literal \'100-200\' + Literal \'(\\\\d+)-(\\\\d+)\' + Literal UInt64_1 diff --git a/parser/testdata/02562_with_fill_nullable/explain.txt b/parser/testdata/02562_with_fill_nullable/explain.txt new file mode 100644 index 000000000..1dad2f8eb --- /dev/null +++ b/parser/testdata/02562_with_fill_nullable/explain.txt @@ -0,0 +1,25 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function toNullable (alias d) (children 1) + ExpressionList (children 1) + Function plus (children 1) + ExpressionList (children 2) + Function CAST (children 1) + ExpressionList (children 2) + Literal \'2023-02-09\' + Literal \'Date\' + Function multiply (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_2 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier d diff --git a/parser/testdata/02563_analyzer_merge/explain.txt b/parser/testdata/02563_analyzer_merge/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02563_analyzer_merge/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02564_analyzer_cross_to_inner/explain.txt b/parser/testdata/02564_analyzer_cross_to_inner/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02564_analyzer_cross_to_inner/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02564_analyzer_ssb_cross_to_inner/explain.txt b/parser/testdata/02564_analyzer_ssb_cross_to_inner/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02564_analyzer_ssb_cross_to_inner/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02564_date_format/explain.txt b/parser/testdata/02564_date_format/explain.txt new file mode 100644 index 000000000..3b7ee3de8 --- /dev/null +++ b/parser/testdata/02564_date_format/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function DATE_FORMAT (children 1) + ExpressionList (children 2) + Function toDateTime (children 1) + ExpressionList (children 1) + Literal \'2018-01-02 22:33:44\' + Literal \'%a\' + Function DATE_FORMAT (children 1) + ExpressionList (children 2) + Function toDate32 (children 1) + ExpressionList (children 1) + Literal \'2018-01-02\' + Literal \'%a\' diff --git a/parser/testdata/02564_read_in_order_final_desc/explain.txt b/parser/testdata/02564_read_in_order_final_desc/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02564_read_in_order_final_desc/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02565_analyzer_limit_settings/explain.txt b/parser/testdata/02565_analyzer_limit_settings/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02565_analyzer_limit_settings/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02565_update_empty_nested/explain.txt b/parser/testdata/02565_update_empty_nested/explain.txt new file mode 100644 index 000000000..d033fb2df --- /dev/null +++ b/parser/testdata/02565_update_empty_nested/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_update_empty_nested (children 1) + Identifier t_update_empty_nested diff --git a/parser/testdata/02566_analyzer_limit_settings_distributed/explain.txt b/parser/testdata/02566_analyzer_limit_settings_distributed/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02566_analyzer_limit_settings_distributed/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02567_and_consistency/explain.txt b/parser/testdata/02567_and_consistency/explain.txt new file mode 100644 index 000000000..83f768d4e --- /dev/null +++ b/parser/testdata/02567_and_consistency/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toBool (alias x) (children 1) + ExpressionList (children 1) + Function sin (children 1) + ExpressionList (children 1) + Function SUM (children 1) + ExpressionList (children 1) + Identifier number diff --git a/parser/testdata/02568_and_consistency/explain.txt b/parser/testdata/02568_and_consistency/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/02568_and_consistency/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/02568_array_map_const_low_cardinality/explain.txt b/parser/testdata/02568_array_map_const_low_cardinality/explain.txt new file mode 100644 index 000000000..643d0306f --- /dev/null +++ b/parser/testdata/02568_array_map_const_low_cardinality/explain.txt @@ -0,0 +1,21 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayMap (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function plus (children 1) + ExpressionList (children 2) + Function toLowCardinality (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Function CAST (children 1) + ExpressionList (children 2) + Literal \'1\' + Literal \'Nullable(UInt8)\' + Literal Array_[UInt64_1] diff --git a/parser/testdata/02568_json_array_length/explain.txt b/parser/testdata/02568_json_array_length/explain.txt new file mode 100644 index 000000000..ceedaaaf8 --- /dev/null +++ b/parser/testdata/02568_json_array_length/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function JSONArrayLength (children 1) + ExpressionList (children 1) + Literal NULL diff --git a/parser/testdata/02569_order_by_aggregation_result/explain.txt b/parser/testdata/02569_order_by_aggregation_result/explain.txt new file mode 100644 index 000000000..5d0cc67ce --- /dev/null +++ b/parser/testdata/02569_order_by_aggregation_result/explain.txt @@ -0,0 +1,25 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Function and (alias value) (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_1 + Function equals (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + Function sum (children 2) + ExpressionList (children 1) + Identifier value + WindowDefinition + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Literal UInt64_1 diff --git a/parser/testdata/02572_materialized_views_ignore_errors/explain.txt b/parser/testdata/02572_materialized_views_ignore_errors/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02572_materialized_views_ignore_errors/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02572_max_intersections/explain.txt b/parser/testdata/02572_max_intersections/explain.txt new file mode 100644 index 000000000..f326d54d9 --- /dev/null +++ b/parser/testdata/02572_max_intersections/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function hex (children 1) + ExpressionList (children 1) + Function maxIntersectionsState (children 1) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function VALUES (children 1) + ExpressionList (children 2) + Literal Tuple_(UInt64_1, UInt64_3) + Literal Tuple_(UInt64_3, UInt64_5) diff --git a/parser/testdata/02572_system_logs_materialized_views_ignore_errors/explain.txt b/parser/testdata/02572_system_logs_materialized_views_ignore_errors/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02572_system_logs_materialized_views_ignore_errors/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02573_insert_null_as_default_null_as_empty_nested/explain.txt b/parser/testdata/02573_insert_null_as_default_null_as_empty_nested/explain.txt new file mode 100644 index 000000000..9e9d9a584 --- /dev/null +++ b/parser/testdata/02573_insert_null_as_default_null_as_empty_nested/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function format (children 1) + ExpressionList (children 3) + Identifier JSONEachRow + Literal \'payload Tuple(pull_request Tuple(merged_by Tuple(login Nullable(String))))\' + Literal \'{"payload" : {"pull_request": {"merged_by": {"login": "root"}}}}\' + Set diff --git a/parser/testdata/02573_quantile_fuse_msan/explain.txt b/parser/testdata/02573_quantile_fuse_msan/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02573_quantile_fuse_msan/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02574_suspicious_low_cardinality_msan/explain.txt b/parser/testdata/02574_suspicious_low_cardinality_msan/explain.txt new file mode 100644 index 000000000..e2dea85a7 --- /dev/null +++ b/parser/testdata/02574_suspicious_low_cardinality_msan/explain.txt @@ -0,0 +1,2 @@ +DropQuery table1__fuzz_19 (children 1) + Identifier table1__fuzz_19 diff --git a/parser/testdata/02575_map_hashing_msan/explain.txt b/parser/testdata/02575_map_hashing_msan/explain.txt new file mode 100644 index 000000000..14db4ef96 --- /dev/null +++ b/parser/testdata/02575_map_hashing_msan/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function cityHash64 (children 1) + ExpressionList (children 2) + Function map (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal \'Hello\' + Function CAST (children 1) + ExpressionList (children 2) + Function materialize (children 1) + ExpressionList (children 1) + Literal \'World\' + Literal \'LowCardinality(String)\' diff --git a/parser/testdata/02575_merge_prewhere_default_expression/explain.txt b/parser/testdata/02575_merge_prewhere_default_expression/explain.txt new file mode 100644 index 000000000..d55ffe596 --- /dev/null +++ b/parser/testdata/02575_merge_prewhere_default_expression/explain.txt @@ -0,0 +1,2 @@ +DropQuery m (children 1) + Identifier m diff --git a/parser/testdata/02575_merge_prewhere_different_default_kind/explain.txt b/parser/testdata/02575_merge_prewhere_different_default_kind/explain.txt new file mode 100644 index 000000000..d55ffe596 --- /dev/null +++ b/parser/testdata/02575_merge_prewhere_different_default_kind/explain.txt @@ -0,0 +1,2 @@ +DropQuery m (children 1) + Identifier m diff --git a/parser/testdata/02575_merge_prewhere_ephemeral/explain.txt b/parser/testdata/02575_merge_prewhere_ephemeral/explain.txt new file mode 100644 index 000000000..d55ffe596 --- /dev/null +++ b/parser/testdata/02575_merge_prewhere_ephemeral/explain.txt @@ -0,0 +1,2 @@ +DropQuery m (children 1) + Identifier m diff --git a/parser/testdata/02575_merge_prewhere_materialized/explain.txt b/parser/testdata/02575_merge_prewhere_materialized/explain.txt new file mode 100644 index 000000000..d55ffe596 --- /dev/null +++ b/parser/testdata/02575_merge_prewhere_materialized/explain.txt @@ -0,0 +1,2 @@ +DropQuery m (children 1) + Identifier m diff --git a/parser/testdata/02576_predicate_push_down_sorting_fix/explain.txt b/parser/testdata/02576_predicate_push_down_sorting_fix/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02576_predicate_push_down_sorting_fix/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02576_rewrite_array_exists_to_has/explain.txt b/parser/testdata/02576_rewrite_array_exists_to_has/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02576_rewrite_array_exists_to_has/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02577_analyzer_array_join_calc_twice/explain.txt b/parser/testdata/02577_analyzer_array_join_calc_twice/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02577_analyzer_array_join_calc_twice/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02577_keepermap_delete_update/explain.txt b/parser/testdata/02577_keepermap_delete_update/explain.txt new file mode 100644 index 000000000..cf6e69fbc --- /dev/null +++ b/parser/testdata/02577_keepermap_delete_update/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02577_keepermap_delete_update (children 1) + Identifier 02577_keepermap_delete_update diff --git a/parser/testdata/02578_ipv4_codec_t64/explain.txt b/parser/testdata/02578_ipv4_codec_t64/explain.txt new file mode 100644 index 000000000..742821d7a --- /dev/null +++ b/parser/testdata/02578_ipv4_codec_t64/explain.txt @@ -0,0 +1,2 @@ +DropQuery ipv4_t64 (children 1) + Identifier ipv4_t64 diff --git a/parser/testdata/02578_parameterized_rename_queries/explain.txt b/parser/testdata/02578_parameterized_rename_queries/explain.txt new file mode 100644 index 000000000..6e1b540d5 --- /dev/null +++ b/parser/testdata/02578_parameterized_rename_queries/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02661_db (children 1) + Identifier 02661_db diff --git a/parser/testdata/02579_fill_empty_chunk/explain.txt b/parser/testdata/02579_fill_empty_chunk/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02579_fill_empty_chunk/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02579_fill_empty_chunk_analyzer/explain.txt b/parser/testdata/02579_fill_empty_chunk_analyzer/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02579_fill_empty_chunk_analyzer/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02579_parameterized_replace/explain.txt b/parser/testdata/02579_parameterized_replace/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02579_parameterized_replace/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02580_like_substring_search_bug/explain.txt b/parser/testdata/02580_like_substring_search_bug/explain.txt new file mode 100644 index 000000000..d8c261a15 --- /dev/null +++ b/parser/testdata/02580_like_substring_search_bug/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function like (children 1) + ExpressionList (children 2) + Literal \'Win\\\\Sys\' + Literal \'%Win\\\\Sys%\' diff --git a/parser/testdata/02581_share_big_sets_between_multiple_mutations_tasks_long/explain.txt b/parser/testdata/02581_share_big_sets_between_multiple_mutations_tasks_long/explain.txt new file mode 100644 index 000000000..8b793899c --- /dev/null +++ b/parser/testdata/02581_share_big_sets_between_multiple_mutations_tasks_long/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02581_trips (children 1) + Identifier 02581_trips diff --git a/parser/testdata/02581_share_big_sets_between_mutation_tasks/explain.txt b/parser/testdata/02581_share_big_sets_between_mutation_tasks/explain.txt new file mode 100644 index 000000000..8b793899c --- /dev/null +++ b/parser/testdata/02581_share_big_sets_between_mutation_tasks/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02581_trips (children 1) + Identifier 02581_trips diff --git a/parser/testdata/02581_share_big_sets_between_mutation_tasks_long/explain.txt b/parser/testdata/02581_share_big_sets_between_mutation_tasks_long/explain.txt new file mode 100644 index 000000000..8b793899c --- /dev/null +++ b/parser/testdata/02581_share_big_sets_between_mutation_tasks_long/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02581_trips (children 1) + Identifier 02581_trips diff --git a/parser/testdata/02581_share_big_sets_between_mutation_tasks_with_storage_set/explain.txt b/parser/testdata/02581_share_big_sets_between_mutation_tasks_with_storage_set/explain.txt new file mode 100644 index 000000000..8b793899c --- /dev/null +++ b/parser/testdata/02581_share_big_sets_between_mutation_tasks_with_storage_set/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02581_trips (children 1) + Identifier 02581_trips diff --git a/parser/testdata/02581_width_bucket/explain.txt b/parser/testdata/02581_width_bucket/explain.txt new file mode 100644 index 000000000..348066912 --- /dev/null +++ b/parser/testdata/02581_width_bucket/explain.txt @@ -0,0 +1,2 @@ +CreateQuery mytable (children 1) + Identifier mytable diff --git a/parser/testdata/02582_analyzer_join_subquery_empty_column_list/explain.txt b/parser/testdata/02582_analyzer_join_subquery_empty_column_list/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02582_analyzer_join_subquery_empty_column_list/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02582_async_reading_with_small_limit/explain.txt b/parser/testdata/02582_async_reading_with_small_limit/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02582_async_reading_with_small_limit/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02583_map_literal_cast/explain.txt b/parser/testdata/02583_map_literal_cast/explain.txt new file mode 100644 index 000000000..5fbcb638b --- /dev/null +++ b/parser/testdata/02583_map_literal_cast/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList (children 2) + Literal Tuple_(\'a\', UInt64_1) + Literal Tuple_(\'b\', UInt64_2) + Literal \'Map(String, UInt8)\' diff --git a/parser/testdata/02584_range_ipv4/explain.txt b/parser/testdata/02584_range_ipv4/explain.txt new file mode 100644 index 000000000..4af0b0ca3 --- /dev/null +++ b/parser/testdata/02584_range_ipv4/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function range (children 1) + ExpressionList (children 2) + Function toIPv4 (children 1) + ExpressionList (children 1) + Literal \'172.31.0.0\' + Function toIPv4 (children 1) + ExpressionList (children 1) + Literal \'172.31.0.10\' diff --git a/parser/testdata/02586_generate_random_structure/explain.txt b/parser/testdata/02586_generate_random_structure/explain.txt new file mode 100644 index 000000000..f27c47b3c --- /dev/null +++ b/parser/testdata/02586_generate_random_structure/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function generateRandomStructure (children 1) + ExpressionList (children 2) + Literal UInt64_5 + Literal UInt64_42 diff --git a/parser/testdata/02587_csv_big_numbers_inference/explain.txt b/parser/testdata/02587_csv_big_numbers_inference/explain.txt new file mode 100644 index 000000000..d9cada304 --- /dev/null +++ b/parser/testdata/02587_csv_big_numbers_inference/explain.txt @@ -0,0 +1,6 @@ +DescribeQuery (children 1) + TableExpression (children 1) + Function format (children 1) + ExpressionList (children 2) + Literal \'CSV\' + Literal \'100000000000000000000\' diff --git a/parser/testdata/02589_bson_invalid_document_size/explain.txt b/parser/testdata/02589_bson_invalid_document_size/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02589_bson_invalid_document_size/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02590_bson_duplicate_column/explain.txt b/parser/testdata/02590_bson_duplicate_column/explain.txt new file mode 100644 index 000000000..f5d843c0d --- /dev/null +++ b/parser/testdata/02590_bson_duplicate_column/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function format (children 1) + ExpressionList (children 3) + Identifier BSONEachRow + Literal \'x UInt32, y UInt32\' + Literal \'\\0\\0\\0x\\0*\\0\\0\\0x\\0*\\0\\0\\0y\\0*\\0\\0\\0\\0\' +The query succeeded but the server error '117' was expected (query: EXPLAIN AST select * from format(BSONEachRow, 'x UInt32, y UInt32', x'1a0000001078002a0000001078002a0000001079002a00000000'); -- {serverError INCORRECT_DATA}). diff --git a/parser/testdata/02591_bson_long_tuple/explain.txt b/parser/testdata/02591_bson_long_tuple/explain.txt new file mode 100644 index 000000000..aaf42a7d4 --- /dev/null +++ b/parser/testdata/02591_bson_long_tuple/explain.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function tuple (alias x) (children 1) + ExpressionList (children 11) + Literal UInt64_1 + Literal UInt64_2 + Literal UInt64_3 + Literal UInt64_4 + Literal UInt64_5 + Literal UInt64_6 + Literal UInt64_7 + Literal UInt64_8 + Literal UInt64_9 + Literal UInt64_10 + Literal UInt64_11 + Identifier BSONEachRow diff --git a/parser/testdata/02596_build_set_and_remote/explain.txt b/parser/testdata/02596_build_set_and_remote/explain.txt new file mode 100644 index 000000000..94d165039 --- /dev/null +++ b/parser/testdata/02596_build_set_and_remote/explain.txt @@ -0,0 +1,25 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function arrayExists (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function in (children 1) + ExpressionList (children 2) + Identifier x + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'2\' + Literal Array_[UInt64_2] + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.one diff --git a/parser/testdata/02597_column_delete_and_replication/metadata.json b/parser/testdata/02597_column_delete_and_replication/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02597_column_delete_and_replication/metadata.json +++ b/parser/testdata/02597_column_delete_and_replication/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02597_column_update_and_replication/metadata.json b/parser/testdata/02597_column_update_and_replication/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02597_column_update_and_replication/metadata.json +++ b/parser/testdata/02597_column_update_and_replication/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02597_column_update_tricky_expression_and_replication/explain.txt b/parser/testdata/02597_column_update_tricky_expression_and_replication/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/02597_column_update_tricky_expression_and_replication/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/02597_projection_materialize_and_replication/metadata.json b/parser/testdata/02597_projection_materialize_and_replication/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02597_projection_materialize_and_replication/metadata.json +++ b/parser/testdata/02597_projection_materialize_and_replication/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02661_quantile_approx/explain.txt b/parser/testdata/02661_quantile_approx/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02661_quantile_approx/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02662_first_last_value/explain.txt b/parser/testdata/02662_first_last_value/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/02662_first_last_value/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/02662_sparse_columns_mutations_1/explain.txt b/parser/testdata/02662_sparse_columns_mutations_1/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02662_sparse_columns_mutations_1/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02662_sparse_columns_mutations_2/explain.txt b/parser/testdata/02662_sparse_columns_mutations_2/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02662_sparse_columns_mutations_2/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02662_sparse_columns_mutations_3/explain.txt b/parser/testdata/02662_sparse_columns_mutations_3/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02662_sparse_columns_mutations_3/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02662_sparse_columns_mutations_4/explain.txt b/parser/testdata/02662_sparse_columns_mutations_4/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02662_sparse_columns_mutations_4/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02662_sparse_columns_mutations_5/explain.txt b/parser/testdata/02662_sparse_columns_mutations_5/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02662_sparse_columns_mutations_5/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02668_column_block_number/explain.txt b/parser/testdata/02668_column_block_number/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/02668_column_block_number/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/02668_column_block_number_vertical_merge/explain.txt b/parser/testdata/02668_column_block_number_vertical_merge/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/02668_column_block_number_vertical_merge/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/02668_column_block_number_with_projections/explain.txt b/parser/testdata/02668_column_block_number_with_projections/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/02668_column_block_number_with_projections/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/02668_logical_optimizer_removing_redundant_checks/explain.txt b/parser/testdata/02668_logical_optimizer_removing_redundant_checks/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02668_logical_optimizer_removing_redundant_checks/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02668_parse_datetime/explain.txt b/parser/testdata/02668_parse_datetime/explain.txt new file mode 100644 index 000000000..ba8e3971d --- /dev/null +++ b/parser/testdata/02668_parse_datetime/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Function parseDateTime (children 1) + ExpressionList (children 3) + Literal \'2020\' + Literal \'%Y\' + Literal \'UTC\' + Function toDateTime (children 1) + ExpressionList (children 2) + Literal \'2020-01-01\' + Literal \'UTC\' diff --git a/parser/testdata/02668_parse_datetime_in_joda_syntax/explain.txt b/parser/testdata/02668_parse_datetime_in_joda_syntax/explain.txt new file mode 100644 index 000000000..4dd02785a --- /dev/null +++ b/parser/testdata/02668_parse_datetime_in_joda_syntax/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Function parseDateTimeInJodaSyntax (children 1) + ExpressionList (children 3) + Literal \' \' + Literal \' \' + Literal \'UTC\' + Function toDateTime (children 1) + ExpressionList (children 2) + Literal \'1970-01-01\' + Literal \'UTC\' diff --git a/parser/testdata/02668_ulid_decoding/explain.txt b/parser/testdata/02668_ulid_decoding/explain.txt new file mode 100644 index 000000000..dbf878e5b --- /dev/null +++ b/parser/testdata/02668_ulid_decoding/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function lessOrEquals (children 1) + ExpressionList (children 2) + Function dateDiff (children 1) + ExpressionList (children 3) + Literal \'minute\' + Function ULIDStringToDateTime (children 1) + ExpressionList (children 1) + Function generateULID (children 1) + ExpressionList + Function now (children 1) + ExpressionList + Literal UInt64_1 diff --git a/parser/testdata/02669_alter_modify_to_nullable/explain.txt b/parser/testdata/02669_alter_modify_to_nullable/explain.txt new file mode 100644 index 000000000..972162d4e --- /dev/null +++ b/parser/testdata/02669_alter_modify_to_nullable/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_modify_to_nullable (children 1) + Identifier t_modify_to_nullable diff --git a/parser/testdata/02670_constant_skip_index/explain.txt b/parser/testdata/02670_constant_skip_index/explain.txt new file mode 100644 index 000000000..f26786d6f --- /dev/null +++ b/parser/testdata/02670_constant_skip_index/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_constant_index (children 1) + Identifier t_constant_index diff --git a/parser/testdata/02674_and_consistency/explain.txt b/parser/testdata/02674_and_consistency/explain.txt new file mode 100644 index 000000000..bd7c42110 --- /dev/null +++ b/parser/testdata/02674_and_consistency/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function SUM (children 1) + ExpressionList (children 1) + Identifier number diff --git a/parser/testdata/02674_date_int_string_json_inference/explain.txt b/parser/testdata/02674_date_int_string_json_inference/explain.txt new file mode 100644 index 000000000..5d753965c --- /dev/null +++ b/parser/testdata/02674_date_int_string_json_inference/explain.txt @@ -0,0 +1,6 @@ +DescribeQuery (children 1) + TableExpression (children 1) + Function format (children 1) + ExpressionList (children 2) + Identifier JSONEachRow + Literal \'{"x" : "2020-01-01"}, {"x" : "1000"}\' diff --git a/parser/testdata/02674_null_default_structure/explain.txt b/parser/testdata/02674_null_default_structure/explain.txt new file mode 100644 index 000000000..71e5971a4 --- /dev/null +++ b/parser/testdata/02674_null_default_structure/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function null (children 1) + ExpressionList diff --git a/parser/testdata/02674_trivial_count_analyzer/explain.txt b/parser/testdata/02674_trivial_count_analyzer/explain.txt new file mode 100644 index 000000000..875839cdd --- /dev/null +++ b/parser/testdata/02674_trivial_count_analyzer/explain.txt @@ -0,0 +1,2 @@ +DropQuery m3 (children 1) + Identifier m3 diff --git a/parser/testdata/02675_is_ipv6_function_fix/explain.txt b/parser/testdata/02675_is_ipv6_function_fix/explain.txt new file mode 100644 index 000000000..5ae424f8d --- /dev/null +++ b/parser/testdata/02675_is_ipv6_function_fix/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function isIPv6String (children 1) + ExpressionList (children 1) + Literal \'1234::1234:\' diff --git a/parser/testdata/02675_predicate_push_down_filled_join_fix/explain.txt b/parser/testdata/02675_predicate_push_down_filled_join_fix/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02675_predicate_push_down_filled_join_fix/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02675_sparse_columns_clear_column/explain.txt b/parser/testdata/02675_sparse_columns_clear_column/explain.txt new file mode 100644 index 000000000..6afbd7cfb --- /dev/null +++ b/parser/testdata/02675_sparse_columns_clear_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_sparse_columns_clear (children 1) + Identifier t_sparse_columns_clear diff --git a/parser/testdata/02676_analyzer_limit_offset/explain.txt b/parser/testdata/02676_analyzer_limit_offset/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02676_analyzer_limit_offset/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02676_distinct_reading_in_order_analyzer/explain.txt b/parser/testdata/02676_distinct_reading_in_order_analyzer/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/02676_distinct_reading_in_order_analyzer/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/02676_kafka_murmur_hash/explain.txt b/parser/testdata/02676_kafka_murmur_hash/explain.txt new file mode 100644 index 000000000..aae01367c --- /dev/null +++ b/parser/testdata/02676_kafka_murmur_hash/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function kafkaMurmurHash (children 1) + ExpressionList (children 1) + Literal \'21\' diff --git a/parser/testdata/02676_to_decimal_string/explain.txt b/parser/testdata/02676_to_decimal_string/explain.txt new file mode 100644 index 000000000..f2813a110 --- /dev/null +++ b/parser/testdata/02676_to_decimal_string/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toDecimalString (children 1) + ExpressionList (children 2) + Literal UInt64_2 + Literal UInt64_77 diff --git a/parser/testdata/02676_trailing_commas/explain.txt b/parser/testdata/02676_trailing_commas/explain.txt new file mode 100644 index 000000000..8827c47de --- /dev/null +++ b/parser/testdata/02676_trailing_commas/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/02677_analyzer_bitmap_has_any/metadata.json b/parser/testdata/02677_analyzer_bitmap_has_any/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02677_analyzer_bitmap_has_any/metadata.json +++ b/parser/testdata/02677_analyzer_bitmap_has_any/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02677_analyzer_compound_expressions/explain.txt b/parser/testdata/02677_analyzer_compound_expressions/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02677_analyzer_compound_expressions/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02677_decode_url_component/metadata.json b/parser/testdata/02677_decode_url_component/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02677_decode_url_component/metadata.json +++ b/parser/testdata/02677_decode_url_component/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02677_get_subcolumn_array_of_tuples/explain.txt b/parser/testdata/02677_get_subcolumn_array_of_tuples/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02677_get_subcolumn_array_of_tuples/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02677_grace_hash_limit_race/explain.txt b/parser/testdata/02677_grace_hash_limit_race/explain.txt new file mode 100644 index 000000000..88d9723be --- /dev/null +++ b/parser/testdata/02677_grace_hash_limit_race/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_grace_hash (children 1) + Identifier test_grace_hash diff --git a/parser/testdata/02678_explain_pipeline_graph_with_projection/explain.txt b/parser/testdata/02678_explain_pipeline_graph_with_projection/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/02678_explain_pipeline_graph_with_projection/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/02679_explain_merge_tree_prewhere_row_policy/explain.txt b/parser/testdata/02679_explain_merge_tree_prewhere_row_policy/explain.txt new file mode 100644 index 000000000..d4bf1aa3f --- /dev/null +++ b/parser/testdata/02679_explain_merge_tree_prewhere_row_policy/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_table (children 1) + Identifier test_table diff --git a/parser/testdata/02679_query_parameters_dangling_pointer/explain.txt b/parser/testdata/02679_query_parameters_dangling_pointer/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02679_query_parameters_dangling_pointer/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02680_datetime64_monotonic_check/explain.txt b/parser/testdata/02680_datetime64_monotonic_check/explain.txt new file mode 100644 index 000000000..541221d51 --- /dev/null +++ b/parser/testdata/02680_datetime64_monotonic_check/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02680_datetime64_monotonic_check (children 1) + Identifier 02680_datetime64_monotonic_check diff --git a/parser/testdata/02680_default_star/explain.txt b/parser/testdata/02680_default_star/explain.txt new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/parser/testdata/02680_default_star/explain.txt @@ -0,0 +1 @@ + diff --git a/parser/testdata/02680_illegal_type_of_filter_projection/explain.txt b/parser/testdata/02680_illegal_type_of_filter_projection/explain.txt new file mode 100644 index 000000000..a8e09c5d6 --- /dev/null +++ b/parser/testdata/02680_illegal_type_of_filter_projection/explain.txt @@ -0,0 +1,20 @@ +CreateQuery test_tuple (children 3) + Identifier test_tuple + Columns definition (children 1) + ExpressionList (children 3) + ColumnDeclaration p (children 1) + DataType DateTime + ColumnDeclaration i (children 1) + DataType int + ColumnDeclaration j (children 1) + DataType int + Storage definition (children 4) + Function MergeTree + Function tuple (children 1) + ExpressionList (children 2) + Function toDate (children 1) + ExpressionList (children 1) + Identifier p + Identifier i + Identifier j + Set diff --git a/parser/testdata/02680_instr_alias_for_position_case_insensitive/explain.txt b/parser/testdata/02680_instr_alias_for_position_case_insensitive/explain.txt new file mode 100644 index 000000000..b500a649d --- /dev/null +++ b/parser/testdata/02680_instr_alias_for_position_case_insensitive/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function INSTR (children 1) + ExpressionList (children 2) + Literal \'hello\' + Literal \'e\' diff --git a/parser/testdata/02680_lc_null_as_default/explain.txt b/parser/testdata/02680_lc_null_as_default/explain.txt new file mode 100644 index 000000000..bfcd9daa1 --- /dev/null +++ b/parser/testdata/02680_lc_null_as_default/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_null_as_default__fuzz_46 (children 1) + Identifier test_null_as_default__fuzz_46 diff --git a/parser/testdata/02680_mysql_ast_logical_err/explain.txt b/parser/testdata/02680_mysql_ast_logical_err/explain.txt new file mode 100644 index 000000000..5f815e232 --- /dev/null +++ b/parser/testdata/02680_mysql_ast_logical_err/explain.txt @@ -0,0 +1,14 @@ +CreateQuery foo (children 3) + Identifier foo + Columns definition (children 1) + ExpressionList (children 4) + ColumnDeclaration key (children 1) + DataType UInt32 + ColumnDeclaration a (children 1) + DataType String + ColumnDeclaration b (children 1) + DataType Int64 + ColumnDeclaration c (children 1) + DataType String + Storage definition (children 1) + Function TinyLog diff --git a/parser/testdata/02681_aggregation_by_partitions_bug/explain.txt b/parser/testdata/02681_aggregation_by_partitions_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02681_aggregation_by_partitions_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02681_comparsion_tuple_elimination_ast/explain.txt b/parser/testdata/02681_comparsion_tuple_elimination_ast/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02681_comparsion_tuple_elimination_ast/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02681_group_array_too_large_size/metadata.json b/parser/testdata/02681_group_array_too_large_size/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02681_group_array_too_large_size/metadata.json +++ b/parser/testdata/02681_group_array_too_large_size/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02681_undrop_query/explain.txt b/parser/testdata/02681_undrop_query/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02681_undrop_query/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02682_quantiles_too_large_size/metadata.json b/parser/testdata/02682_quantiles_too_large_size/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02682_quantiles_too_large_size/metadata.json +++ b/parser/testdata/02682_quantiles_too_large_size/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02683_native_too_large_size/metadata.json b/parser/testdata/02683_native_too_large_size/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02683_native_too_large_size/metadata.json +++ b/parser/testdata/02683_native_too_large_size/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02684_bson/metadata.json b/parser/testdata/02684_bson/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02684_bson/metadata.json +++ b/parser/testdata/02684_bson/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02685_bson2/metadata.json b/parser/testdata/02685_bson2/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02685_bson2/metadata.json +++ b/parser/testdata/02685_bson2/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02685_decimal256_various/explain.txt b/parser/testdata/02685_decimal256_various/explain.txt new file mode 100644 index 000000000..cb699f0ae --- /dev/null +++ b/parser/testdata/02685_decimal256_various/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Literal \'1.1\' + Literal \'Decimal(60, 30)\' diff --git a/parser/testdata/02686_bson3/metadata.json b/parser/testdata/02686_bson3/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02686_bson3/metadata.json +++ b/parser/testdata/02686_bson3/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02687_native_fuzz/metadata.json b/parser/testdata/02687_native_fuzz/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02687_native_fuzz/metadata.json +++ b/parser/testdata/02687_native_fuzz/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02688_aggregate_states/explain.txt b/parser/testdata/02688_aggregate_states/explain.txt new file mode 100644 index 000000000..c9551be28 --- /dev/null +++ b/parser/testdata/02688_aggregate_states/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Literal \'\\0\' + Literal \'AggregateFunction(groupBitmap, UInt32)\' +The query succeeded but the server error '117' was expected (query: EXPLAIN AST SELECT '\x01\x00'::AggregateFunction(groupBitmap, UInt32); -- { serverError INCORRECT_DATA }). diff --git a/parser/testdata/02688_long_aggregate_function_names/explain.txt b/parser/testdata/02688_long_aggregate_function_names/explain.txt new file mode 100644 index 000000000..0aa8264b5 --- /dev/null +++ b/parser/testdata/02688_long_aggregate_function_names/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function minOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNull (children 1) + ExpressionList (children 1) + Literal UInt64_1 +The query succeeded but the server error '131' was expected (query: EXPLAIN AST SELECT minOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNull(1); -- { serverError TOO_LARGE_STRING_SIZE }). diff --git a/parser/testdata/02689_meaningless_data_types/explain.txt b/parser/testdata/02689_meaningless_data_types/explain.txt new file mode 100644 index 000000000..fc1fc0c77 --- /dev/null +++ b/parser/testdata/02689_meaningless_data_types/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Literal \'0\' + Literal \'Bool(Upyachka)\' +The query succeeded but the server error '378' was expected (query: EXPLAIN AST SELECT 0::Bool(Upyachka); -- { serverError DATA_TYPE_CANNOT_HAVE_ARGUMENTS }). diff --git a/parser/testdata/02690_subquery_identifiers/explain.txt b/parser/testdata/02690_subquery_identifiers/explain.txt new file mode 100644 index 000000000..b18c00f1a --- /dev/null +++ b/parser/testdata/02690_subquery_identifiers/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_str (children 1) + Identifier t_str diff --git a/parser/testdata/02691_drop_column_with_projections_replicated/explain.txt b/parser/testdata/02691_drop_column_with_projections_replicated/explain.txt new file mode 100644 index 000000000..e0c82ef28 --- /dev/null +++ b/parser/testdata/02691_drop_column_with_projections_replicated/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02691_drop_column_replicated (children 1) + Identifier 02691_drop_column_replicated diff --git a/parser/testdata/02691_multiple_joins_backtick_identifiers/explain.txt b/parser/testdata/02691_multiple_joins_backtick_identifiers/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/02691_multiple_joins_backtick_identifiers/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/02692_multiple_joins_unicode/explain.txt b/parser/testdata/02692_multiple_joins_unicode/explain.txt new file mode 100644 index 000000000..4c9e96c0b --- /dev/null +++ b/parser/testdata/02692_multiple_joins_unicode/explain.txt @@ -0,0 +1,2 @@ +DropQuery store (children 1) + Identifier store diff --git a/parser/testdata/02693_multiple_joins_in/explain.txt b/parser/testdata/02693_multiple_joins_in/explain.txt new file mode 100644 index 000000000..c8149d128 --- /dev/null +++ b/parser/testdata/02693_multiple_joins_in/explain.txt @@ -0,0 +1,9 @@ +CreateQuery temp_table3 (children 3) + Identifier temp_table3 + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration val0 (children 1) + DataType UInt64 + Storage definition (children 1) + Function Memory (children 1) + ExpressionList diff --git a/parser/testdata/02694_wrong_identifier_shouldnt_be_accepted/explain.txt b/parser/testdata/02694_wrong_identifier_shouldnt_be_accepted/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/02694_wrong_identifier_shouldnt_be_accepted/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/02695_logical_optimizer_alias_bug/explain.txt b/parser/testdata/02695_logical_optimizer_alias_bug/explain.txt new file mode 100644 index 000000000..eab7a9ec1 --- /dev/null +++ b/parser/testdata/02695_logical_optimizer_alias_bug/explain.txt @@ -0,0 +1,13 @@ +CreateQuery test_local (children 3) + Identifier test_local + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration id (children 1) + DataType UInt32 + ColumnDeclaration path (children 1) + DataType LowCardinality (children 1) + ExpressionList (children 1) + DataType String + Storage definition (children 2) + Function MergeTree + Identifier id diff --git a/parser/testdata/02695_storage_join_insert_select_deadlock/explain.txt b/parser/testdata/02695_storage_join_insert_select_deadlock/explain.txt new file mode 100644 index 000000000..3e2f73098 --- /dev/null +++ b/parser/testdata/02695_storage_join_insert_select_deadlock/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_table_join (children 1) + Identifier test_table_join diff --git a/parser/testdata/02696_ignore_inacc_tables_mat_view_atttach/explain.txt b/parser/testdata/02696_ignore_inacc_tables_mat_view_atttach/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02696_ignore_inacc_tables_mat_view_atttach/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02697_alter_dependencies/explain.txt b/parser/testdata/02697_alter_dependencies/explain.txt new file mode 100644 index 000000000..5f430dd17 --- /dev/null +++ b/parser/testdata/02697_alter_dependencies/explain.txt @@ -0,0 +1,12 @@ +CreateQuery mv_source (children 3) + Identifier mv_source + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration a (children 1) + DataType Int64 + ColumnDeclaration insert_time (children 1) + DataType DateTime + Storage definition (children 2) + Function MergeTree (children 1) + ExpressionList + Identifier insert_time diff --git a/parser/testdata/02698_marked_dropped_tables/explain.txt b/parser/testdata/02698_marked_dropped_tables/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02698_marked_dropped_tables/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02699_polygons_sym_difference_rollup/explain.txt b/parser/testdata/02699_polygons_sym_difference_rollup/explain.txt new file mode 100644 index 000000000..539b2dae2 --- /dev/null +++ b/parser/testdata/02699_polygons_sym_difference_rollup/explain.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function polygonsSymDifferenceCartesian (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList (children 1) + Function array (alias x) (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 1) + Literal Tuple_(Float64_1, Float64_1) + Function array (children 1) + ExpressionList (children 1) + Identifier x + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/02699_polygons_sym_difference_total/metadata.json b/parser/testdata/02699_polygons_sym_difference_total/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02699_polygons_sym_difference_total/metadata.json +++ b/parser/testdata/02699_polygons_sym_difference_total/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02699_polygons_sym_difference_total_analyzer/explain.txt b/parser/testdata/02699_polygons_sym_difference_total_analyzer/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02699_polygons_sym_difference_total_analyzer/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02700_regexp_operator/explain.txt b/parser/testdata/02700_regexp_operator/explain.txt new file mode 100644 index 000000000..2f7d5f004 --- /dev/null +++ b/parser/testdata/02700_regexp_operator/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function match (children 1) + ExpressionList (children 2) + Literal \'ab\' + Literal \'a.*b\' diff --git a/parser/testdata/02701_invalid_having_NOT_AN_AGGREGATE/explain.txt b/parser/testdata/02701_invalid_having_NOT_AN_AGGREGATE/explain.txt new file mode 100644 index 000000000..ccf02f619 --- /dev/null +++ b/parser/testdata/02701_invalid_having_NOT_AN_AGGREGATE/explain.txt @@ -0,0 +1,24 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 2) + Identifier a + Function sum (children 1) + ExpressionList (children 1) + Identifier b + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 3) + Literal UInt64_1 (alias a) + Literal UInt64_1 (alias b) + Literal UInt64_0 (alias c) + ExpressionList (children 1) + Identifier a + Identifier c + Set +The query succeeded but the server error '215' was expected (query: EXPLAIN AST SELECT a, sum(b) FROM (SELECT 1 AS a, 1 AS b, 0 AS c) GROUP BY a HAVING c SETTINGS enable_analyzer=1 -- { serverError NOT_AN_AGGREGATE }). diff --git a/parser/testdata/02701_non_parametric_function/explain.txt b/parser/testdata/02701_non_parametric_function/explain.txt new file mode 100644 index 000000000..49cefa67c --- /dev/null +++ b/parser/testdata/02701_non_parametric_function/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Function greater (children 1) + ExpressionList (children 2) + Identifier number + Function toUInt64 (children 2) + ExpressionList (children 1) + Identifier number + ExpressionList (children 1) + Literal UInt64_10 + Literal UInt64_10 +The query succeeded but the server error '309' was expected (query: EXPLAIN AST SELECT * FROM system.numbers WHERE number > toUInt64(10)(number) LIMIT 10; -- { serverError FUNCTION_CANNOT_HAVE_PARAMETERS }). diff --git a/parser/testdata/02702_logical_optimizer_with_nulls/explain.txt b/parser/testdata/02702_logical_optimizer_with_nulls/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02702_logical_optimizer_with_nulls/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02703_explain_query_tree_is_forbidden_with_old_analyzer/metadata.json b/parser/testdata/02703_explain_query_tree_is_forbidden_with_old_analyzer/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02703_explain_query_tree_is_forbidden_with_old_analyzer/metadata.json +++ b/parser/testdata/02703_explain_query_tree_is_forbidden_with_old_analyzer/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02704_storage_merge_explain_graph_crash/explain.txt b/parser/testdata/02704_storage_merge_explain_graph_crash/explain.txt new file mode 100644 index 000000000..275941d99 --- /dev/null +++ b/parser/testdata/02704_storage_merge_explain_graph_crash/explain.txt @@ -0,0 +1,2 @@ +DropQuery foo (children 1) + Identifier foo diff --git a/parser/testdata/02705_grouping_keys_equal_keys/explain.txt b/parser/testdata/02705_grouping_keys_equal_keys/explain.txt new file mode 100644 index 000000000..d92f4bdfc --- /dev/null +++ b/parser/testdata/02705_grouping_keys_equal_keys/explain.txt @@ -0,0 +1,6 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function count (children 1) + ExpressionList diff --git a/parser/testdata/02705_projection_and_ast_optimizations_bug/explain.txt b/parser/testdata/02705_projection_and_ast_optimizations_bug/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/02705_projection_and_ast_optimizations_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/02705_settings_check_changed_flag/explain.txt b/parser/testdata/02705_settings_check_changed_flag/explain.txt new file mode 100644 index 000000000..35210ce9f --- /dev/null +++ b/parser/testdata/02705_settings_check_changed_flag/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier changed + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.settings + Function equals (children 1) + ExpressionList (children 2) + Identifier name + Literal \'mysql_max_rows_to_insert\' diff --git a/parser/testdata/02706_array_map_tuples/explain.txt b/parser/testdata/02706_array_map_tuples/explain.txt new file mode 100644 index 000000000..c1ff9aea2 --- /dev/null +++ b/parser/testdata/02706_array_map_tuples/explain.txt @@ -0,0 +1,21 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function array (alias arr1) (children 1) + ExpressionList (children 1) + Literal Tuple_(UInt64_1, UInt64_2) + ExpressionList (children 1) + Function arrayMap (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 2) + Identifier x + Identifier y + Function tuple (children 1) + ExpressionList (children 2) + Identifier y + Identifier x + Identifier arr1 diff --git a/parser/testdata/02706_keeper_map_insert_strict/explain.txt b/parser/testdata/02706_keeper_map_insert_strict/explain.txt new file mode 100644 index 000000000..097db32a7 --- /dev/null +++ b/parser/testdata/02706_keeper_map_insert_strict/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02706_keeper_map_insert_strict (children 1) + Identifier 02706_keeper_map_insert_strict diff --git a/parser/testdata/02706_kolmogorov_smirnov_test/explain.txt b/parser/testdata/02706_kolmogorov_smirnov_test/explain.txt new file mode 100644 index 000000000..9a44b1b2d --- /dev/null +++ b/parser/testdata/02706_kolmogorov_smirnov_test/explain.txt @@ -0,0 +1,2 @@ +DropQuery kstest (children 1) + Identifier kstest diff --git a/parser/testdata/02706_show_columns/explain.txt b/parser/testdata/02706_show_columns/explain.txt new file mode 100644 index 000000000..0a00b06d1 --- /dev/null +++ b/parser/testdata/02706_show_columns/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab (children 1) + Identifier tab diff --git a/parser/testdata/02707_analyzer_nested_lambdas_types/metadata.json b/parser/testdata/02707_analyzer_nested_lambdas_types/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02707_analyzer_nested_lambdas_types/metadata.json +++ b/parser/testdata/02707_analyzer_nested_lambdas_types/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02707_keeper_map_delete_update_strict/explain.txt b/parser/testdata/02707_keeper_map_delete_update_strict/explain.txt new file mode 100644 index 000000000..6a51a0f1f --- /dev/null +++ b/parser/testdata/02707_keeper_map_delete_update_strict/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02707_keepermap_delete_update (children 1) + Identifier 02707_keepermap_delete_update diff --git a/parser/testdata/02707_skip_index_with_in/explain.txt b/parser/testdata/02707_skip_index_with_in/explain.txt new file mode 100644 index 000000000..d7f8b388f --- /dev/null +++ b/parser/testdata/02707_skip_index_with_in/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_skip_index_in (children 1) + Identifier t_skip_index_in diff --git a/parser/testdata/02708_dotProduct/explain.txt b/parser/testdata/02708_dotProduct/explain.txt new file mode 100644 index 000000000..cd73d24c5 --- /dev/null +++ b/parser/testdata/02708_dotProduct/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'-- Negative tests\' diff --git a/parser/testdata/02708_parallel_replicas_not_found_column/explain.txt b/parser/testdata/02708_parallel_replicas_not_found_column/explain.txt new file mode 100644 index 000000000..1fa1405b9 --- /dev/null +++ b/parser/testdata/02708_parallel_replicas_not_found_column/explain.txt @@ -0,0 +1,10 @@ +CreateQuery t_02708 (children 3) + Identifier t_02708 + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration x (children 1) + DataType DateTime + Storage definition (children 2) + Function MergeTree + Function tuple (children 1) + ExpressionList diff --git a/parser/testdata/02709_generate_random_valid_decimals_and_bools/explain.txt b/parser/testdata/02709_generate_random_valid_decimals_and_bools/explain.txt new file mode 100644 index 000000000..3eecda880 --- /dev/null +++ b/parser/testdata/02709_generate_random_valid_decimals_and_bools/explain.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Function toString (children 1) + ExpressionList (children 1) + Identifier x + Literal \'Decimal(6, 3)\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function generateRandom (children 1) + ExpressionList (children 2) + Literal \'x Decimal(6, 3)\' + Literal UInt64_42 + Literal UInt64_5 diff --git a/parser/testdata/02709_storage_memory_compressed/explain.txt b/parser/testdata/02709_storage_memory_compressed/explain.txt new file mode 100644 index 000000000..af3936c40 --- /dev/null +++ b/parser/testdata/02709_storage_memory_compressed/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_memory_compressed (children 1) + Identifier t_memory_compressed diff --git a/parser/testdata/02710_aggregation_nested_map_ip_uuid/explain.txt b/parser/testdata/02710_aggregation_nested_map_ip_uuid/explain.txt new file mode 100644 index 000000000..8b68a88d9 --- /dev/null +++ b/parser/testdata/02710_aggregation_nested_map_ip_uuid/explain.txt @@ -0,0 +1,2 @@ +DropQuery summing_table (children 1) + Identifier summing_table diff --git a/parser/testdata/02710_allow_suspicious_indices/explain.txt b/parser/testdata/02710_allow_suspicious_indices/explain.txt new file mode 100644 index 000000000..ff737eb65 --- /dev/null +++ b/parser/testdata/02710_allow_suspicious_indices/explain.txt @@ -0,0 +1,2 @@ +DropQuery tbl (children 1) + Identifier tbl diff --git a/parser/testdata/02710_date_diff_aliases/explain.txt b/parser/testdata/02710_date_diff_aliases/explain.txt new file mode 100644 index 000000000..a0ff43093 --- /dev/null +++ b/parser/testdata/02710_date_diff_aliases/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier name + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.functions diff --git a/parser/testdata/02710_default_replicated_parameters/explain.txt b/parser/testdata/02710_default_replicated_parameters/explain.txt new file mode 100644 index 000000000..baec4f14f --- /dev/null +++ b/parser/testdata/02710_default_replicated_parameters/explain.txt @@ -0,0 +1,2 @@ +DropQuery replicated_database_params (children 1) + Identifier replicated_database_params diff --git a/parser/testdata/02710_show_table/explain.txt b/parser/testdata/02710_show_table/explain.txt new file mode 100644 index 000000000..bfc1fb887 --- /dev/null +++ b/parser/testdata/02710_show_table/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_2710_show_table (children 1) + Identifier t_2710_show_table diff --git a/parser/testdata/02710_topk_with_empty_array/explain.txt b/parser/testdata/02710_topk_with_empty_array/explain.txt new file mode 100644 index 000000000..f5184ca15 --- /dev/null +++ b/parser/testdata/02710_topk_with_empty_array/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function topK (children 1) + ExpressionList (children 1) + Function emptyArrayInt16 (children 1) + ExpressionList diff --git a/parser/testdata/02711_server_uuid_macro/explain.txt b/parser/testdata/02711_server_uuid_macro/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/02711_server_uuid_macro/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/02711_soundex_function/explain.txt b/parser/testdata/02711_soundex_function/explain.txt new file mode 100644 index 000000000..671d27bfb --- /dev/null +++ b/parser/testdata/02711_soundex_function/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function soundex (children 1) + ExpressionList (children 1) + Literal \'\' diff --git a/parser/testdata/02711_trim_aliases/explain.txt b/parser/testdata/02711_trim_aliases/explain.txt new file mode 100644 index 000000000..a0ff43093 --- /dev/null +++ b/parser/testdata/02711_trim_aliases/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier name + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.functions diff --git a/parser/testdata/02713_array_low_cardinality_string/explain.txt b/parser/testdata/02713_array_low_cardinality_string/explain.txt new file mode 100644 index 000000000..0a00b06d1 --- /dev/null +++ b/parser/testdata/02713_array_low_cardinality_string/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab (children 1) + Identifier tab diff --git a/parser/testdata/02713_ip4_uint_compare/metadata.json b/parser/testdata/02713_ip4_uint_compare/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02713_ip4_uint_compare/metadata.json +++ b/parser/testdata/02713_ip4_uint_compare/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02713_sequence_match_serialization_fix/explain.txt b/parser/testdata/02713_sequence_match_serialization_fix/explain.txt new file mode 100644 index 000000000..8c983ac1d --- /dev/null +++ b/parser/testdata/02713_sequence_match_serialization_fix/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02713_seqt (children 1) + Identifier 02713_seqt diff --git a/parser/testdata/02714_date_date32_in/explain.txt b/parser/testdata/02714_date_date32_in/explain.txt new file mode 100644 index 000000000..17773f7d2 --- /dev/null +++ b/parser/testdata/02714_date_date32_in/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function in (children 1) + ExpressionList (children 2) + Function toDate32 (children 1) + ExpressionList (children 1) + Literal \'2020-01-01\' + Function toDate (children 1) + ExpressionList (children 1) + Literal \'2020-01-01\' diff --git a/parser/testdata/02714_read_bytes_aggregateFunction/explain.txt b/parser/testdata/02714_read_bytes_aggregateFunction/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02714_read_bytes_aggregateFunction/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02715_bit_operations_float/explain.txt b/parser/testdata/02715_bit_operations_float/explain.txt new file mode 100644 index 000000000..08d2a0850 --- /dev/null +++ b/parser/testdata/02715_bit_operations_float/explain.txt @@ -0,0 +1,28 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 4) + Function notEquals (children 1) + ExpressionList (children 2) + Function bitNot (children 1) + ExpressionList (children 1) + Literal Float64_-inf + Literal UInt64_0 + Function notEquals (children 1) + ExpressionList (children 2) + Function bitNot (children 1) + ExpressionList (children 1) + Literal Float64_inf + Literal UInt64_0 + Function notEquals (children 1) + ExpressionList (children 2) + Function bitNot (children 1) + ExpressionList (children 1) + Literal Float64_3.40282e38 + Literal UInt64_0 + Function notEquals (children 1) + ExpressionList (children 2) + Function bitNot (children 1) + ExpressionList (children 1) + Literal Float64_nan + Literal UInt64_0 diff --git a/parser/testdata/02715_or_null/explain.txt b/parser/testdata/02715_or_null/explain.txt new file mode 100644 index 000000000..0cb1206af --- /dev/null +++ b/parser/testdata/02715_or_null/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function argMaxOrNull (children 1) + ExpressionList (children 2) + Identifier id + Identifier timestamp diff --git a/parser/testdata/02716_create_direct_dict_with_lifetime_throws/explain.txt b/parser/testdata/02716_create_direct_dict_with_lifetime_throws/explain.txt new file mode 100644 index 000000000..c49a8095b --- /dev/null +++ b/parser/testdata/02716_create_direct_dict_with_lifetime_throws/explain.txt @@ -0,0 +1,11 @@ +CreateQuery dict_source (children 3) + Identifier dict_source + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration key (children 1) + DataType UInt64 + ColumnDeclaration value (children 1) + DataType String + Storage definition (children 2) + Function MergeTree + Identifier key diff --git a/parser/testdata/02716_drop_if_empty/explain.txt b/parser/testdata/02716_drop_if_empty/explain.txt new file mode 100644 index 000000000..e7387f8fa --- /dev/null +++ b/parser/testdata/02716_drop_if_empty/explain.txt @@ -0,0 +1,2 @@ +DropQuery data_02716_1 (children 1) + Identifier data_02716_1 diff --git a/parser/testdata/02716_int256_arrayfunc/explain.txt b/parser/testdata/02716_int256_arrayfunc/explain.txt new file mode 100644 index 000000000..49d448266 --- /dev/null +++ b/parser/testdata/02716_int256_arrayfunc/explain.txt @@ -0,0 +1,22 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function arrayDifference (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 2) + Function toUInt128 (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Literal UInt64_3 + Function toTypeName (children 1) + ExpressionList (children 1) + Function arrayDifference (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 2) + Function toUInt128 (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Literal UInt64_3 diff --git a/parser/testdata/02717_pretty_json/explain.txt b/parser/testdata/02717_pretty_json/explain.txt new file mode 100644 index 000000000..234bbf66d --- /dev/null +++ b/parser/testdata/02717_pretty_json/explain.txt @@ -0,0 +1,63 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 8) + Literal UInt64_42 (alias num) + Literal Array_[UInt64_42, UInt64_42] (alias arr) + Literal Array_[Array_[Array_[UInt64_42, UInt64_42], Array_[UInt64_42, UInt64_42]], Array_[Array_[UInt64_42, UInt64_42]]] (alias nested_arr) + Function CAST (alias tuple) (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 2) + Literal UInt64_42 + Literal UInt64_42 + Literal \'Tuple(a UInt32, b UInt32)\' + Function CAST (alias nested_tuple) (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 2) + Literal UInt64_42 + Literal UInt64_42 + Literal UInt64_42 + Literal UInt64_42 + Literal \'Tuple(a Tuple(b Tuple(c UInt32, d UInt32), e UInt32), f UInt32)\' + Function map (alias map) (children 1) + ExpressionList (children 4) + Literal UInt64_42 + Literal UInt64_42 + Literal UInt64_24 + Literal UInt64_24 + Function map (alias nested_map) (children 1) + ExpressionList (children 2) + Literal UInt64_42 + Function map (children 1) + ExpressionList (children 2) + Literal UInt64_42 + Function map (children 1) + ExpressionList (children 2) + Literal UInt64_42 + Literal UInt64_42 + Function CAST (alias nested_types) (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 2) + Function map (children 1) + ExpressionList (children 2) + Literal UInt64_42 + Literal UInt64_42 + Literal Array_[UInt64_42, UInt64_42] + Function tuple (children 1) + ExpressionList (children 2) + Function map (children 1) + ExpressionList (children 2) + Literal UInt64_42 + Literal UInt64_42 + Literal Array_[UInt64_42, UInt64_42] + Literal \'Array(Tuple(Map(UInt32, UInt32), Array(UInt32)))\' + Identifier PrettyNDJSON diff --git a/parser/testdata/02718_array_fold/explain.txt b/parser/testdata/02718_array_fold/explain.txt new file mode 100644 index 000000000..cd73d24c5 --- /dev/null +++ b/parser/testdata/02718_array_fold/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'-- Negative tests\' diff --git a/parser/testdata/02718_insert_meet_hardware_error/explain.txt b/parser/testdata/02718_insert_meet_hardware_error/explain.txt new file mode 100644 index 000000000..975a3f723 --- /dev/null +++ b/parser/testdata/02718_insert_meet_hardware_error/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_hardware_error (children 1) + Identifier t_hardware_error diff --git a/parser/testdata/02719_aggregate_with_empty_string_key/explain.txt b/parser/testdata/02719_aggregate_with_empty_string_key/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/02719_aggregate_with_empty_string_key/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/02720_row_policy_column_with_dots/explain.txt b/parser/testdata/02720_row_policy_column_with_dots/explain.txt new file mode 100644 index 000000000..3fb03ac66 --- /dev/null +++ b/parser/testdata/02720_row_policy_column_with_dots/explain.txt @@ -0,0 +1,14 @@ +CreateQuery table_with_dot_column (children 3) + Identifier table_with_dot_column + Columns definition (children 1) + ExpressionList (children 3) + ColumnDeclaration date (children 1) + DataType Date + ColumnDeclaration regular_column (children 1) + DataType String + ColumnDeclaration other_column.2 (children 1) + DataType String + Storage definition (children 2) + Function MergeTree (children 1) + ExpressionList + Identifier date diff --git a/parser/testdata/02721_url_cluster/explain.txt b/parser/testdata/02721_url_cluster/explain.txt new file mode 100644 index 000000000..2b861531d --- /dev/null +++ b/parser/testdata/02721_url_cluster/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function urlCluster (children 1) + ExpressionList (children 2) + Literal \'test_cluster_two_shards_localhost\' + Literal \'http://localhost:11111/test/{a,b,c}.tsv\' + ExpressionList (children 3) + OrderByElement (children 1) + Identifier c1 + OrderByElement (children 1) + Identifier c2 + OrderByElement (children 1) + Identifier c3 diff --git a/parser/testdata/02722_log_profile_events/explain.txt b/parser/testdata/02722_log_profile_events/explain.txt new file mode 100644 index 000000000..30948510a --- /dev/null +++ b/parser/testdata/02722_log_profile_events/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.events + Function equals (children 1) + ExpressionList (children 2) + Identifier event + Literal \'LogFatal\' diff --git a/parser/testdata/02723_jit_aggregation_bug_48120/explain.txt b/parser/testdata/02723_jit_aggregation_bug_48120/explain.txt new file mode 100644 index 000000000..b9d79e41e --- /dev/null +++ b/parser/testdata/02723_jit_aggregation_bug_48120/explain.txt @@ -0,0 +1,2 @@ +DropQuery dummy (children 1) + Identifier dummy diff --git a/parser/testdata/02723_parallelize_output_setting/explain.txt b/parser/testdata/02723_parallelize_output_setting/explain.txt new file mode 100644 index 000000000..d72462af2 --- /dev/null +++ b/parser/testdata/02723_parallelize_output_setting/explain.txt @@ -0,0 +1,17 @@ +InsertQuery (children 3) + Function file (children 1) + ExpressionList (children 1) + Identifier data_02723.csv + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_5 + Set + Set diff --git a/parser/testdata/02723_zookeeper_name/explain.txt b/parser/testdata/02723_zookeeper_name/explain.txt new file mode 100644 index 000000000..cbeb606b7 --- /dev/null +++ b/parser/testdata/02723_zookeeper_name/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'Create Tables\' diff --git a/parser/testdata/02724_function_in_left_table_clause_asof_join/explain.txt b/parser/testdata/02724_function_in_left_table_clause_asof_join/explain.txt new file mode 100644 index 000000000..1133f3d74 --- /dev/null +++ b/parser/testdata/02724_function_in_left_table_clause_asof_join/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function count (children 1) + ExpressionList (children 1) + Asterisk diff --git a/parser/testdata/02724_jit_logical_functions/explain.txt b/parser/testdata/02724_jit_logical_functions/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02724_jit_logical_functions/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02724_mutliple_storage_join/explain.txt b/parser/testdata/02724_mutliple_storage_join/explain.txt new file mode 100644 index 000000000..dca67d3b8 --- /dev/null +++ b/parser/testdata/02724_mutliple_storage_join/explain.txt @@ -0,0 +1,14 @@ +CreateQuery user (children 3) + Identifier user + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration id (children 1) + DataType UInt32 + ColumnDeclaration name (children 1) + DataType String + Storage definition (children 1) + Function Join (children 1) + ExpressionList (children 3) + Identifier ANY + Identifier LEFT + Identifier id diff --git a/parser/testdata/02724_persist_interval_type/explain.txt b/parser/testdata/02724_persist_interval_type/explain.txt new file mode 100644 index 000000000..b9e49a79a --- /dev/null +++ b/parser/testdata/02724_persist_interval_type/explain.txt @@ -0,0 +1,2 @@ +DropQuery saved_intervals_tmp (children 1) + Identifier saved_intervals_tmp diff --git a/parser/testdata/02724_show_indexes/explain.txt b/parser/testdata/02724_show_indexes/explain.txt new file mode 100644 index 000000000..ff737eb65 --- /dev/null +++ b/parser/testdata/02724_show_indexes/explain.txt @@ -0,0 +1,2 @@ +DropQuery tbl (children 1) + Identifier tbl diff --git a/parser/testdata/02725_agg_projection_respect_PK/explain.txt b/parser/testdata/02725_agg_projection_respect_PK/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/02725_agg_projection_respect_PK/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/02725_alias_columns_should_not_allow_compression_codec/explain.txt b/parser/testdata/02725_alias_columns_should_not_allow_compression_codec/explain.txt new file mode 100644 index 000000000..a508c99e2 --- /dev/null +++ b/parser/testdata/02725_alias_columns_should_not_allow_compression_codec/explain.txt @@ -0,0 +1,2 @@ +DropQuery alias_column_should_not_allow_compression (children 1) + Identifier alias_column_should_not_allow_compression diff --git a/parser/testdata/02725_alias_with_restricted_keywords/explain.txt b/parser/testdata/02725_alias_with_restricted_keywords/explain.txt new file mode 100644 index 000000000..ed456e14a --- /dev/null +++ b/parser/testdata/02725_alias_with_restricted_keywords/explain.txt @@ -0,0 +1,6 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_1 (alias array) + Literal UInt64_2 (alias union) diff --git a/parser/testdata/02725_any_join_single_row/explain.txt b/parser/testdata/02725_any_join_single_row/explain.txt new file mode 100644 index 000000000..7cee958f8 --- /dev/null +++ b/parser/testdata/02725_any_join_single_row/explain.txt @@ -0,0 +1,2 @@ +DropQuery join_test (children 1) + Identifier join_test diff --git a/parser/testdata/02725_cnf_large_check/explain.txt b/parser/testdata/02725_cnf_large_check/explain.txt new file mode 100644 index 000000000..8e85d7952 --- /dev/null +++ b/parser/testdata/02725_cnf_large_check/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02725_cnf (children 1) + Identifier 02725_cnf diff --git a/parser/testdata/02725_memory-for-merges/explain.txt b/parser/testdata/02725_memory-for-merges/explain.txt new file mode 100644 index 000000000..1daab6199 --- /dev/null +++ b/parser/testdata/02725_memory-for-merges/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02725_memory_for_merges (children 1) + Identifier 02725_memory_for_merges diff --git a/parser/testdata/02725_null_group_key_with_rollup/explain.txt b/parser/testdata/02725_null_group_key_with_rollup/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02725_null_group_key_with_rollup/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02725_sleep_max_time/explain.txt b/parser/testdata/02725_sleep_max_time/explain.txt new file mode 100644 index 000000000..c1220a144 --- /dev/null +++ b/parser/testdata/02725_sleep_max_time/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Function sleepEachRow (children 1) + ExpressionList (children 1) + Literal Float64_0.05 + Literal UInt64_10 +The query succeeded but the server error '160' was expected (query: EXPLAIN AST SELECT * FROM system.numbers WHERE sleepEachRow(0.05) LIMIT 10; -- { serverError TOO_SLOW }). diff --git a/parser/testdata/02725_url_support_virtual_column/explain.txt b/parser/testdata/02725_url_support_virtual_column/explain.txt new file mode 100644 index 000000000..9dad3fd19 --- /dev/null +++ b/parser/testdata/02725_url_support_virtual_column/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier _path + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function url (children 1) + ExpressionList (children 3) + Literal \'http://127.0.0.1:8123/?query=select+1&user=default\' + Identifier LineAsString + Literal \'s String\' diff --git a/parser/testdata/02726_async_insert_flush_queue/explain.txt b/parser/testdata/02726_async_insert_flush_queue/explain.txt new file mode 100644 index 000000000..d0b1ae1f3 --- /dev/null +++ b/parser/testdata/02726_async_insert_flush_queue/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_async_inserts_flush (children 1) + Identifier t_async_inserts_flush diff --git a/parser/testdata/02730_dictionary_hashed_load_factor_element_count/explain.txt b/parser/testdata/02730_dictionary_hashed_load_factor_element_count/explain.txt new file mode 100644 index 000000000..2605f6149 --- /dev/null +++ b/parser/testdata/02730_dictionary_hashed_load_factor_element_count/explain.txt @@ -0,0 +1,2 @@ +DropQuery dict_sharded (children 1) + Identifier dict_sharded diff --git a/parser/testdata/02730_with_fill_by_sorting_prefix/explain.txt b/parser/testdata/02730_with_fill_by_sorting_prefix/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02730_with_fill_by_sorting_prefix/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02731_auto_convert_dictionary_layout_to_complex_by_complex_keys/explain.txt b/parser/testdata/02731_auto_convert_dictionary_layout_to_complex_by_complex_keys/explain.txt new file mode 100644 index 000000000..eb9427557 --- /dev/null +++ b/parser/testdata/02731_auto_convert_dictionary_layout_to_complex_by_complex_keys/explain.txt @@ -0,0 +1,2 @@ +DropQuery dict_flat_simple (children 1) + Identifier dict_flat_simple diff --git a/parser/testdata/02731_formats_s3/explain.txt b/parser/testdata/02731_formats_s3/explain.txt new file mode 100644 index 000000000..32a68239b --- /dev/null +++ b/parser/testdata/02731_formats_s3/explain.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function sum (children 1) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function s3 (children 1) + ExpressionList (children 2) + Identifier s3_conn + Function equals (children 1) + ExpressionList (children 2) + Identifier filename + Literal \'02731.parquet\' + Set diff --git a/parser/testdata/02731_in_operator_with_one_size_tuple/explain.txt b/parser/testdata/02731_in_operator_with_one_size_tuple/explain.txt new file mode 100644 index 000000000..76da708b5 --- /dev/null +++ b/parser/testdata/02731_in_operator_with_one_size_tuple/explain.txt @@ -0,0 +1,12 @@ +CreateQuery test (children 3) + Identifier test + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration report_date (children 1) + DataType Date + ColumnDeclaration sspid (children 1) + DataType UInt64 + Storage definition (children 3) + Function MergeTree + Identifier report_date + Identifier report_date diff --git a/parser/testdata/02731_nothing_deserialization/explain.txt b/parser/testdata/02731_nothing_deserialization/explain.txt new file mode 100644 index 000000000..d6098dc22 --- /dev/null +++ b/parser/testdata/02731_nothing_deserialization/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Literal \'\\0\' + Literal \'AggregateFunction(nothingArrayIf, Array(Nullable(Nothing)), Nullable(Nothing))\' +The query succeeded but the server error '117' was expected (query: EXPLAIN AST SELECT CAST('\x01\x00' AS AggregateFunction(nothingArrayIf, Array(Nullable(Nothing)), Nullable(Nothing))); -- { serverError INCORRECT_DATA }). diff --git a/parser/testdata/02731_parallel_replicas_join_subquery/explain.txt b/parser/testdata/02731_parallel_replicas_join_subquery/explain.txt new file mode 100644 index 000000000..b3960263d --- /dev/null +++ b/parser/testdata/02731_parallel_replicas_join_subquery/explain.txt @@ -0,0 +1,2 @@ +DropQuery join_inner_table (children 1) + Identifier join_inner_table diff --git a/parser/testdata/02731_replace_partition_from_temporary_table/explain.txt b/parser/testdata/02731_replace_partition_from_temporary_table/explain.txt new file mode 100644 index 000000000..86d217994 --- /dev/null +++ b/parser/testdata/02731_replace_partition_from_temporary_table/explain.txt @@ -0,0 +1,2 @@ +DropQuery src (children 1) + Identifier src diff --git a/parser/testdata/02732_transform_fuzz/explain.txt b/parser/testdata/02732_transform_fuzz/explain.txt new file mode 100644 index 000000000..4126c787e --- /dev/null +++ b/parser/testdata/02732_transform_fuzz/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function caseWithExpr (children 1) + ExpressionList (children 2) + Function arrayReduce (children 1) + ExpressionList (children 2) + Literal NULL + Function array (children 1) + ExpressionList + Function array (children 1) + ExpressionList +The query succeeded but the server error '43' was expected (query: EXPLAIN AST SELECT caseWithExpr(arrayReduce(NULL, []), []); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }). diff --git a/parser/testdata/02733_distinct/explain.txt b/parser/testdata/02733_distinct/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/02733_distinct/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/02733_fix_distinct_in_order_bug_49622/explain.txt b/parser/testdata/02733_fix_distinct_in_order_bug_49622/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02733_fix_distinct_in_order_bug_49622/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02733_sparse_columns_reload/explain.txt b/parser/testdata/02733_sparse_columns_reload/explain.txt new file mode 100644 index 000000000..4368cd132 --- /dev/null +++ b/parser/testdata/02733_sparse_columns_reload/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_sparse_reload (children 1) + Identifier t_sparse_reload diff --git a/parser/testdata/02734_big_int_from_float_ubsan/metadata.json b/parser/testdata/02734_big_int_from_float_ubsan/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02734_big_int_from_float_ubsan/metadata.json +++ b/parser/testdata/02734_big_int_from_float_ubsan/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02734_optimize_group_by/explain.txt b/parser/testdata/02734_optimize_group_by/explain.txt new file mode 100644 index 000000000..121a1e4a1 --- /dev/null +++ b/parser/testdata/02734_optimize_group_by/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Literal \'a\' (alias key) + Literal \'b\' (alias value) + ExpressionList (children 1) + Identifier key + Set diff --git a/parser/testdata/02734_sparse_columns_mutation/explain.txt b/parser/testdata/02734_sparse_columns_mutation/explain.txt new file mode 100644 index 000000000..78859c95a --- /dev/null +++ b/parser/testdata/02734_sparse_columns_mutation/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_sparse_mutation (children 1) + Identifier t_sparse_mutation diff --git a/parser/testdata/02734_sparse_columns_short_circuit/explain.txt b/parser/testdata/02734_sparse_columns_short_circuit/explain.txt new file mode 100644 index 000000000..fe0997545 --- /dev/null +++ b/parser/testdata/02734_sparse_columns_short_circuit/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_sparse_short_circuit (children 1) + Identifier t_sparse_short_circuit diff --git a/parser/testdata/02735_array_map_array_of_tuples/explain.txt b/parser/testdata/02735_array_map_array_of_tuples/explain.txt new file mode 100644 index 000000000..f4f7c26cd --- /dev/null +++ b/parser/testdata/02735_array_map_array_of_tuples/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayMap (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Identifier x + Function array (children 1) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/02735_asof_join_right_null/explain.txt b/parser/testdata/02735_asof_join_right_null/explain.txt new file mode 100644 index 000000000..2df52f92a --- /dev/null +++ b/parser/testdata/02735_asof_join_right_null/explain.txt @@ -0,0 +1,10 @@ +CreateQuery t1 (children 3) + Identifier t1 + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration a (children 1) + DataType Int + ColumnDeclaration b (children 1) + DataType Int + Storage definition (children 1) + Function Memory diff --git a/parser/testdata/02735_parquet_encoder/explain.txt b/parser/testdata/02735_parquet_encoder/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02735_parquet_encoder/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02735_system_zookeeper_auxiliary/explain.txt b/parser/testdata/02735_system_zookeeper_auxiliary/explain.txt new file mode 100644 index 000000000..f1c4e850f --- /dev/null +++ b/parser/testdata/02735_system_zookeeper_auxiliary/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_system_zookeeper_auxiliary (children 1) + Identifier test_system_zookeeper_auxiliary diff --git a/parser/testdata/02735_system_zookeeper_connection/explain.txt b/parser/testdata/02735_system_zookeeper_connection/explain.txt new file mode 100644 index 000000000..38b34aea6 --- /dev/null +++ b/parser/testdata/02735_system_zookeeper_connection/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_zk_connection_table (children 1) + Identifier test_zk_connection_table diff --git a/parser/testdata/02736_bit_count_big_int/explain.txt b/parser/testdata/02736_bit_count_big_int/explain.txt new file mode 100644 index 000000000..da89c7f62 --- /dev/null +++ b/parser/testdata/02736_bit_count_big_int/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function bitCount (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Literal Int64_-1 + Literal \'UInt128\' diff --git a/parser/testdata/02737_arrayJaccardIndex/explain.txt b/parser/testdata/02737_arrayJaccardIndex/explain.txt new file mode 100644 index 000000000..da8030ae4 --- /dev/null +++ b/parser/testdata/02737_arrayJaccardIndex/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'negative tests\' diff --git a/parser/testdata/02737_session_timezone/explain.txt b/parser/testdata/02737_session_timezone/explain.txt new file mode 100644 index 000000000..059a1c84b --- /dev/null +++ b/parser/testdata/02737_session_timezone/explain.txt @@ -0,0 +1,2 @@ +Set +The query succeeded but the server error '36' was expected (query: EXPLAIN AST SET session_timezone = 'Ðбырвалг'; -- { serverError BAD_ARGUMENTS}). diff --git a/parser/testdata/02737_sql_auto_is_null/explain.txt b/parser/testdata/02737_sql_auto_is_null/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02737_sql_auto_is_null/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02740_hashed_dictionary_load_factor_smoke/explain.txt b/parser/testdata/02740_hashed_dictionary_load_factor_smoke/explain.txt new file mode 100644 index 000000000..d4bf1aa3f --- /dev/null +++ b/parser/testdata/02740_hashed_dictionary_load_factor_smoke/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_table (children 1) + Identifier test_table diff --git a/parser/testdata/02746_index_analysis_binary_operator_with_null/explain.txt b/parser/testdata/02746_index_analysis_binary_operator_with_null/explain.txt new file mode 100644 index 000000000..0a00b06d1 --- /dev/null +++ b/parser/testdata/02746_index_analysis_binary_operator_with_null/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab (children 1) + Identifier tab diff --git a/parser/testdata/02751_match_constant_needle/explain.txt b/parser/testdata/02751_match_constant_needle/explain.txt new file mode 100644 index 000000000..82077facb --- /dev/null +++ b/parser/testdata/02751_match_constant_needle/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function match (children 1) + ExpressionList (children 2) + Literal \'default/k8s1\' + Literal \'\\\\A(?:(?:[-0-9_a-z]+(?:\\\\.[-0-9_a-z]+)*)/k8s1)\\\\z\' diff --git a/parser/testdata/02751_multiif_to_if_crash/explain.txt b/parser/testdata/02751_multiif_to_if_crash/explain.txt new file mode 100644 index 000000000..3ac24f8a5 --- /dev/null +++ b/parser/testdata/02751_multiif_to_if_crash/explain.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function sum (children 1) + ExpressionList (children 1) + Identifier A + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function multiIf (alias A) (children 1) + ExpressionList (children 3) + Literal UInt64_1 + Literal UInt64_1 + Literal NULL diff --git a/parser/testdata/02751_parallel_replicas_bug_chunkinfo_not_set/explain.txt b/parser/testdata/02751_parallel_replicas_bug_chunkinfo_not_set/explain.txt new file mode 100644 index 000000000..a126ab951 --- /dev/null +++ b/parser/testdata/02751_parallel_replicas_bug_chunkinfo_not_set/explain.txt @@ -0,0 +1,2 @@ +CreateQuery join_inner_table__fuzz_1 (children 1) + Identifier join_inner_table__fuzz_1 diff --git a/parser/testdata/02751_query_log_test_partitions/explain.txt b/parser/testdata/02751_query_log_test_partitions/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02751_query_log_test_partitions/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02752_custom_separated_ignore_spaces_bug/explain.txt b/parser/testdata/02752_custom_separated_ignore_spaces_bug/explain.txt new file mode 100644 index 000000000..fbd9b44fe --- /dev/null +++ b/parser/testdata/02752_custom_separated_ignore_spaces_bug/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function format (children 1) + ExpressionList (children 3) + Identifier CustomSeparatedIgnoreSpaces + Literal \'x String\' + Literal \' unquoted_string\\n\' + Set diff --git a/parser/testdata/02752_forbidden_headers/explain.txt b/parser/testdata/02752_forbidden_headers/explain.txt new file mode 100644 index 000000000..5f113da27 --- /dev/null +++ b/parser/testdata/02752_forbidden_headers/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function url (children 1) + ExpressionList (children 3) + Literal \'http://localhost:8123/\' + Identifier LineAsString + Function headers (children 1) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Literal \'exact_header\' + Literal \'value\' +The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT * FROM url('http://localhost:8123/', LineAsString, headers('exact_header' = 'value')); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/02752_is_null_priority/explain.txt b/parser/testdata/02752_is_null_priority/explain.txt new file mode 100644 index 000000000..d9b0ac061 --- /dev/null +++ b/parser/testdata/02752_is_null_priority/explain.txt @@ -0,0 +1,17 @@ +Explain EXPLAIN AST (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function isNull (children 1) + ExpressionList (children 1) + Function multiply (children 1) + ExpressionList (children 2) + Identifier a + Identifier b + Function isNotNull (children 1) + ExpressionList (children 1) + Function multiply (children 1) + ExpressionList (children 2) + Identifier a + Identifier b diff --git a/parser/testdata/02752_space_function/explain.txt b/parser/testdata/02752_space_function/explain.txt new file mode 100644 index 000000000..79f350679 --- /dev/null +++ b/parser/testdata/02752_space_function/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'const, uint\' diff --git a/parser/testdata/02762_replicated_database_no_args/explain.txt b/parser/testdata/02762_replicated_database_no_args/explain.txt new file mode 100644 index 000000000..9f7cd2a5c --- /dev/null +++ b/parser/testdata/02762_replicated_database_no_args/explain.txt @@ -0,0 +1,5 @@ +CreateQuery replicated_db_no_args (children 2) + Identifier replicated_db_no_args + Storage definition (children 1) + Function Replicated +The query succeeded but the server error '36' was expected (query: EXPLAIN AST create database replicated_db_no_args engine=Replicated; -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/02763_jit_compare_functions_nan/explain.txt b/parser/testdata/02763_jit_compare_functions_nan/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02763_jit_compare_functions_nan/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02763_mutate_compact_part_with_skip_indices_and_projections/explain.txt b/parser/testdata/02763_mutate_compact_part_with_skip_indices_and_projections/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/02763_mutate_compact_part_with_skip_indices_and_projections/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/02764_index_analysis_fix/explain.txt b/parser/testdata/02764_index_analysis_fix/explain.txt new file mode 100644 index 000000000..a60ff027e --- /dev/null +++ b/parser/testdata/02764_index_analysis_fix/explain.txt @@ -0,0 +1,2 @@ +DropQuery x (children 1) + Identifier x diff --git a/parser/testdata/02764_parallel_replicas_plain_merge_tree/explain.txt b/parser/testdata/02764_parallel_replicas_plain_merge_tree/explain.txt new file mode 100644 index 000000000..b7233ec5a --- /dev/null +++ b/parser/testdata/02764_parallel_replicas_plain_merge_tree/explain.txt @@ -0,0 +1,2 @@ +DropQuery parallel_replicas_plain (children 1) + Identifier parallel_replicas_plain diff --git a/parser/testdata/02765_parallel_replicas_final_modifier/explain.txt b/parser/testdata/02765_parallel_replicas_final_modifier/explain.txt new file mode 100644 index 000000000..ebaf836c7 --- /dev/null +++ b/parser/testdata/02765_parallel_replicas_final_modifier/explain.txt @@ -0,0 +1,10 @@ +CreateQuery parallel_replicas_final (children 3) + Identifier parallel_replicas_final + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration x (children 1) + DataType String + Storage definition (children 2) + Function ReplacingMergeTree (children 1) + ExpressionList + Identifier x diff --git a/parser/testdata/02766_bitshift_with_const_arguments/explain.txt b/parser/testdata/02766_bitshift_with_const_arguments/explain.txt new file mode 100644 index 000000000..f45d84f87 --- /dev/null +++ b/parser/testdata/02766_bitshift_with_const_arguments/explain.txt @@ -0,0 +1,21 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function bitShiftLeft (children 1) + ExpressionList (children 2) + Function if (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Identifier number + Literal NULL + Literal \'14342\' + Literal \'4242348\' + Literal UInt64_1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/02768_cse_nested_distributed/explain.txt b/parser/testdata/02768_cse_nested_distributed/explain.txt new file mode 100644 index 000000000..c75901e9b --- /dev/null +++ b/parser/testdata/02768_cse_nested_distributed/explain.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Subquery (alias s) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function greater (children 1) + ExpressionList (children 2) + Function count (children 1) + ExpressionList + Literal UInt64_0 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.2\' + Identifier system.settings + ExpressionList (children 1) + Identifier s diff --git a/parser/testdata/02769_compare_functions_nan/explain.txt b/parser/testdata/02769_compare_functions_nan/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02769_compare_functions_nan/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02769_parallel_replicas_unavailable_shards/explain.txt b/parser/testdata/02769_parallel_replicas_unavailable_shards/explain.txt new file mode 100644 index 000000000..f996517c0 --- /dev/null +++ b/parser/testdata/02769_parallel_replicas_unavailable_shards/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_parallel_replicas_unavailable_shards (children 1) + Identifier test_parallel_replicas_unavailable_shards diff --git a/parser/testdata/02770_jit_aggregation_nullable_key_fix/explain.txt b/parser/testdata/02770_jit_aggregation_nullable_key_fix/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02770_jit_aggregation_nullable_key_fix/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02771_if_constant_folding/explain.txt b/parser/testdata/02771_if_constant_folding/explain.txt new file mode 100644 index 000000000..374fb1a99 --- /dev/null +++ b/parser/testdata/02771_if_constant_folding/explain.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Identifier number + Function if (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal UInt64_1 + Literal \'UInt64\' + Function toString (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_5 diff --git a/parser/testdata/02771_ignore_data_skipping_indices/explain.txt b/parser/testdata/02771_ignore_data_skipping_indices/explain.txt new file mode 100644 index 000000000..843802bcd --- /dev/null +++ b/parser/testdata/02771_ignore_data_skipping_indices/explain.txt @@ -0,0 +1,2 @@ +DropQuery data_02771 (children 1) + Identifier data_02771 diff --git a/parser/testdata/02771_jit_functions_comparison_crash/explain.txt b/parser/testdata/02771_jit_functions_comparison_crash/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02771_jit_functions_comparison_crash/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02771_log_faminy_truncate_count/explain.txt b/parser/testdata/02771_log_faminy_truncate_count/explain.txt new file mode 100644 index 000000000..6b4c28562 --- /dev/null +++ b/parser/testdata/02771_log_faminy_truncate_count/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_log (children 1) + Identifier test_log diff --git a/parser/testdata/02771_parallel_replicas_analyzer/explain.txt b/parser/testdata/02771_parallel_replicas_analyzer/explain.txt new file mode 100644 index 000000000..0a4355f9f --- /dev/null +++ b/parser/testdata/02771_parallel_replicas_analyzer/explain.txt @@ -0,0 +1,2 @@ +DropQuery join_inner_table__fuzz_146_replicated (children 1) + Identifier join_inner_table__fuzz_146_replicated diff --git a/parser/testdata/02771_resolve_compound_identifier/explain.txt b/parser/testdata/02771_resolve_compound_identifier/explain.txt new file mode 100644 index 000000000..965667311 --- /dev/null +++ b/parser/testdata/02771_resolve_compound_identifier/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_02771 (children 1) + Identifier test_02771 diff --git a/parser/testdata/02771_tsv_csv_custom_skip_trailing_empty_lines/explain.txt b/parser/testdata/02771_tsv_csv_custom_skip_trailing_empty_lines/explain.txt new file mode 100644 index 000000000..b33848c9b --- /dev/null +++ b/parser/testdata/02771_tsv_csv_custom_skip_trailing_empty_lines/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function format (children 1) + ExpressionList (children 3) + Identifier TSV + Literal \'x UInt32, y UInt32\' + Literal \'1\\t2\\n\\n\' + Set +The query succeeded but the server error '27' was expected (query: EXPLAIN AST select * from format(TSV, 'x UInt32, y UInt32', '1\t2\n\n') settings input_format_tsv_skip_trailing_empty_lines=0; -- {serverError CANNOT_PARSE_INPUT_ASSERTION_FAILED}). diff --git a/parser/testdata/02772_jit_date_time_add/explain.txt b/parser/testdata/02772_jit_date_time_add/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02772_jit_date_time_add/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02772_s3_crash/explain.txt b/parser/testdata/02772_s3_crash/explain.txt new file mode 100644 index 000000000..2c8efa020 --- /dev/null +++ b/parser/testdata/02772_s3_crash/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function s3 (children 1) + ExpressionList (children 1) + Function headers (children 1) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Literal \'random_header\' + Literal \'value\' +The query succeeded but the server error '42' was expected (query: EXPLAIN AST SELECT * FROM s3(headers('random_header' = 'value')); -- { serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH }). diff --git a/parser/testdata/02775_show_columns_called_from_clickhouse/explain.txt b/parser/testdata/02775_show_columns_called_from_clickhouse/explain.txt new file mode 100644 index 000000000..0a00b06d1 --- /dev/null +++ b/parser/testdata/02775_show_columns_called_from_clickhouse/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab (children 1) + Identifier tab diff --git a/parser/testdata/02780_final_streams_data_skipping_index/explain.txt b/parser/testdata/02780_final_streams_data_skipping_index/explain.txt new file mode 100644 index 000000000..5092c825d --- /dev/null +++ b/parser/testdata/02780_final_streams_data_skipping_index/explain.txt @@ -0,0 +1,2 @@ +DropQuery data (children 1) + Identifier data diff --git a/parser/testdata/02781_data_skipping_index_merge_tree_min_for_seek/explain.txt b/parser/testdata/02781_data_skipping_index_merge_tree_min_for_seek/explain.txt new file mode 100644 index 000000000..5092c825d --- /dev/null +++ b/parser/testdata/02781_data_skipping_index_merge_tree_min_for_seek/explain.txt @@ -0,0 +1,2 @@ +DropQuery data (children 1) + Identifier data diff --git a/parser/testdata/02782_inconsistent_formatting_and_constant_folding/explain.txt b/parser/testdata/02782_inconsistent_formatting_and_constant_folding/explain.txt new file mode 100644 index 000000000..5f9ee5387 --- /dev/null +++ b/parser/testdata/02782_inconsistent_formatting_and_constant_folding/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 6) + Literal UInt64_0 + Function toTypeName (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal Int64_-1 + Function toTypeName (children 1) + ExpressionList (children 1) + Literal Int64_-1 + Literal Float64_-0 + Function toTypeName (children 1) + ExpressionList (children 1) + Literal Float64_-0 diff --git a/parser/testdata/02782_values_null_to_lc_nullable/explain.txt b/parser/testdata/02782_values_null_to_lc_nullable/explain.txt new file mode 100644 index 000000000..a4b8d6b51 --- /dev/null +++ b/parser/testdata/02782_values_null_to_lc_nullable/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function values (children 1) + ExpressionList (children 2) + Literal \'s LowCardinality(Nullable(String))\' + Literal NULL diff --git a/parser/testdata/02783_date_predicate_optimizations/explain.txt b/parser/testdata/02783_date_predicate_optimizations/explain.txt new file mode 100644 index 000000000..05c3399c3 --- /dev/null +++ b/parser/testdata/02783_date_predicate_optimizations/explain.txt @@ -0,0 +1,2 @@ +CreateQuery source (children 1) + Identifier source diff --git a/parser/testdata/02783_max_bytes_to_read_in_schema_inference/explain.txt b/parser/testdata/02783_max_bytes_to_read_in_schema_inference/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02783_max_bytes_to_read_in_schema_inference/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02783_parsedatetimebesteffort_syslog/explain.txt b/parser/testdata/02783_parsedatetimebesteffort_syslog/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02783_parsedatetimebesteffort_syslog/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02784_move_all_conditions_to_prewhere_analyzer_asan/explain.txt b/parser/testdata/02784_move_all_conditions_to_prewhere_analyzer_asan/explain.txt new file mode 100644 index 000000000..676f1dbc5 --- /dev/null +++ b/parser/testdata/02784_move_all_conditions_to_prewhere_analyzer_asan/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_02784 (children 1) + Identifier t_02784 diff --git a/parser/testdata/02784_projections_read_in_order_bug/explain.txt b/parser/testdata/02784_projections_read_in_order_bug/explain.txt new file mode 100644 index 000000000..1692c9f73 --- /dev/null +++ b/parser/testdata/02784_projections_read_in_order_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery events (children 1) + Identifier events diff --git a/parser/testdata/02784_schema_inference_null_as_default/explain.txt b/parser/testdata/02784_schema_inference_null_as_default/explain.txt new file mode 100644 index 000000000..4bb87f87e --- /dev/null +++ b/parser/testdata/02784_schema_inference_null_as_default/explain.txt @@ -0,0 +1,7 @@ +DescribeQuery (children 2) + TableExpression (children 1) + Function format (children 1) + ExpressionList (children 2) + Identifier JSONEachRow + Literal \'{"x" : null}, {"x" : 42}\' + Set diff --git a/parser/testdata/02785_date_predicate_optimizations_ast_query_tree_rewrite/explain.txt b/parser/testdata/02785_date_predicate_optimizations_ast_query_tree_rewrite/explain.txt new file mode 100644 index 000000000..e64e9ddae --- /dev/null +++ b/parser/testdata/02785_date_predicate_optimizations_ast_query_tree_rewrite/explain.txt @@ -0,0 +1,2 @@ +DropQuery date_t (children 1) + Identifier date_t diff --git a/parser/testdata/02785_global_join_too_many_columns/explain.txt b/parser/testdata/02785_global_join_too_many_columns/explain.txt new file mode 100644 index 000000000..2122fb995 --- /dev/null +++ b/parser/testdata/02785_global_join_too_many_columns/explain.txt @@ -0,0 +1,2 @@ +DropQuery local (children 1) + Identifier local diff --git a/parser/testdata/02785_left_anti_join_bug/explain.txt b/parser/testdata/02785_left_anti_join_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02785_left_anti_join_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02785_summing_merge_tree_datetime64/explain.txt b/parser/testdata/02785_summing_merge_tree_datetime64/explain.txt new file mode 100644 index 000000000..d08346223 --- /dev/null +++ b/parser/testdata/02785_summing_merge_tree_datetime64/explain.txt @@ -0,0 +1,2 @@ +DropQuery summing_merge_tree_datetime64 (children 1) + Identifier summing_merge_tree_datetime64 diff --git a/parser/testdata/02786_max_execution_time_leaf/explain.txt b/parser/testdata/02786_max_execution_time_leaf/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02786_max_execution_time_leaf/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02786_transform_float/explain.txt b/parser/testdata/02786_transform_float/explain.txt new file mode 100644 index 000000000..974a279a0 --- /dev/null +++ b/parser/testdata/02786_transform_float/explain.txt @@ -0,0 +1,22 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function transform (children 1) + ExpressionList (children 4) + Identifier number + Literal Array_[UInt64_1] + Function array (children 1) + ExpressionList (children 1) + Function toFloat32 (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Function toFloat32 (children 1) + ExpressionList (children 1) + Literal UInt64_1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_3 diff --git a/parser/testdata/02787_transform_null/explain.txt b/parser/testdata/02787_transform_null/explain.txt new file mode 100644 index 000000000..40a3b9520 --- /dev/null +++ b/parser/testdata/02787_transform_null/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function transform (alias result) (children 1) + ExpressionList (children 4) + Literal UInt64_0 + Literal Array_[UInt64_0, UInt64_1] + Literal Array_[\'ZERO\', \'ONE\'] + Literal \'DEFAULT\' diff --git a/parser/testdata/02788_current_schemas_function/explain.txt b/parser/testdata/02788_current_schemas_function/explain.txt new file mode 100644 index 000000000..852469ba8 --- /dev/null +++ b/parser/testdata/02788_current_schemas_function/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function current_schemas (alias result) (children 1) + ExpressionList (children 1) + Literal Bool_1 diff --git a/parser/testdata/02788_fix_logical_error_in_sorting/explain.txt b/parser/testdata/02788_fix_logical_error_in_sorting/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02788_fix_logical_error_in_sorting/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02789_describe_table_settings/explain.txt b/parser/testdata/02789_describe_table_settings/explain.txt new file mode 100644 index 000000000..81f77db49 --- /dev/null +++ b/parser/testdata/02789_describe_table_settings/explain.txt @@ -0,0 +1,8 @@ +DescribeQuery (children 3) + TableExpression (children 1) + Function format (children 1) + ExpressionList (children 2) + Identifier JSONEachRow + Literal \'{"id" : 1, "age" : 25, "name" : "Josh", "status" : null, "hobbies" : ["football", "cooking"]}\' + Set + Identifier CSV diff --git a/parser/testdata/02789_functions_after_sorting_and_columns_with_same_names_bug/explain.txt b/parser/testdata/02789_functions_after_sorting_and_columns_with_same_names_bug/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/02789_functions_after_sorting_and_columns_with_same_names_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/02789_functions_after_sorting_and_columns_with_same_names_bug_2/metadata.json b/parser/testdata/02789_functions_after_sorting_and_columns_with_same_names_bug_2/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02789_functions_after_sorting_and_columns_with_same_names_bug_2/metadata.json +++ b/parser/testdata/02789_functions_after_sorting_and_columns_with_same_names_bug_2/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02789_jit_cannot_convert_column/metadata.json b/parser/testdata/02789_jit_cannot_convert_column/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02789_jit_cannot_convert_column/metadata.json +++ b/parser/testdata/02789_jit_cannot_convert_column/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02789_set_index_nullable_condition_bug/explain.txt b/parser/testdata/02789_set_index_nullable_condition_bug/explain.txt new file mode 100644 index 000000000..0a00b06d1 --- /dev/null +++ b/parser/testdata/02789_set_index_nullable_condition_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab (children 1) + Identifier tab diff --git a/parser/testdata/02790_fix_coredump_when_compile_expression/explain.txt b/parser/testdata/02790_fix_coredump_when_compile_expression/explain.txt new file mode 100644 index 000000000..2b1369ade --- /dev/null +++ b/parser/testdata/02790_fix_coredump_when_compile_expression/explain.txt @@ -0,0 +1,16 @@ +CreateQuery test (children 3) + Identifier test + Columns definition (children 1) + ExpressionList (children 3) + ColumnDeclaration col1 (children 1) + DataType Nullable (children 1) + ExpressionList (children 1) + DataType DOUBLE + ColumnDeclaration col2 (children 1) + DataType Nullable (children 1) + ExpressionList (children 1) + DataType DOUBLE + ColumnDeclaration col3 (children 1) + DataType DOUBLE + Storage definition (children 1) + Function Memory diff --git a/parser/testdata/02790_keyed_hash_bug/explain.txt b/parser/testdata/02790_keyed_hash_bug/explain.txt new file mode 100644 index 000000000..b7e8340cb --- /dev/null +++ b/parser/testdata/02790_keyed_hash_bug/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function sipHash64Keyed (children 1) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList (children 2) + Literal UInt64_1111111111111111111 + Function toUInt64 (children 1) + ExpressionList (children 1) + Literal UInt64_222222222222223 + ExpressionList (children 1) + Function toUInt64 (children 1) + ExpressionList (children 1) + Literal UInt64_222222222222223 diff --git a/parser/testdata/02790_optimize_skip_unused_shards_join/explain.txt b/parser/testdata/02790_optimize_skip_unused_shards_join/explain.txt new file mode 100644 index 000000000..ebc57ef6f --- /dev/null +++ b/parser/testdata/02790_optimize_skip_unused_shards_join/explain.txt @@ -0,0 +1,2 @@ +DropQuery outer (children 1) + Identifier outer diff --git a/parser/testdata/02790_sql_standard_fetch/explain.txt b/parser/testdata/02790_sql_standard_fetch/explain.txt new file mode 100644 index 000000000..f365dd13e --- /dev/null +++ b/parser/testdata/02790_sql_standard_fetch/explain.txt @@ -0,0 +1,12 @@ +CreateQuery employees (children 2) + Identifier employees + Columns definition (children 1) + ExpressionList (children 4) + ColumnDeclaration id (children 1) + DataType UInt64 + ColumnDeclaration name (children 1) + DataType String + ColumnDeclaration department (children 1) + DataType String + ColumnDeclaration salary (children 1) + DataType UInt64 diff --git a/parser/testdata/02790_url_multiple_tsv_files/explain.txt b/parser/testdata/02790_url_multiple_tsv_files/explain.txt new file mode 100644 index 000000000..38e2c19e7 --- /dev/null +++ b/parser/testdata/02790_url_multiple_tsv_files/explain.txt @@ -0,0 +1,24 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function sum (children 1) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function url (children 1) + ExpressionList (children 2) + Literal \'http://127.0.0.1:8123?query=select+{1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16}+as+x+format+TSV\' + Literal \'TSV\' + Set diff --git a/parser/testdata/02791_final_block_structure_mismatch_bug/explain.txt b/parser/testdata/02791_final_block_structure_mismatch_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02791_final_block_structure_mismatch_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02791_predicate_pushdown_different_types/metadata.json b/parser/testdata/02791_predicate_pushdown_different_types/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02791_predicate_pushdown_different_types/metadata.json +++ b/parser/testdata/02791_predicate_pushdown_different_types/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02792_alter_table_modify_comment/explain.txt b/parser/testdata/02792_alter_table_modify_comment/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/02792_alter_table_modify_comment/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/02792_drop_projection_lwd/explain.txt b/parser/testdata/02792_drop_projection_lwd/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02792_drop_projection_lwd/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02794_pushdown_invalid_get/explain.txt b/parser/testdata/02794_pushdown_invalid_get/explain.txt new file mode 100644 index 000000000..a5f232b36 --- /dev/null +++ b/parser/testdata/02794_pushdown_invalid_get/explain.txt @@ -0,0 +1,25 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 2) + SelectQuery (children 1) + ExpressionList (children 1) + Function toInt128 (alias x) (children 1) + ExpressionList (children 1) + Literal NULL + SelectQuery (children 1) + ExpressionList (children 1) + Function materialize (children 1) + ExpressionList (children 1) + Function toInt128 (children 1) + ExpressionList (children 1) + Literal Int64_-2 + Identifier x +The query succeeded but the server error '59' was expected (query: EXPLAIN AST SELECT * FROM (SELECT toInt128(NULL) AS x UNION ALL SELECT materialize(toInt128(-2))) WHERE x; -- { serverError ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER }). diff --git a/parser/testdata/02795_full_join_assert_cast/explain.txt b/parser/testdata/02795_full_join_assert_cast/explain.txt new file mode 100644 index 000000000..6714be79f --- /dev/null +++ b/parser/testdata/02795_full_join_assert_cast/explain.txt @@ -0,0 +1,35 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function any (children 1) + ExpressionList (children 1) + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier s + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias t1) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function CAST (alias s) (children 1) + ExpressionList (children 2) + Literal \'a\' + Literal \'String\' + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias t2) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function CAST (alias s) (children 1) + ExpressionList (children 2) + Literal \'b\' + Literal \'LowCardinality(String)\' + TableJoin (children 1) + ExpressionList (children 1) + Identifier s diff --git a/parser/testdata/02796_calculate_text_stack_trace/explain.txt b/parser/testdata/02796_calculate_text_stack_trace/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02796_calculate_text_stack_trace/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02796_projection_date_filter_on_view/explain.txt b/parser/testdata/02796_projection_date_filter_on_view/explain.txt new file mode 100644 index 000000000..21a6ec3a9 --- /dev/null +++ b/parser/testdata/02796_projection_date_filter_on_view/explain.txt @@ -0,0 +1,2 @@ +DropQuery fx_1m (children 1) + Identifier fx_1m diff --git a/parser/testdata/02797_aggregator_huge_mem_usage_bug/explain.txt b/parser/testdata/02797_aggregator_huge_mem_usage_bug/explain.txt new file mode 100644 index 000000000..78b2a1ef0 --- /dev/null +++ b/parser/testdata/02797_aggregator_huge_mem_usage_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery v (children 1) + Identifier v diff --git a/parser/testdata/02797_range_nullable/explain.txt b/parser/testdata/02797_range_nullable/explain.txt new file mode 100644 index 000000000..42948a712 --- /dev/null +++ b/parser/testdata/02797_range_nullable/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function range (children 1) + ExpressionList (children 1) + Literal NULL diff --git a/parser/testdata/02797_transform_narrow_types/explain.txt b/parser/testdata/02797_transform_narrow_types/explain.txt new file mode 100644 index 000000000..6067b7f6d --- /dev/null +++ b/parser/testdata/02797_transform_narrow_types/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function transform (children 1) + ExpressionList (children 4) + Literal Int64_-1 + Literal Array_[Int64_-1, UInt64_2] + Literal Array_[\'f\', \'s\'] + Literal \'g\' diff --git a/parser/testdata/02798_explain_settings_not_applied_bug/explain.txt b/parser/testdata/02798_explain_settings_not_applied_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02798_explain_settings_not_applied_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02798_generic_transform/explain.txt b/parser/testdata/02798_generic_transform/explain.txt new file mode 100644 index 000000000..3a472a3cc --- /dev/null +++ b/parser/testdata/02798_generic_transform/explain.txt @@ -0,0 +1,24 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function transform (children 1) + ExpressionList (children 4) + Function tuple (children 1) + ExpressionList (children 2) + Identifier number + Function toString (children 1) + ExpressionList (children 1) + Identifier number + Function array (children 1) + ExpressionList (children 3) + Literal Tuple_(UInt64_3, \'3\') + Literal Tuple_(UInt64_5, \'5\') + Literal Tuple_(UInt64_7, \'7\') + Literal Array_[\'hello\', \'world\', \'abc!\'] + Literal \'def\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_10 diff --git a/parser/testdata/02798_substring_index/explain.txt b/parser/testdata/02798_substring_index/explain.txt new file mode 100644 index 000000000..4442dc53f --- /dev/null +++ b/parser/testdata/02798_substring_index/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function substringIndex (children 1) + ExpressionList (children 3) + Literal \'www.clickhouse.com\' + Literal \'.\' + Literal Int64_-4 diff --git a/parser/testdata/02799_transform_empty_arrays/explain.txt b/parser/testdata/02799_transform_empty_arrays/explain.txt new file mode 100644 index 000000000..3a5989c30 --- /dev/null +++ b/parser/testdata/02799_transform_empty_arrays/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function transform (children 1) + ExpressionList (children 3) + Identifier number + Function array (children 1) + ExpressionList + Literal Array_[UInt64_1] + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 diff --git a/parser/testdata/02800_transform_alter/explain.txt b/parser/testdata/02800_transform_alter/explain.txt new file mode 100644 index 000000000..25453186d --- /dev/null +++ b/parser/testdata/02800_transform_alter/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_xy (children 1) + Identifier test_xy diff --git a/parser/testdata/02801_transform_nullable/explain.txt b/parser/testdata/02801_transform_nullable/explain.txt new file mode 100644 index 000000000..0fedd69e6 --- /dev/null +++ b/parser/testdata/02801_transform_nullable/explain.txt @@ -0,0 +1,25 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function transform (children 1) + ExpressionList (children 4) + Literal \'a\' + Literal Array_[\'a\', \'b\'] + Function array (children 1) + ExpressionList (children 2) + Function toDateTime64 (children 1) + ExpressionList (children 3) + Literal UInt64_1 + Literal UInt64_3 + Literal \'UTC\' + Function toDateTime64 (children 1) + ExpressionList (children 3) + Literal UInt64_2 + Literal UInt64_3 + Literal \'UTC\' + Function toDateTime64 (children 1) + ExpressionList (children 3) + Literal UInt64_0 + Literal UInt64_3 + Literal \'UTC\' diff --git a/parser/testdata/02802_with_cube_with_totals/explain.txt b/parser/testdata/02802_with_cube_with_totals/explain.txt new file mode 100644 index 000000000..5753d541a --- /dev/null +++ b/parser/testdata/02802_with_cube_with_totals/explain.txt @@ -0,0 +1,32 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Literal Tuple_(UInt64_2147483648, Tuple_(Float64_-0, Float64_1.1754943508222875e-38, UInt64_2147483646, \'-9223372036854775808\', NULL)) + Function toInt128 (children 1) + ExpressionList (children 1) + Literal Float64_0.0001 + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList (children 5) + Function tuple (children 1) + ExpressionList (children 3) + Literal UInt64_256 + Function toInt64 (children 1) + ExpressionList (children 1) + Literal Float64_1.1754943508222875e-38 + Literal NULL + Literal NULL + Literal Float64_-0 + Literal Tuple_(Tuple_(UInt64_65535, \'-92233720368547758.07\'), Float64_0.9999) + Function tuple (children 1) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList (children 3) + Literal Tuple_(Float64_1, Float64_3.4028234663852886e38, \'1\', Float64_0.5) + Literal NULL + Function tuple (children 1) + ExpressionList (children 1) + Literal \'0.1\' diff --git a/parser/testdata/02803_remote_cannot_clone_block/explain.txt b/parser/testdata/02803_remote_cannot_clone_block/explain.txt new file mode 100644 index 000000000..be03d491e --- /dev/null +++ b/parser/testdata/02803_remote_cannot_clone_block/explain.txt @@ -0,0 +1,2 @@ +DropQuery numbers_10_00223 (children 1) + Identifier numbers_10_00223 diff --git a/parser/testdata/02804_clusterAllReplicas_insert/explain.txt b/parser/testdata/02804_clusterAllReplicas_insert/explain.txt new file mode 100644 index 000000000..5092c825d --- /dev/null +++ b/parser/testdata/02804_clusterAllReplicas_insert/explain.txt @@ -0,0 +1,2 @@ +DropQuery data (children 1) + Identifier data diff --git a/parser/testdata/02804_intersect_bad_cast/explain.txt b/parser/testdata/02804_intersect_bad_cast/explain.txt new file mode 100644 index 000000000..badd671bb --- /dev/null +++ b/parser/testdata/02804_intersect_bad_cast/explain.txt @@ -0,0 +1,24 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Literal Float64_2 + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectIntersectExceptQuery (children 2) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_1024 + Literal UInt64_256 + SelectQuery (children 1) + ExpressionList (children 2) + Function and (children 1) + ExpressionList (children 2) + Literal UInt64_100 + Literal Float64_inf + Literal UInt64_256 diff --git a/parser/testdata/02805_distributed_queries_timeouts/explain.txt b/parser/testdata/02805_distributed_queries_timeouts/explain.txt new file mode 100644 index 000000000..091905c59 --- /dev/null +++ b/parser/testdata/02805_distributed_queries_timeouts/explain.txt @@ -0,0 +1,8 @@ +CreateQuery dist (children 2) + Identifier dist + Storage definition (children 1) + Function Distributed (children 1) + ExpressionList (children 3) + Identifier test_shard_localhost + Identifier system + Identifier one diff --git a/parser/testdata/02806_cte_block_cannot_be_empty/explain.txt b/parser/testdata/02806_cte_block_cannot_be_empty/explain.txt new file mode 100644 index 000000000..43333f71e --- /dev/null +++ b/parser/testdata/02806_cte_block_cannot_be_empty/explain.txt @@ -0,0 +1,55 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + WithElement (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 3) + Literal UInt64_1 (alias ID) + Function toDate (alias dt) (children 1) + ExpressionList (children 1) + Literal \'2023-06-24\' + Literal UInt64_0 (alias p) + ExpressionList (children 1) + Function multiIf (alias params) (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Identifier t.ID + Literal UInt64_1 + Function formatRowNoNewline (children 1) + ExpressionList (children 2) + Literal \'JSONEachRow\' + Identifier dd + Literal \'\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias t) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Identifier ID + Function multiIf (alias dd) (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Identifier p + Literal UInt64_0 + Function toString (children 1) + ExpressionList (children 1) + Function plus (children 1) + ExpressionList (children 2) + Identifier dt + Function toIntervalHour (children 1) + ExpressionList (children 1) + Identifier p + Literal \'2022-01-01\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier c diff --git a/parser/testdata/02807_default_date_time_nullable/metadata.json b/parser/testdata/02807_default_date_time_nullable/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02807_default_date_time_nullable/metadata.json +++ b/parser/testdata/02807_default_date_time_nullable/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02807_lower_utf8_msan/explain.txt b/parser/testdata/02807_lower_utf8_msan/explain.txt new file mode 100644 index 000000000..362485924 --- /dev/null +++ b/parser/testdata/02807_lower_utf8_msan/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function lowerUTF8 (children 1) + ExpressionList (children 1) + Function arrayJoin (children 1) + ExpressionList (children 1) + Literal Array_[\'©--------------------------------------\', \'©--------------------\'] + ExpressionList (children 1) + OrderByElement (children 1) + Literal UInt64_1 diff --git a/parser/testdata/02807_math_unary_crash/explain.txt b/parser/testdata/02807_math_unary_crash/explain.txt new file mode 100644 index 000000000..567f0729e --- /dev/null +++ b/parser/testdata/02807_math_unary_crash/explain.txt @@ -0,0 +1,2 @@ +DropQuery t10 (children 1) + Identifier t10 diff --git a/parser/testdata/02808_aliases_inside_case/metadata.json b/parser/testdata/02808_aliases_inside_case/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02808_aliases_inside_case/metadata.json +++ b/parser/testdata/02808_aliases_inside_case/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02809_has_subsequence/explain.txt b/parser/testdata/02809_has_subsequence/explain.txt new file mode 100644 index 000000000..53bbb0189 --- /dev/null +++ b/parser/testdata/02809_has_subsequence/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'hasSubsequence\' diff --git a/parser/testdata/02809_has_token/explain.txt b/parser/testdata/02809_has_token/explain.txt new file mode 100644 index 000000000..be6dce57f --- /dev/null +++ b/parser/testdata/02809_has_token/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function hasToken (alias r) (children 1) + ExpressionList (children 2) + Literal \'quotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotquota\' + Literal \'quota\' diff --git a/parser/testdata/02809_prewhere_and_in/explain.txt b/parser/testdata/02809_prewhere_and_in/explain.txt new file mode 100644 index 000000000..cc41b8dc2 --- /dev/null +++ b/parser/testdata/02809_prewhere_and_in/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_02809 (children 1) + Identifier t_02809 diff --git a/parser/testdata/02809_storage_set_analysis_bug/explain.txt b/parser/testdata/02809_storage_set_analysis_bug/explain.txt new file mode 100644 index 000000000..8cbcf7876 --- /dev/null +++ b/parser/testdata/02809_storage_set_analysis_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_set (children 1) + Identifier test_set diff --git a/parser/testdata/02810_convert_uuid_to_uint128/explain.txt b/parser/testdata/02810_convert_uuid_to_uint128/explain.txt new file mode 100644 index 000000000..30103f05f --- /dev/null +++ b/parser/testdata/02810_convert_uuid_to_uint128/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toUInt128 (children 1) + ExpressionList (children 1) + Function toUUID (children 1) + ExpressionList (children 1) + Literal \'00000000-0000-0000-0000-000000000000\' diff --git a/parser/testdata/02810_fix_remove_dedundant_distinct_view/explain.txt b/parser/testdata/02810_fix_remove_dedundant_distinct_view/explain.txt new file mode 100644 index 000000000..d108447dd --- /dev/null +++ b/parser/testdata/02810_fix_remove_dedundant_distinct_view/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab_v (children 1) + Identifier tab_v diff --git a/parser/testdata/02810_initcap/explain.txt b/parser/testdata/02810_initcap/explain.txt new file mode 100644 index 000000000..bd5332efe --- /dev/null +++ b/parser/testdata/02810_initcap/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function initcap (children 1) + ExpressionList (children 1) + Literal \'\' diff --git a/parser/testdata/02810_row_binary_with_defaults/explain.txt b/parser/testdata/02810_row_binary_with_defaults/explain.txt new file mode 100644 index 000000000..738ae581f --- /dev/null +++ b/parser/testdata/02810_row_binary_with_defaults/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function format (children 1) + ExpressionList (children 3) + Literal \'RowBinaryWithDefaults\' + Literal \'x UInt32 default 42\' + Literal \'\' diff --git a/parser/testdata/02810_system_jemalloc_bins/metadata.json b/parser/testdata/02810_system_jemalloc_bins/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02810_system_jemalloc_bins/metadata.json +++ b/parser/testdata/02810_system_jemalloc_bins/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02811_insert_schema_inference/explain.txt b/parser/testdata/02811_insert_schema_inference/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/02811_insert_schema_inference/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/02811_invalid_embedded_rocksdb_create/explain.txt b/parser/testdata/02811_invalid_embedded_rocksdb_create/explain.txt new file mode 100644 index 000000000..66fc42036 --- /dev/null +++ b/parser/testdata/02811_invalid_embedded_rocksdb_create/explain.txt @@ -0,0 +1,14 @@ +CreateQuery dict (children 3) + Identifier dict + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration k (children 1) + DataType String + ColumnDeclaration v (children 1) + DataType String + Storage definition (children 2) + Function EmbeddedRocksDB (children 1) + ExpressionList (children 1) + Identifier k + Identifier k +The query succeeded but the server error '36' was expected (query: EXPLAIN AST CREATE TABLE dict (`k` String, `v` String) ENGINE = EmbeddedRocksDB(k) PRIMARY KEY k; -- {serverError BAD_ARGUMENTS}). diff --git a/parser/testdata/02811_ip_dict_attribute/metadata.json b/parser/testdata/02811_ip_dict_attribute/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02811_ip_dict_attribute/metadata.json +++ b/parser/testdata/02811_ip_dict_attribute/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02811_parallel_replicas_prewhere_count/explain.txt b/parser/testdata/02811_parallel_replicas_prewhere_count/explain.txt new file mode 100644 index 000000000..9f4cd7313 --- /dev/null +++ b/parser/testdata/02811_parallel_replicas_prewhere_count/explain.txt @@ -0,0 +1,2 @@ +DropQuery users (children 1) + Identifier users diff --git a/parser/testdata/02811_primary_key_in_columns/explain.txt b/parser/testdata/02811_primary_key_in_columns/explain.txt new file mode 100644 index 000000000..c52e138c8 --- /dev/null +++ b/parser/testdata/02811_primary_key_in_columns/explain.txt @@ -0,0 +1,2 @@ +DropQuery pk_test1 (children 1) + Identifier pk_test1 diff --git a/parser/testdata/02811_read_in_order_and_array_join_bug/explain.txt b/parser/testdata/02811_read_in_order_and_array_join_bug/explain.txt new file mode 100644 index 000000000..4cb7d97e6 --- /dev/null +++ b/parser/testdata/02811_read_in_order_and_array_join_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_array_joins (children 1) + Identifier test_array_joins diff --git a/parser/testdata/02812_bug_with_unused_join_columns/explain.txt b/parser/testdata/02812_bug_with_unused_join_columns/explain.txt new file mode 100644 index 000000000..cd874b30f --- /dev/null +++ b/parser/testdata/02812_bug_with_unused_join_columns/explain.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function concat (alias x) (children 1) + ExpressionList (children 2) + Identifier func.name + Identifier comb.name + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.functions (alias func) + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + TableIdentifier system.aggregate_function_combinators (alias comb) + TableJoin (children 1) + ExpressionList (children 1) + Identifier name + Identifier is_aggregate + Set diff --git a/parser/testdata/02812_csv_date_time_with_comma/explain.txt b/parser/testdata/02812_csv_date_time_with_comma/explain.txt new file mode 100644 index 000000000..dd83be093 --- /dev/null +++ b/parser/testdata/02812_csv_date_time_with_comma/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function format (children 1) + ExpressionList (children 3) + Identifier CSV + Literal \'c1 DateTime, c2 String\' + Literal \'01-01-2000,abc\' + Set diff --git a/parser/testdata/02812_from_to_utc_timestamp/explain.txt b/parser/testdata/02812_from_to_utc_timestamp/explain.txt new file mode 100644 index 000000000..cb2f1cece --- /dev/null +++ b/parser/testdata/02812_from_to_utc_timestamp/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_tbl (children 1) + Identifier test_tbl diff --git a/parser/testdata/02812_large_varints/explain.txt b/parser/testdata/02812_large_varints/explain.txt new file mode 100644 index 000000000..a904da974 --- /dev/null +++ b/parser/testdata/02812_large_varints/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function topKWeightedState (children 2) + ExpressionList (children 2) + Function now (children 1) + ExpressionList + Literal Int64_-2 + ExpressionList (children 1) + Literal UInt64_65535 + Identifier Null diff --git a/parser/testdata/02812_pointwise_array_operations/explain.txt b/parser/testdata/02812_pointwise_array_operations/explain.txt new file mode 100644 index 000000000..0e5fffb52 --- /dev/null +++ b/parser/testdata/02812_pointwise_array_operations/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function plus (children 1) + ExpressionList (children 2) + Function materialize (children 1) + ExpressionList (children 1) + Literal Array_[UInt64_1, UInt64_1] + Function materialize (children 1) + ExpressionList (children 1) + Literal Array_[UInt64_1, UInt64_4] diff --git a/parser/testdata/02812_subquery_operators/explain.txt b/parser/testdata/02812_subquery_operators/explain.txt new file mode 100644 index 000000000..fd57f382a --- /dev/null +++ b/parser/testdata/02812_subquery_operators/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function singleValueOrNull (children 1) + ExpressionList (children 1) + Function toNullable (children 1) + ExpressionList (children 1) + Literal \'\' diff --git a/parser/testdata/02813_any_value/explain.txt b/parser/testdata/02813_any_value/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02813_any_value/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02813_array_agg/explain.txt b/parser/testdata/02813_array_agg/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/02813_array_agg/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/02813_array_concat_agg/explain.txt b/parser/testdata/02813_array_concat_agg/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/02813_array_concat_agg/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/02813_create_index_noop/explain.txt b/parser/testdata/02813_create_index_noop/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02813_create_index_noop/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02813_float_parsing/metadata.json b/parser/testdata/02813_float_parsing/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02813_float_parsing/metadata.json +++ b/parser/testdata/02813_float_parsing/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02813_func_now_and_alias/explain.txt b/parser/testdata/02813_func_now_and_alias/explain.txt new file mode 100644 index 000000000..fa2483017 --- /dev/null +++ b/parser/testdata/02813_func_now_and_alias/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function current_timestamp (children 1) + ExpressionList diff --git a/parser/testdata/02813_func_today_and_alias/explain.txt b/parser/testdata/02813_func_today_and_alias/explain.txt new file mode 100644 index 000000000..921676803 --- /dev/null +++ b/parser/testdata/02813_func_today_and_alias/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Function today (children 1) + ExpressionList + Function current_date (children 1) + ExpressionList diff --git a/parser/testdata/02813_optimize_lazy_materialization/explain.txt b/parser/testdata/02813_optimize_lazy_materialization/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02813_optimize_lazy_materialization/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02813_seriesDecomposeSTL/explain.txt b/parser/testdata/02813_seriesDecomposeSTL/explain.txt new file mode 100644 index 000000000..d3518914d --- /dev/null +++ b/parser/testdata/02813_seriesDecomposeSTL/explain.txt @@ -0,0 +1,2 @@ +DropQuery tb2 (children 1) + Identifier tb2 diff --git a/parser/testdata/02813_seriesOutliersDetectTukey/explain.txt b/parser/testdata/02813_seriesOutliersDetectTukey/explain.txt new file mode 100644 index 000000000..381bd4b47 --- /dev/null +++ b/parser/testdata/02813_seriesOutliersDetectTukey/explain.txt @@ -0,0 +1,2 @@ +DropQuery tb1 (children 1) + Identifier tb1 diff --git a/parser/testdata/02813_series_period_detect/explain.txt b/parser/testdata/02813_series_period_detect/explain.txt new file mode 100644 index 000000000..381bd4b47 --- /dev/null +++ b/parser/testdata/02813_series_period_detect/explain.txt @@ -0,0 +1,2 @@ +DropQuery tb1 (children 1) + Identifier tb1 diff --git a/parser/testdata/02813_starting_in_text_log/explain.txt b/parser/testdata/02813_starting_in_text_log/explain.txt new file mode 100644 index 000000000..1684cb9d8 --- /dev/null +++ b/parser/testdata/02813_starting_in_text_log/explain.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02813_system_licenses_base/explain.txt b/parser/testdata/02813_system_licenses_base/explain.txt new file mode 100644 index 000000000..69637ef17 --- /dev/null +++ b/parser/testdata/02813_system_licenses_base/explain.txt @@ -0,0 +1,25 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk (children 1) + ColumnsTransformerList (children 1) + ColumnsReplaceTransformer (children 1) + ColumnsReplaceTransformer::Replacement (children 1) + Function substring (children 1) + ExpressionList (children 3) + Identifier license_text + Literal UInt64_1 + Function position (children 1) + ExpressionList (children 2) + Identifier license_text + Literal \'\\n\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.licenses + Function equals (children 1) + ExpressionList (children 2) + Identifier library_name + Literal \'poco\' + Identifier Vertical diff --git a/parser/testdata/02814_ReplacingMergeTree_fix_select_final_on_single_partition/explain.txt b/parser/testdata/02814_ReplacingMergeTree_fix_select_final_on_single_partition/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/02814_ReplacingMergeTree_fix_select_final_on_single_partition/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/02814_age_datediff/explain.txt b/parser/testdata/02814_age_datediff/explain.txt new file mode 100644 index 000000000..8d8254dd5 --- /dev/null +++ b/parser/testdata/02814_age_datediff/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function age (children 1) + ExpressionList (children 3) + Literal \'nanosecond\' + Function toDateTime64 (children 1) + ExpressionList (children 3) + Literal \'2015-08-18 20:30:36.100200005\' + Literal UInt64_9 + Literal \'UTC\' + Function toDateTime64 (children 1) + ExpressionList (children 3) + Literal \'2015-08-18 20:30:41.200400005\' + Literal UInt64_9 + Literal \'UTC\' diff --git a/parser/testdata/02814_create_index_uniq_noop/explain.txt b/parser/testdata/02814_create_index_uniq_noop/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02814_create_index_uniq_noop/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02814_currentDatabase_for_table_functions/explain.txt b/parser/testdata/02814_currentDatabase_for_table_functions/explain.txt new file mode 100644 index 000000000..18228dd53 --- /dev/null +++ b/parser/testdata/02814_currentDatabase_for_table_functions/explain.txt @@ -0,0 +1,2 @@ +DropQuery null_table (children 1) + Identifier null_table diff --git a/parser/testdata/02814_order_by_tuple_window_function/explain.txt b/parser/testdata/02814_order_by_tuple_window_function/explain.txt new file mode 100644 index 000000000..9c747baf3 --- /dev/null +++ b/parser/testdata/02814_order_by_tuple_window_function/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Literal UInt64_1 + ExpressionList (children 1) + OrderByElement (children 1) + Function tuple (children 1) + ExpressionList (children 1) + Function count (children 2) + ExpressionList + WindowDefinition diff --git a/parser/testdata/02815_alias_to_length/explain.txt b/parser/testdata/02815_alias_to_length/explain.txt new file mode 100644 index 000000000..d7cf0e460 --- /dev/null +++ b/parser/testdata/02815_alias_to_length/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function OCTET_LENGTH (children 1) + ExpressionList (children 1) + Literal \'1234\' diff --git a/parser/testdata/02815_analyzer_aggregate_functions_of_group_by_keys/explain.txt b/parser/testdata/02815_analyzer_aggregate_functions_of_group_by_keys/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02815_analyzer_aggregate_functions_of_group_by_keys/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02815_empty_subquery_nullable_bug/metadata.json b/parser/testdata/02815_empty_subquery_nullable_bug/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02815_empty_subquery_nullable_bug/metadata.json +++ b/parser/testdata/02815_empty_subquery_nullable_bug/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02815_first_line/explain.txt b/parser/testdata/02815_first_line/explain.txt new file mode 100644 index 000000000..03431532b --- /dev/null +++ b/parser/testdata/02815_first_line/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function firstLine (children 1) + ExpressionList (children 1) + Literal \'foo\\nbar\\nbaz\' diff --git a/parser/testdata/02815_fix_not_found_constants_col_in_block/explain.txt b/parser/testdata/02815_fix_not_found_constants_col_in_block/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/02815_fix_not_found_constants_col_in_block/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/02815_join_algorithm_setting/explain.txt b/parser/testdata/02815_join_algorithm_setting/explain.txt new file mode 100644 index 000000000..37bf357e2 --- /dev/null +++ b/parser/testdata/02815_join_algorithm_setting/explain.txt @@ -0,0 +1,2 @@ +DropQuery rdb (children 1) + Identifier rdb diff --git a/parser/testdata/02815_logical_error_cannot_get_column_name_of_set/explain.txt b/parser/testdata/02815_logical_error_cannot_get_column_name_of_set/explain.txt new file mode 100644 index 000000000..f02308ba8 --- /dev/null +++ b/parser/testdata/02815_logical_error_cannot_get_column_name_of_set/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Set +The query succeeded but the server error '[36, 1]' was expected (query: EXPLAIN AST SELECT * FROM numbers(SETTINGS x = 1); -- { serverError BAD_ARGUMENTS, UNSUPPORTED_METHOD }). diff --git a/parser/testdata/02815_range_dict_no_direct_join/explain.txt b/parser/testdata/02815_range_dict_no_direct_join/explain.txt new file mode 100644 index 000000000..d4b4ec606 --- /dev/null +++ b/parser/testdata/02815_range_dict_no_direct_join/explain.txt @@ -0,0 +1,2 @@ +CreateQuery discounts (children 1) + Identifier discounts diff --git a/parser/testdata/02816_check_projection_metadata/explain.txt b/parser/testdata/02816_check_projection_metadata/explain.txt new file mode 100644 index 000000000..8ec67c350 --- /dev/null +++ b/parser/testdata/02816_check_projection_metadata/explain.txt @@ -0,0 +1,34 @@ +CreateQuery kek (children 3) + Identifier kek + Columns definition (children 2) + ExpressionList (children 4) + ColumnDeclaration uuid (children 1) + DataType FixedString (children 1) + ExpressionList (children 1) + Literal UInt64_16 + ColumnDeclaration id (children 1) + DataType int + ColumnDeclaration ns (children 1) + DataType String + ColumnDeclaration dt (children 1) + DataType DateTime64 (children 1) + ExpressionList (children 1) + Literal UInt64_6 + ExpressionList (children 1) + Projection (children 1) + ProjectionSelectQuery (children 2) + ExpressionList (children 1) + Asterisk + Function tuple (children 1) + ExpressionList (children 3) + Identifier ns + Literal UInt64_1 + Literal UInt64_4 + Storage definition (children 2) + Function MergeTree + Function tuple (children 1) + ExpressionList (children 3) + Identifier id + Identifier dt + Identifier uuid +The query succeeded but the server error '44' was expected (query: EXPLAIN AST create table kek (uuid FixedString(16), id int, ns String, dt DateTime64(6), projection null_pk (select * order by ns, 1, 4)) engine=MergeTree order by (id, dt, uuid); -- {serverError ILLEGAL_COLUMN }). diff --git a/parser/testdata/02816_has_token_empty/explain.txt b/parser/testdata/02816_has_token_empty/explain.txt new file mode 100644 index 000000000..fd3ddd234 --- /dev/null +++ b/parser/testdata/02816_has_token_empty/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function hasTokenCaseInsensitive (children 1) + ExpressionList (children 2) + Literal \'K(G\' + Literal \'\' diff --git a/parser/testdata/02816_s2_invalid_point/explain.txt b/parser/testdata/02816_s2_invalid_point/explain.txt new file mode 100644 index 000000000..a7ee8fa8f --- /dev/null +++ b/parser/testdata/02816_s2_invalid_point/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function geoToS2 (children 1) + ExpressionList (children 2) + Function toFloat64 (children 1) + ExpressionList (children 1) + Function toUInt64 (children 1) + ExpressionList (children 1) + Literal Int64_-1 + Function toFloat64 (children 1) + ExpressionList (children 1) + Function toUInt64 (children 1) + ExpressionList (children 1) + Literal Int64_-1 +The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT geoToS2(toFloat64(toUInt64(-1)), toFloat64(toUInt64(-1))); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/02817_group_array_moving_zero_window_size/explain.txt b/parser/testdata/02817_group_array_moving_zero_window_size/explain.txt new file mode 100644 index 000000000..c167a8954 --- /dev/null +++ b/parser/testdata/02817_group_array_moving_zero_window_size/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function groupArrayMovingAvg (children 2) + ExpressionList (children 1) + Function toDecimal32 (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal UInt64_1 + ExpressionList (children 1) + Function toInt64 (children 1) + ExpressionList (children 1) + Literal UInt64_0 +The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT groupArrayMovingAvg ( toInt64 ( 0 ) ) ( toDecimal32 ( 1 , 1 ) ); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/02818_parameterized_view_with_cte_multiple_usage/metadata.json b/parser/testdata/02818_parameterized_view_with_cte_multiple_usage/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02818_parameterized_view_with_cte_multiple_usage/metadata.json +++ b/parser/testdata/02818_parameterized_view_with_cte_multiple_usage/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02828_create_as_table_function_rename/explain.txt b/parser/testdata/02828_create_as_table_function_rename/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/02828_create_as_table_function_rename/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/02830_insert_values_time_interval/explain.txt b/parser/testdata/02830_insert_values_time_interval/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/02830_insert_values_time_interval/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/02831_ast_fuzz_asan_join/metadata.json b/parser/testdata/02831_ast_fuzz_asan_join/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02831_ast_fuzz_asan_join/metadata.json +++ b/parser/testdata/02831_ast_fuzz_asan_join/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02831_regexp_analyze_recursion/explain.txt b/parser/testdata/02831_regexp_analyze_recursion/explain.txt new file mode 100644 index 000000000..e45b2901a --- /dev/null +++ b/parser/testdata/02831_regexp_analyze_recursion/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function match (children 1) + ExpressionList (children 2) + Literal \'\' + Function repeat (children 1) + ExpressionList (children 2) + Literal \'(\' + Literal UInt64_100000 +The query succeeded but the server error '427' was expected (query: EXPLAIN AST SELECT match('', repeat('(', 100000)); -- { serverError CANNOT_COMPILE_REGEXP }). diff --git a/parser/testdata/02831_trash/explain.txt b/parser/testdata/02831_trash/explain.txt new file mode 100644 index 000000000..c0c9240ea --- /dev/null +++ b/parser/testdata/02831_trash/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function CRC32IEEE (children 1) + ExpressionList (children 1) + Function sipHash128 (children 1) + ExpressionList diff --git a/parser/testdata/02832_alter_delete_indexes_projections/explain.txt b/parser/testdata/02832_alter_delete_indexes_projections/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02832_alter_delete_indexes_projections/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02832_integer_type_inference/explain.txt b/parser/testdata/02832_integer_type_inference/explain.txt new file mode 100644 index 000000000..048e1d4fd --- /dev/null +++ b/parser/testdata/02832_integer_type_inference/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal Array_[Int64_-4741124612489978151, Int64_-3236599669630092879, UInt64_5607475129431807682] diff --git a/parser/testdata/02832_transform_fixed_string_no_default/explain.txt b/parser/testdata/02832_transform_fixed_string_no_default/explain.txt new file mode 100644 index 000000000..edd793fb9 --- /dev/null +++ b/parser/testdata/02832_transform_fixed_string_no_default/explain.txt @@ -0,0 +1,21 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function transform (alias name) (children 1) + ExpressionList (children 3) + Identifier name + Literal Array_[\'a\', \'b\'] + Literal Array_[\'\', NULL] + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function CAST (alias name) (children 1) + ExpressionList (children 2) + Literal \'test\' + Literal \'Nullable(FixedString(4))\' diff --git a/parser/testdata/02833_array_join_columns/explain.txt b/parser/testdata/02833_array_join_columns/explain.txt new file mode 100644 index 000000000..4cb7d97e6 --- /dev/null +++ b/parser/testdata/02833_array_join_columns/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_array_joins (children 1) + Identifier test_array_joins diff --git a/parser/testdata/02833_multiprewhere_extra_column/explain.txt b/parser/testdata/02833_multiprewhere_extra_column/explain.txt new file mode 100644 index 000000000..5ad389cd0 --- /dev/null +++ b/parser/testdata/02833_multiprewhere_extra_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_multi_prewhere (children 1) + Identifier t_multi_prewhere diff --git a/parser/testdata/02833_sparse_columns_tuple_function/explain.txt b/parser/testdata/02833_sparse_columns_tuple_function/explain.txt new file mode 100644 index 000000000..fee4d9143 --- /dev/null +++ b/parser/testdata/02833_sparse_columns_tuple_function/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_tuple_sparse (children 1) + Identifier t_tuple_sparse diff --git a/parser/testdata/02833_starts_ends_with_utf8/explain.txt b/parser/testdata/02833_starts_ends_with_utf8/explain.txt new file mode 100644 index 000000000..952618d86 --- /dev/null +++ b/parser/testdata/02833_starts_ends_with_utf8/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function startsWithUTF8 (children 1) + ExpressionList (children 2) + Literal \'富强民主文明和è°\' + Literal \'富强\' diff --git a/parser/testdata/02833_std_alias/explain.txt b/parser/testdata/02833_std_alias/explain.txt new file mode 100644 index 000000000..6d85c419a --- /dev/null +++ b/parser/testdata/02833_std_alias/explain.txt @@ -0,0 +1,2 @@ +DropQuery series (children 1) + Identifier series diff --git a/parser/testdata/02833_tuple_concat/explain.txt b/parser/testdata/02833_tuple_concat/explain.txt new file mode 100644 index 000000000..2e5871c1e --- /dev/null +++ b/parser/testdata/02833_tuple_concat/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function tupleConcat (children 1) + ExpressionList +The query succeeded but the server error '42' was expected (query: EXPLAIN AST SELECT tupleConcat(); -- { serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH }). diff --git a/parser/testdata/02833_window_func_range_offset/explain.txt b/parser/testdata/02833_window_func_range_offset/explain.txt new file mode 100644 index 000000000..861903354 --- /dev/null +++ b/parser/testdata/02833_window_func_range_offset/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function count (children 2) + ExpressionList + WindowDefinition (children 2) + ExpressionList (children 1) + OrderByElement (children 1) + Literal Float64_3.4028234663852886e38 + Literal Float64_0 +The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT count() OVER (ORDER BY 3.4028234663852886e38 RANGE BETWEEN 0.0 PRECEDING AND UNBOUNDED FOLLOWING); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/02834_add_sub_date_functions/explain.txt b/parser/testdata/02834_add_sub_date_functions/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02834_add_sub_date_functions/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02834_alter_exception/explain.txt b/parser/testdata/02834_alter_exception/explain.txt new file mode 100644 index 000000000..677aa68f3 --- /dev/null +++ b/parser/testdata/02834_alter_exception/explain.txt @@ -0,0 +1,2 @@ +DropQuery alter_02834 (children 1) + Identifier alter_02834 diff --git a/parser/testdata/02834_analyzer_with_statement_references/explain.txt b/parser/testdata/02834_analyzer_with_statement_references/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02834_analyzer_with_statement_references/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02834_apache_arrow_abort/explain.txt b/parser/testdata/02834_apache_arrow_abort/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02834_apache_arrow_abort/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02834_array_exists_segfault/explain.txt b/parser/testdata/02834_array_exists_segfault/explain.txt new file mode 100644 index 000000000..e4be0077d --- /dev/null +++ b/parser/testdata/02834_array_exists_segfault/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02834_t (children 1) + Identifier 02834_t diff --git a/parser/testdata/02834_formats_with_variable_number_of_columns/explain.txt b/parser/testdata/02834_formats_with_variable_number_of_columns/explain.txt new file mode 100644 index 000000000..5c1631c9d --- /dev/null +++ b/parser/testdata/02834_formats_with_variable_number_of_columns/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'CSV\' diff --git a/parser/testdata/02834_nulls_first_sort/explain.txt b/parser/testdata/02834_nulls_first_sort/explain.txt new file mode 100644 index 000000000..91c8def6e --- /dev/null +++ b/parser/testdata/02834_nulls_first_sort/explain.txt @@ -0,0 +1,2 @@ +DropQuery nulls_first_sort_test (children 1) + Identifier nulls_first_sort_test diff --git a/parser/testdata/02834_sparse_columns_sort_with_limit/explain.txt b/parser/testdata/02834_sparse_columns_sort_with_limit/explain.txt new file mode 100644 index 000000000..efc68187d --- /dev/null +++ b/parser/testdata/02834_sparse_columns_sort_with_limit/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_sparse_sort_limit (children 1) + Identifier t_sparse_sort_limit diff --git a/parser/testdata/02834_timestamp_function/explain.txt b/parser/testdata/02834_timestamp_function/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02834_timestamp_function/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02835_fuzz_remove_redundant_sorting/explain.txt b/parser/testdata/02835_fuzz_remove_redundant_sorting/explain.txt new file mode 100644 index 000000000..0ef6da9a7 --- /dev/null +++ b/parser/testdata/02835_fuzz_remove_redundant_sorting/explain.txt @@ -0,0 +1,2 @@ +DropQuery numbers500k (children 1) + Identifier numbers500k diff --git a/parser/testdata/02835_join_step_explain/explain.txt b/parser/testdata/02835_join_step_explain/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02835_join_step_explain/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02835_nested_array_lowcardinality/explain.txt b/parser/testdata/02835_nested_array_lowcardinality/explain.txt new file mode 100644 index 000000000..5f3d61a84 --- /dev/null +++ b/parser/testdata/02835_nested_array_lowcardinality/explain.txt @@ -0,0 +1,2 @@ +DropQuery cool_table (children 1) + Identifier cool_table diff --git a/parser/testdata/02835_parallel_replicas_over_distributed/explain.txt b/parser/testdata/02835_parallel_replicas_over_distributed/explain.txt new file mode 100644 index 000000000..2d9bf8133 --- /dev/null +++ b/parser/testdata/02835_parallel_replicas_over_distributed/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'-- 1 shard, 3 replicas\' diff --git a/parser/testdata/02840_grace_hash_join_structure_mismatch/explain.txt b/parser/testdata/02840_grace_hash_join_structure_mismatch/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02840_grace_hash_join_structure_mismatch/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02841_group_array_sorted/explain.txt b/parser/testdata/02841_group_array_sorted/explain.txt new file mode 100644 index 000000000..5d7d50509 --- /dev/null +++ b/parser/testdata/02841_group_array_sorted/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function groupArraySorted (children 2) + ExpressionList (children 1) + Identifier number + ExpressionList (children 1) + Literal UInt64_5 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_100 diff --git a/parser/testdata/02841_join_filter_set_sparse/explain.txt b/parser/testdata/02841_join_filter_set_sparse/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/02841_join_filter_set_sparse/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/02841_not_ready_set_constraints/explain.txt b/parser/testdata/02841_not_ready_set_constraints/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/02841_not_ready_set_constraints/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/02841_not_ready_set_join_on/explain.txt b/parser/testdata/02841_not_ready_set_join_on/explain.txt new file mode 100644 index 000000000..e096e42d8 --- /dev/null +++ b/parser/testdata/02841_not_ready_set_join_on/explain.txt @@ -0,0 +1,48 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + WithElement (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_42 (alias key) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier l_t + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Function numbers (alias r_t) (children 1) + ExpressionList (children 1) + Literal UInt64_50 + TableJoin (children 1) + Function and (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier l_t.key + Identifier r_t.number + Function in (children 1) + ExpressionList (children 2) + Identifier r_t.number + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function multiply (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal Float64_1000 + Set diff --git a/parser/testdata/02841_parallel_final_wrong_columns_order/explain.txt b/parser/testdata/02841_parallel_final_wrong_columns_order/explain.txt new file mode 100644 index 000000000..848d745d7 --- /dev/null +++ b/parser/testdata/02841_parallel_final_wrong_columns_order/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab2 (children 1) + Identifier tab2 diff --git a/parser/testdata/02841_parquet_filter_pushdown/explain.txt b/parser/testdata/02841_parquet_filter_pushdown/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02841_parquet_filter_pushdown/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02841_remote_parameter_parsing_error/explain.txt b/parser/testdata/02841_remote_parameter_parsing_error/explain.txt new file mode 100644 index 000000000..01576495a --- /dev/null +++ b/parser/testdata/02841_remote_parameter_parsing_error/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.0.0.1\' + Identifier sys +The query succeeded but the server error '42' was expected (query: EXPLAIN AST select * from remote('127.0.0.1', sys); -- { serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH }). diff --git a/parser/testdata/02841_tuple_modulo/explain.txt b/parser/testdata/02841_tuple_modulo/explain.txt new file mode 100644 index 000000000..7dc02154c --- /dev/null +++ b/parser/testdata/02841_tuple_modulo/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function modulo (children 1) + ExpressionList (children 2) + Literal Tuple_(UInt64_5, UInt64_4) + Literal UInt64_2 diff --git a/parser/testdata/02841_with_clause_resolve/explain.txt b/parser/testdata/02841_with_clause_resolve/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02841_with_clause_resolve/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02842_filesystem_cache_validate_path/explain.txt b/parser/testdata/02842_filesystem_cache_validate_path/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/02842_filesystem_cache_validate_path/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/02842_largestTriangleThreeBuckets_aggregate_function/explain.txt b/parser/testdata/02842_largestTriangleThreeBuckets_aggregate_function/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02842_largestTriangleThreeBuckets_aggregate_function/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02842_move_pk_to_end_of_prewhere/explain.txt b/parser/testdata/02842_move_pk_to_end_of_prewhere/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02842_move_pk_to_end_of_prewhere/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02842_mutations_replace_non_deterministic/explain.txt b/parser/testdata/02842_mutations_replace_non_deterministic/explain.txt new file mode 100644 index 000000000..dad1579e3 --- /dev/null +++ b/parser/testdata/02842_mutations_replace_non_deterministic/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_mutations_nondeterministic (children 1) + Identifier t_mutations_nondeterministic diff --git a/parser/testdata/02842_truncate_database/explain.txt b/parser/testdata/02842_truncate_database/explain.txt new file mode 100644 index 000000000..6f4866b5f --- /dev/null +++ b/parser/testdata/02842_truncate_database/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_truncate_database (children 1) + Identifier test_truncate_database diff --git a/parser/testdata/02842_vertical_merge_after_add_drop_column/explain.txt b/parser/testdata/02842_vertical_merge_after_add_drop_column/explain.txt new file mode 100644 index 000000000..5092c825d --- /dev/null +++ b/parser/testdata/02842_vertical_merge_after_add_drop_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery data (children 1) + Identifier data diff --git a/parser/testdata/02843_context_has_expired/explain.txt b/parser/testdata/02843_context_has_expired/explain.txt new file mode 100644 index 000000000..4c56d2166 --- /dev/null +++ b/parser/testdata/02843_context_has_expired/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02843_dict (children 1) + Identifier 02843_dict diff --git a/parser/testdata/02843_date_predicate_optimizations_bugs/metadata.json b/parser/testdata/02843_date_predicate_optimizations_bugs/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02843_date_predicate_optimizations_bugs/metadata.json +++ b/parser/testdata/02843_date_predicate_optimizations_bugs/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02844_distributed_virtual_columns/explain.txt b/parser/testdata/02844_distributed_virtual_columns/explain.txt new file mode 100644 index 000000000..311c53243 --- /dev/null +++ b/parser/testdata/02844_distributed_virtual_columns/explain.txt @@ -0,0 +1,2 @@ +DropQuery data_01072 (children 1) + Identifier data_01072 diff --git a/parser/testdata/02844_subquery_timeout_with_break/explain.txt b/parser/testdata/02844_subquery_timeout_with_break/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/02844_subquery_timeout_with_break/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/02845_arrayShiftRotate/explain.txt b/parser/testdata/02845_arrayShiftRotate/explain.txt new file mode 100644 index 000000000..9d603ce4d --- /dev/null +++ b/parser/testdata/02845_arrayShiftRotate/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'== arrayRotateLeft\' diff --git a/parser/testdata/02845_domain_rfc_support_ipv6/explain.txt b/parser/testdata/02845_domain_rfc_support_ipv6/explain.txt new file mode 100644 index 000000000..4319cc838 --- /dev/null +++ b/parser/testdata/02845_domain_rfc_support_ipv6/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function domainRFC (children 1) + ExpressionList (children 1) + Literal \'http://[2001:db8::1]:80\' + Identifier CSV diff --git a/parser/testdata/02845_group_by_constant_keys/explain.txt b/parser/testdata/02845_group_by_constant_keys/explain.txt new file mode 100644 index 000000000..55739b25b --- /dev/null +++ b/parser/testdata/02845_group_by_constant_keys/explain.txt @@ -0,0 +1,21 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 4) + Function count (children 1) + ExpressionList (children 1) + Identifier number + Literal UInt64_1 (alias k1) + Literal UInt64_2 (alias k2) + Literal UInt64_3 (alias k3) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers_mt (children 1) + ExpressionList (children 1) + Literal UInt64_10000000 + ExpressionList (children 3) + Identifier k1 + Identifier k2 + Identifier k3 + Set diff --git a/parser/testdata/02845_join_on_cond_sparse/explain.txt b/parser/testdata/02845_join_on_cond_sparse/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/02845_join_on_cond_sparse/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/02845_prewhere_preserve_column/explain.txt b/parser/testdata/02845_prewhere_preserve_column/explain.txt new file mode 100644 index 000000000..764d03982 --- /dev/null +++ b/parser/testdata/02845_prewhere_preserve_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02845_prewhere (children 1) + Identifier 02845_prewhere diff --git a/parser/testdata/02860_distributed_flush_on_detach/explain.txt b/parser/testdata/02860_distributed_flush_on_detach/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02860_distributed_flush_on_detach/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02861_filter_pushdown_const_bug/explain.txt b/parser/testdata/02861_filter_pushdown_const_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02861_filter_pushdown_const_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02861_index_set_incorrect_args/explain.txt b/parser/testdata/02861_index_set_incorrect_args/explain.txt new file mode 100644 index 000000000..cf945b9e7 --- /dev/null +++ b/parser/testdata/02861_index_set_incorrect_args/explain.txt @@ -0,0 +1,2 @@ +DropQuery set_index__fuzz_41 (children 1) + Identifier set_index__fuzz_41 diff --git a/parser/testdata/02861_interpolate_alias_precedence/explain.txt b/parser/testdata/02861_interpolate_alias_precedence/explain.txt new file mode 100644 index 000000000..a7e83688f --- /dev/null +++ b/parser/testdata/02861_interpolate_alias_precedence/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02861_interpolate (children 1) + Identifier 02861_interpolate diff --git a/parser/testdata/02861_replacing_merge_tree_with_cleanup/explain.txt b/parser/testdata/02861_replacing_merge_tree_with_cleanup/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/02861_replacing_merge_tree_with_cleanup/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/02861_uuid_format_serialization/explain.txt b/parser/testdata/02861_uuid_format_serialization/explain.txt new file mode 100644 index 000000000..f3190076a --- /dev/null +++ b/parser/testdata/02861_uuid_format_serialization/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_uuid (children 1) + Identifier t_uuid diff --git a/parser/testdata/02862_sorted_distinct_sparse_fix/explain.txt b/parser/testdata/02862_sorted_distinct_sparse_fix/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02862_sorted_distinct_sparse_fix/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02862_uuid_reinterpret_as_numeric/explain.txt b/parser/testdata/02862_uuid_reinterpret_as_numeric/explain.txt new file mode 100644 index 000000000..f3190076a --- /dev/null +++ b/parser/testdata/02862_uuid_reinterpret_as_numeric/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_uuid (children 1) + Identifier t_uuid diff --git a/parser/testdata/02863_decode_html_component/explain.txt b/parser/testdata/02863_decode_html_component/explain.txt new file mode 100644 index 000000000..0cc7e84bb --- /dev/null +++ b/parser/testdata/02863_decode_html_component/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function decodeHTMLComponent (children 1) + ExpressionList (children 1) + Literal \'Hello, "world"!\' diff --git a/parser/testdata/02863_delayed_source_with_totals_and_extremes/explain.txt b/parser/testdata/02863_delayed_source_with_totals_and_extremes/explain.txt new file mode 100644 index 000000000..f0f1a62cd --- /dev/null +++ b/parser/testdata/02863_delayed_source_with_totals_and_extremes/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02863_delayed_source (children 1) + Identifier 02863_delayed_source diff --git a/parser/testdata/02863_ignore_foreign_keys_in_tables_definition/explain.txt b/parser/testdata/02863_ignore_foreign_keys_in_tables_definition/explain.txt new file mode 100644 index 000000000..d018748a2 --- /dev/null +++ b/parser/testdata/02863_ignore_foreign_keys_in_tables_definition/explain.txt @@ -0,0 +1,2 @@ +DropQuery parent (children 1) + Identifier parent diff --git a/parser/testdata/02863_interpolate_subquery/explain.txt b/parser/testdata/02863_interpolate_subquery/explain.txt new file mode 100644 index 000000000..0a00b06d1 --- /dev/null +++ b/parser/testdata/02863_interpolate_subquery/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab (children 1) + Identifier tab diff --git a/parser/testdata/02863_mutation_where_in_set_result_cache_pipeline_stuck_bug/explain.txt b/parser/testdata/02863_mutation_where_in_set_result_cache_pipeline_stuck_bug/explain.txt new file mode 100644 index 000000000..0a00b06d1 --- /dev/null +++ b/parser/testdata/02863_mutation_where_in_set_result_cache_pipeline_stuck_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab (children 1) + Identifier tab diff --git a/parser/testdata/02863_non_const_timezone_check/explain.txt b/parser/testdata/02863_non_const_timezone_check/explain.txt new file mode 100644 index 000000000..95d3f03b5 --- /dev/null +++ b/parser/testdata/02863_non_const_timezone_check/explain.txt @@ -0,0 +1,2 @@ +DropQuery Dates (children 1) + Identifier Dates diff --git a/parser/testdata/02864_filtered_url_with_globs/explain.txt b/parser/testdata/02864_filtered_url_with_globs/explain.txt new file mode 100644 index 000000000..7d89bd1e2 --- /dev/null +++ b/parser/testdata/02864_filtered_url_with_globs/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function url (children 1) + ExpressionList (children 2) + Literal \'http://127.0.0.1:8123?query=select+{1,2}+as+x+format+TSV\' + Literal \'TSV\' + Literal UInt64_0 diff --git a/parser/testdata/02864_profile_event_part_lock/explain.txt b/parser/testdata/02864_profile_event_part_lock/explain.txt new file mode 100644 index 000000000..b633239a4 --- /dev/null +++ b/parser/testdata/02864_profile_event_part_lock/explain.txt @@ -0,0 +1,2 @@ +DropQuery random_mt (children 1) + Identifier random_mt diff --git a/parser/testdata/02864_replace_regexp_string_fallback/explain.txt b/parser/testdata/02864_replace_regexp_string_fallback/explain.txt new file mode 100644 index 000000000..62681f6b3 --- /dev/null +++ b/parser/testdata/02864_replace_regexp_string_fallback/explain.txt @@ -0,0 +1,21 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 5) + Literal \'Hello\' (alias haystack) + Literal \'l\' (alias needle) + Literal \'x\' (alias replacement) + Function replaceRegexpOne (children 1) + ExpressionList (children 3) + Function materialize (children 1) + ExpressionList (children 1) + Identifier haystack + Identifier needle + Identifier replacement + Function replaceRegexpAll (children 1) + ExpressionList (children 3) + Function materialize (children 1) + ExpressionList (children 1) + Identifier haystack + Identifier needle + Identifier replacement diff --git a/parser/testdata/02864_statistics_bug_67742/explain.txt b/parser/testdata/02864_statistics_bug_67742/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02864_statistics_bug_67742/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02864_statistics_bug_69589/explain.txt b/parser/testdata/02864_statistics_bug_69589/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02864_statistics_bug_69589/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02864_statistics_create_materialize_drop/explain.txt b/parser/testdata/02864_statistics_create_materialize_drop/explain.txt new file mode 100644 index 000000000..0a00b06d1 --- /dev/null +++ b/parser/testdata/02864_statistics_create_materialize_drop/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab (children 1) + Identifier tab diff --git a/parser/testdata/02864_statistics_ddl/explain.txt b/parser/testdata/02864_statistics_ddl/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02864_statistics_ddl/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02864_statistics_delayed_materialization_in_merge/explain.txt b/parser/testdata/02864_statistics_delayed_materialization_in_merge/explain.txt new file mode 100644 index 000000000..0a00b06d1 --- /dev/null +++ b/parser/testdata/02864_statistics_delayed_materialization_in_merge/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab (children 1) + Identifier tab diff --git a/parser/testdata/02864_statistics_predicates/explain.txt b/parser/testdata/02864_statistics_predicates/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02864_statistics_predicates/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02864_statistics_usage/explain.txt b/parser/testdata/02864_statistics_usage/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02864_statistics_usage/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02864_test_ipv4_type_mismatch/explain.txt b/parser/testdata/02864_test_ipv4_type_mismatch/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/02864_test_ipv4_type_mismatch/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/02865_array_join_with_max_block_size/explain.txt b/parser/testdata/02865_array_join_with_max_block_size/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02865_array_join_with_max_block_size/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02866_size_of_marks_skip_idx_explain/explain.txt b/parser/testdata/02866_size_of_marks_skip_idx_explain/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02866_size_of_marks_skip_idx_explain/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02867_create_user_ssh/explain.txt b/parser/testdata/02867_create_user_ssh/explain.txt new file mode 100644 index 000000000..24ba67fc3 --- /dev/null +++ b/parser/testdata/02867_create_user_ssh/explain.txt @@ -0,0 +1 @@ +DROP USER query diff --git a/parser/testdata/02867_null_lc_in_bug/explain.txt b/parser/testdata/02867_null_lc_in_bug/explain.txt new file mode 100644 index 000000000..235543009 --- /dev/null +++ b/parser/testdata/02867_null_lc_in_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery tnul (children 1) + Identifier tnul diff --git a/parser/testdata/02867_nullable_primary_key_final/explain.txt b/parser/testdata/02867_nullable_primary_key_final/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/02867_nullable_primary_key_final/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/02868_distinct_to_count_optimization/explain.txt b/parser/testdata/02868_distinct_to_count_optimization/explain.txt new file mode 100644 index 000000000..847c2635b --- /dev/null +++ b/parser/testdata/02868_distinct_to_count_optimization/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_rewrite_uniq_to_count (children 1) + Identifier test_rewrite_uniq_to_count diff --git a/parser/testdata/02868_operator_is_not_distinct_from_priority/explain.txt b/parser/testdata/02868_operator_is_not_distinct_from_priority/explain.txt new file mode 100644 index 000000000..a0d068155 --- /dev/null +++ b/parser/testdata/02868_operator_is_not_distinct_from_priority/explain.txt @@ -0,0 +1,12 @@ +Explain EXPLAIN AST (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function isNotDistinctFrom (children 1) + ExpressionList (children 2) + Literal Bool_0 + Function in (children 1) + ExpressionList (children 2) + Literal Bool_1 + Literal Tuple_(Bool_1, Bool_0) diff --git a/parser/testdata/02868_select_support_from_keywords/explain.txt b/parser/testdata/02868_select_support_from_keywords/explain.txt new file mode 100644 index 000000000..4a142b6c8 --- /dev/null +++ b/parser/testdata/02868_select_support_from_keywords/explain.txt @@ -0,0 +1,21 @@ +CreateQuery test_table (children 3) + Identifier test_table + Columns definition (children 1) + ExpressionList (children 4) + ColumnDeclaration date (children 1) + DataType Date + ColumnDeclaration __sign (children 1) + DataType Int8 + ColumnDeclaration from (children 1) + DataType Float64 + ColumnDeclaration to (children 1) + DataType Float64 + Storage definition (children 4) + Function CollapsingMergeTree (children 1) + ExpressionList (children 1) + Identifier __sign + Function toYYYYMM (children 1) + ExpressionList (children 1) + Identifier date + Identifier date + Set diff --git a/parser/testdata/02869_insert_filenames_collisions/explain.txt b/parser/testdata/02869_insert_filenames_collisions/explain.txt new file mode 100644 index 000000000..179727cbc --- /dev/null +++ b/parser/testdata/02869_insert_filenames_collisions/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_collisions (children 1) + Identifier t_collisions diff --git a/parser/testdata/02869_parallel_replicas_read_from_several/explain.txt b/parser/testdata/02869_parallel_replicas_read_from_several/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/02869_parallel_replicas_read_from_several/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/02869_unicode_minus/explain.txt b/parser/testdata/02869_unicode_minus/explain.txt new file mode 100644 index 000000000..8827c47de --- /dev/null +++ b/parser/testdata/02869_unicode_minus/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/02870_move_partition_to_volume_io_throttling/explain.txt b/parser/testdata/02870_move_partition_to_volume_io_throttling/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02870_move_partition_to_volume_io_throttling/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02870_per_column_settings/explain.txt b/parser/testdata/02870_per_column_settings/explain.txt new file mode 100644 index 000000000..0a00b06d1 --- /dev/null +++ b/parser/testdata/02870_per_column_settings/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab (children 1) + Identifier tab diff --git a/parser/testdata/02871_join_on_system_errors/explain.txt b/parser/testdata/02871_join_on_system_errors/explain.txt new file mode 100644 index 000000000..94a501d9b --- /dev/null +++ b/parser/testdata/02871_join_on_system_errors/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias t) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 (alias a) diff --git a/parser/testdata/02871_multiple_joins_rewriter_v2_handle_last_table_columns/metadata.json b/parser/testdata/02871_multiple_joins_rewriter_v2_handle_last_table_columns/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02871_multiple_joins_rewriter_v2_handle_last_table_columns/metadata.json +++ b/parser/testdata/02871_multiple_joins_rewriter_v2_handle_last_table_columns/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02872_gcd_codec/explain.txt b/parser/testdata/02872_gcd_codec/explain.txt new file mode 100644 index 000000000..4bc4145e3 --- /dev/null +++ b/parser/testdata/02872_gcd_codec/explain.txt @@ -0,0 +1,12 @@ +CreateQuery table_gcd_codec (children 3) + Identifier table_gcd_codec + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration n (children 2) + DataType UInt64 + Function CODEC (children 1) + ExpressionList (children 1) + Function GCD + Storage definition (children 1) + Function Memory +The query succeeded but the server error '36' was expected (query: EXPLAIN AST CREATE TABLE table_gcd_codec (n UInt64 CODEC(GCD)) ENGINE = Memory; -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/02872_prewhere_filter/explain.txt b/parser/testdata/02872_prewhere_filter/explain.txt new file mode 100644 index 000000000..5092c825d --- /dev/null +++ b/parser/testdata/02872_prewhere_filter/explain.txt @@ -0,0 +1,2 @@ +DropQuery data (children 1) + Identifier data diff --git a/parser/testdata/02873_s3_presigned_url_and_url_with_special_characters/explain.txt b/parser/testdata/02873_s3_presigned_url_and_url_with_special_characters/explain.txt new file mode 100644 index 000000000..b82f581f0 --- /dev/null +++ b/parser/testdata/02873_s3_presigned_url_and_url_with_special_characters/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function s3 (children 1) + ExpressionList (children 1) + Literal \'http://localhost:11111/test/MyPrefix/BU%20-%20UNIT%20-%201/*.parquet\' +The query succeeded but the server error '636' was expected (query: EXPLAIN AST select * from s3('http://localhost:11111/test/MyPrefix/BU%20-%20UNIT%20-%201/*.parquet'); -- { serverError CANNOT_EXTRACT_TABLE_STRUCTURE }). diff --git a/parser/testdata/02874_analysis_of_variance_overflow/explain.txt b/parser/testdata/02874_analysis_of_variance_overflow/explain.txt new file mode 100644 index 000000000..08a02c28b --- /dev/null +++ b/parser/testdata/02874_analysis_of_variance_overflow/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function analysisOfVariance (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal UInt64_18446744073709551615 +The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT analysisOfVariance(1, 18446744073709551615); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/02874_infer_objects_as_named_tuples/explain.txt b/parser/testdata/02874_infer_objects_as_named_tuples/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02874_infer_objects_as_named_tuples/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02874_json_merge_patch_function_test/explain.txt b/parser/testdata/02874_json_merge_patch_function_test/explain.txt new file mode 100644 index 000000000..835ed723a --- /dev/null +++ b/parser/testdata/02874_json_merge_patch_function_test/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function jsonMergePatch (children 1) + ExpressionList (children 1) + Literal NULL diff --git a/parser/testdata/02874_parse_json_as_json_each_row_on_no_metadata/explain.txt b/parser/testdata/02874_parse_json_as_json_each_row_on_no_metadata/explain.txt new file mode 100644 index 000000000..ad437f3a7 --- /dev/null +++ b/parser/testdata/02874_parse_json_as_json_each_row_on_no_metadata/explain.txt @@ -0,0 +1,6 @@ +DescribeQuery (children 1) + TableExpression (children 1) + Function format (children 1) + ExpressionList (children 2) + Identifier JSON + Literal \'{"a" : 10, "b" : "Hello"}\' diff --git a/parser/testdata/02874_toDaysSinceYearZero/explain.txt b/parser/testdata/02874_toDaysSinceYearZero/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02874_toDaysSinceYearZero/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02875_final_invalid_read_ranges_bug/explain.txt b/parser/testdata/02875_final_invalid_read_ranges_bug/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/02875_final_invalid_read_ranges_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/02875_fix_column_decimal_serialization/explain.txt b/parser/testdata/02875_fix_column_decimal_serialization/explain.txt new file mode 100644 index 000000000..d3b37cdab --- /dev/null +++ b/parser/testdata/02875_fix_column_decimal_serialization/explain.txt @@ -0,0 +1,2 @@ +CreateQuery max_length_alias_14053__fuzz_45 (children 1) + Identifier max_length_alias_14053__fuzz_45 diff --git a/parser/testdata/02875_json_array_as_string/explain.txt b/parser/testdata/02875_json_array_as_string/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02875_json_array_as_string/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02875_parallel_replicas_cluster_all_replicas/explain.txt b/parser/testdata/02875_parallel_replicas_cluster_all_replicas/explain.txt new file mode 100644 index 000000000..06e02b3e4 --- /dev/null +++ b/parser/testdata/02875_parallel_replicas_cluster_all_replicas/explain.txt @@ -0,0 +1,2 @@ +DropQuery tt (children 1) + Identifier tt diff --git a/parser/testdata/02875_parallel_replicas_remote/explain.txt b/parser/testdata/02875_parallel_replicas_remote/explain.txt new file mode 100644 index 000000000..06e02b3e4 --- /dev/null +++ b/parser/testdata/02875_parallel_replicas_remote/explain.txt @@ -0,0 +1,2 @@ +DropQuery tt (children 1) + Identifier tt diff --git a/parser/testdata/02876_json_incomplete_types_as_strings_inference/explain.txt b/parser/testdata/02876_json_incomplete_types_as_strings_inference/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02876_json_incomplete_types_as_strings_inference/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02876_s3_cluster_schema_inference_names_with_spaces/explain.txt b/parser/testdata/02876_s3_cluster_schema_inference_names_with_spaces/explain.txt new file mode 100644 index 000000000..6bcf9a76b --- /dev/null +++ b/parser/testdata/02876_s3_cluster_schema_inference_names_with_spaces/explain.txt @@ -0,0 +1,6 @@ +DescribeQuery (children 1) + TableExpression (children 1) + Function s3Cluster (children 1) + ExpressionList (children 2) + Identifier test_cluster_one_shard_three_replicas_localhost + Literal \'http://localhost:11111/test/02876.parquet\' diff --git a/parser/testdata/02876_sort_union_of_sorted/explain.txt b/parser/testdata/02876_sort_union_of_sorted/explain.txt new file mode 100644 index 000000000..f0662d5e1 --- /dev/null +++ b/parser/testdata/02876_sort_union_of_sorted/explain.txt @@ -0,0 +1,2 @@ +DropQuery table1 (children 1) + Identifier table1 diff --git a/parser/testdata/02876_yyyymmddhhmmsstodatetime/explain.txt b/parser/testdata/02876_yyyymmddhhmmsstodatetime/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02876_yyyymmddhhmmsstodatetime/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02876_yyyymmddtodate/explain.txt b/parser/testdata/02876_yyyymmddtodate/explain.txt new file mode 100644 index 000000000..ec154855c --- /dev/null +++ b/parser/testdata/02876_yyyymmddtodate/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'--- YYYYMMDDToDate\' diff --git a/parser/testdata/02880_indexHint__partition_id/explain.txt b/parser/testdata/02880_indexHint__partition_id/explain.txt new file mode 100644 index 000000000..5092c825d --- /dev/null +++ b/parser/testdata/02880_indexHint__partition_id/explain.txt @@ -0,0 +1,2 @@ +DropQuery data (children 1) + Identifier data diff --git a/parser/testdata/02882_formatQuery/explain.txt b/parser/testdata/02882_formatQuery/explain.txt new file mode 100644 index 000000000..3afcaacb4 --- /dev/null +++ b/parser/testdata/02882_formatQuery/explain.txt @@ -0,0 +1,2 @@ +DropQuery all_valid (children 1) + Identifier all_valid diff --git a/parser/testdata/02882_primary_key_index_in_function_different_types/explain.txt b/parser/testdata/02882_primary_key_index_in_function_different_types/explain.txt new file mode 100644 index 000000000..d4bf1aa3f --- /dev/null +++ b/parser/testdata/02882_primary_key_index_in_function_different_types/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_table (children 1) + Identifier test_table diff --git a/parser/testdata/02882_replicated_fetch_checksums_doesnt_match/explain.txt b/parser/testdata/02882_replicated_fetch_checksums_doesnt_match/explain.txt new file mode 100644 index 000000000..5e4626fd1 --- /dev/null +++ b/parser/testdata/02882_replicated_fetch_checksums_doesnt_match/explain.txt @@ -0,0 +1,2 @@ +DropQuery checksums_r3 (children 1) + Identifier checksums_r3 diff --git a/parser/testdata/02883_array_scalar_mult_div_modulo/explain.txt b/parser/testdata/02883_array_scalar_mult_div_modulo/explain.txt new file mode 100644 index 000000000..bb6f5814b --- /dev/null +++ b/parser/testdata/02883_array_scalar_mult_div_modulo/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function multiply (children 1) + ExpressionList (children 2) + Function materialize (children 1) + ExpressionList (children 1) + Literal Array_[UInt64_2, UInt64_3, UInt64_5] + Function materialize (children 1) + ExpressionList (children 1) + Literal UInt64_7 diff --git a/parser/testdata/02883_read_in_reverse_order_virtual_column/explain.txt b/parser/testdata/02883_read_in_reverse_order_virtual_column/explain.txt new file mode 100644 index 000000000..71a837be6 --- /dev/null +++ b/parser/testdata/02883_read_in_reverse_order_virtual_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_reverse_order_virt_col (children 1) + Identifier t_reverse_order_virt_col diff --git a/parser/testdata/02884_async_insert_skip_settings/explain.txt b/parser/testdata/02884_async_insert_skip_settings/explain.txt new file mode 100644 index 000000000..1d67f3135 --- /dev/null +++ b/parser/testdata/02884_async_insert_skip_settings/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_async_insert_skip_settings (children 1) + Identifier t_async_insert_skip_settings diff --git a/parser/testdata/02884_duplicate_index_name/explain.txt b/parser/testdata/02884_duplicate_index_name/explain.txt new file mode 100644 index 000000000..b3854882d --- /dev/null +++ b/parser/testdata/02884_duplicate_index_name/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_dup_index (children 1) + Identifier test_dup_index diff --git a/parser/testdata/02884_interval_operator_support_plural_literal/explain.txt b/parser/testdata/02884_interval_operator_support_plural_literal/explain.txt new file mode 100644 index 000000000..c5b782595 --- /dev/null +++ b/parser/testdata/02884_interval_operator_support_plural_literal/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toIntervalYear (children 1) + ExpressionList (children 1) + Literal UInt64_2 diff --git a/parser/testdata/02884_parallel_window_functions/explain.txt b/parser/testdata/02884_parallel_window_functions/explain.txt new file mode 100644 index 000000000..83a61330d --- /dev/null +++ b/parser/testdata/02884_parallel_window_functions/explain.txt @@ -0,0 +1,2 @@ +CreateQuery window_function_threading (children 1) + Identifier window_function_threading diff --git a/parser/testdata/02884_parallel_window_functions_bug/explain.txt b/parser/testdata/02884_parallel_window_functions_bug/explain.txt new file mode 100644 index 000000000..7223532fb --- /dev/null +++ b/parser/testdata/02884_parallel_window_functions_bug/explain.txt @@ -0,0 +1,2 @@ +CreateQuery posts (children 1) + Identifier posts diff --git a/parser/testdata/02884_string_distance_function/explain.txt b/parser/testdata/02884_string_distance_function/explain.txt new file mode 100644 index 000000000..c860cdf01 --- /dev/null +++ b/parser/testdata/02884_string_distance_function/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'-- const arguments\' diff --git a/parser/testdata/02884_virtual_column_order_by/explain.txt b/parser/testdata/02884_virtual_column_order_by/explain.txt new file mode 100644 index 000000000..e5133412d --- /dev/null +++ b/parser/testdata/02884_virtual_column_order_by/explain.txt @@ -0,0 +1,11 @@ +InsertQuery (children 3) + Function file (children 1) + ExpressionList (children 1) + Literal \'02884_1.csv\' + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Literal UInt64_1 (alias x) + Set + Set diff --git a/parser/testdata/02885_arg_min_max_combinator/explain.txt b/parser/testdata/02885_arg_min_max_combinator/explain.txt new file mode 100644 index 000000000..0ca02ac10 --- /dev/null +++ b/parser/testdata/02885_arg_min_max_combinator/explain.txt @@ -0,0 +1,24 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function sumArgMin (children 1) + ExpressionList (children 2) + Identifier number + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_20 + Function sumArgMax (children 1) + ExpressionList (children 2) + Identifier number + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_20 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_100 diff --git a/parser/testdata/02885_create_distributed_table_without_as/explain.txt b/parser/testdata/02885_create_distributed_table_without_as/explain.txt new file mode 100644 index 000000000..acc2bc820 --- /dev/null +++ b/parser/testdata/02885_create_distributed_table_without_as/explain.txt @@ -0,0 +1,2 @@ +DropQuery dist_tbl (children 1) + Identifier dist_tbl diff --git a/parser/testdata/02886_binary_like/explain.txt b/parser/testdata/02886_binary_like/explain.txt new file mode 100644 index 000000000..34ad4b33e --- /dev/null +++ b/parser/testdata/02886_binary_like/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function like (children 1) + ExpressionList (children 2) + Literal \'aÑb\' + Literal \'a_b\' diff --git a/parser/testdata/02887_byteswap/explain.txt b/parser/testdata/02887_byteswap/explain.txt new file mode 100644 index 000000000..5e657ead9 --- /dev/null +++ b/parser/testdata/02887_byteswap/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function byteSwap (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Literal \'0\' + Literal \'UInt8\' diff --git a/parser/testdata/02887_format_readable_timedelta_subseconds/metadata.json b/parser/testdata/02887_format_readable_timedelta_subseconds/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02887_format_readable_timedelta_subseconds/metadata.json +++ b/parser/testdata/02887_format_readable_timedelta_subseconds/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02887_insert_quorum_wo_keeper_retries/metadata.json b/parser/testdata/02887_insert_quorum_wo_keeper_retries/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02887_insert_quorum_wo_keeper_retries/metadata.json +++ b/parser/testdata/02887_insert_quorum_wo_keeper_retries/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02887_tuple_element_distributed/explain.txt b/parser/testdata/02887_tuple_element_distributed/explain.txt new file mode 100644 index 000000000..8ed2968c9 --- /dev/null +++ b/parser/testdata/02887_tuple_element_distributed/explain.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Function tupleElement (children 1) + ExpressionList (children 2) + Function tuple (alias x) (children 1) + ExpressionList (children 2) + Literal \'a\' + Literal UInt64_10 + Literal UInt64_1 + Literal \'a\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.0.0.{1,2,3}\' + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_2 diff --git a/parser/testdata/02888_attach_partition_from_different_tables/metadata.json b/parser/testdata/02888_attach_partition_from_different_tables/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02888_attach_partition_from_different_tables/metadata.json +++ b/parser/testdata/02888_attach_partition_from_different_tables/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02888_integer_type_inference_in_if_function/explain.txt b/parser/testdata/02888_integer_type_inference_in_if_function/explain.txt new file mode 100644 index 000000000..c2b3c4582 --- /dev/null +++ b/parser/testdata/02888_integer_type_inference_in_if_function/explain.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function if (alias res) (children 1) + ExpressionList (children 3) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + Literal UInt64_9223372036854775806 + Literal Int64_-9223372036854775808 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_2 diff --git a/parser/testdata/02888_obsolete_settings/explain.txt b/parser/testdata/02888_obsolete_settings/explain.txt new file mode 100644 index 000000000..f59818696 --- /dev/null +++ b/parser/testdata/02888_obsolete_settings/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'-- Obsolete server settings\' diff --git a/parser/testdata/02888_single_state_nullable_type/metadata.json b/parser/testdata/02888_single_state_nullable_type/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02888_single_state_nullable_type/metadata.json +++ b/parser/testdata/02888_single_state_nullable_type/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02888_system_tables_with_inaccessible_table_function/metadata.json b/parser/testdata/02888_system_tables_with_inaccessible_table_function/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02888_system_tables_with_inaccessible_table_function/metadata.json +++ b/parser/testdata/02888_system_tables_with_inaccessible_table_function/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02889_datetime64_from_string/explain.txt b/parser/testdata/02889_datetime64_from_string/explain.txt new file mode 100644 index 000000000..2c9fbcf6b --- /dev/null +++ b/parser/testdata/02889_datetime64_from_string/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toDateTime64 (children 1) + ExpressionList (children 3) + Literal \'-123\' + Literal UInt64_3 + Literal \'UTC\' diff --git a/parser/testdata/02889_parts_columns_filenames/explain.txt b/parser/testdata/02889_parts_columns_filenames/explain.txt new file mode 100644 index 000000000..25a437103 --- /dev/null +++ b/parser/testdata/02889_parts_columns_filenames/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_parts_columns_filenames (children 1) + Identifier t_parts_columns_filenames diff --git a/parser/testdata/02889_print_pretty_type_names/explain.txt b/parser/testdata/02889_print_pretty_type_names/explain.txt new file mode 100644 index 000000000..da6a75fd3 --- /dev/null +++ b/parser/testdata/02889_print_pretty_type_names/explain.txt @@ -0,0 +1,47 @@ +CreateQuery test (children 3) + Identifier test + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration a (children 1) + DataType Tuple (children 1) + ExpressionList (children 3) + NameTypePair b (children 1) + DataType String + NameTypePair c (children 1) + DataType Tuple (children 1) + ExpressionList (children 4) + NameTypePair d (children 1) + DataType Nullable (children 1) + ExpressionList (children 1) + DataType UInt64 + NameTypePair e (children 1) + DataType Array (children 1) + ExpressionList (children 1) + DataType UInt32 + NameTypePair f (children 1) + DataType Array (children 1) + ExpressionList (children 1) + DataType Tuple (children 1) + ExpressionList (children 2) + NameTypePair g (children 1) + DataType String + NameTypePair h (children 1) + DataType Map (children 1) + ExpressionList (children 2) + DataType String + DataType Array (children 1) + ExpressionList (children 1) + DataType Tuple (children 1) + ExpressionList (children 2) + NameTypePair i (children 1) + DataType String + NameTypePair j (children 1) + DataType UInt64 + NameTypePair k (children 1) + DataType Date + NameTypePair l (children 1) + DataType Nullable (children 1) + ExpressionList (children 1) + DataType String + Storage definition (children 1) + Function Memory diff --git a/parser/testdata/02889_system_drop_format_schema/explain.txt b/parser/testdata/02889_system_drop_format_schema/explain.txt new file mode 100644 index 000000000..e0daf3e80 --- /dev/null +++ b/parser/testdata/02889_system_drop_format_schema/explain.txt @@ -0,0 +1,2 @@ +Explain EXPLAIN SYNTAX (children 1) + SYSTEM query diff --git a/parser/testdata/02890_describe_table_options/explain.txt b/parser/testdata/02890_describe_table_options/explain.txt new file mode 100644 index 000000000..1c5690e5b --- /dev/null +++ b/parser/testdata/02890_describe_table_options/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_describe_options (children 1) + Identifier t_describe_options diff --git a/parser/testdata/02890_named_tuple_functions/explain.txt b/parser/testdata/02890_named_tuple_functions/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02890_named_tuple_functions/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02890_partition_prune_in_extra_columns/explain.txt b/parser/testdata/02890_partition_prune_in_extra_columns/explain.txt new file mode 100644 index 000000000..7c24d859d --- /dev/null +++ b/parser/testdata/02890_partition_prune_in_extra_columns/explain.txt @@ -0,0 +1,2 @@ +DropQuery e (children 1) + Identifier e diff --git a/parser/testdata/02890_untuple_column_names/explain.txt b/parser/testdata/02890_untuple_column_names/explain.txt new file mode 100644 index 000000000..3fb6b5a34 --- /dev/null +++ b/parser/testdata/02890_untuple_column_names/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'-- tuple element alias\' diff --git a/parser/testdata/02891_alter_update_adaptive_granularity/explain.txt b/parser/testdata/02891_alter_update_adaptive_granularity/explain.txt new file mode 100644 index 000000000..bded5ecb3 --- /dev/null +++ b/parser/testdata/02891_alter_update_adaptive_granularity/explain.txt @@ -0,0 +1,2 @@ +CreateQuery kv (children 1) + Identifier kv diff --git a/parser/testdata/02891_array_shingles/explain.txt b/parser/testdata/02891_array_shingles/explain.txt new file mode 100644 index 000000000..e2c34d24a --- /dev/null +++ b/parser/testdata/02891_array_shingles/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'-- negative tests\' diff --git a/parser/testdata/02891_empty_tuple/explain.txt b/parser/testdata/02891_empty_tuple/explain.txt new file mode 100644 index 000000000..a60ff027e --- /dev/null +++ b/parser/testdata/02891_empty_tuple/explain.txt @@ -0,0 +1,2 @@ +DropQuery x (children 1) + Identifier x diff --git a/parser/testdata/02891_functions_over_sparse_columns/explain.txt b/parser/testdata/02891_functions_over_sparse_columns/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/02891_functions_over_sparse_columns/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/02891_rename_table_without_keyword/metadata.json b/parser/testdata/02891_rename_table_without_keyword/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02891_rename_table_without_keyword/metadata.json +++ b/parser/testdata/02891_rename_table_without_keyword/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02892_SummingMergeTree_Nested/explain.txt b/parser/testdata/02892_SummingMergeTree_Nested/explain.txt new file mode 100644 index 000000000..450064f68 --- /dev/null +++ b/parser/testdata/02892_SummingMergeTree_Nested/explain.txt @@ -0,0 +1,2 @@ +DropQuery nested_smt (children 1) + Identifier nested_smt diff --git a/parser/testdata/02892_orc_filter_pushdown/explain.txt b/parser/testdata/02892_orc_filter_pushdown/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02892_orc_filter_pushdown/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02892_rocksdb_trivial_count/explain.txt b/parser/testdata/02892_rocksdb_trivial_count/explain.txt new file mode 100644 index 000000000..8218bb733 --- /dev/null +++ b/parser/testdata/02892_rocksdb_trivial_count/explain.txt @@ -0,0 +1,11 @@ +CreateQuery dict (children 3) + Identifier dict + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration key (children 1) + DataType UInt64 + ColumnDeclaration value (children 1) + DataType String + Storage definition (children 2) + Function EmbeddedRocksDB + Identifier key diff --git a/parser/testdata/02893_array_enum_has_hasAny/explain.txt b/parser/testdata/02893_array_enum_has_hasAny/explain.txt new file mode 100644 index 000000000..78b2a1ef0 --- /dev/null +++ b/parser/testdata/02893_array_enum_has_hasAny/explain.txt @@ -0,0 +1,2 @@ +DropQuery v (children 1) + Identifier v diff --git a/parser/testdata/02893_bad_sample_view/explain.txt b/parser/testdata/02893_bad_sample_view/explain.txt new file mode 100644 index 000000000..226b6be81 --- /dev/null +++ b/parser/testdata/02893_bad_sample_view/explain.txt @@ -0,0 +1,2 @@ +DropQuery view_without_sample (children 1) + Identifier view_without_sample diff --git a/parser/testdata/02893_system_drop_schema_cache_format/explain.txt b/parser/testdata/02893_system_drop_schema_cache_format/explain.txt new file mode 100644 index 000000000..e0daf3e80 --- /dev/null +++ b/parser/testdata/02893_system_drop_schema_cache_format/explain.txt @@ -0,0 +1,2 @@ +Explain EXPLAIN SYNTAX (children 1) + SYSTEM query diff --git a/parser/testdata/02893_trash_optimization/explain.txt b/parser/testdata/02893_trash_optimization/explain.txt new file mode 100644 index 000000000..b55818d6b --- /dev/null +++ b/parser/testdata/02893_trash_optimization/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Asterisk diff --git a/parser/testdata/02893_vertical_final_bugs/explain.txt b/parser/testdata/02893_vertical_final_bugs/explain.txt new file mode 100644 index 000000000..275941d99 --- /dev/null +++ b/parser/testdata/02893_vertical_final_bugs/explain.txt @@ -0,0 +1,2 @@ +DropQuery foo (children 1) + Identifier foo diff --git a/parser/testdata/02895_cast_operator_bug/explain.txt b/parser/testdata/02895_cast_operator_bug/explain.txt new file mode 100644 index 000000000..ca845ac6b --- /dev/null +++ b/parser/testdata/02895_cast_operator_bug/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal Array_[UInt64_1] + Function CAST (children 1) + ExpressionList (children 2) + Literal \'0\' + Literal \'UInt16\' diff --git a/parser/testdata/02896_cyclic_aliases_crash/explain.txt b/parser/testdata/02896_cyclic_aliases_crash/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02896_cyclic_aliases_crash/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02896_illegal_sampling/explain.txt b/parser/testdata/02896_illegal_sampling/explain.txt new file mode 100644 index 000000000..81eb45010 --- /dev/null +++ b/parser/testdata/02896_illegal_sampling/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 2) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 + SampleRatio 1 / 2 +The query succeeded but the server error '[141, 1]' was expected (query: EXPLAIN AST SELECT * FROM (SELECT 1) SAMPLE 1 / 2; -- { serverError SAMPLING_NOT_SUPPORTED, UNSUPPORTED_METHOD }). diff --git a/parser/testdata/02896_leading_zeroes_no_octal/explain.txt b/parser/testdata/02896_leading_zeroes_no_octal/explain.txt new file mode 100644 index 000000000..02967285e --- /dev/null +++ b/parser/testdata/02896_leading_zeroes_no_octal/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_leading_zeroes (children 1) + Identifier t_leading_zeroes diff --git a/parser/testdata/02896_max_execution_time_with_break_overflow_mode/explain.txt b/parser/testdata/02896_max_execution_time_with_break_overflow_mode/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02896_max_execution_time_with_break_overflow_mode/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02896_multiple_OR/explain.txt b/parser/testdata/02896_multiple_OR/explain.txt new file mode 100644 index 000000000..b10bb195e --- /dev/null +++ b/parser/testdata/02896_multiple_OR/explain.txt @@ -0,0 +1,2 @@ +DropQuery or_bug (children 1) + Identifier or_bug diff --git a/parser/testdata/02896_optimize_array_exists_to_has_with_date/explain.txt b/parser/testdata/02896_optimize_array_exists_to_has_with_date/explain.txt new file mode 100644 index 000000000..29cb23891 --- /dev/null +++ b/parser/testdata/02896_optimize_array_exists_to_has_with_date/explain.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayExists (alias date_exists) (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier date + Function equals (children 1) + ExpressionList (children 2) + Identifier date + Literal \'2022-07-31\' + Function array (children 1) + ExpressionList (children 1) + Function toDate (children 1) + ExpressionList (children 1) + Literal \'2022-07-31\' diff --git a/parser/testdata/02897_alter_partition_parameters/explain.txt b/parser/testdata/02897_alter_partition_parameters/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/02897_alter_partition_parameters/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/02898_parallel_replicas_custom_key_final/explain.txt b/parser/testdata/02898_parallel_replicas_custom_key_final/explain.txt new file mode 100644 index 000000000..642b82af9 --- /dev/null +++ b/parser/testdata/02898_parallel_replicas_custom_key_final/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02898_parallel_replicas_final (children 1) + Identifier 02898_parallel_replicas_final diff --git a/parser/testdata/02898_parallel_replicas_progress_bar/explain.txt b/parser/testdata/02898_parallel_replicas_progress_bar/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/02898_parallel_replicas_progress_bar/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/02899_indexing_by_space_filling_curves/explain.txt b/parser/testdata/02899_indexing_by_space_filling_curves/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02899_indexing_by_space_filling_curves/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02900_add_subtract_interval_with_string_date/explain.txt b/parser/testdata/02900_add_subtract_interval_with_string_date/explain.txt new file mode 100644 index 000000000..8de464e9a --- /dev/null +++ b/parser/testdata/02900_add_subtract_interval_with_string_date/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'-- const date, const delta\' diff --git a/parser/testdata/02900_date_time_check_overflow/explain.txt b/parser/testdata/02900_date_time_check_overflow/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02900_date_time_check_overflow/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02900_decimal_sort_with_multiple_columns/explain.txt b/parser/testdata/02900_decimal_sort_with_multiple_columns/explain.txt new file mode 100644 index 000000000..4d32ef543 --- /dev/null +++ b/parser/testdata/02900_decimal_sort_with_multiple_columns/explain.txt @@ -0,0 +1,28 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Function modulo (alias i) (children 1) + ExpressionList (children 2) + Function negate (children 1) + ExpressionList (children 1) + Identifier number + Literal UInt64_2 + Function toDecimal32 (alias j) (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_20 + Literal UInt64_3 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_600 + ExpressionList (children 2) + OrderByElement (children 1) + Identifier i + OrderByElement (children 1) + Identifier j diff --git a/parser/testdata/02900_issue_55858/explain.txt b/parser/testdata/02900_issue_55858/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02900_issue_55858/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02900_window_function_with_sparse_column/explain.txt b/parser/testdata/02900_window_function_with_sparse_column/explain.txt new file mode 100644 index 000000000..0689aca85 --- /dev/null +++ b/parser/testdata/02900_window_function_with_sparse_column/explain.txt @@ -0,0 +1,2 @@ +CreateQuery test1 (children 1) + Identifier test1 diff --git a/parser/testdata/02901_analyzer_recursive_window/explain.txt b/parser/testdata/02901_analyzer_recursive_window/explain.txt new file mode 100644 index 000000000..d117937dc --- /dev/null +++ b/parser/testdata/02901_analyzer_recursive_window/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Literal UInt64_1 + ExpressionList (children 1) + WindowListElement +The query succeeded but the server error '47' was expected (query: EXPLAIN AST SELECT 1 WINDOW x AS (PARTITION BY x); -- { serverError UNKNOWN_IDENTIFIER }). diff --git a/parser/testdata/02901_predicate_pushdown_cte_stateful/explain.txt b/parser/testdata/02901_predicate_pushdown_cte_stateful/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02901_predicate_pushdown_cte_stateful/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02901_remove_nullable_crash_analyzer/explain.txt b/parser/testdata/02901_remove_nullable_crash_analyzer/explain.txt new file mode 100644 index 000000000..808d6648e --- /dev/null +++ b/parser/testdata/02901_remove_nullable_crash_analyzer/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function modulo (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Function multiIf (children 1) + ExpressionList (children 3) + Literal UInt64_1 + Function plus (children 1) + ExpressionList (children 2) + Function isNotNull (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Asterisk + Literal NULL diff --git a/parser/testdata/02902_add_scalar_in_all_case/explain.txt b/parser/testdata/02902_add_scalar_in_all_case/explain.txt new file mode 100644 index 000000000..70a05f61f --- /dev/null +++ b/parser/testdata/02902_add_scalar_in_all_case/explain.txt @@ -0,0 +1,33 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function format (children 1) + ExpressionList (children 2) + Identifier TSVRaw + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Function arrayStringConcat (children 1) + ExpressionList (children 2) + Function groupArray (children 1) + ExpressionList (children 1) + Literal \'some long string\' + Literal \'\\n\' + Literal \'LowCardinality(String)\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10000 + Identifier TSVRaw diff --git a/parser/testdata/02902_diable_apply_deleted_mask/explain.txt b/parser/testdata/02902_diable_apply_deleted_mask/explain.txt new file mode 100644 index 000000000..66514b507 --- /dev/null +++ b/parser/testdata/02902_diable_apply_deleted_mask/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_apply_deleted_mask (children 1) + Identifier test_apply_deleted_mask diff --git a/parser/testdata/02902_json_skip_null_values/explain.txt b/parser/testdata/02902_json_skip_null_values/explain.txt new file mode 100644 index 000000000..547149061 --- /dev/null +++ b/parser/testdata/02902_json_skip_null_values/explain.txt @@ -0,0 +1,6 @@ +CreateQuery test_02902 (children 2) + Identifier test_02902 + Storage definition (children 1) + Function File (children 1) + ExpressionList (children 1) + Identifier JSONEachRow diff --git a/parser/testdata/02902_select_subcolumns_from_engine_null/explain.txt b/parser/testdata/02902_select_subcolumns_from_engine_null/explain.txt new file mode 100644 index 000000000..320892d3a --- /dev/null +++ b/parser/testdata/02902_select_subcolumns_from_engine_null/explain.txt @@ -0,0 +1,13 @@ +CreateQuery null_02902 (children 3) + Identifier null_02902 + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration t (children 1) + DataType Tuple (children 1) + ExpressionList (children 2) + NameTypePair num (children 1) + DataType Int64 + NameTypePair str (children 1) + DataType String + Storage definition (children 1) + Function Null diff --git a/parser/testdata/02902_show_databases_limit/explain.txt b/parser/testdata/02902_show_databases_limit/explain.txt new file mode 100644 index 000000000..9cf4575c9 --- /dev/null +++ b/parser/testdata/02902_show_databases_limit/explain.txt @@ -0,0 +1 @@ +ShowTables diff --git a/parser/testdata/02902_topKGeneric_deserialization_memory/metadata.json b/parser/testdata/02902_topKGeneric_deserialization_memory/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02902_topKGeneric_deserialization_memory/metadata.json +++ b/parser/testdata/02902_topKGeneric_deserialization_memory/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02903_bug_43644/explain.txt b/parser/testdata/02903_bug_43644/explain.txt new file mode 100644 index 000000000..0a00b06d1 --- /dev/null +++ b/parser/testdata/02903_bug_43644/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab (children 1) + Identifier tab diff --git a/parser/testdata/02903_parameterized_view_explain_ast/metadata.json b/parser/testdata/02903_parameterized_view_explain_ast/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02903_parameterized_view_explain_ast/metadata.json +++ b/parser/testdata/02903_parameterized_view_explain_ast/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02905_show_setting_query/explain.txt b/parser/testdata/02905_show_setting_query/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02905_show_setting_query/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02905_system_logs_hostname/explain.txt b/parser/testdata/02905_system_logs_hostname/explain.txt new file mode 100644 index 000000000..786463758 --- /dev/null +++ b/parser/testdata/02905_system_logs_hostname/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'test hostname in system log tables\' diff --git a/parser/testdata/02906_flatten_only_true_nested/explain.txt b/parser/testdata/02906_flatten_only_true_nested/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02906_flatten_only_true_nested/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02906_force_optimize_projection_name/explain.txt b/parser/testdata/02906_force_optimize_projection_name/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/02906_force_optimize_projection_name/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/02906_interval_comparison/explain.txt b/parser/testdata/02906_interval_comparison/explain.txt new file mode 100644 index 000000000..f0253f05e --- /dev/null +++ b/parser/testdata/02906_interval_comparison/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Function toIntervalSecond (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Function toIntervalSecond (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/02906_orc_tuple_field_prune/explain.txt b/parser/testdata/02906_orc_tuple_field_prune/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02906_orc_tuple_field_prune/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02907_filter_pushdown_crash/explain.txt b/parser/testdata/02907_filter_pushdown_crash/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/02907_filter_pushdown_crash/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/02907_fromDaysSinceYearZero/explain.txt b/parser/testdata/02907_fromDaysSinceYearZero/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02907_fromDaysSinceYearZero/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02907_read_buffer_content_is_cached_multiple_blobs/explain.txt b/parser/testdata/02907_read_buffer_content_is_cached_multiple_blobs/explain.txt new file mode 100644 index 000000000..7ac3248b3 --- /dev/null +++ b/parser/testdata/02907_read_buffer_content_is_cached_multiple_blobs/explain.txt @@ -0,0 +1,6 @@ +CreateQuery t (children 2) + Identifier t + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration a (children 1) + DataType UInt64 diff --git a/parser/testdata/02908_alter_column_alias/metadata.json b/parser/testdata/02908_alter_column_alias/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02908_alter_column_alias/metadata.json +++ b/parser/testdata/02908_alter_column_alias/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02908_empty_named_collection/explain.txt b/parser/testdata/02908_empty_named_collection/explain.txt new file mode 100644 index 000000000..e2069300e --- /dev/null +++ b/parser/testdata/02908_empty_named_collection/explain.txt @@ -0,0 +1 @@ +CreateNamedCollectionQuery diff --git a/parser/testdata/02908_filesystem_cache_as_collection/explain.txt b/parser/testdata/02908_filesystem_cache_as_collection/explain.txt new file mode 100644 index 000000000..e2069300e --- /dev/null +++ b/parser/testdata/02908_filesystem_cache_as_collection/explain.txt @@ -0,0 +1 @@ +CreateNamedCollectionQuery diff --git a/parser/testdata/02910_nullable_enum_cast/explain.txt b/parser/testdata/02910_nullable_enum_cast/explain.txt new file mode 100644 index 000000000..686583503 --- /dev/null +++ b/parser/testdata/02910_nullable_enum_cast/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Function materialize (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Literal NULL + Literal \'Nullable(Enum(\\\'A\\\' = 1, \\\'B\\\' = 2))\' + Literal \'Nullable(String)\' diff --git a/parser/testdata/02910_prefetch_unexpceted_exception/explain.txt b/parser/testdata/02910_prefetch_unexpceted_exception/explain.txt new file mode 100644 index 000000000..fd2ac32ac --- /dev/null +++ b/parser/testdata/02910_prefetch_unexpceted_exception/explain.txt @@ -0,0 +1,2 @@ +DropQuery prefetched_table (children 1) + Identifier prefetched_table diff --git a/parser/testdata/02910_replicated_merge_parameters_must_consistent/explain.txt b/parser/testdata/02910_replicated_merge_parameters_must_consistent/explain.txt new file mode 100644 index 000000000..11ed2798b --- /dev/null +++ b/parser/testdata/02910_replicated_merge_parameters_must_consistent/explain.txt @@ -0,0 +1,2 @@ +CreateQuery t (children 1) + Identifier t diff --git a/parser/testdata/02910_rocksdb_optimize/explain.txt b/parser/testdata/02910_rocksdb_optimize/explain.txt new file mode 100644 index 000000000..8218bb733 --- /dev/null +++ b/parser/testdata/02910_rocksdb_optimize/explain.txt @@ -0,0 +1,11 @@ +CreateQuery dict (children 3) + Identifier dict + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration key (children 1) + DataType UInt64 + ColumnDeclaration value (children 1) + DataType String + Storage definition (children 2) + Function EmbeddedRocksDB + Identifier key diff --git a/parser/testdata/02911_add_index_and_materialize_index/explain.txt b/parser/testdata/02911_add_index_and_materialize_index/explain.txt new file mode 100644 index 000000000..43efd6464 --- /dev/null +++ b/parser/testdata/02911_add_index_and_materialize_index/explain.txt @@ -0,0 +1,2 @@ +DropQuery index_test (children 1) + Identifier index_test diff --git a/parser/testdata/02911_analyzer_explain_estimate/explain.txt b/parser/testdata/02911_analyzer_explain_estimate/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02911_analyzer_explain_estimate/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02911_analyzer_order_by_read_in_order_query_plan/explain.txt b/parser/testdata/02911_analyzer_order_by_read_in_order_query_plan/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02911_analyzer_order_by_read_in_order_query_plan/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02911_analyzer_remove_unused_projection_columns/explain.txt b/parser/testdata/02911_analyzer_remove_unused_projection_columns/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02911_analyzer_remove_unused_projection_columns/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02911_cte_invalid_query_analysis/explain.txt b/parser/testdata/02911_cte_invalid_query_analysis/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/02911_cte_invalid_query_analysis/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/02911_join_on_nullsafe_optimization/explain.txt b/parser/testdata/02911_join_on_nullsafe_optimization/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/02911_join_on_nullsafe_optimization/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/02911_row_policy_on_cluster/explain.txt b/parser/testdata/02911_row_policy_on_cluster/explain.txt new file mode 100644 index 000000000..ed0ed194e --- /dev/null +++ b/parser/testdata/02911_row_policy_on_cluster/explain.txt @@ -0,0 +1 @@ +DROP ROW POLICY query diff --git a/parser/testdata/02911_support_alias_column_in_indices/explain.txt b/parser/testdata/02911_support_alias_column_in_indices/explain.txt new file mode 100644 index 000000000..c4f221c5d --- /dev/null +++ b/parser/testdata/02911_support_alias_column_in_indices/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02911_support_alias_column_in_indices (children 1) + Identifier 02911_support_alias_column_in_indices diff --git a/parser/testdata/02911_system_symbols/explain.txt b/parser/testdata/02911_system_symbols/explain.txt new file mode 100644 index 000000000..464c74791 --- /dev/null +++ b/parser/testdata/02911_system_symbols/explain.txt @@ -0,0 +1,33 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 6) + ExpressionList (children 1) + Identifier x + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function demangle (alias x) (children 1) + ExpressionList (children 1) + Identifier symbol + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.symbols + Function like (children 1) + ExpressionList (children 2) + Identifier symbol + Literal \'%StorageSystemSymbols%\' + Function like (children 1) + ExpressionList (children 2) + Identifier x + Literal \'%DB::StorageSystemSymbols::StorageSystemSymbols%\' + ExpressionList (children 1) + OrderByElement (children 1) + Identifier x + Literal UInt64_1 + Set diff --git a/parser/testdata/02912_group_array_sample/explain.txt b/parser/testdata/02912_group_array_sample/explain.txt new file mode 100644 index 000000000..8b2480e68 --- /dev/null +++ b/parser/testdata/02912_group_array_sample/explain.txt @@ -0,0 +1,36 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function greater (children 1) + ExpressionList (children 2) + Function uniq (children 1) + ExpressionList (children 1) + Identifier x + Literal UInt64_50 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Identifier number + Function groupArraySample (alias x) (children 2) + ExpressionList (children 1) + Function arrayJoin (children 1) + ExpressionList (children 1) + Function range (children 1) + ExpressionList (children 1) + Literal UInt64_1000 + ExpressionList (children 1) + Literal UInt64_10 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_100 + ExpressionList (children 1) + Identifier number diff --git a/parser/testdata/02912_ingestion_mv_deduplication/explain.txt b/parser/testdata/02912_ingestion_mv_deduplication/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02912_ingestion_mv_deduplication/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02913_sum_map_state/explain.txt b/parser/testdata/02913_sum_map_state/explain.txt new file mode 100644 index 000000000..824d08af2 --- /dev/null +++ b/parser/testdata/02913_sum_map_state/explain.txt @@ -0,0 +1,28 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function hex (children 1) + ExpressionList (children 1) + Function sumMappedArraysState (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList (children 2) + Function CAST (children 1) + ExpressionList (children 2) + Literal \'0.1\' + Literal \'Decimal(3)\' + Function CAST (children 1) + ExpressionList (children 2) + Literal \'1\' + Literal \'Decimal(3)\' + Function array (children 1) + ExpressionList (children 2) + Function CAST (children 1) + ExpressionList (children 2) + Literal \'1.2\' + Literal \'Decimal(3)\' + Function CAST (children 1) + ExpressionList (children 2) + Literal \'2\' + Literal \'Decimal(3)\' diff --git a/parser/testdata/02915_analyzer_fuzz_1/explain.txt b/parser/testdata/02915_analyzer_fuzz_1/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02915_analyzer_fuzz_1/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02915_analyzer_fuzz_2/explain.txt b/parser/testdata/02915_analyzer_fuzz_2/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02915_analyzer_fuzz_2/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02915_analyzer_fuzz_5/explain.txt b/parser/testdata/02915_analyzer_fuzz_5/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02915_analyzer_fuzz_5/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02915_analyzer_fuzz_6/explain.txt b/parser/testdata/02915_analyzer_fuzz_6/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02915_analyzer_fuzz_6/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02915_move_partition_inactive_replica/explain.txt b/parser/testdata/02915_move_partition_inactive_replica/explain.txt new file mode 100644 index 000000000..a7487bd7e --- /dev/null +++ b/parser/testdata/02915_move_partition_inactive_replica/explain.txt @@ -0,0 +1,2 @@ +CreateQuery shard_0 (children 1) + Identifier shard_0 diff --git a/parser/testdata/02915_sleep_large_uint/explain.txt b/parser/testdata/02915_sleep_large_uint/explain.txt new file mode 100644 index 000000000..252e9d23e --- /dev/null +++ b/parser/testdata/02915_sleep_large_uint/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function sleep (children 1) + ExpressionList (children 1) + Literal Float64_3.40282e44 +The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT sleep(3.40282e+44); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/02916_addcolumn_nested/explain.txt b/parser/testdata/02916_addcolumn_nested/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02916_addcolumn_nested/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02916_analyzer_set_in_join/explain.txt b/parser/testdata/02916_analyzer_set_in_join/explain.txt new file mode 100644 index 000000000..57d044d49 --- /dev/null +++ b/parser/testdata/02916_analyzer_set_in_join/explain.txt @@ -0,0 +1,6 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Identifier b diff --git a/parser/testdata/02916_another_move_partition_inactive_replica/explain.txt b/parser/testdata/02916_another_move_partition_inactive_replica/explain.txt new file mode 100644 index 000000000..a7487bd7e --- /dev/null +++ b/parser/testdata/02916_another_move_partition_inactive_replica/explain.txt @@ -0,0 +1,2 @@ +CreateQuery shard_0 (children 1) + Identifier shard_0 diff --git a/parser/testdata/02916_csv_infer_numbers_from_strings/explain.txt b/parser/testdata/02916_csv_infer_numbers_from_strings/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02916_csv_infer_numbers_from_strings/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02916_date_text_parsing/explain.txt b/parser/testdata/02916_date_text_parsing/explain.txt new file mode 100644 index 000000000..eb0bc8530 --- /dev/null +++ b/parser/testdata/02916_date_text_parsing/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function format (children 1) + ExpressionList (children 3) + Identifier CSV + Literal \'d Date, s String\' + Literal \'abcdefgh,SomeString\' +The query succeeded but the server error '38' was expected (query: EXPLAIN AST select * from format(CSV, 'd Date, s String', 'abcdefgh,SomeString'); -- {serverError CANNOT_PARSE_DATE}). diff --git a/parser/testdata/02916_distributed_skip_unavailable_shards/explain.txt b/parser/testdata/02916_distributed_skip_unavailable_shards/explain.txt new file mode 100644 index 000000000..f2f1157c4 --- /dev/null +++ b/parser/testdata/02916_distributed_skip_unavailable_shards/explain.txt @@ -0,0 +1,2 @@ +DropQuery table_02916 (children 1) + Identifier table_02916 diff --git a/parser/testdata/02916_glogal_in_cancel/explain.txt b/parser/testdata/02916_glogal_in_cancel/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02916_glogal_in_cancel/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02916_replication_protocol_wait_for_part/explain.txt b/parser/testdata/02916_replication_protocol_wait_for_part/explain.txt new file mode 100644 index 000000000..cf507e42d --- /dev/null +++ b/parser/testdata/02916_replication_protocol_wait_for_part/explain.txt @@ -0,0 +1,6 @@ +CreateQuery tableIn (children 2) + Identifier tableIn + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration n (children 1) + DataType int diff --git a/parser/testdata/02916_set_formatting/explain.txt b/parser/testdata/02916_set_formatting/explain.txt new file mode 100644 index 000000000..14287a798 --- /dev/null +++ b/parser/testdata/02916_set_formatting/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function formatQuerySingleLine (children 1) + ExpressionList (children 1) + Literal \'set additional_table_filters = {\\\'kjsnckjn\\\': \\\'ksanmn\\\', \\\'dkm\\\': \\\'dd\\\'}\' diff --git a/parser/testdata/02916_to_start_of_interval_with_origin/explain.txt b/parser/testdata/02916_to_start_of_interval_with_origin/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02916_to_start_of_interval_with_origin/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02917_transform_tsan/explain.txt b/parser/testdata/02917_transform_tsan/explain.txt new file mode 100644 index 000000000..7cc53d83d --- /dev/null +++ b/parser/testdata/02917_transform_tsan/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function transform (children 1) + ExpressionList (children 3) + Function arrayJoin (children 1) + ExpressionList (children 1) + Literal Array_[NULL, NULL] + Literal Array_[NULL, NULL] + Literal Array_[NULL] + ExpressionList (children 2) + ExpressionList (children 1) + Literal \'0.1\' + ExpressionList (children 1) + Literal \'-0.2147483647\' diff --git a/parser/testdata/02918_alter_temporary_table/explain.txt b/parser/testdata/02918_alter_temporary_table/explain.txt new file mode 100644 index 000000000..b5c973287 --- /dev/null +++ b/parser/testdata/02918_alter_temporary_table/explain.txt @@ -0,0 +1,2 @@ +DropQuery alter_test (children 1) + Identifier alter_test diff --git a/parser/testdata/02918_analyzer_to_ast_crash/metadata.json b/parser/testdata/02918_analyzer_to_ast_crash/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02918_analyzer_to_ast_crash/metadata.json +++ b/parser/testdata/02918_analyzer_to_ast_crash/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02918_fuzzjson_table_function/explain.txt b/parser/testdata/02918_fuzzjson_table_function/explain.txt new file mode 100644 index 000000000..694384805 --- /dev/null +++ b/parser/testdata/02918_fuzzjson_table_function/explain.txt @@ -0,0 +1 @@ +DropNamedCollectionQuery diff --git a/parser/testdata/02918_join_pm_lc_crash/explain.txt b/parser/testdata/02918_join_pm_lc_crash/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02918_join_pm_lc_crash/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02918_optimize_count_for_merge_tables/explain.txt b/parser/testdata/02918_optimize_count_for_merge_tables/explain.txt new file mode 100644 index 000000000..7e7113939 --- /dev/null +++ b/parser/testdata/02918_optimize_count_for_merge_tables/explain.txt @@ -0,0 +1,2 @@ +DropQuery mt1 (children 1) + Identifier mt1 diff --git a/parser/testdata/02918_parallel_replicas_custom_key_unavailable_replica/explain.txt b/parser/testdata/02918_parallel_replicas_custom_key_unavailable_replica/explain.txt new file mode 100644 index 000000000..a5d68e645 --- /dev/null +++ b/parser/testdata/02918_parallel_replicas_custom_key_unavailable_replica/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02918_parallel_replicas (children 1) + Identifier 02918_parallel_replicas diff --git a/parser/testdata/02918_wrong_dictionary_source/explain.txt b/parser/testdata/02918_wrong_dictionary_source/explain.txt new file mode 100644 index 000000000..26c7fc5ef --- /dev/null +++ b/parser/testdata/02918_wrong_dictionary_source/explain.txt @@ -0,0 +1,2 @@ +DropQuery id_value_dictionary (children 1) + Identifier id_value_dictionary diff --git a/parser/testdata/02919_alter_temporary_table_with_nondefault_engine/explain.txt b/parser/testdata/02919_alter_temporary_table_with_nondefault_engine/explain.txt new file mode 100644 index 000000000..b5c973287 --- /dev/null +++ b/parser/testdata/02919_alter_temporary_table_with_nondefault_engine/explain.txt @@ -0,0 +1,2 @@ +DropQuery alter_test (children 1) + Identifier alter_test diff --git a/parser/testdata/02919_ddsketch_quantile/explain.txt b/parser/testdata/02919_ddsketch_quantile/explain.txt new file mode 100644 index 000000000..cb795a950 --- /dev/null +++ b/parser/testdata/02919_ddsketch_quantile/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'1\' diff --git a/parser/testdata/02919_insert_meet_eternal_hardware_error/explain.txt b/parser/testdata/02919_insert_meet_eternal_hardware_error/explain.txt new file mode 100644 index 000000000..975a3f723 --- /dev/null +++ b/parser/testdata/02919_insert_meet_eternal_hardware_error/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_hardware_error (children 1) + Identifier t_hardware_error diff --git a/parser/testdata/02919_segfault_nullable_materialized_update/explain.txt b/parser/testdata/02919_segfault_nullable_materialized_update/explain.txt new file mode 100644 index 000000000..dcbf431c8 --- /dev/null +++ b/parser/testdata/02919_segfault_nullable_materialized_update/explain.txt @@ -0,0 +1,2 @@ +DropQuery crash_02919 (children 1) + Identifier crash_02919 diff --git a/parser/testdata/02919_storage_fuzzjson/explain.txt b/parser/testdata/02919_storage_fuzzjson/explain.txt new file mode 100644 index 000000000..0a8a09424 --- /dev/null +++ b/parser/testdata/02919_storage_fuzzjson/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02919_test_table_noarg (children 1) + Identifier 02919_test_table_noarg diff --git a/parser/testdata/02920_alter_column_of_projections/explain.txt b/parser/testdata/02920_alter_column_of_projections/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/02920_alter_column_of_projections/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/02920_fix_json_merge_patch/explain.txt b/parser/testdata/02920_fix_json_merge_patch/explain.txt new file mode 100644 index 000000000..d4be5e017 --- /dev/null +++ b/parser/testdata/02920_fix_json_merge_patch/explain.txt @@ -0,0 +1,30 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal \'{"id":1,"foo":["bar"]}\' (alias a) + Function jsonMergePatch (alias b) (children 1) + ExpressionList (children 2) + Identifier a + Function toJSONString (children 1) + ExpressionList (children 1) + Function map (children 1) + ExpressionList (children 2) + Literal \'foo\' + Function arrayPushBack (children 1) + ExpressionList (children 2) + Function arrayMap (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function JSONExtractString (children 1) + ExpressionList (children 1) + Identifier x + Function JSONExtractArrayRaw (children 1) + ExpressionList (children 2) + Identifier a + Literal \'foo\' + Literal \'baz\' diff --git a/parser/testdata/02920_rename_column_of_skip_indices/explain.txt b/parser/testdata/02920_rename_column_of_skip_indices/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/02920_rename_column_of_skip_indices/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/02920_unary_operators_functions/explain.txt b/parser/testdata/02920_unary_operators_functions/explain.txt new file mode 100644 index 000000000..cb9799790 --- /dev/null +++ b/parser/testdata/02920_unary_operators_functions/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function plus (children 1) + ExpressionList (children 2) + Function not (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function not (children 1) + ExpressionList (children 1) + Literal UInt64_0 diff --git a/parser/testdata/02921_bit_hamming_distance_big_int/explain.txt b/parser/testdata/02921_bit_hamming_distance_big_int/explain.txt new file mode 100644 index 000000000..99035ba55 --- /dev/null +++ b/parser/testdata/02921_bit_hamming_distance_big_int/explain.txt @@ -0,0 +1,22 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 4) + Function CAST (alias x) (children 1) + ExpressionList (children 2) + Literal \'314776434768051644139306697240981192872\' + Literal \'UInt128\' + Function CAST (alias y) (children 1) + ExpressionList (children 2) + Literal \'0\' + Literal \'UInt128\' + Function bitCount (alias a) (children 1) + ExpressionList (children 1) + Function bitXor (children 1) + ExpressionList (children 2) + Identifier x + Identifier y + Function bitHammingDistance (alias b) (children 1) + ExpressionList (children 2) + Identifier x + Identifier y diff --git a/parser/testdata/02921_database_filesystem_path_check/explain.txt b/parser/testdata/02921_database_filesystem_path_check/explain.txt new file mode 100644 index 000000000..325460b73 --- /dev/null +++ b/parser/testdata/02921_database_filesystem_path_check/explain.txt @@ -0,0 +1,7 @@ +CreateQuery db_filesystem (children 2) + Identifier db_filesystem + Storage definition (children 1) + Function Filesystem (children 1) + ExpressionList (children 1) + Literal \'/etc\' +The query succeeded but the server error '36' was expected (query: EXPLAIN AST create database db_filesystem ENGINE=Filesystem('/etc'); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/02921_fuzzbits_with_array_join/explain.txt b/parser/testdata/02921_fuzzbits_with_array_join/explain.txt new file mode 100644 index 000000000..3119e8e44 --- /dev/null +++ b/parser/testdata/02921_fuzzbits_with_array_join/explain.txt @@ -0,0 +1,21 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function length (children 1) + ExpressionList (children 1) + Function fuzzBits (children 1) + ExpressionList (children 2) + Literal \'stringstring\' + Literal Float64_0.5 + Identifier a + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1 + TablesInSelectQueryElement (children 1) + ArrayJoin (children 1) + ExpressionList (children 1) + Literal Array_[UInt64_1, UInt64_2] (alias a) diff --git a/parser/testdata/02921_parameterized_view_except_queries/explain.txt b/parser/testdata/02921_parameterized_view_except_queries/explain.txt new file mode 100644 index 000000000..853929d7a --- /dev/null +++ b/parser/testdata/02921_parameterized_view_except_queries/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'--- Data ---\' diff --git a/parser/testdata/02922_analyzer_aggregate_nothing_type/explain.txt b/parser/testdata/02922_analyzer_aggregate_nothing_type/explain.txt new file mode 100644 index 000000000..4840e1009 --- /dev/null +++ b/parser/testdata/02922_analyzer_aggregate_nothing_type/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function sum (children 1) + ExpressionList (children 1) + Literal NULL diff --git a/parser/testdata/02922_respect_nulls_Nullable/metadata.json b/parser/testdata/02922_respect_nulls_Nullable/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02922_respect_nulls_Nullable/metadata.json +++ b/parser/testdata/02922_respect_nulls_Nullable/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02922_respect_nulls_extensive/explain.txt b/parser/testdata/02922_respect_nulls_extensive/explain.txt new file mode 100644 index 000000000..bf4ca511c --- /dev/null +++ b/parser/testdata/02922_respect_nulls_extensive/explain.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Identifier number + Function first_value (children 2) + ExpressionList (children 1) + Identifier number + WindowDefinition (children 1) + ExpressionList (children 1) + OrderByElement (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/02922_respect_nulls_parser/explain.txt b/parser/testdata/02922_respect_nulls_parser/explain.txt new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/parser/testdata/02922_respect_nulls_parser/explain.txt @@ -0,0 +1 @@ + diff --git a/parser/testdata/02922_respect_nulls_states/explain.txt b/parser/testdata/02922_respect_nulls_states/explain.txt new file mode 100644 index 000000000..33fd78f01 --- /dev/null +++ b/parser/testdata/02922_respect_nulls_states/explain.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function toTypeName (children 1) + ExpressionList (children 1) + Function first_value_respect_nullsState (children 1) + ExpressionList (children 1) + Identifier dummy + Function toTypeName (children 1) + ExpressionList (children 1) + Function last_value_respect_nullsState (children 1) + ExpressionList (children 1) + Identifier dummy + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.one diff --git a/parser/testdata/02923_cte_equality_disjunction/explain.txt b/parser/testdata/02923_cte_equality_disjunction/explain.txt new file mode 100644 index 000000000..733a483ec --- /dev/null +++ b/parser/testdata/02923_cte_equality_disjunction/explain.txt @@ -0,0 +1,2 @@ +CreateQuery test_bug_optimization (children 1) + Identifier test_bug_optimization diff --git a/parser/testdata/02923_explain_expired_context/explain.txt b/parser/testdata/02923_explain_expired_context/explain.txt new file mode 100644 index 000000000..83111518d --- /dev/null +++ b/parser/testdata/02923_explain_expired_context/explain.txt @@ -0,0 +1,55 @@ +Explain EXPLAIN ESTIMATE (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function any (children 1) + ExpressionList (children 1) + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier s + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias t1) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 5) + Literal \'bbbbbbbb\' + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier s + Function CAST (children 1) + ExpressionList (children 2) + Literal \'\' + Literal \'LowCardinality(String)\' + Literal NULL + Function CAST (alias s) (children 1) + ExpressionList (children 2) + Literal \'\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\' + Literal \'String\' + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias t2) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function CAST (children 1) + ExpressionList (children 2) + Literal \'bbbbb\\0\\0bbb\\0bb\\0bb\' + Literal \'LowCardinality(String)\' + Function CAST (alias s) (children 1) + ExpressionList (children 2) + Function CAST (children 1) + ExpressionList (children 2) + Literal \'a\' + Literal \'String\' + Literal \'LowCardinality(String)\' + ExpressionList (children 1) + Function CoNnEcTiOn_Id (children 1) + ExpressionList + TableJoin (children 1) + ExpressionList (children 1) + Identifier s diff --git a/parser/testdata/02923_join_use_nulls_modulo/metadata.json b/parser/testdata/02923_join_use_nulls_modulo/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02923_join_use_nulls_modulo/metadata.json +++ b/parser/testdata/02923_join_use_nulls_modulo/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02931_alter_materialized_view_query_inconsistent/explain.txt b/parser/testdata/02931_alter_materialized_view_query_inconsistent/explain.txt new file mode 100644 index 000000000..4b0a34f8e --- /dev/null +++ b/parser/testdata/02931_alter_materialized_view_query_inconsistent/explain.txt @@ -0,0 +1,2 @@ +DropQuery pipe (children 1) + Identifier pipe diff --git a/parser/testdata/02931_max_num_to_warn/explain.txt b/parser/testdata/02931_max_num_to_warn/explain.txt new file mode 100644 index 000000000..cb4df6d9f --- /dev/null +++ b/parser/testdata/02931_max_num_to_warn/explain.txt @@ -0,0 +1,2 @@ +CreateQuery test_max_num_to_warn_02931 (children 1) + Identifier test_max_num_to_warn_02931 diff --git a/parser/testdata/02931_rewrite_sum_column_and_constant/explain.txt b/parser/testdata/02931_rewrite_sum_column_and_constant/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02931_rewrite_sum_column_and_constant/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02931_ubsan_error_arena_aligned_alloc/explain.txt b/parser/testdata/02931_ubsan_error_arena_aligned_alloc/explain.txt new file mode 100644 index 000000000..0d883874f --- /dev/null +++ b/parser/testdata/02931_ubsan_error_arena_aligned_alloc/explain.txt @@ -0,0 +1,21 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function sumResample (children 2) + ExpressionList (children 2) + Identifier number + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_20 + ExpressionList (children 3) + Literal UInt64_65535 + Literal UInt64_20 + Literal UInt64_1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_200 diff --git a/parser/testdata/02932_analyzer_rewrite_sum_column_and_constant/explain.txt b/parser/testdata/02932_analyzer_rewrite_sum_column_and_constant/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02932_analyzer_rewrite_sum_column_and_constant/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02932_apply_deleted_mask/explain.txt b/parser/testdata/02932_apply_deleted_mask/explain.txt new file mode 100644 index 000000000..417000abe --- /dev/null +++ b/parser/testdata/02932_apply_deleted_mask/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_materialize_delete (children 1) + Identifier t_materialize_delete diff --git a/parser/testdata/02932_group_by_null_fuzzer/explain.txt b/parser/testdata/02932_group_by_null_fuzzer/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02932_group_by_null_fuzzer/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02932_idna/explain.txt b/parser/testdata/02932_idna/explain.txt new file mode 100644 index 000000000..cd73d24c5 --- /dev/null +++ b/parser/testdata/02932_idna/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'-- Negative tests\' diff --git a/parser/testdata/02932_lwd_and_mutations/explain.txt b/parser/testdata/02932_lwd_and_mutations/explain.txt new file mode 100644 index 000000000..f0dc91e1a --- /dev/null +++ b/parser/testdata/02932_lwd_and_mutations/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_lwd_mutations (children 1) + Identifier t_lwd_mutations diff --git a/parser/testdata/02932_materialized_view_with_dropped_target_table_no_exception/explain.txt b/parser/testdata/02932_materialized_view_with_dropped_target_table_no_exception/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02932_materialized_view_with_dropped_target_table_no_exception/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02932_non_ready_set_stuck/explain.txt b/parser/testdata/02932_non_ready_set_stuck/explain.txt new file mode 100644 index 000000000..c5a0af104 --- /dev/null +++ b/parser/testdata/02932_non_ready_set_stuck/explain.txt @@ -0,0 +1,15 @@ +CreateQuery tab (children 3) + Identifier tab + Columns definition (children 1) + ExpressionList (children 3) + ColumnDeclaration item_id (children 1) + DataType UInt64 + ColumnDeclaration price_sold (children 1) + DataType Nullable (children 1) + ExpressionList (children 1) + DataType Float32 + ColumnDeclaration date (children 1) + DataType Date + Storage definition (children 2) + Function MergeTree + Identifier item_id diff --git a/parser/testdata/02932_parallel_replicas_fuzzer/explain.txt b/parser/testdata/02932_parallel_replicas_fuzzer/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02932_parallel_replicas_fuzzer/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02932_punycode/explain.txt b/parser/testdata/02932_punycode/explain.txt new file mode 100644 index 000000000..cd73d24c5 --- /dev/null +++ b/parser/testdata/02932_punycode/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'-- Negative tests\' diff --git a/parser/testdata/02932_query_settings_max_size_drop/explain.txt b/parser/testdata/02932_query_settings_max_size_drop/explain.txt new file mode 100644 index 000000000..bbb5c514f --- /dev/null +++ b/parser/testdata/02932_query_settings_max_size_drop/explain.txt @@ -0,0 +1,2 @@ +CreateQuery test_max_size_drop (children 1) + Identifier test_max_size_drop diff --git a/parser/testdata/02932_query_settings_max_size_drop_rmt/explain.txt b/parser/testdata/02932_query_settings_max_size_drop_rmt/explain.txt new file mode 100644 index 000000000..9196d6e5f --- /dev/null +++ b/parser/testdata/02932_query_settings_max_size_drop_rmt/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_max_size_drop (children 1) + Identifier test_max_size_drop diff --git a/parser/testdata/02932_set_ttl_where/explain.txt b/parser/testdata/02932_set_ttl_where/explain.txt new file mode 100644 index 000000000..1c94a613a --- /dev/null +++ b/parser/testdata/02932_set_ttl_where/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_temp (children 1) + Identifier t_temp diff --git a/parser/testdata/02933_compare_with_bool_as_string/explain.txt b/parser/testdata/02933_compare_with_bool_as_string/explain.txt new file mode 100644 index 000000000..ebe5dc45f --- /dev/null +++ b/parser/testdata/02933_compare_with_bool_as_string/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Literal Bool_1 + Literal \'true\' diff --git a/parser/testdata/02933_ephemeral_mv/explain.txt b/parser/testdata/02933_ephemeral_mv/explain.txt new file mode 100644 index 000000000..84a9ae586 --- /dev/null +++ b/parser/testdata/02933_ephemeral_mv/explain.txt @@ -0,0 +1,2 @@ +CreateQuery raw (children 1) + Identifier raw diff --git a/parser/testdata/02933_paste_join/explain.txt b/parser/testdata/02933_paste_join/explain.txt new file mode 100644 index 000000000..ae528155a --- /dev/null +++ b/parser/testdata/02933_paste_join/explain.txt @@ -0,0 +1,35 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias t1) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier number (alias a) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias t2) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier number (alias a) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + TableJoin diff --git a/parser/testdata/02933_sqid/explain.txt b/parser/testdata/02933_sqid/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02933_sqid/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02934_merge_tree_max_projections/explain.txt b/parser/testdata/02934_merge_tree_max_projections/explain.txt new file mode 100644 index 000000000..3e811f014 --- /dev/null +++ b/parser/testdata/02934_merge_tree_max_projections/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_max_mt_projections_alter (children 1) + Identifier test_max_mt_projections_alter diff --git a/parser/testdata/02935_date_trunc_case_unsensitiveness/explain.txt b/parser/testdata/02935_date_trunc_case_unsensitiveness/explain.txt new file mode 100644 index 000000000..d3654704a --- /dev/null +++ b/parser/testdata/02935_date_trunc_case_unsensitiveness/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function dateTrunc (children 1) + ExpressionList (children 2) + Literal \'DAY\' + Function toDateTime (children 1) + ExpressionList (children 1) + Literal \'2022-03-01 12:55:55\' diff --git a/parser/testdata/02935_format_with_arbitrary_types/explain.txt b/parser/testdata/02935_format_with_arbitrary_types/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02935_format_with_arbitrary_types/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02935_ipv6_bit_operations/metadata.json b/parser/testdata/02935_ipv6_bit_operations/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02935_ipv6_bit_operations/metadata.json +++ b/parser/testdata/02935_ipv6_bit_operations/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02935_ipv6_from_uint128_equality/explain.txt b/parser/testdata/02935_ipv6_from_uint128_equality/explain.txt new file mode 100644 index 000000000..9bbbd1d27 --- /dev/null +++ b/parser/testdata/02935_ipv6_from_uint128_equality/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Function toIPv6 (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Literal \'1512366075204170938810683009357704959\' + Literal \'UInt128\' + Function CAST (children 1) + ExpressionList (children 2) + Literal \'0123:4567:89ab:cdef:8899:aabb:ccdd:eeff\' + Literal \'IPv6\' diff --git a/parser/testdata/02935_ipv6_from_uint128_one/explain.txt b/parser/testdata/02935_ipv6_from_uint128_one/explain.txt new file mode 100644 index 000000000..5978691ec --- /dev/null +++ b/parser/testdata/02935_ipv6_from_uint128_one/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toIPv6 (children 1) + ExpressionList (children 1) + Function toUInt128 (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/02935_ipv6_from_uint128_two/explain.txt b/parser/testdata/02935_ipv6_from_uint128_two/explain.txt new file mode 100644 index 000000000..e6651793b --- /dev/null +++ b/parser/testdata/02935_ipv6_from_uint128_two/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toIPv6 (children 1) + ExpressionList (children 1) + Function toUInt128 (children 1) + ExpressionList (children 1) + Literal UInt64_4335 diff --git a/parser/testdata/02935_ipv6_from_uint128_with_bit_and/explain.txt b/parser/testdata/02935_ipv6_from_uint128_with_bit_and/explain.txt new file mode 100644 index 000000000..19b728201 --- /dev/null +++ b/parser/testdata/02935_ipv6_from_uint128_with_bit_and/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toIPv6 (children 1) + ExpressionList (children 1) + Function bitAnd (children 1) + ExpressionList (children 2) + Function toIPv6 (children 1) + ExpressionList (children 1) + Literal \'ffff:fff3:1fff:2fff:0000:0000:0000:0000\' + Function toIPv6 (children 1) + ExpressionList (children 1) + Literal \'f5f6:ffff:f32f:61ff:0000:0000:0000:0000\' diff --git a/parser/testdata/02935_ipv6_to_and_from_uint128/explain.txt b/parser/testdata/02935_ipv6_to_and_from_uint128/explain.txt new file mode 100644 index 000000000..b18f7f64f --- /dev/null +++ b/parser/testdata/02935_ipv6_to_and_from_uint128/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toIPv6 (children 1) + ExpressionList (children 1) + Function toUInt128 (children 1) + ExpressionList (children 1) + Function toIPv6 (children 1) + ExpressionList (children 1) + Literal \'1234:5678:9abc:def0:fedc:9abc:4321:8765\' diff --git a/parser/testdata/02935_parallel_replicas_settings/explain.txt b/parser/testdata/02935_parallel_replicas_settings/explain.txt new file mode 100644 index 000000000..250a43c87 --- /dev/null +++ b/parser/testdata/02935_parallel_replicas_settings/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_parallel_replicas_settings (children 1) + Identifier test_parallel_replicas_settings diff --git a/parser/testdata/02940_json_array_of_unnamed_tuples_inference/explain.txt b/parser/testdata/02940_json_array_of_unnamed_tuples_inference/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02940_json_array_of_unnamed_tuples_inference/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02940_variant_text_deserialization/explain.txt b/parser/testdata/02940_variant_text_deserialization/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02940_variant_text_deserialization/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02941_any_RESPECT_NULL_sparse_column/explain.txt b/parser/testdata/02941_any_RESPECT_NULL_sparse_column/explain.txt new file mode 100644 index 000000000..c60026360 --- /dev/null +++ b/parser/testdata/02941_any_RESPECT_NULL_sparse_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery data_sparse_column (children 1) + Identifier data_sparse_column diff --git a/parser/testdata/02941_projections_external_aggregation/explain.txt b/parser/testdata/02941_projections_external_aggregation/explain.txt new file mode 100644 index 000000000..b44354554 --- /dev/null +++ b/parser/testdata/02941_projections_external_aggregation/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_proj_external (children 1) + Identifier t_proj_external diff --git a/parser/testdata/02942_variant_cast/explain.txt b/parser/testdata/02942_variant_cast/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02942_variant_cast/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02943_create_query_interpreter_sample_block_fix/explain.txt b/parser/testdata/02943_create_query_interpreter_sample_block_fix/explain.txt new file mode 100644 index 000000000..d4bf1aa3f --- /dev/null +++ b/parser/testdata/02943_create_query_interpreter_sample_block_fix/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_table (children 1) + Identifier test_table diff --git a/parser/testdata/02943_exprs_order_in_group_by_with_rollup/explain.txt b/parser/testdata/02943_exprs_order_in_group_by_with_rollup/explain.txt new file mode 100644 index 000000000..e43bc3d25 --- /dev/null +++ b/parser/testdata/02943_exprs_order_in_group_by_with_rollup/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_group_by_with_rollup_order (children 1) + Identifier test_group_by_with_rollup_order diff --git a/parser/testdata/02943_order_by_all/explain.txt b/parser/testdata/02943_order_by_all/explain.txt new file mode 100644 index 000000000..024ea760c --- /dev/null +++ b/parser/testdata/02943_order_by_all/explain.txt @@ -0,0 +1,2 @@ +DropQuery order_by_all (children 1) + Identifier order_by_all diff --git a/parser/testdata/02943_positional_arguments_bugs/explain.txt b/parser/testdata/02943_positional_arguments_bugs/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/02943_positional_arguments_bugs/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/02943_tokenbf_and_ngrambf_indexes_support_match_function/explain.txt b/parser/testdata/02943_tokenbf_and_ngrambf_indexes_support_match_function/explain.txt new file mode 100644 index 000000000..1482ebb7a --- /dev/null +++ b/parser/testdata/02943_tokenbf_and_ngrambf_indexes_support_match_function/explain.txt @@ -0,0 +1,2 @@ +DropQuery tokenbf_tab (children 1) + Identifier tokenbf_tab diff --git a/parser/testdata/02943_use_full_text_skip_index_with_has_any/explain.txt b/parser/testdata/02943_use_full_text_skip_index_with_has_any/explain.txt new file mode 100644 index 000000000..42842490f --- /dev/null +++ b/parser/testdata/02943_use_full_text_skip_index_with_has_any/explain.txt @@ -0,0 +1,2 @@ +DropQuery tokenbf_v1_hasany_test (children 1) + Identifier tokenbf_v1_hasany_test diff --git a/parser/testdata/02943_variant_element/explain.txt b/parser/testdata/02943_variant_element/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02943_variant_element/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02944_variant_as_common_type_analyzer/explain.txt b/parser/testdata/02944_variant_as_common_type_analyzer/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02944_variant_as_common_type_analyzer/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02945_blake3_msan/explain.txt b/parser/testdata/02945_blake3_msan/explain.txt new file mode 100644 index 000000000..762be24c1 --- /dev/null +++ b/parser/testdata/02945_blake3_msan/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function hex (children 1) + ExpressionList (children 1) + Function BLAKE3 (children 1) + ExpressionList (children 1) + Function BLAKE3 (children 1) + ExpressionList (children 1) + Literal \'a\' diff --git a/parser/testdata/02946_literal_alias_misclassification/explain.txt b/parser/testdata/02946_literal_alias_misclassification/explain.txt new file mode 100644 index 000000000..28803485c --- /dev/null +++ b/parser/testdata/02946_literal_alias_misclassification/explain.txt @@ -0,0 +1,2 @@ +DropQuery literal_alias_misclassification (children 1) + Identifier literal_alias_misclassification diff --git a/parser/testdata/02946_materialize_column_must_not_override_past_values/explain.txt b/parser/testdata/02946_materialize_column_must_not_override_past_values/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02946_materialize_column_must_not_override_past_values/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02946_merge_tree_final_split_ranges_by_primary_key/explain.txt b/parser/testdata/02946_merge_tree_final_split_ranges_by_primary_key/explain.txt new file mode 100644 index 000000000..d4bf1aa3f --- /dev/null +++ b/parser/testdata/02946_merge_tree_final_split_ranges_by_primary_key/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_table (children 1) + Identifier test_table diff --git a/parser/testdata/02946_parallel_replicas_distributed/explain.txt b/parser/testdata/02946_parallel_replicas_distributed/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/02946_parallel_replicas_distributed/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/02946_parallel_replicas_force_primary_key/explain.txt b/parser/testdata/02946_parallel_replicas_force_primary_key/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/02946_parallel_replicas_force_primary_key/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/02947_dropped_tables_parts/explain.txt b/parser/testdata/02947_dropped_tables_parts/explain.txt new file mode 100644 index 000000000..bf4757d9f --- /dev/null +++ b/parser/testdata/02947_dropped_tables_parts/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02947_table_1 (children 1) + Identifier 02947_table_1 diff --git a/parser/testdata/02947_merge_tree_index_table_1/explain.txt b/parser/testdata/02947_merge_tree_index_table_1/explain.txt new file mode 100644 index 000000000..2cf6c54c7 --- /dev/null +++ b/parser/testdata/02947_merge_tree_index_table_1/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_merge_tree_index (children 1) + Identifier t_merge_tree_index diff --git a/parser/testdata/02947_merge_tree_index_table_2/explain.txt b/parser/testdata/02947_merge_tree_index_table_2/explain.txt new file mode 100644 index 000000000..2cf6c54c7 --- /dev/null +++ b/parser/testdata/02947_merge_tree_index_table_2/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_merge_tree_index (children 1) + Identifier t_merge_tree_index diff --git a/parser/testdata/02947_merge_tree_index_table_4/explain.txt b/parser/testdata/02947_merge_tree_index_table_4/explain.txt new file mode 100644 index 000000000..2cf6c54c7 --- /dev/null +++ b/parser/testdata/02947_merge_tree_index_table_4/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_merge_tree_index (children 1) + Identifier t_merge_tree_index diff --git a/parser/testdata/02947_parallel_replicas_remote/explain.txt b/parser/testdata/02947_parallel_replicas_remote/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/02947_parallel_replicas_remote/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/02949_parallel_replicas_in_subquery/explain.txt b/parser/testdata/02949_parallel_replicas_in_subquery/explain.txt new file mode 100644 index 000000000..008b2642b --- /dev/null +++ b/parser/testdata/02949_parallel_replicas_in_subquery/explain.txt @@ -0,0 +1,2 @@ +DropQuery merge_tree_in_subqueries (children 1) + Identifier merge_tree_in_subqueries diff --git a/parser/testdata/02949_parallel_replicas_scalar_subquery_big_integer/explain.txt b/parser/testdata/02949_parallel_replicas_scalar_subquery_big_integer/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/02949_parallel_replicas_scalar_subquery_big_integer/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/02949_ttl_group_by_bug/explain.txt b/parser/testdata/02949_ttl_group_by_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02949_ttl_group_by_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02950_dictionary_short_circuit/explain.txt b/parser/testdata/02950_dictionary_short_circuit/explain.txt new file mode 100644 index 000000000..3985e7297 --- /dev/null +++ b/parser/testdata/02950_dictionary_short_circuit/explain.txt @@ -0,0 +1,2 @@ +DropQuery dictionary_source_table (children 1) + Identifier dictionary_source_table diff --git a/parser/testdata/02950_parallel_replicas_used_count/explain.txt b/parser/testdata/02950_parallel_replicas_used_count/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/02950_parallel_replicas_used_count/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/02950_part_log_bytes_uncompressed/metadata.json b/parser/testdata/02950_part_log_bytes_uncompressed/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02950_part_log_bytes_uncompressed/metadata.json +++ b/parser/testdata/02950_part_log_bytes_uncompressed/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02950_part_offset_as_primary_key/explain.txt b/parser/testdata/02950_part_offset_as_primary_key/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02950_part_offset_as_primary_key/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02950_reading_array_tuple_subcolumns/explain.txt b/parser/testdata/02950_reading_array_tuple_subcolumns/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/02950_reading_array_tuple_subcolumns/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/02952_conjunction_optimization/explain.txt b/parser/testdata/02952_conjunction_optimization/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02952_conjunction_optimization/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02953_slow_create_view/explain.txt b/parser/testdata/02953_slow_create_view/explain.txt new file mode 100644 index 000000000..7482c0ef8 --- /dev/null +++ b/parser/testdata/02953_slow_create_view/explain.txt @@ -0,0 +1,2 @@ +DropQuery slow_view1 (children 1) + Identifier slow_view1 diff --git a/parser/testdata/02954_analyzer_fuzz_i57086/metadata.json b/parser/testdata/02954_analyzer_fuzz_i57086/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02954_analyzer_fuzz_i57086/metadata.json +++ b/parser/testdata/02954_analyzer_fuzz_i57086/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02955_avro_format_zstd_encode_support/explain.txt b/parser/testdata/02955_avro_format_zstd_encode_support/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/02955_avro_format_zstd_encode_support/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/02955_sparkBar_alias_sparkbar/explain.txt b/parser/testdata/02955_sparkBar_alias_sparkbar/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02955_sparkBar_alias_sparkbar/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02956_fix_to_start_of_milli_microsecond/explain.txt b/parser/testdata/02956_fix_to_start_of_milli_microsecond/explain.txt new file mode 100644 index 000000000..2b68de76a --- /dev/null +++ b/parser/testdata/02956_fix_to_start_of_milli_microsecond/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toStartOfInterval (children 1) + ExpressionList (children 2) + Function toDateTime64 (children 1) + ExpressionList (children 2) + Literal \'2023-10-09 10:11:12.000999\' + Literal UInt64_6 + Function toIntervalMillisecond (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/02956_format_constexpr/explain.txt b/parser/testdata/02956_format_constexpr/explain.txt new file mode 100644 index 000000000..8c57877c9 --- /dev/null +++ b/parser/testdata/02956_format_constexpr/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function isConstant (children 1) + ExpressionList (children 1) + Function format (children 1) + ExpressionList (children 2) + Literal \'{}, world\' + Literal \'Hello\' diff --git a/parser/testdata/02956_rocksdb_with_ttl/explain.txt b/parser/testdata/02956_rocksdb_with_ttl/explain.txt new file mode 100644 index 000000000..a4e252a15 --- /dev/null +++ b/parser/testdata/02956_rocksdb_with_ttl/explain.txt @@ -0,0 +1,13 @@ +CreateQuery dict_with_ttl (children 3) + Identifier dict_with_ttl + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration key (children 1) + DataType UInt64 + ColumnDeclaration value (children 1) + DataType String + Storage definition (children 2) + Function EmbeddedRocksDB (children 1) + ExpressionList (children 1) + Literal UInt64_2 + Identifier key diff --git a/parser/testdata/02958_transform_enum/explain.txt b/parser/testdata/02958_transform_enum/explain.txt new file mode 100644 index 000000000..1d4fb7243 --- /dev/null +++ b/parser/testdata/02958_transform_enum/explain.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function CAST (alias x) (children 1) + ExpressionList (children 2) + Function arrayJoin (children 1) + ExpressionList (children 1) + Literal Array_[\'Hello\', \'world\'] + Literal \'Enum(\\\'Hello\\\', \\\'world\\\')\' + ExpressionList (children 2) + Identifier x + Function transform (children 1) + ExpressionList (children 4) + Identifier x + Literal Array_[\'Hello\', \'world\'] + Literal Array_[UInt64_123, UInt64_456] + Literal UInt64_0 diff --git a/parser/testdata/02959_system_database_engines/explain.txt b/parser/testdata/02959_system_database_engines/explain.txt new file mode 100644 index 000000000..88474eb0c --- /dev/null +++ b/parser/testdata/02959_system_database_engines/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.database_engines + Function in (children 1) + ExpressionList (children 2) + Identifier name + Literal Tuple_(\'Atomic\', \'Lazy\', \'Ordinary\') + ExpressionList (children 1) + OrderByElement (children 1) + Identifier name diff --git a/parser/testdata/02960_alter_table_part_query_parameter/explain.txt b/parser/testdata/02960_alter_table_part_query_parameter/explain.txt new file mode 100644 index 000000000..5092c825d --- /dev/null +++ b/parser/testdata/02960_alter_table_part_query_parameter/explain.txt @@ -0,0 +1,2 @@ +DropQuery data (children 1) + Identifier data diff --git a/parser/testdata/02960_partition_by_udf/explain.txt b/parser/testdata/02960_partition_by_udf/explain.txt new file mode 100644 index 000000000..a8a51f196 --- /dev/null +++ b/parser/testdata/02960_partition_by_udf/explain.txt @@ -0,0 +1 @@ +DropFunctionQuery diff --git a/parser/testdata/02960_validate_database_engines/explain.txt b/parser/testdata/02960_validate_database_engines/explain.txt new file mode 100644 index 000000000..f990e07fd --- /dev/null +++ b/parser/testdata/02960_validate_database_engines/explain.txt @@ -0,0 +1,2 @@ +DropQuery test2960_valid_database_engine (children 1) + Identifier test2960_valid_database_engine diff --git a/parser/testdata/02961_analyzer_low_cardinality_fuzzer/explain.txt b/parser/testdata/02961_analyzer_low_cardinality_fuzzer/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02961_analyzer_low_cardinality_fuzzer/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02961_drop_tables/explain.txt b/parser/testdata/02961_drop_tables/explain.txt new file mode 100644 index 000000000..28b283528 --- /dev/null +++ b/parser/testdata/02961_drop_tables/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02961_db1 (children 1) + Identifier 02961_db1 diff --git a/parser/testdata/02961_higher_order_constant_expressions/explain.txt b/parser/testdata/02961_higher_order_constant_expressions/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02961_higher_order_constant_expressions/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02961_read_bool_as_string_json/explain.txt b/parser/testdata/02961_read_bool_as_string_json/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02961_read_bool_as_string_json/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02961_sumMapFiltered_keepKey/explain.txt b/parser/testdata/02961_sumMapFiltered_keepKey/explain.txt new file mode 100644 index 000000000..90d9b838b --- /dev/null +++ b/parser/testdata/02961_sumMapFiltered_keepKey/explain.txt @@ -0,0 +1,32 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function sumMapFiltered (children 2) + ExpressionList (children 2) + Identifier a + Identifier b + ExpressionList (children 1) + Literal Array_[UInt64_1, UInt64_2, UInt64_3] + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function values (children 1) + ExpressionList (children 5) + Literal \'a Array(Int64), b Array(Int64)\' + Function tuple (children 1) + ExpressionList (children 2) + Literal Array_[UInt64_1, UInt64_2, UInt64_3] + Literal Array_[UInt64_10, UInt64_10, UInt64_10] + Function tuple (children 1) + ExpressionList (children 2) + Literal Array_[UInt64_3, UInt64_4, UInt64_5] + Literal Array_[UInt64_10, UInt64_10, UInt64_10] + Function tuple (children 1) + ExpressionList (children 2) + Literal Array_[UInt64_4, UInt64_5, UInt64_6] + Literal Array_[UInt64_10, UInt64_10, UInt64_10] + Function tuple (children 1) + ExpressionList (children 2) + Literal Array_[UInt64_6, UInt64_7, UInt64_8] + Literal Array_[UInt64_10, UInt64_10, UInt64_10] diff --git a/parser/testdata/02962_analyzer_const_in_count_distinct/explain.txt b/parser/testdata/02962_analyzer_const_in_count_distinct/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02962_analyzer_const_in_count_distinct/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02962_analyzer_constant_set/explain.txt b/parser/testdata/02962_analyzer_constant_set/explain.txt new file mode 100644 index 000000000..32a8b87df --- /dev/null +++ b/parser/testdata/02962_analyzer_constant_set/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_parallel_index (children 1) + Identifier test_parallel_index diff --git a/parser/testdata/02962_analyzer_resolve_group_by_on_shards/explain.txt b/parser/testdata/02962_analyzer_resolve_group_by_on_shards/explain.txt new file mode 100644 index 000000000..88dce13dc --- /dev/null +++ b/parser/testdata/02962_analyzer_resolve_group_by_on_shards/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function and (children 1) + ExpressionList (children 2) + Literal NULL + Function and (children 1) + ExpressionList (children 2) + Function toDate (children 1) + ExpressionList (children 2) + Literal Int64_-2147483647 + Literal NULL + Literal NULL diff --git a/parser/testdata/02962_indexHint_rpn_construction/explain.txt b/parser/testdata/02962_indexHint_rpn_construction/explain.txt new file mode 100644 index 000000000..220359ffa --- /dev/null +++ b/parser/testdata/02962_indexHint_rpn_construction/explain.txt @@ -0,0 +1,2 @@ +CreateQuery tab (children 1) + Identifier tab diff --git a/parser/testdata/02962_join_using_bug_57894/explain.txt b/parser/testdata/02962_join_using_bug_57894/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/02962_join_using_bug_57894/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/02962_max_joined_block_rows/explain.txt b/parser/testdata/02962_max_joined_block_rows/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/02962_max_joined_block_rows/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/02962_parallel_window_functions_different_partitioning/explain.txt b/parser/testdata/02962_parallel_window_functions_different_partitioning/explain.txt new file mode 100644 index 000000000..14ba7e27f --- /dev/null +++ b/parser/testdata/02962_parallel_window_functions_different_partitioning/explain.txt @@ -0,0 +1,2 @@ +CreateQuery empsalary (children 1) + Identifier empsalary diff --git a/parser/testdata/02963_invalid_identifier/explain.txt b/parser/testdata/02963_invalid_identifier/explain.txt new file mode 100644 index 000000000..513fedd2b --- /dev/null +++ b/parser/testdata/02963_invalid_identifier/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + QualifiedAsterisk (children 1) + Identifier t.t.t + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.tables + Function equals (children 1) + ExpressionList (children 2) + Identifier database + Function currentDatabase (children 1) + ExpressionList +The query succeeded but the server error '703' was expected (query: EXPLAIN AST SELECT t.t.t.* FROM system.tables WHERE database = currentDatabase(); --{serverError INVALID_IDENTIFIER}). diff --git a/parser/testdata/02963_msan_agg_addBatchLookupTable8/explain.txt b/parser/testdata/02963_msan_agg_addBatchLookupTable8/explain.txt new file mode 100644 index 000000000..350c531e4 --- /dev/null +++ b/parser/testdata/02963_msan_agg_addBatchLookupTable8/explain.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Function modulo (alias even) (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + Function aggThrow (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + ExpressionList (children 1) + Identifier even +The query succeeded but the server error '503' was expected (query: EXPLAIN AST SELECT number % 2 AS even, aggThrow(number) FROM numbers(10) GROUP BY even; -- { serverError AGGREGATE_FUNCTION_THROW}). diff --git a/parser/testdata/02963_single_value_destructor/explain.txt b/parser/testdata/02963_single_value_destructor/explain.txt new file mode 100644 index 000000000..20a99661f --- /dev/null +++ b/parser/testdata/02963_single_value_destructor/explain.txt @@ -0,0 +1,21 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function argMax (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 2) + Identifier number + Identifier number + Function tuple (children 1) + ExpressionList (children 2) + Identifier number + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_100000 + Identifier Null diff --git a/parser/testdata/02963_test_flexible_disk_configuration/explain.txt b/parser/testdata/02963_test_flexible_disk_configuration/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/02963_test_flexible_disk_configuration/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/02965_projection_with_partition_pruning/explain.txt b/parser/testdata/02965_projection_with_partition_pruning/explain.txt new file mode 100644 index 000000000..3b8a0aad6 --- /dev/null +++ b/parser/testdata/02965_projection_with_partition_pruning/explain.txt @@ -0,0 +1,2 @@ +DropQuery a (children 1) + Identifier a diff --git a/parser/testdata/02966_float32_promotion/explain.txt b/parser/testdata/02966_float32_promotion/explain.txt new file mode 100644 index 000000000..4cf1c7696 --- /dev/null +++ b/parser/testdata/02966_float32_promotion/explain.txt @@ -0,0 +1,2 @@ +DropQuery f32_table (children 1) + Identifier f32_table diff --git a/parser/testdata/02966_topk_counts_approx_count_sum/metadata.json b/parser/testdata/02966_topk_counts_approx_count_sum/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02966_topk_counts_approx_count_sum/metadata.json +++ b/parser/testdata/02966_topk_counts_approx_count_sum/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02967_analyzer_fuzz/metadata.json b/parser/testdata/02967_analyzer_fuzz/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02967_analyzer_fuzz/metadata.json +++ b/parser/testdata/02967_analyzer_fuzz/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02967_fuzz_bad_cast/explain.txt b/parser/testdata/02967_fuzz_bad_cast/explain.txt new file mode 100644 index 000000000..184aa3af3 --- /dev/null +++ b/parser/testdata/02967_fuzz_bad_cast/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1__fuzz_4 (children 1) + Identifier t1__fuzz_4 diff --git a/parser/testdata/02967_index_hint_crash/explain.txt b/parser/testdata/02967_index_hint_crash/explain.txt new file mode 100644 index 000000000..220359ffa --- /dev/null +++ b/parser/testdata/02967_index_hint_crash/explain.txt @@ -0,0 +1,2 @@ +CreateQuery tab (children 1) + Identifier tab diff --git a/parser/testdata/02968_adaptive_async_insert_timeout/explain.txt b/parser/testdata/02968_adaptive_async_insert_timeout/explain.txt new file mode 100644 index 000000000..5cb84d174 --- /dev/null +++ b/parser/testdata/02968_adaptive_async_insert_timeout/explain.txt @@ -0,0 +1,2 @@ +DropQuery async_insert_mt_test (children 1) + Identifier async_insert_mt_test diff --git a/parser/testdata/02968_analyzer_join_column_not_found/explain.txt b/parser/testdata/02968_analyzer_join_column_not_found/explain.txt new file mode 100644 index 000000000..c63602cbf --- /dev/null +++ b/parser/testdata/02968_analyzer_join_column_not_found/explain.txt @@ -0,0 +1,2 @@ +DropQuery im (children 1) + Identifier im diff --git a/parser/testdata/02968_full_sorting_join_fuzz/explain.txt b/parser/testdata/02968_full_sorting_join_fuzz/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02968_full_sorting_join_fuzz/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02968_projection_merge/explain.txt b/parser/testdata/02968_projection_merge/explain.txt new file mode 100644 index 000000000..adea2e5f7 --- /dev/null +++ b/parser/testdata/02968_projection_merge/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'ReplacingMergeTree\' diff --git a/parser/testdata/02968_sumMap_with_nan/explain.txt b/parser/testdata/02968_sumMap_with_nan/explain.txt new file mode 100644 index 000000000..6977f4878 --- /dev/null +++ b/parser/testdata/02968_sumMap_with_nan/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function sumMapFiltered (children 2) + ExpressionList (children 2) + Function array (children 1) + ExpressionList (children 1) + Identifier x + Function array (children 1) + ExpressionList (children 1) + Identifier y + ExpressionList (children 1) + Literal Array_[Float64_6.7] diff --git a/parser/testdata/02968_url_args/explain.txt b/parser/testdata/02968_url_args/explain.txt new file mode 100644 index 000000000..7dfc6c4da --- /dev/null +++ b/parser/testdata/02968_url_args/explain.txt @@ -0,0 +1,21 @@ +CreateQuery a (children 3) + Identifier a + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration x (children 1) + DataType Int64 + Storage definition (children 1) + Function URL (children 1) + ExpressionList (children 3) + Literal \'https://example.com/\' + Identifier CSV + Function headers (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Literal \'foo\' + Literal \'bar\' + Function equals (children 1) + ExpressionList (children 2) + Literal \'a\' + Literal \'13\' diff --git a/parser/testdata/02969_analyzer_eliminate_injective_functions/explain.txt b/parser/testdata/02969_analyzer_eliminate_injective_functions/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02969_analyzer_eliminate_injective_functions/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02969_functions_to_subcolumns_if_null/explain.txt b/parser/testdata/02969_functions_to_subcolumns_if_null/explain.txt new file mode 100644 index 000000000..c1c68bcb7 --- /dev/null +++ b/parser/testdata/02969_functions_to_subcolumns_if_null/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_subcolumns_if (children 1) + Identifier t_subcolumns_if diff --git a/parser/testdata/02969_mysql_cast_type_aliases/explain.txt b/parser/testdata/02969_mysql_cast_type_aliases/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02969_mysql_cast_type_aliases/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02970_generate_series/explain.txt b/parser/testdata/02970_generate_series/explain.txt new file mode 100644 index 000000000..a16defbf3 --- /dev/null +++ b/parser/testdata/02970_generate_series/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function generate_series (children 1) + ExpressionList (children 2) + Literal UInt64_5 + Literal UInt64_4 diff --git a/parser/testdata/02970_visible_width_behavior/explain.txt b/parser/testdata/02970_visible_width_behavior/explain.txt new file mode 100644 index 000000000..a2f840485 --- /dev/null +++ b/parser/testdata/02970_visible_width_behavior/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function visibleWidth (children 1) + ExpressionList (children 1) + Literal \'ClickHouse是一个很好的数æ®åº“\' diff --git a/parser/testdata/02971_functions_to_subcolumns_column_names/explain.txt b/parser/testdata/02971_functions_to_subcolumns_column_names/explain.txt new file mode 100644 index 000000000..4f765b2fe --- /dev/null +++ b/parser/testdata/02971_functions_to_subcolumns_column_names/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_column_names (children 1) + Identifier t_column_names diff --git a/parser/testdata/02971_functions_to_subcolumns_map/explain.txt b/parser/testdata/02971_functions_to_subcolumns_map/explain.txt new file mode 100644 index 000000000..dcccab599 --- /dev/null +++ b/parser/testdata/02971_functions_to_subcolumns_map/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_func_to_subcolumns_map (children 1) + Identifier t_func_to_subcolumns_map diff --git a/parser/testdata/02971_functions_to_subcolumns_variant/explain.txt b/parser/testdata/02971_functions_to_subcolumns_variant/explain.txt new file mode 100644 index 000000000..58186d6f8 --- /dev/null +++ b/parser/testdata/02971_functions_to_subcolumns_variant/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_func_to_subcolumns_variant (children 1) + Identifier t_func_to_subcolumns_variant diff --git a/parser/testdata/02971_limit_by_distributed/explain.txt b/parser/testdata/02971_limit_by_distributed/explain.txt new file mode 100644 index 000000000..10f4f3a42 --- /dev/null +++ b/parser/testdata/02971_limit_by_distributed/explain.txt @@ -0,0 +1,2 @@ +DropQuery tlb (children 1) + Identifier tlb diff --git a/parser/testdata/02972_insert_deduplication_token_hierarchical_inserts/explain.txt b/parser/testdata/02972_insert_deduplication_token_hierarchical_inserts/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02972_insert_deduplication_token_hierarchical_inserts/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02972_insert_deduplication_token_hierarchical_inserts_views/explain.txt b/parser/testdata/02972_insert_deduplication_token_hierarchical_inserts_views/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02972_insert_deduplication_token_hierarchical_inserts_views/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02972_parallel_replicas_cte/explain.txt b/parser/testdata/02972_parallel_replicas_cte/explain.txt new file mode 100644 index 000000000..a9c1bbfaf --- /dev/null +++ b/parser/testdata/02972_parallel_replicas_cte/explain.txt @@ -0,0 +1,2 @@ +DropQuery pr_1 (children 1) + Identifier pr_1 diff --git a/parser/testdata/02972_to_string_nullable_timezone/explain.txt b/parser/testdata/02972_to_string_nullable_timezone/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02972_to_string_nullable_timezone/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02973_analyzer_join_use_nulls_column_not_found/explain.txt b/parser/testdata/02973_analyzer_join_use_nulls_column_not_found/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02973_analyzer_join_use_nulls_column_not_found/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02973_block_number_sparse_serialization_and_mutation/explain.txt b/parser/testdata/02973_block_number_sparse_serialization_and_mutation/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02973_block_number_sparse_serialization_and_mutation/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02973_dictionary_table_exception_fix/explain.txt b/parser/testdata/02973_dictionary_table_exception_fix/explain.txt new file mode 100644 index 000000000..9417b054e --- /dev/null +++ b/parser/testdata/02973_dictionary_table_exception_fix/explain.txt @@ -0,0 +1,9 @@ +CreateQuery test_table (children 3) + Identifier test_table + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration i (children 1) + DataType Int64 + Storage definition (children 2) + Function MergeTree + Identifier i diff --git a/parser/testdata/02974_analyzer_array_join_subcolumn/explain.txt b/parser/testdata/02974_analyzer_array_join_subcolumn/explain.txt new file mode 100644 index 000000000..91643e923 --- /dev/null +++ b/parser/testdata/02974_analyzer_array_join_subcolumn/explain.txt @@ -0,0 +1,2 @@ +DropQuery t2 (children 1) + Identifier t2 diff --git a/parser/testdata/02974_if_with_map/explain.txt b/parser/testdata/02974_if_with_map/explain.txt new file mode 100644 index 000000000..5f926f015 --- /dev/null +++ b/parser/testdata/02974_if_with_map/explain.txt @@ -0,0 +1,31 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function if (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + Literal UInt64_0 + Function map (children 1) + ExpressionList (children 4) + Literal UInt64_1 + Literal UInt64_2 + Literal UInt64_3 + Literal UInt64_4 + Function map (children 1) + ExpressionList (children 4) + Literal UInt64_3 + Literal UInt64_4 + Literal UInt64_5 + Literal UInt64_6 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_2 diff --git a/parser/testdata/02975_intdiv_with_decimal/explain.txt b/parser/testdata/02975_intdiv_with_decimal/explain.txt new file mode 100644 index 000000000..41f3db217 --- /dev/null +++ b/parser/testdata/02975_intdiv_with_decimal/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function intDiv (children 1) + ExpressionList (children 2) + Literal UInt64_4 + Literal UInt64_2 diff --git a/parser/testdata/02975_system_zookeeper_retries/explain.txt b/parser/testdata/02975_system_zookeeper_retries/explain.txt new file mode 100644 index 000000000..adaa68ebd --- /dev/null +++ b/parser/testdata/02975_system_zookeeper_retries/explain.txt @@ -0,0 +1,6 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Identifier path + Identifier name diff --git a/parser/testdata/02976_system_zookeeper_filters/explain.txt b/parser/testdata/02976_system_zookeeper_filters/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02976_system_zookeeper_filters/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02977_csv_format_support_tuple/explain.txt b/parser/testdata/02977_csv_format_support_tuple/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02977_csv_format_support_tuple/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02981_nested_bad_types/explain.txt b/parser/testdata/02981_nested_bad_types/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02981_nested_bad_types/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02981_translate_fixedstring/explain.txt b/parser/testdata/02981_translate_fixedstring/explain.txt new file mode 100644 index 000000000..b8c9588c7 --- /dev/null +++ b/parser/testdata/02981_translate_fixedstring/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function translate (children 1) + ExpressionList (children 3) + Function CAST (children 1) + ExpressionList (children 2) + Literal \'aaa\' + Literal \'FixedString(10)\' + Literal \'a\' + Literal \'A\' diff --git a/parser/testdata/02981_variant_type_function/explain.txt b/parser/testdata/02981_variant_type_function/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02981_variant_type_function/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02981_vertical_merges_memory_usage/explain.txt b/parser/testdata/02981_vertical_merges_memory_usage/explain.txt new file mode 100644 index 000000000..279060f9a --- /dev/null +++ b/parser/testdata/02981_vertical_merges_memory_usage/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_vertical_merge_memory (children 1) + Identifier t_vertical_merge_memory diff --git a/parser/testdata/02982_changeDate/explain.txt b/parser/testdata/02982_changeDate/explain.txt new file mode 100644 index 000000000..e3f5a0c4d --- /dev/null +++ b/parser/testdata/02982_changeDate/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'Negative tests\' diff --git a/parser/testdata/02982_create_mv_inner_extra/explain.txt b/parser/testdata/02982_create_mv_inner_extra/explain.txt new file mode 100644 index 000000000..5092c825d --- /dev/null +++ b/parser/testdata/02982_create_mv_inner_extra/explain.txt @@ -0,0 +1,2 @@ +DropQuery data (children 1) + Identifier data diff --git a/parser/testdata/02982_dont_infer_exponent_floats/explain.txt b/parser/testdata/02982_dont_infer_exponent_floats/explain.txt new file mode 100644 index 000000000..322519b02 --- /dev/null +++ b/parser/testdata/02982_dont_infer_exponent_floats/explain.txt @@ -0,0 +1,7 @@ +DescribeQuery (children 2) + TableExpression (children 1) + Function format (children 1) + ExpressionList (children 2) + Identifier CSV + Literal \'1E20\\n1.1E20\' + Set diff --git a/parser/testdata/02982_minmax_nan_null_order/explain.txt b/parser/testdata/02982_minmax_nan_null_order/explain.txt new file mode 100644 index 000000000..afcc2ce34 --- /dev/null +++ b/parser/testdata/02982_minmax_nan_null_order/explain.txt @@ -0,0 +1,24 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function min (children 1) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList (children 2) + Identifier c1 + Identifier c2 + Function max (children 1) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList (children 2) + Identifier c1 + Identifier c2 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function values (children 1) + ExpressionList (children 3) + Literal Tuple_(Float64_nan, Float64_0) + Literal Tuple_(Float64_0, Float64_0) + Literal Tuple_(Float64_5, Float64_5) diff --git a/parser/testdata/02982_parallel_replicas_unexpected_cluster/explain.txt b/parser/testdata/02982_parallel_replicas_unexpected_cluster/explain.txt new file mode 100644 index 000000000..926016103 --- /dev/null +++ b/parser/testdata/02982_parallel_replicas_unexpected_cluster/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_unexpected_cluster (children 1) + Identifier test_unexpected_cluster diff --git a/parser/testdata/02982_unambiguous_alter_commands/explain.txt b/parser/testdata/02982_unambiguous_alter_commands/explain.txt new file mode 100644 index 000000000..fb8486b60 --- /dev/null +++ b/parser/testdata/02982_unambiguous_alter_commands/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'--- Alter commands in parens\' diff --git a/parser/testdata/02983_const_sharding_key/explain.txt b/parser/testdata/02983_const_sharding_key/explain.txt new file mode 100644 index 000000000..7e5182169 --- /dev/null +++ b/parser/testdata/02983_const_sharding_key/explain.txt @@ -0,0 +1,2 @@ +DropQuery shard_0 (children 1) + Identifier shard_0 diff --git a/parser/testdata/02983_empty_map/explain.txt b/parser/testdata/02983_empty_map/explain.txt new file mode 100644 index 000000000..d4f86a64d --- /dev/null +++ b/parser/testdata/02983_empty_map/explain.txt @@ -0,0 +1,2 @@ +CreateQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/02983_empty_map_hasToken/explain.txt b/parser/testdata/02983_empty_map_hasToken/explain.txt new file mode 100644 index 000000000..2dc2d2a36 --- /dev/null +++ b/parser/testdata/02983_empty_map_hasToken/explain.txt @@ -0,0 +1,2 @@ +CreateQuery test (children 1) + Identifier test diff --git a/parser/testdata/02984_topk_empty_merge/explain.txt b/parser/testdata/02984_topk_empty_merge/explain.txt new file mode 100644 index 000000000..8af349aa3 --- /dev/null +++ b/parser/testdata/02984_topk_empty_merge/explain.txt @@ -0,0 +1,28 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function topK (children 1) + ExpressionList (children 1) + Literal \'102.4\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.0.0.{1,2}\' + Function view (children 1) + ExpressionList (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Literal NULL + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.one + Function equals (children 1) + ExpressionList (children 2) + Identifier dummy + Literal UInt64_1 diff --git a/parser/testdata/02985_dialects_with_distributed_tables/explain.txt b/parser/testdata/02985_dialects_with_distributed_tables/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02985_dialects_with_distributed_tables/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02985_if_over_big_int_decimal/explain.txt b/parser/testdata/02985_if_over_big_int_decimal/explain.txt new file mode 100644 index 000000000..48b6e8ebc --- /dev/null +++ b/parser/testdata/02985_if_over_big_int_decimal/explain.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function sumIf (children 1) + ExpressionList (children 2) + Function CAST (children 1) + ExpressionList (children 2) + Identifier number + Literal \'Int128\' + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 + Literal UInt64_0 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1000 diff --git a/parser/testdata/02985_minmax_index_aggregate_function/explain.txt b/parser/testdata/02985_minmax_index_aggregate_function/explain.txt new file mode 100644 index 000000000..acf26aace --- /dev/null +++ b/parser/testdata/02985_minmax_index_aggregate_function/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_index_agg_func (children 1) + Identifier t_index_agg_func diff --git a/parser/testdata/02985_shard_query_start_time/explain.txt b/parser/testdata/02985_shard_query_start_time/explain.txt new file mode 100644 index 000000000..bd586bba8 --- /dev/null +++ b/parser/testdata/02985_shard_query_start_time/explain.txt @@ -0,0 +1,2 @@ +DropQuery sharded_table (children 1) + Identifier sharded_table diff --git a/parser/testdata/02986_leftpad_fixedstring/explain.txt b/parser/testdata/02986_leftpad_fixedstring/explain.txt new file mode 100644 index 000000000..bb8fd5993 --- /dev/null +++ b/parser/testdata/02986_leftpad_fixedstring/explain.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function leftPad (children 1) + ExpressionList (children 2) + Function toFixedString (children 1) + ExpressionList (children 2) + Literal \'abc\' + Literal UInt64_3 + Literal UInt64_0 + Function leftPad (children 1) + ExpressionList (children 2) + Literal \'abc\' + Function CAST (children 1) + ExpressionList (children 2) + Literal \'0\' + Literal \'Int32\' diff --git a/parser/testdata/02987_group_array_intersect/explain.txt b/parser/testdata/02987_group_array_intersect/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02987_group_array_intersect/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02987_logical_optimizer_pass_lowcardinality/explain.txt b/parser/testdata/02987_logical_optimizer_pass_lowcardinality/explain.txt new file mode 100644 index 000000000..4814b941a --- /dev/null +++ b/parser/testdata/02987_logical_optimizer_pass_lowcardinality/explain.txt @@ -0,0 +1,11 @@ +CreateQuery 02987_logical_optimizer_table (children 3) + Identifier 02987_logical_optimizer_table + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration key (children 1) + DataType Int + ColumnDeclaration value (children 1) + DataType Int + Storage definition (children 1) + Function Memory (children 1) + ExpressionList diff --git a/parser/testdata/02988_join_using_prewhere_pushdown/explain.txt b/parser/testdata/02988_join_using_prewhere_pushdown/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/02988_join_using_prewhere_pushdown/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/02988_ordinary_database_warning/explain.txt b/parser/testdata/02988_ordinary_database_warning/explain.txt new file mode 100644 index 000000000..c4b79e3ca --- /dev/null +++ b/parser/testdata/02988_ordinary_database_warning/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02988_ordinary (children 1) + Identifier 02988_ordinary diff --git a/parser/testdata/02989_group_by_tuple/explain.txt b/parser/testdata/02989_group_by_tuple/explain.txt new file mode 100644 index 000000000..d29ede942 --- /dev/null +++ b/parser/testdata/02989_group_by_tuple/explain.txt @@ -0,0 +1,22 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_3 + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList (children 2) + Identifier number + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier number diff --git a/parser/testdata/02989_join_using_parent_scope/explain.txt b/parser/testdata/02989_join_using_parent_scope/explain.txt new file mode 100644 index 000000000..b4f8caf1f --- /dev/null +++ b/parser/testdata/02989_join_using_parent_scope/explain.txt @@ -0,0 +1,2 @@ +DropQuery tabc (children 1) + Identifier tabc diff --git a/parser/testdata/02989_replicated_merge_tree_invalid_metadata_version/explain.txt b/parser/testdata/02989_replicated_merge_tree_invalid_metadata_version/explain.txt new file mode 100644 index 000000000..938350134 --- /dev/null +++ b/parser/testdata/02989_replicated_merge_tree_invalid_metadata_version/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_table_replicated (children 1) + Identifier test_table_replicated diff --git a/parser/testdata/02989_system_tables_metadata_version/explain.txt b/parser/testdata/02989_system_tables_metadata_version/explain.txt new file mode 100644 index 000000000..a89924fcc --- /dev/null +++ b/parser/testdata/02989_system_tables_metadata_version/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_temporary_table_02989 (children 1) + Identifier test_temporary_table_02989 diff --git a/parser/testdata/02989_variant_comparison/explain.txt b/parser/testdata/02989_variant_comparison/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02989_variant_comparison/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02990_arrayFold_nullable_lc/explain.txt b/parser/testdata/02990_arrayFold_nullable_lc/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02990_arrayFold_nullable_lc/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02990_format_not_precedence/explain.txt b/parser/testdata/02990_format_not_precedence/explain.txt new file mode 100644 index 000000000..b753234b4 --- /dev/null +++ b/parser/testdata/02990_format_not_precedence/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function not (children 1) + ExpressionList (children 1) + Function plus (children 1) + ExpressionList (children 2) + Literal UInt64_0 + Function not (children 1) + ExpressionList (children 1) + Literal UInt64_0 diff --git a/parser/testdata/02990_optimize_uniq_to_count_alias/explain.txt b/parser/testdata/02990_optimize_uniq_to_count_alias/explain.txt new file mode 100644 index 000000000..d57e8dd5c --- /dev/null +++ b/parser/testdata/02990_optimize_uniq_to_count_alias/explain.txt @@ -0,0 +1,2 @@ +DropQuery tags (children 1) + Identifier tags diff --git a/parser/testdata/02990_parts_splitter_invalid_ranges/explain.txt b/parser/testdata/02990_parts_splitter_invalid_ranges/explain.txt new file mode 100644 index 000000000..d4bf1aa3f --- /dev/null +++ b/parser/testdata/02990_parts_splitter_invalid_ranges/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_table (children 1) + Identifier test_table diff --git a/parser/testdata/02990_rmt_replica_path_uuid/explain.txt b/parser/testdata/02990_rmt_replica_path_uuid/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02990_rmt_replica_path_uuid/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02990_variant_where_cond/explain.txt b/parser/testdata/02990_variant_where_cond/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02990_variant_where_cond/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02991_count_rewrite_analyzer/explain.txt b/parser/testdata/02991_count_rewrite_analyzer/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02991_count_rewrite_analyzer/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02992_all_columns_should_have_comment/explain.txt b/parser/testdata/02992_all_columns_should_have_comment/explain.txt new file mode 100644 index 000000000..1684cb9d8 --- /dev/null +++ b/parser/testdata/02992_all_columns_should_have_comment/explain.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/02992_analyzer_group_by_const/explain.txt b/parser/testdata/02992_analyzer_group_by_const/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02992_analyzer_group_by_const/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02992_settings_overflow/explain.txt b/parser/testdata/02992_settings_overflow/explain.txt new file mode 100644 index 000000000..dc6bf3d4f --- /dev/null +++ b/parser/testdata/02992_settings_overflow/explain.txt @@ -0,0 +1,2 @@ +Set +The query succeeded but the server error '70' was expected (query: EXPLAIN AST SET max_threads = -1; -- { serverError CANNOT_CONVERT_TYPE }). diff --git a/parser/testdata/02993_lazy_index_loading/explain.txt b/parser/testdata/02993_lazy_index_loading/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/02993_lazy_index_loading/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/02993_values_escape_quote/explain.txt b/parser/testdata/02993_values_escape_quote/explain.txt new file mode 100644 index 000000000..a7bad5aa0 --- /dev/null +++ b/parser/testdata/02993_values_escape_quote/explain.txt @@ -0,0 +1,6 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'foo\' + Identifier Values diff --git a/parser/testdata/02994_cosineDistanceNullable/explain.txt b/parser/testdata/02994_cosineDistanceNullable/explain.txt new file mode 100644 index 000000000..ffb55611b --- /dev/null +++ b/parser/testdata/02994_cosineDistanceNullable/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function cosineDistance (children 1) + ExpressionList (children 2) + Literal Tuple_(UInt64_1, UInt64_1) + Function tuple (children 1) + ExpressionList (children 2) + Function toNullable (children 1) + ExpressionList (children 1) + Literal Float64_0.5 + Literal Float64_0.1 diff --git a/parser/testdata/02994_inconsistent_formatting/explain.txt b/parser/testdata/02994_inconsistent_formatting/explain.txt new file mode 100644 index 000000000..dd5f13cef --- /dev/null +++ b/parser/testdata/02994_inconsistent_formatting/explain.txt @@ -0,0 +1,6 @@ +CreateQuery table (children 2) + Identifier table + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration x (children 1) + DataType UInt8 diff --git a/parser/testdata/02994_sanity_check_settings/explain.txt b/parser/testdata/02994_sanity_check_settings/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02994_sanity_check_settings/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02995_bad_formatting_union_intersect/explain.txt b/parser/testdata/02995_bad_formatting_union_intersect/explain.txt new file mode 100644 index 000000000..57672b492 --- /dev/null +++ b/parser/testdata/02995_bad_formatting_union_intersect/explain.txt @@ -0,0 +1,20 @@ +CreateQuery t1 (children 3) + Identifier t1 + Storage definition (children 2) + Function MergeTree (children 1) + ExpressionList + Identifier c + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectIntersectExceptQuery (children 2) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 (alias c) + SelectWithUnionQuery (children 1) + ExpressionList (children 2) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 (alias c) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_2 (alias c) diff --git a/parser/testdata/02995_preliminary_filters_duplicated_columns/explain.txt b/parser/testdata/02995_preliminary_filters_duplicated_columns/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02995_preliminary_filters_duplicated_columns/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02995_preliminary_filters_duplicated_columns_SimpleAggregateFunction/explain.txt b/parser/testdata/02995_preliminary_filters_duplicated_columns_SimpleAggregateFunction/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02995_preliminary_filters_duplicated_columns_SimpleAggregateFunction/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02996_analyzer_prewhere_projection/explain.txt b/parser/testdata/02996_analyzer_prewhere_projection/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02996_analyzer_prewhere_projection/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02996_index_compaction_counterexample/explain.txt b/parser/testdata/02996_index_compaction_counterexample/explain.txt new file mode 100644 index 000000000..ca136c1ad --- /dev/null +++ b/parser/testdata/02996_index_compaction_counterexample/explain.txt @@ -0,0 +1,2 @@ +DropQuery b (children 1) + Identifier b diff --git a/parser/testdata/02996_nullable_arrayReduce/explain.txt b/parser/testdata/02996_nullable_arrayReduce/explain.txt new file mode 100644 index 000000000..bb15b22d1 --- /dev/null +++ b/parser/testdata/02996_nullable_arrayReduce/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayReduce (children 1) + ExpressionList (children 2) + Function toNullable (children 1) + ExpressionList (children 1) + Literal \'stddevSampOrNull\' + Literal Array_[UInt64_1] +The query succeeded but the server error '43' was expected (query: EXPLAIN AST SELECT arrayReduce(toNullable('stddevSampOrNull'), [1]); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }). diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/explain.txt b/parser/testdata/02997_fix_datetime64_scale_conversion/explain.txt new file mode 100644 index 000000000..574b225ae --- /dev/null +++ b/parser/testdata/02997_fix_datetime64_scale_conversion/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_0 (children 1) + Identifier test_0 diff --git a/parser/testdata/02997_projections_formatting/explain.txt b/parser/testdata/02997_projections_formatting/explain.txt new file mode 100644 index 000000000..06c5d81ee --- /dev/null +++ b/parser/testdata/02997_projections_formatting/explain.txt @@ -0,0 +1,20 @@ +CreateQuery t_proj (children 3) + Identifier t_proj + Columns definition (children 2) + ExpressionList (children 2) + ColumnDeclaration t (children 1) + DataType DateTime + ColumnDeclaration id (children 1) + DataType UInt64 + ExpressionList (children 1) + Projection (children 1) + ProjectionSelectQuery (children 2) + ExpressionList (children 2) + Identifier id + Identifier t + Function toStartOfDay (children 1) + ExpressionList (children 1) + Identifier t + Storage definition (children 2) + Function MergeTree + Identifier id diff --git a/parser/testdata/02998_analyzer_prewhere_report/explain.txt b/parser/testdata/02998_analyzer_prewhere_report/explain.txt new file mode 100644 index 000000000..5a4ef3d02 --- /dev/null +++ b/parser/testdata/02998_analyzer_prewhere_report/explain.txt @@ -0,0 +1,2 @@ +CreateQuery hits (children 1) + Identifier hits diff --git a/parser/testdata/02998_analyzer_secret_args_tree_node/explain.txt b/parser/testdata/02998_analyzer_secret_args_tree_node/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02998_analyzer_secret_args_tree_node/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02998_attach_partition_not_allowed_if_structure_differs_due_to_materialized_column/metadata.json b/parser/testdata/02998_attach_partition_not_allowed_if_structure_differs_due_to_materialized_column/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/02998_attach_partition_not_allowed_if_structure_differs_due_to_materialized_column/metadata.json +++ b/parser/testdata/02998_attach_partition_not_allowed_if_structure_differs_due_to_materialized_column/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/02998_ipv6_hashing/explain.txt b/parser/testdata/02998_ipv6_hashing/explain.txt new file mode 100644 index 000000000..51b945e38 --- /dev/null +++ b/parser/testdata/02998_ipv6_hashing/explain.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function toIPv6 (alias ipv6) (children 1) + ExpressionList (children 1) + Function materialize (children 1) + ExpressionList (children 1) + Function toLowCardinality (children 1) + ExpressionList (children 1) + Literal \'fe80::62:5aff:fed1:daf0\' + Function SHA256 (children 1) + ExpressionList (children 1) + Identifier ipv6 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 diff --git a/parser/testdata/02998_operator_respect_nulls/explain.txt b/parser/testdata/02998_operator_respect_nulls/explain.txt new file mode 100644 index 000000000..314ceeba5 --- /dev/null +++ b/parser/testdata/02998_operator_respect_nulls/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function plus (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal UInt64_1 +The query succeeded but the server error '62' was expected (query: EXPLAIN AST SELECT plus(1, 1) RESPECT NULLS; -- { serverError SYNTAX_ERROR }). diff --git a/parser/testdata/02998_pretty_format_print_readable_number_on_single_value/explain.txt b/parser/testdata/02998_pretty_format_print_readable_number_on_single_value/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02998_pretty_format_print_readable_number_on_single_value/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02998_primary_key_skip_columns/explain.txt b/parser/testdata/02998_primary_key_skip_columns/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/02998_primary_key_skip_columns/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/02998_projection_after_attach_partition/explain.txt b/parser/testdata/02998_projection_after_attach_partition/explain.txt new file mode 100644 index 000000000..d8071ded8 --- /dev/null +++ b/parser/testdata/02998_projection_after_attach_partition/explain.txt @@ -0,0 +1,2 @@ +DropQuery visits_order (children 1) + Identifier visits_order diff --git a/parser/testdata/02998_system_dns_cache_table/explain.txt b/parser/testdata/02998_system_dns_cache_table/explain.txt new file mode 100644 index 000000000..835c59a1c --- /dev/null +++ b/parser/testdata/02998_system_dns_cache_table/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 4) + Identifier hostname + Identifier ip_address + Identifier ip_family + Identifier cached_at + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.dns_cache diff --git a/parser/testdata/02998_to_milliseconds/explain.txt b/parser/testdata/02998_to_milliseconds/explain.txt new file mode 100644 index 000000000..a43179e89 --- /dev/null +++ b/parser/testdata/02998_to_milliseconds/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toMillisecond (children 1) + ExpressionList +The query succeeded but the server error '42' was expected (query: EXPLAIN AST SELECT toMillisecond(); -- { serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH }). diff --git a/parser/testdata/02999_analyzer_preimage_null/explain.txt b/parser/testdata/02999_analyzer_preimage_null/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02999_analyzer_preimage_null/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02999_scalar_subqueries_bug_1/explain.txt b/parser/testdata/02999_scalar_subqueries_bug_1/explain.txt new file mode 100644 index 000000000..4476bd531 --- /dev/null +++ b/parser/testdata/02999_scalar_subqueries_bug_1/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_table_select (children 1) + Identifier t_table_select diff --git a/parser/testdata/02999_scalar_subqueries_bug_2/explain.txt b/parser/testdata/02999_scalar_subqueries_bug_2/explain.txt new file mode 100644 index 000000000..e77d975a9 --- /dev/null +++ b/parser/testdata/02999_scalar_subqueries_bug_2/explain.txt @@ -0,0 +1,2 @@ +DropQuery source (children 1) + Identifier source diff --git a/parser/testdata/02999_ulid_short_circuit/explain.txt b/parser/testdata/02999_ulid_short_circuit/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02999_ulid_short_circuit/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/02999_variant_suspicious_types/explain.txt b/parser/testdata/02999_variant_suspicious_types/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/02999_variant_suspicious_types/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03000_minmax_index_first/explain.txt b/parser/testdata/03000_minmax_index_first/explain.txt new file mode 100644 index 000000000..5203a41c6 --- /dev/null +++ b/parser/testdata/03000_minmax_index_first/explain.txt @@ -0,0 +1,2 @@ +DropQuery skip_table (children 1) + Identifier skip_table diff --git a/parser/testdata/03000_too_big_max_execution_time_setting/explain.txt b/parser/testdata/03000_too_big_max_execution_time_setting/explain.txt new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/parser/testdata/03000_too_big_max_execution_time_setting/explain.txt @@ -0,0 +1 @@ + diff --git a/parser/testdata/03000_traverse_shadow_system_data_paths/explain.txt b/parser/testdata/03000_traverse_shadow_system_data_paths/explain.txt new file mode 100644 index 000000000..13d583ca5 --- /dev/null +++ b/parser/testdata/03000_traverse_shadow_system_data_paths/explain.txt @@ -0,0 +1,2 @@ +DropQuery 03000_traverse_shadow_system_data_path_table (children 1) + Identifier 03000_traverse_shadow_system_data_path_table diff --git a/parser/testdata/03000_virtual_columns_in_prewhere/explain.txt b/parser/testdata/03000_virtual_columns_in_prewhere/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03000_virtual_columns_in_prewhere/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03001_analyzer_nullable_nothing/metadata.json b/parser/testdata/03001_analyzer_nullable_nothing/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03001_analyzer_nullable_nothing/metadata.json +++ b/parser/testdata/03001_analyzer_nullable_nothing/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03001_block_offset_column_2/explain.txt b/parser/testdata/03001_block_offset_column_2/explain.txt new file mode 100644 index 000000000..6a607fb22 --- /dev/null +++ b/parser/testdata/03001_block_offset_column_2/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_block_offset (children 1) + Identifier t_block_offset diff --git a/parser/testdata/03001_consider_lwd_when_merge/explain.txt b/parser/testdata/03001_consider_lwd_when_merge/explain.txt new file mode 100644 index 000000000..e40f70a2e --- /dev/null +++ b/parser/testdata/03001_consider_lwd_when_merge/explain.txt @@ -0,0 +1,2 @@ +DropQuery lwd_merge (children 1) + Identifier lwd_merge diff --git a/parser/testdata/03001_data_version_column/explain.txt b/parser/testdata/03001_data_version_column/explain.txt new file mode 100644 index 000000000..7ceaf9211 --- /dev/null +++ b/parser/testdata/03001_data_version_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_data_version (children 1) + Identifier t_data_version diff --git a/parser/testdata/03001_insert_threads_deduplication/explain.txt b/parser/testdata/03001_insert_threads_deduplication/explain.txt new file mode 100644 index 000000000..c1650c844 --- /dev/null +++ b/parser/testdata/03001_insert_threads_deduplication/explain.txt @@ -0,0 +1,2 @@ +DropQuery landing (children 1) + Identifier landing diff --git a/parser/testdata/03001_max_parallel_replicas_zero_value/explain.txt b/parser/testdata/03001_max_parallel_replicas_zero_value/explain.txt new file mode 100644 index 000000000..ee22015d0 --- /dev/null +++ b/parser/testdata/03001_max_parallel_replicas_zero_value/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_d (children 1) + Identifier test_d diff --git a/parser/testdata/03002_analyzer_prewhere/explain.txt b/parser/testdata/03002_analyzer_prewhere/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03002_analyzer_prewhere/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03002_filter_skip_virtual_columns_with_non_deterministic_functions/explain.txt b/parser/testdata/03002_filter_skip_virtual_columns_with_non_deterministic_functions/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03002_filter_skip_virtual_columns_with_non_deterministic_functions/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03002_int_div_decimal_with_date_bug/explain.txt b/parser/testdata/03002_int_div_decimal_with_date_bug/explain.txt new file mode 100644 index 000000000..87d14f900 --- /dev/null +++ b/parser/testdata/03002_int_div_decimal_with_date_bug/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function intDiv (children 1) + ExpressionList (children 2) + Function CAST (children 1) + ExpressionList (children 2) + Literal \'1.0\' + Literal \'Decimal256(3)\' + Function today (children 1) + ExpressionList +The query succeeded but the server error '43' was expected (query: EXPLAIN AST SELECT intDiv(CAST('1.0', 'Decimal256(3)'), today()); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }). diff --git a/parser/testdata/03002_map_array_functions_with_low_cardinality/explain.txt b/parser/testdata/03002_map_array_functions_with_low_cardinality/explain.txt new file mode 100644 index 000000000..5f85a0af7 --- /dev/null +++ b/parser/testdata/03002_map_array_functions_with_low_cardinality/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function mapContainsKeyLike (children 1) + ExpressionList (children 2) + Function map (children 1) + ExpressionList (children 4) + Literal \'aa\' + Function toLowCardinality (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Literal \'bb\' + Function toLowCardinality (children 1) + ExpressionList (children 1) + Literal UInt64_2 + Function toLowCardinality (children 1) + ExpressionList (children 1) + Literal \'a%\' diff --git a/parser/testdata/03002_modify_query_cte/explain.txt b/parser/testdata/03002_modify_query_cte/explain.txt new file mode 100644 index 000000000..080b4a941 --- /dev/null +++ b/parser/testdata/03002_modify_query_cte/explain.txt @@ -0,0 +1,14 @@ +CreateQuery table_03002 (children 3) + Identifier table_03002 + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration ts (children 1) + DataType DateTime + ColumnDeclaration event_type (children 1) + DataType String + Storage definition (children 2) + Function MergeTree + Function tuple (children 1) + ExpressionList (children 2) + Identifier event_type + Identifier ts diff --git a/parser/testdata/03002_sample_factor_where/explain.txt b/parser/testdata/03002_sample_factor_where/explain.txt new file mode 100644 index 000000000..13d210772 --- /dev/null +++ b/parser/testdata/03002_sample_factor_where/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_sample_factor (children 1) + Identifier t_sample_factor diff --git a/parser/testdata/03003_analyzer_setting/explain.txt b/parser/testdata/03003_analyzer_setting/explain.txt new file mode 100644 index 000000000..c5387c019 --- /dev/null +++ b/parser/testdata/03003_analyzer_setting/explain.txt @@ -0,0 +1,12 @@ +CreateQuery test (children 3) + Identifier test + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration dummy (children 1) + DataType Int8 + Storage definition (children 1) + Function Distributed (children 1) + ExpressionList (children 3) + Identifier test_cluster_two_shards + Literal \'system\' + Literal \'one\' diff --git a/parser/testdata/03003_arrayEnumerate_crash/explain.txt b/parser/testdata/03003_arrayEnumerate_crash/explain.txt new file mode 100644 index 000000000..8cc15b835 --- /dev/null +++ b/parser/testdata/03003_arrayEnumerate_crash/explain.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayEnumerateUniqRanked (children 1) + ExpressionList (children 2) + Function arrayEnumerateUniqRanked (children 1) + ExpressionList (children 1) + Literal Array_[Array_[UInt64_1, UInt64_2, UInt64_3], Array_[UInt64_2, UInt64_2, UInt64_1], Array_[UInt64_3]] + Function or (children 1) + ExpressionList (children 2) + Function materialize (children 1) + ExpressionList (children 1) + Literal UInt64_1 (alias x) + Function toLowCardinality (children 1) + ExpressionList (children 1) + Literal Int64_-9223372036854775808 +The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT arrayEnumerateUniqRanked(arrayEnumerateUniqRanked([[1, 2, 3], [2, 2, 1], [3]]), materialize(1 AS x) OR toLowCardinality(-9223372036854775808)); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/03003_compatibility_setting_bad_value/explain.txt b/parser/testdata/03003_compatibility_setting_bad_value/explain.txt new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/parser/testdata/03003_compatibility_setting_bad_value/explain.txt @@ -0,0 +1 @@ + diff --git a/parser/testdata/03003_count_asterisk_filter/explain.txt b/parser/testdata/03003_count_asterisk_filter/explain.txt new file mode 100644 index 000000000..5de502dd7 --- /dev/null +++ b/parser/testdata/03003_count_asterisk_filter/explain.txt @@ -0,0 +1,14 @@ +CreateQuery users (children 3) + Identifier users + Columns definition (children 1) + ExpressionList (children 3) + ColumnDeclaration uid (children 1) + DataType Int16 + ColumnDeclaration name (children 1) + DataType Nullable (children 1) + ExpressionList (children 1) + DataType String + ColumnDeclaration age (children 1) + DataType Int16 + Storage definition (children 1) + Function Memory diff --git a/parser/testdata/03003_enum_and_string_compatible/explain.txt b/parser/testdata/03003_enum_and_string_compatible/explain.txt new file mode 100644 index 000000000..c1b2ac722 --- /dev/null +++ b/parser/testdata/03003_enum_and_string_compatible/explain.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function CAST (alias enum1) (children 1) + ExpressionList (children 2) + Literal \'Hello\' + Literal \'Enum8(\\\'Hello\\\', \\\'World\\\')\' + Function CAST (alias enum2) (children 1) + ExpressionList (children 2) + Literal \'test\' + Literal \'Enum8(\\\'test\\\', \\\'best\\\')\' + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 3) + Identifier enum1 + Literal \'Goodbye\' + Identifier enum2 diff --git a/parser/testdata/03003_functions_to_subcolumns_final/explain.txt b/parser/testdata/03003_functions_to_subcolumns_final/explain.txt new file mode 100644 index 000000000..3a82897a2 --- /dev/null +++ b/parser/testdata/03003_functions_to_subcolumns_final/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_length_1 (children 1) + Identifier t_length_1 diff --git a/parser/testdata/03003_sql_json_nonsense/explain.txt b/parser/testdata/03003_sql_json_nonsense/explain.txt new file mode 100644 index 000000000..e94a79b2e --- /dev/null +++ b/parser/testdata/03003_sql_json_nonsense/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function JSON_QUERY (children 1) + ExpressionList (children 3) + Literal \'{"x":1}\' + Literal \'$[\\\'hello\\\']\' + Function materialize (children 1) + ExpressionList (children 1) + Function toLowCardinality (children 1) + ExpressionList (children 1) + Literal \'x\' diff --git a/parser/testdata/03004_force_null_for_omitted/explain.txt b/parser/testdata/03004_force_null_for_omitted/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03004_force_null_for_omitted/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03004_json_named_tuples_inference_ambiguous_paths_as_string/explain.txt b/parser/testdata/03004_json_named_tuples_inference_ambiguous_paths_as_string/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03004_json_named_tuples_inference_ambiguous_paths_as_string/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03005_input_function_in_join/explain.txt b/parser/testdata/03005_input_function_in_join/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03005_input_function_in_join/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03006_analyzer_executable_table_function/metadata.json b/parser/testdata/03006_analyzer_executable_table_function/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03006_analyzer_executable_table_function/metadata.json +++ b/parser/testdata/03006_analyzer_executable_table_function/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03006_buffer_overflow_join/explain.txt b/parser/testdata/03006_buffer_overflow_join/explain.txt new file mode 100644 index 000000000..837f9b06c --- /dev/null +++ b/parser/testdata/03006_buffer_overflow_join/explain.txt @@ -0,0 +1,13 @@ +CreateQuery 03006_buffer_overflow_l (children 3) + Identifier 03006_buffer_overflow_l + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration a (children 1) + DataType String + ColumnDeclaration b (children 1) + DataType Tuple (children 1) + ExpressionList (children 2) + DataType String + DataType String + Storage definition (children 1) + Function Memory diff --git a/parser/testdata/03006_mv_deduplication_throw_if_async_insert/explain.txt b/parser/testdata/03006_mv_deduplication_throw_if_async_insert/explain.txt new file mode 100644 index 000000000..414b73500 --- /dev/null +++ b/parser/testdata/03006_mv_deduplication_throw_if_async_insert/explain.txt @@ -0,0 +1,2 @@ +DropQuery 02985_test (children 1) + Identifier 02985_test diff --git a/parser/testdata/03006_parallel_replicas_cte_explain_syntax_crash/explain.txt b/parser/testdata/03006_parallel_replicas_cte_explain_syntax_crash/explain.txt new file mode 100644 index 000000000..4809606ba --- /dev/null +++ b/parser/testdata/03006_parallel_replicas_cte_explain_syntax_crash/explain.txt @@ -0,0 +1,2 @@ +DropQuery numbers_1e6__fuzz_34 (children 1) + Identifier numbers_1e6__fuzz_34 diff --git a/parser/testdata/03006_parallel_replicas_prewhere/explain.txt b/parser/testdata/03006_parallel_replicas_prewhere/explain.txt new file mode 100644 index 000000000..ed0ed194e --- /dev/null +++ b/parser/testdata/03006_parallel_replicas_prewhere/explain.txt @@ -0,0 +1 @@ +DROP ROW POLICY query diff --git a/parser/testdata/03007_column_nullable_uninitialzed_value/explain.txt b/parser/testdata/03007_column_nullable_uninitialzed_value/explain.txt new file mode 100644 index 000000000..202ce7845 --- /dev/null +++ b/parser/testdata/03007_column_nullable_uninitialzed_value/explain.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Function greater (children 1) + ExpressionList (children 2) + Function count (children 1) + ExpressionList (children 1) + Literal NULL + Function avg (children 1) + ExpressionList (children 1) + Function toDecimal32 (children 1) + ExpressionList (children 1) + Literal NULL + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1000 + Set diff --git a/parser/testdata/03008_deduplication_cases_from_docs/explain.txt b/parser/testdata/03008_deduplication_cases_from_docs/explain.txt new file mode 100644 index 000000000..5a999c510 --- /dev/null +++ b/parser/testdata/03008_deduplication_cases_from_docs/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'Different materialized view insert into one underlayed table equal data.\' diff --git a/parser/testdata/03008_deduplication_insert_into_partitioned_table/explain.txt b/parser/testdata/03008_deduplication_insert_into_partitioned_table/explain.txt new file mode 100644 index 000000000..03cb003bf --- /dev/null +++ b/parser/testdata/03008_deduplication_insert_into_partitioned_table/explain.txt @@ -0,0 +1,2 @@ +DropQuery partitioned_table (children 1) + Identifier partitioned_table diff --git a/parser/testdata/03008_deduplication_remote_insert_select/explain.txt b/parser/testdata/03008_deduplication_remote_insert_select/explain.txt new file mode 100644 index 000000000..86d217994 --- /dev/null +++ b/parser/testdata/03008_deduplication_remote_insert_select/explain.txt @@ -0,0 +1,2 @@ +DropQuery src (children 1) + Identifier src diff --git a/parser/testdata/03008_deduplication_wrong_mv/explain.txt b/parser/testdata/03008_deduplication_wrong_mv/explain.txt new file mode 100644 index 000000000..4ef0197c6 --- /dev/null +++ b/parser/testdata/03008_deduplication_wrong_mv/explain.txt @@ -0,0 +1,2 @@ +DropQuery mv (children 1) + Identifier mv diff --git a/parser/testdata/03008_filter_projections_non_deterministoc_functions/explain.txt b/parser/testdata/03008_filter_projections_non_deterministoc_functions/explain.txt new file mode 100644 index 000000000..3a7127a89 --- /dev/null +++ b/parser/testdata/03008_filter_projections_non_deterministoc_functions/explain.txt @@ -0,0 +1,9 @@ +CreateQuery test (children 3) + Identifier test + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration number (children 1) + DataType UInt64 + Storage definition (children 2) + Function MergeTree + Identifier number diff --git a/parser/testdata/03008_groupSortedArray_field/metadata.json b/parser/testdata/03008_groupSortedArray_field/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03008_groupSortedArray_field/metadata.json +++ b/parser/testdata/03008_groupSortedArray_field/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03008_index_small/explain.txt b/parser/testdata/03008_index_small/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03008_index_small/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03008_optimize_equal_ranges/explain.txt b/parser/testdata/03008_optimize_equal_ranges/explain.txt new file mode 100644 index 000000000..3253c6ad8 --- /dev/null +++ b/parser/testdata/03008_optimize_equal_ranges/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_optimize_equal_ranges (children 1) + Identifier t_optimize_equal_ranges diff --git a/parser/testdata/03008_uniq_exact_equal_ranges/explain.txt b/parser/testdata/03008_uniq_exact_equal_ranges/explain.txt new file mode 100644 index 000000000..c47e1c82a --- /dev/null +++ b/parser/testdata/03008_uniq_exact_equal_ranges/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_uniq_exact (children 1) + Identifier t_uniq_exact diff --git a/parser/testdata/03009_consecutive_keys_nullable/explain.txt b/parser/testdata/03009_consecutive_keys_nullable/explain.txt new file mode 100644 index 000000000..701db63e1 --- /dev/null +++ b/parser/testdata/03009_consecutive_keys_nullable/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_nullable_keys_1 (children 1) + Identifier t_nullable_keys_1 diff --git a/parser/testdata/03009_range_dict_get_or_default/explain.txt b/parser/testdata/03009_range_dict_get_or_default/explain.txt new file mode 100644 index 000000000..4c3651793 --- /dev/null +++ b/parser/testdata/03009_range_dict_get_or_default/explain.txt @@ -0,0 +1,2 @@ +DropQuery range_dictionary (children 1) + Identifier range_dictionary diff --git a/parser/testdata/03009_storage_memory_circ_buffer_usage/explain.txt b/parser/testdata/03009_storage_memory_circ_buffer_usage/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03009_storage_memory_circ_buffer_usage/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03010_file_log_large_poll_batch_size/explain.txt b/parser/testdata/03010_file_log_large_poll_batch_size/explain.txt new file mode 100644 index 000000000..16e1f3999 --- /dev/null +++ b/parser/testdata/03010_file_log_large_poll_batch_size/explain.txt @@ -0,0 +1,13 @@ +CreateQuery test (children 3) + Identifier test + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration number (children 1) + DataType UInt64 + Storage definition (children 2) + Function FileLog (children 1) + ExpressionList (children 2) + Literal \'./user_files/data.jsonl\' + Literal \'JSONEachRow\' + Set +The query succeeded but the server error '471' was expected (query: EXPLAIN AST create table test (number UInt64) engine=FileLog('./user_files/data.jsonl', 'JSONEachRow') settings poll_max_batch_size=18446744073709; -- {serverError INVALID_SETTING_VALUE}). diff --git a/parser/testdata/03010_read_system_parts_table_test/explain.txt b/parser/testdata/03010_read_system_parts_table_test/explain.txt new file mode 100644 index 000000000..9f4cd7313 --- /dev/null +++ b/parser/testdata/03010_read_system_parts_table_test/explain.txt @@ -0,0 +1,2 @@ +DropQuery users (children 1) + Identifier users diff --git a/parser/testdata/03010_sum_to_to_count_if_nullable/explain.txt b/parser/testdata/03010_sum_to_to_count_if_nullable/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03010_sum_to_to_count_if_nullable/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03010_view_prewhere_in/explain.txt b/parser/testdata/03010_view_prewhere_in/explain.txt new file mode 100644 index 000000000..78b2a1ef0 --- /dev/null +++ b/parser/testdata/03010_view_prewhere_in/explain.txt @@ -0,0 +1,2 @@ +DropQuery v (children 1) + Identifier v diff --git a/parser/testdata/03010_virtual_memory_mappings_asynchronous_metrics/explain.txt b/parser/testdata/03010_virtual_memory_mappings_asynchronous_metrics/explain.txt new file mode 100644 index 000000000..eca1a5c32 --- /dev/null +++ b/parser/testdata/03010_virtual_memory_mappings_asynchronous_metrics/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function least (children 1) + ExpressionList (children 2) + Identifier value + Literal UInt64_0 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.asynchronous_metrics + Function equals (children 1) + ExpressionList (children 2) + Identifier metric + Literal \'VMMaxMapCount\' diff --git a/parser/testdata/03011_adaptative_timeout_compatibility/explain.txt b/parser/testdata/03011_adaptative_timeout_compatibility/explain.txt new file mode 100644 index 000000000..3624ac39c --- /dev/null +++ b/parser/testdata/03011_adaptative_timeout_compatibility/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Identifier value + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.settings + Function equals (children 1) + ExpressionList (children 2) + Identifier name + Literal \'async_insert_use_adaptive_busy_timeout\' + Set diff --git a/parser/testdata/03011_definitive_guide_to_cast/explain.txt b/parser/testdata/03011_definitive_guide_to_cast/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03011_definitive_guide_to_cast/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03012_prewhere_merge_distributed/explain.txt b/parser/testdata/03012_prewhere_merge_distributed/explain.txt new file mode 100644 index 000000000..905c088e1 --- /dev/null +++ b/parser/testdata/03012_prewhere_merge_distributed/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_local (children 1) + Identifier test_local diff --git a/parser/testdata/03013_addDays_with_timezone/explain.txt b/parser/testdata/03013_addDays_with_timezone/explain.txt new file mode 100644 index 000000000..c3bc65d0a --- /dev/null +++ b/parser/testdata/03013_addDays_with_timezone/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function addDays (children 1) + ExpressionList (children 3) + Function toDateTime64 (children 1) + ExpressionList (children 3) + Literal \'2024-01-01\' + Literal UInt64_6 + Literal \'Asia/Shanghai\' + Literal UInt64_10 + Literal \'Asia/Shanghai\' diff --git a/parser/testdata/03013_fuzz_arrayPartialReverseSort/explain.txt b/parser/testdata/03013_fuzz_arrayPartialReverseSort/explain.txt new file mode 100644 index 000000000..7aded7874 --- /dev/null +++ b/parser/testdata/03013_fuzz_arrayPartialReverseSort/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Identifier res diff --git a/parser/testdata/03013_group_by_use_nulls_with_materialize_and_analyzer/explain.txt b/parser/testdata/03013_group_by_use_nulls_with_materialize_and_analyzer/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03013_group_by_use_nulls_with_materialize_and_analyzer/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03013_ignore_drop_queries_probability/explain.txt b/parser/testdata/03013_ignore_drop_queries_probability/explain.txt new file mode 100644 index 000000000..31dd92d24 --- /dev/null +++ b/parser/testdata/03013_ignore_drop_queries_probability/explain.txt @@ -0,0 +1,8 @@ +CreateQuery test_memory (children 3) + Identifier test_memory + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration number (children 1) + DataType UInt64 + Storage definition (children 1) + Function Memory diff --git a/parser/testdata/03013_position_const_start_pos/explain.txt b/parser/testdata/03013_position_const_start_pos/explain.txt new file mode 100644 index 000000000..3a55f7544 --- /dev/null +++ b/parser/testdata/03013_position_const_start_pos/explain.txt @@ -0,0 +1,8 @@ +CreateQuery 03013_position_const_start_pos (children 3) + Identifier 03013_position_const_start_pos + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration n (children 1) + DataType Int16 + Storage definition (children 1) + Function Memory diff --git a/parser/testdata/03013_repeat_with_nonnative_integers/explain.txt b/parser/testdata/03013_repeat_with_nonnative_integers/explain.txt new file mode 100644 index 000000000..b5dcaee2f --- /dev/null +++ b/parser/testdata/03013_repeat_with_nonnative_integers/explain.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function repeat (children 1) + ExpressionList (children 2) + Function toString (children 1) + ExpressionList (children 1) + Identifier number + Function toUInt256 (children 1) + ExpressionList (children 1) + Literal UInt64_12 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/03013_test_part_level_is_reset_attach_from_disk_mt/explain.txt b/parser/testdata/03013_test_part_level_is_reset_attach_from_disk_mt/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03013_test_part_level_is_reset_attach_from_disk_mt/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03014_analyzer_group_by_use_nulls/explain.txt b/parser/testdata/03014_analyzer_group_by_use_nulls/explain.txt new file mode 100644 index 000000000..121a1e4a1 --- /dev/null +++ b/parser/testdata/03014_analyzer_group_by_use_nulls/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Literal \'a\' (alias key) + Literal \'b\' (alias value) + ExpressionList (children 1) + Identifier key + Set diff --git a/parser/testdata/03014_analyzer_groupby_fuzz_60317/metadata.json b/parser/testdata/03014_analyzer_groupby_fuzz_60317/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03014_analyzer_groupby_fuzz_60317/metadata.json +++ b/parser/testdata/03014_analyzer_groupby_fuzz_60317/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03014_async_with_dedup_part_log_rmt/explain.txt b/parser/testdata/03014_async_with_dedup_part_log_rmt/explain.txt new file mode 100644 index 000000000..2235be4b6 --- /dev/null +++ b/parser/testdata/03014_async_with_dedup_part_log_rmt/explain.txt @@ -0,0 +1,6 @@ +CreateQuery 03014_async_with_dedup_part_log (children 2) + Identifier 03014_async_with_dedup_part_log + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration x (children 1) + DataType UInt64 diff --git a/parser/testdata/03014_group_by_use_nulls_injective_functions_and_analyzer/explain.txt b/parser/testdata/03014_group_by_use_nulls_injective_functions_and_analyzer/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03014_group_by_use_nulls_injective_functions_and_analyzer/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03014_msan_parse_date_time/explain.txt b/parser/testdata/03014_msan_parse_date_time/explain.txt new file mode 100644 index 000000000..f4d8f0005 --- /dev/null +++ b/parser/testdata/03014_msan_parse_date_time/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function parseDateTimeBestEffort (children 1) + ExpressionList (children 1) + Function toFixedString (children 1) + ExpressionList (children 2) + Literal \'01/12/2017,\' + Literal UInt64_11 +The query succeeded but the server error '41' was expected (query: EXPLAIN AST SELECT parseDateTimeBestEffort(toFixedString('01/12/2017,', 11)); -- { serverError CANNOT_PARSE_DATETIME }). diff --git a/parser/testdata/03015_aggregator_empty_data_multiple_blocks/explain.txt b/parser/testdata/03015_aggregator_empty_data_multiple_blocks/explain.txt new file mode 100644 index 000000000..ff4c70c80 --- /dev/null +++ b/parser/testdata/03015_aggregator_empty_data_multiple_blocks/explain.txt @@ -0,0 +1,9 @@ +CreateQuery 03015_aggregator_empty_data_multiple_blocks (children 3) + Identifier 03015_aggregator_empty_data_multiple_blocks + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration c0 (children 1) + DataType Int32 + Storage definition (children 1) + Function Memory (children 1) + ExpressionList diff --git a/parser/testdata/03015_analyzer_groupby_fuzz_60772/explain.txt b/parser/testdata/03015_analyzer_groupby_fuzz_60772/explain.txt new file mode 100644 index 000000000..fc4fe57b7 --- /dev/null +++ b/parser/testdata/03015_analyzer_groupby_fuzz_60772/explain.txt @@ -0,0 +1,29 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toFixedString (children 1) + ExpressionList (children 2) + Function toFixedString (children 1) + ExpressionList (children 2) + Function toFixedString (children 1) + ExpressionList (children 2) + Function toFixedString (children 1) + ExpressionList (children 2) + Function toFixedString (children 1) + ExpressionList (children 2) + Function toFixedString (children 1) + ExpressionList (children 2) + Literal \'%W\' + Literal UInt64_2 + Literal UInt64_2 + Literal UInt64_2 + Function toLowCardinality (children 1) + ExpressionList (children 1) + Function toLowCardinality (children 1) + ExpressionList (children 1) + Function toNullable (children 1) + ExpressionList (children 1) + Literal UInt64_2 + Literal UInt64_2 + Literal UInt64_2 diff --git a/parser/testdata/03015_peder1001/explain.txt b/parser/testdata/03015_peder1001/explain.txt new file mode 100644 index 000000000..ed80912a1 --- /dev/null +++ b/parser/testdata/03015_peder1001/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_data (children 1) + Identifier test_data diff --git a/parser/testdata/03015_with_fill_invalid_expression/explain.txt b/parser/testdata/03015_with_fill_invalid_expression/explain.txt new file mode 100644 index 000000000..097e9da6b --- /dev/null +++ b/parser/testdata/03015_with_fill_invalid_expression/explain.txt @@ -0,0 +1,34 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 2) + Identifier number (alias x) + Function plus (alias y) (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_5 + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_3 + Literal UInt64_1 + ExpressionList (children 3) + OrderByElement (children 1) + Identifier y + OrderByElement (children 3) + Identifier x + Literal UInt64_1 + Literal UInt64_4 + OrderByElement (children 3) + Identifier y + Literal UInt64_2 + Literal UInt64_5 +The query succeeded but the server error '475' was expected (query: EXPLAIN AST select number as x, number + 1 as y from numbers(5) where number % 3 == 1 order by y, x with fill from 1 to 4, y with fill from 2 to 5; -- {serverError INVALID_WITH_FILL_EXPRESSION}). diff --git a/parser/testdata/03016_analyzer_groupby_fuzz_59796/metadata.json b/parser/testdata/03016_analyzer_groupby_fuzz_59796/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03016_analyzer_groupby_fuzz_59796/metadata.json +++ b/parser/testdata/03016_analyzer_groupby_fuzz_59796/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03017_analyzer_groupby_fuzz_61600/explain.txt b/parser/testdata/03017_analyzer_groupby_fuzz_61600/explain.txt new file mode 100644 index 000000000..eebe736a8 --- /dev/null +++ b/parser/testdata/03017_analyzer_groupby_fuzz_61600/explain.txt @@ -0,0 +1,23 @@ +CreateQuery set_index_not__fuzz_0 (children 2) + Identifier set_index_not__fuzz_0 + Columns definition (children 2) + ExpressionList (children 2) + ColumnDeclaration name (children 1) + DataType String + ColumnDeclaration status (children 1) + DataType Enum8 (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Literal \'alive\' + Literal UInt64_0 + Function equals (children 1) + ExpressionList (children 2) + Literal \'rip\' + Literal UInt64_1 + ExpressionList (children 1) + Index (children 2) + Identifier status + Function set (children 1) + ExpressionList (children 1) + Literal UInt64_2 diff --git a/parser/testdata/03018_analyzer_distributed_query_with_positional_arguments/explain.txt b/parser/testdata/03018_analyzer_distributed_query_with_positional_arguments/explain.txt new file mode 100644 index 000000000..b58299d1a --- /dev/null +++ b/parser/testdata/03018_analyzer_distributed_query_with_positional_arguments/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_0 (alias x) diff --git a/parser/testdata/03018_analyzer_greater_null/metadata.json b/parser/testdata/03018_analyzer_greater_null/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03018_analyzer_greater_null/metadata.json +++ b/parser/testdata/03018_analyzer_greater_null/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03019_numbers_pretty/explain.txt b/parser/testdata/03019_numbers_pretty/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03019_numbers_pretty/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03020_order_by_SimpleAggregateFunction/explain.txt b/parser/testdata/03020_order_by_SimpleAggregateFunction/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03020_order_by_SimpleAggregateFunction/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03022_alter_materialized_view_query_has_inner_table/explain.txt b/parser/testdata/03022_alter_materialized_view_query_has_inner_table/explain.txt new file mode 100644 index 000000000..ba55ffc3e --- /dev/null +++ b/parser/testdata/03022_alter_materialized_view_query_has_inner_table/explain.txt @@ -0,0 +1,2 @@ +DropQuery src_table (children 1) + Identifier src_table diff --git a/parser/testdata/03022_highlight_digit_groups/explain.txt b/parser/testdata/03022_highlight_digit_groups/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03022_highlight_digit_groups/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03023_analyzer_optimize_group_by_function_keys_with_nulls/explain.txt b/parser/testdata/03023_analyzer_optimize_group_by_function_keys_with_nulls/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03023_analyzer_optimize_group_by_function_keys_with_nulls/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03023_group_by_use_nulls_analyzer_crashes/explain.txt b/parser/testdata/03023_group_by_use_nulls_analyzer_crashes/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03023_group_by_use_nulls_analyzer_crashes/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03023_remove_unused_column_distinct/explain.txt b/parser/testdata/03023_remove_unused_column_distinct/explain.txt new file mode 100644 index 000000000..d5273361b --- /dev/null +++ b/parser/testdata/03023_remove_unused_column_distinct/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Identifier product_id diff --git a/parser/testdata/03024_total_rows_approx_is_set_for_system_zeros_and_generate_random/explain.txt b/parser/testdata/03024_total_rows_approx_is_set_for_system_zeros_and_generate_random/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03024_total_rows_approx_is_set_for_system_zeros_and_generate_random/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03030_system_flush_distributed_settings/explain.txt b/parser/testdata/03030_system_flush_distributed_settings/explain.txt new file mode 100644 index 000000000..ec2138aee --- /dev/null +++ b/parser/testdata/03030_system_flush_distributed_settings/explain.txt @@ -0,0 +1,2 @@ +DropQuery ephemeral (children 1) + Identifier ephemeral diff --git a/parser/testdata/03031_distinguish_bool_and_int_in_settings/explain.txt b/parser/testdata/03031_distinguish_bool_and_int_in_settings/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03031_distinguish_bool_and_int_in_settings/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03031_filter_float64_logical_error/explain.txt b/parser/testdata/03031_filter_float64_logical_error/explain.txt new file mode 100644 index 000000000..5bbb482b6 --- /dev/null +++ b/parser/testdata/03031_filter_float64_logical_error/explain.txt @@ -0,0 +1,2 @@ +CreateQuery 03031_test (children 1) + Identifier 03031_test diff --git a/parser/testdata/03031_input_format_allow_errors_num_bad_escape_sequence/explain.txt b/parser/testdata/03031_input_format_allow_errors_num_bad_escape_sequence/explain.txt new file mode 100644 index 000000000..63bbc31fe --- /dev/null +++ b/parser/testdata/03031_input_format_allow_errors_num_bad_escape_sequence/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function format (children 1) + ExpressionList (children 2) + Identifier JSONEachRow + Literal \'{"item" : "some string"}, {"item":"\\\\\\\\ \\\\ud83d"}\' + Set diff --git a/parser/testdata/03031_low_cardinality_logical_error/explain.txt b/parser/testdata/03031_low_cardinality_logical_error/explain.txt new file mode 100644 index 000000000..b55818d6b --- /dev/null +++ b/parser/testdata/03031_low_cardinality_logical_error/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Asterisk diff --git a/parser/testdata/03031_read_in_order_optimization_with_virtual_row/explain.txt b/parser/testdata/03031_read_in_order_optimization_with_virtual_row/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03031_read_in_order_optimization_with_virtual_row/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03031_read_in_order_optimization_with_virtual_row_explain/explain.txt b/parser/testdata/03031_read_in_order_optimization_with_virtual_row_explain/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03031_read_in_order_optimization_with_virtual_row_explain/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03031_read_in_order_optimization_with_virtual_row_special/explain.txt b/parser/testdata/03031_read_in_order_optimization_with_virtual_row_special/explain.txt new file mode 100644 index 000000000..5d8b4b0fd --- /dev/null +++ b/parser/testdata/03031_read_in_order_optimization_with_virtual_row_special/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_03031 (children 1) + Identifier test_03031 diff --git a/parser/testdata/03031_table_function_fuzzquery/explain.txt b/parser/testdata/03031_table_function_fuzzquery/explain.txt new file mode 100644 index 000000000..6107c138d --- /dev/null +++ b/parser/testdata/03031_table_function_fuzzquery/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function fuzzQuery (children 1) + ExpressionList (children 3) + Literal \'SELECT 1\' + Literal UInt64_500 + Literal UInt64_8956 + Literal UInt64_0 + Identifier TSVWithNamesAndTypes diff --git a/parser/testdata/03031_tuple_elimination_analyzer/explain.txt b/parser/testdata/03031_tuple_elimination_analyzer/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03031_tuple_elimination_analyzer/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03032_multi_search_const_low_cardinality/explain.txt b/parser/testdata/03032_multi_search_const_low_cardinality/explain.txt new file mode 100644 index 000000000..c42329abd --- /dev/null +++ b/parser/testdata/03032_multi_search_const_low_cardinality/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function multiSearchFirstIndex (children 1) + ExpressionList (children 2) + Function toLowCardinality (children 1) + ExpressionList (children 1) + Literal \'\' + Function array (children 1) + ExpressionList (children 1) + Function toLowCardinality (children 1) + ExpressionList (children 1) + Literal \'\' diff --git a/parser/testdata/03032_numbers_zeros/explain.txt b/parser/testdata/03032_numbers_zeros/explain.txt new file mode 100644 index 000000000..cdfd79afc --- /dev/null +++ b/parser/testdata/03032_numbers_zeros/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'------numbers_0-argument-----\' diff --git a/parser/testdata/03032_redundant_equals/explain.txt b/parser/testdata/03032_redundant_equals/explain.txt new file mode 100644 index 000000000..d4bf1aa3f --- /dev/null +++ b/parser/testdata/03032_redundant_equals/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_table (children 1) + Identifier test_table diff --git a/parser/testdata/03032_rmt_create_columns_from_replica/explain.txt b/parser/testdata/03032_rmt_create_columns_from_replica/explain.txt new file mode 100644 index 000000000..64e9fea5d --- /dev/null +++ b/parser/testdata/03032_rmt_create_columns_from_replica/explain.txt @@ -0,0 +1,2 @@ +DropQuery data_r1 (children 1) + Identifier data_r1 diff --git a/parser/testdata/03032_save_bad_json_escape_sequences/explain.txt b/parser/testdata/03032_save_bad_json_escape_sequences/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03032_save_bad_json_escape_sequences/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03032_scalars_create_as_select/explain.txt b/parser/testdata/03032_scalars_create_as_select/explain.txt new file mode 100644 index 000000000..3752c0c48 --- /dev/null +++ b/parser/testdata/03032_scalars_create_as_select/explain.txt @@ -0,0 +1,31 @@ +CreateQuery query_run_metric_arrays (children 3) + Identifier query_run_metric_arrays + Storage definition (children 1) + Function Memory + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Subquery (alias all_metrics) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Subquery (alias all_names) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function groupUniqArrayArray (children 1) + ExpressionList (children 1) + Literal Array_[\'a\', \'b\'] + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1 + ExpressionList (children 1) + Identifier all_names + ExpressionList (children 1) + Identifier all_metrics diff --git a/parser/testdata/03032_storage_memory_modify_settings/explain.txt b/parser/testdata/03032_storage_memory_modify_settings/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03032_storage_memory_modify_settings/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03032_string_to_variant_cast/explain.txt b/parser/testdata/03032_string_to_variant_cast/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03032_string_to_variant_cast/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03032_variant_bool_number_not_suspicious/explain.txt b/parser/testdata/03032_variant_bool_number_not_suspicious/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03032_variant_bool_number_not_suspicious/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03033_analyzer_merge_engine_filter_push_down/explain.txt b/parser/testdata/03033_analyzer_merge_engine_filter_push_down/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03033_analyzer_merge_engine_filter_push_down/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03033_analyzer_parametrized_view_alias/explain.txt b/parser/testdata/03033_analyzer_parametrized_view_alias/explain.txt new file mode 100644 index 000000000..7d8576bbf --- /dev/null +++ b/parser/testdata/03033_analyzer_parametrized_view_alias/explain.txt @@ -0,0 +1,2 @@ +CreateQuery raw_data (children 1) + Identifier raw_data diff --git a/parser/testdata/03033_analyzer_resolve_from_parent_scope/explain.txt b/parser/testdata/03033_analyzer_resolve_from_parent_scope/explain.txt new file mode 100644 index 000000000..fd214669c --- /dev/null +++ b/parser/testdata/03033_analyzer_resolve_from_parent_scope/explain.txt @@ -0,0 +1,10 @@ +CreateQuery vecs_Float32 (children 3) + Identifier vecs_Float32 + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration v (children 1) + DataType Array (children 1) + ExpressionList (children 1) + DataType Float32 + Storage definition (children 1) + Function Memory diff --git a/parser/testdata/03033_create_as_copies_comment/explain.txt b/parser/testdata/03033_create_as_copies_comment/explain.txt new file mode 100644 index 000000000..b45127cf1 --- /dev/null +++ b/parser/testdata/03033_create_as_copies_comment/explain.txt @@ -0,0 +1,2 @@ +DropQuery base (children 1) + Identifier base diff --git a/parser/testdata/03033_cte_numbers_memory/explain.txt b/parser/testdata/03033_cte_numbers_memory/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03033_cte_numbers_memory/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03033_dist_settings.optimize_skip_unused_shards_rewrite_in_composite_sharding_key/explain.txt b/parser/testdata/03033_dist_settings.optimize_skip_unused_shards_rewrite_in_composite_sharding_key/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/03033_dist_settings.optimize_skip_unused_shards_rewrite_in_composite_sharding_key/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/03033_distinct_transform_const_columns/explain.txt b/parser/testdata/03033_distinct_transform_const_columns/explain.txt new file mode 100644 index 000000000..84e26e89f --- /dev/null +++ b/parser/testdata/03033_distinct_transform_const_columns/explain.txt @@ -0,0 +1,78 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function COALESCE (children 1) + ExpressionList (children 13) + Function equals (children 1) + ExpressionList (children 2) + Function COALESCE (children 1) + ExpressionList (children 1) + Literal \'\' + Function toNullable (children 1) + ExpressionList (children 1) + Literal \'b3\' + Function toUInt128 (children 1) + ExpressionList (children 1) + Function toNullable (children 1) + ExpressionList (children 1) + Literal UInt64_2 + Literal UInt64_2 + Literal UInt64_2 + Function toLowCardinality (children 1) + ExpressionList (children 1) + Literal UInt64_2 + Literal UInt64_2 + Literal UInt64_2 + Literal UInt64_2 + Function toUInt128 (children 1) + ExpressionList (children 1) + Function toNullable (children 1) + ExpressionList (children 1) + Literal UInt64_2 + Function materialize (children 1) + ExpressionList (children 1) + Literal UInt64_2 + Function toUInt128 (children 1) + ExpressionList (children 1) + Literal UInt64_2 + Literal UInt64_2 + Literal UInt64_2 + Function COALESCE (children 1) + ExpressionList (children 13) + Function equals (children 1) + ExpressionList (children 2) + Function COALESCE (children 1) + ExpressionList (children 1) + Function COALESCE (children 1) + ExpressionList (children 1) + Function materialize (children 1) + ExpressionList (children 1) + Literal \'\' + Literal \'b3\' + Literal UInt64_2 + Literal UInt64_2 + Literal UInt64_2 + Function toLowCardinality (children 1) + ExpressionList (children 1) + Literal UInt64_2 + Function toUInt128 (children 1) + ExpressionList (children 1) + Literal UInt64_2 + Literal UInt64_2 + Literal UInt64_2 + Literal UInt64_2 + Function materialize (children 1) + ExpressionList (children 1) + Function toUInt256 (children 1) + ExpressionList (children 1) + Literal UInt64_2 + Literal UInt64_2 + Literal UInt64_2 + Literal UInt64_2 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_100000 diff --git a/parser/testdata/03033_dynamic_text_serialization/explain.txt b/parser/testdata/03033_dynamic_text_serialization/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03033_dynamic_text_serialization/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03033_final_undefined_last_mark/explain.txt b/parser/testdata/03033_final_undefined_last_mark/explain.txt new file mode 100644 index 000000000..99d84b9e8 --- /dev/null +++ b/parser/testdata/03033_final_undefined_last_mark/explain.txt @@ -0,0 +1,2 @@ +DropQuery account_test (children 1) + Identifier account_test diff --git a/parser/testdata/03033_from_unixtimestamp_joda_by_int64/explain.txt b/parser/testdata/03033_from_unixtimestamp_joda_by_int64/explain.txt new file mode 100644 index 000000000..13f3a8d15 --- /dev/null +++ b/parser/testdata/03033_from_unixtimestamp_joda_by_int64/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function fromUnixTimestampInJodaSyntax (children 1) + ExpressionList (children 3) + Literal UInt64_10262736196 + Literal \'YYYY-MM-dd HH:mm:ss\' + Literal \'Asia/Shanghai\' diff --git a/parser/testdata/03033_index_definition_sql_udf_bug/explain.txt b/parser/testdata/03033_index_definition_sql_udf_bug/explain.txt new file mode 100644 index 000000000..a8a51f196 --- /dev/null +++ b/parser/testdata/03033_index_definition_sql_udf_bug/explain.txt @@ -0,0 +1 @@ +DropFunctionQuery diff --git a/parser/testdata/03033_lightweight_deletes_sync/explain.txt b/parser/testdata/03033_lightweight_deletes_sync/explain.txt new file mode 100644 index 000000000..cdf83ee0b --- /dev/null +++ b/parser/testdata/03033_lightweight_deletes_sync/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_lightweight_deletes (children 1) + Identifier t_lightweight_deletes diff --git a/parser/testdata/03033_parts_splitter_bug_and_index_loading/explain.txt b/parser/testdata/03033_parts_splitter_bug_and_index_loading/explain.txt new file mode 100644 index 000000000..d61690562 --- /dev/null +++ b/parser/testdata/03033_parts_splitter_bug_and_index_loading/explain.txt @@ -0,0 +1,15 @@ +CreateQuery t (children 3) + Identifier t + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration a (children 1) + DataType UInt32 + ColumnDeclaration b (children 1) + DataType UInt32 + Storage definition (children 3) + Function MergeTree + Function tuple (children 1) + ExpressionList (children 2) + Identifier a + Identifier b + Set diff --git a/parser/testdata/03033_recursive_cte_basic/explain.txt b/parser/testdata/03033_recursive_cte_basic/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03033_recursive_cte_basic/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03033_scalars_context_data_race/explain.txt b/parser/testdata/03033_scalars_context_data_race/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03033_scalars_context_data_race/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03033_set_index_in/explain.txt b/parser/testdata/03033_set_index_in/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03033_set_index_in/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03033_tupleIntXYZ_and_tupleModulo/explain.txt b/parser/testdata/03033_tupleIntXYZ_and_tupleModulo/explain.txt new file mode 100644 index 000000000..b62065dc6 --- /dev/null +++ b/parser/testdata/03033_tupleIntXYZ_and_tupleModulo/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function tupleIntDiv (children 1) + ExpressionList (children 2) + Literal Tuple_(UInt64_15, UInt64_10, UInt64_5) + Literal Tuple_(UInt64_0, UInt64_0, UInt64_0) +The query succeeded but the server error '153' was expected (query: EXPLAIN AST SELECT tupleIntDiv((15, 10, 5), (0, 0, 0)); -- { serverError ILLEGAL_DIVISION }). diff --git a/parser/testdata/03033_virtual_column_override/explain.txt b/parser/testdata/03033_virtual_column_override/explain.txt new file mode 100644 index 000000000..d80349f5d --- /dev/null +++ b/parser/testdata/03033_virtual_column_override/explain.txt @@ -0,0 +1,2 @@ +DropQuery override_test (children 1) + Identifier override_test diff --git a/parser/testdata/03033_with_fill_interpolate/explain.txt b/parser/testdata/03033_with_fill_interpolate/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03033_with_fill_interpolate/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03034_ddls_and_merges_with_unusual_maps/explain.txt b/parser/testdata/03034_ddls_and_merges_with_unusual_maps/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03034_ddls_and_merges_with_unusual_maps/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03034_dynamic_conversions/explain.txt b/parser/testdata/03034_dynamic_conversions/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03034_dynamic_conversions/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03034_json_extract_variant/explain.txt b/parser/testdata/03034_json_extract_variant/explain.txt new file mode 100644 index 000000000..7dbf31105 --- /dev/null +++ b/parser/testdata/03034_json_extract_variant/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function JSONExtract (alias v) (children 1) + ExpressionList (children 3) + Literal \'{"a" : 42}\' + Literal \'a\' + Literal \'Variant(String, UInt32)\' + Function variantType (children 1) + ExpressionList (children 1) + Identifier v diff --git a/parser/testdata/03034_normalized_ast/explain.txt b/parser/testdata/03034_normalized_ast/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03034_normalized_ast/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03034_recursive_cte_tree/explain.txt b/parser/testdata/03034_recursive_cte_tree/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03034_recursive_cte_tree/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/explain.txt b/parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03034_recursive_cte_tree_merge_tree/explain.txt b/parser/testdata/03034_recursive_cte_tree_merge_tree/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03034_recursive_cte_tree_merge_tree/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03035_alias_column_bug_distributed/explain.txt b/parser/testdata/03035_alias_column_bug_distributed/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03035_alias_column_bug_distributed/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03035_argMinMax_numeric_non_extreme_bug/explain.txt b/parser/testdata/03035_argMinMax_numeric_non_extreme_bug/explain.txt new file mode 100644 index 000000000..2dc2d2a36 --- /dev/null +++ b/parser/testdata/03035_argMinMax_numeric_non_extreme_bug/explain.txt @@ -0,0 +1,2 @@ +CreateQuery test (children 1) + Identifier test diff --git a/parser/testdata/03035_dynamic_sorting/explain.txt b/parser/testdata/03035_dynamic_sorting/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03035_dynamic_sorting/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03035_internal_functions_direct_call/explain.txt b/parser/testdata/03035_internal_functions_direct_call/explain.txt new file mode 100644 index 000000000..6f02c788f --- /dev/null +++ b/parser/testdata/03035_internal_functions_direct_call/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function __actionName (children 1) + ExpressionList +The query succeeded but the server error '42' was expected (query: EXPLAIN AST SELECT __actionName(); -- { serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH }). diff --git a/parser/testdata/03035_materialized_primary_key/explain.txt b/parser/testdata/03035_materialized_primary_key/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03035_materialized_primary_key/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03035_morton_encode_no_rows/explain.txt b/parser/testdata/03035_morton_encode_no_rows/explain.txt new file mode 100644 index 000000000..ce94f09ce --- /dev/null +++ b/parser/testdata/03035_morton_encode_no_rows/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function mortonEncode (children 1) + ExpressionList (children 3) + Function materialize (children 1) + ExpressionList (children 1) + Literal Tuple_(UInt64_1, UInt64_1) + Literal UInt64_65534 + Literal UInt64_65533 diff --git a/parser/testdata/03035_recursive_cte_postgres_1/metadata.json b/parser/testdata/03035_recursive_cte_postgres_1/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03035_recursive_cte_postgres_1/metadata.json +++ b/parser/testdata/03035_recursive_cte_postgres_1/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03036_clamp/explain.txt b/parser/testdata/03036_clamp/explain.txt new file mode 100644 index 000000000..b36e5ef2a --- /dev/null +++ b/parser/testdata/03036_clamp/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function clamp (children 1) + ExpressionList (children 3) + Literal UInt64_1 + Literal UInt64_10 + Literal UInt64_20 diff --git a/parser/testdata/03036_dynamic_read_shared_subcolumns_compact_merge_tree/explain.txt b/parser/testdata/03036_dynamic_read_shared_subcolumns_compact_merge_tree/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03036_dynamic_read_shared_subcolumns_compact_merge_tree/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03036_dynamic_read_shared_subcolumns_memory/explain.txt b/parser/testdata/03036_dynamic_read_shared_subcolumns_memory/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03036_dynamic_read_shared_subcolumns_memory/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03036_dynamic_read_shared_subcolumns_wide_merge_tree/explain.txt b/parser/testdata/03036_dynamic_read_shared_subcolumns_wide_merge_tree/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03036_dynamic_read_shared_subcolumns_wide_merge_tree/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03036_dynamic_read_subcolumns_compact_merge_tree/explain.txt b/parser/testdata/03036_dynamic_read_subcolumns_compact_merge_tree/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03036_dynamic_read_subcolumns_compact_merge_tree/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03036_dynamic_read_subcolumns_memory/explain.txt b/parser/testdata/03036_dynamic_read_subcolumns_memory/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03036_dynamic_read_subcolumns_memory/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03036_dynamic_read_subcolumns_wide_merge_tree/explain.txt b/parser/testdata/03036_dynamic_read_subcolumns_wide_merge_tree/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03036_dynamic_read_subcolumns_wide_merge_tree/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03036_join_filter_push_down_equivalent_sets/explain.txt b/parser/testdata/03036_join_filter_push_down_equivalent_sets/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03036_join_filter_push_down_equivalent_sets/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03036_prewhere_lambda_function/explain.txt b/parser/testdata/03036_prewhere_lambda_function/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/03036_prewhere_lambda_function/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/03036_reading_s3_archives/explain.txt b/parser/testdata/03036_reading_s3_archives/explain.txt new file mode 100644 index 000000000..c762c872c --- /dev/null +++ b/parser/testdata/03036_reading_s3_archives/explain.txt @@ -0,0 +1,26 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 5) + Identifier id + Identifier data + Identifier _size + Identifier _file + Identifier _path + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function s3 (children 1) + ExpressionList (children 2) + Identifier s3_conn + Function equals (children 1) + ExpressionList (children 2) + Identifier filename + Literal \'03036_archive1.zip :: example1.csv\' + ExpressionList (children 1) + OrderByElement (children 1) + Function tuple (children 1) + ExpressionList (children 3) + Identifier id + Identifier _file + Identifier _path diff --git a/parser/testdata/03036_reading_s3_cluster_archives/explain.txt b/parser/testdata/03036_reading_s3_cluster_archives/explain.txt new file mode 100644 index 000000000..660ef01f8 --- /dev/null +++ b/parser/testdata/03036_reading_s3_cluster_archives/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'s3, single archive\' diff --git a/parser/testdata/03036_recursive_cte_postgres_2/metadata.json b/parser/testdata/03036_recursive_cte_postgres_2/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03036_recursive_cte_postgres_2/metadata.json +++ b/parser/testdata/03036_recursive_cte_postgres_2/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03036_schema_inference_cache_s3_archives/explain.txt b/parser/testdata/03036_schema_inference_cache_s3_archives/explain.txt new file mode 100644 index 000000000..249518f54 --- /dev/null +++ b/parser/testdata/03036_schema_inference_cache_s3_archives/explain.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function s3 (children 1) + ExpressionList (children 2) + Identifier s3_conn + Function equals (children 1) + ExpressionList (children 2) + Identifier filename + Literal \'03036_archive1.zip :: example{1,2}.csv\' + ExpressionList (children 1) + OrderByElement (children 1) + Function tuple (children 1) + ExpressionList (children 1) + Asterisk diff --git a/parser/testdata/03036_with_numbers/explain.txt b/parser/testdata/03036_with_numbers/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03036_with_numbers/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03037_dot_product_overflow/explain.txt b/parser/testdata/03037_dot_product_overflow/explain.txt new file mode 100644 index 000000000..76aeb3b67 --- /dev/null +++ b/parser/testdata/03037_dot_product_overflow/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function ignore (children 1) + ExpressionList (children 1) + Function dotProduct (children 1) + ExpressionList (children 2) + Function materialize (children 1) + ExpressionList (children 1) + Literal Array_[UInt64_9223372036854775807, UInt64_1] + Function materialize (children 1) + ExpressionList (children 1) + Literal Array_[Int64_-3, UInt64_1] diff --git a/parser/testdata/03037_dynamic_merges_1_horizontal_compact_merge_tree/explain.txt b/parser/testdata/03037_dynamic_merges_1_horizontal_compact_merge_tree/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03037_dynamic_merges_1_horizontal_compact_merge_tree/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03037_dynamic_merges_1_horizontal_compact_wide_tree/explain.txt b/parser/testdata/03037_dynamic_merges_1_horizontal_compact_wide_tree/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03037_dynamic_merges_1_horizontal_compact_wide_tree/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03037_dynamic_merges_1_vertical_compact_merge_tree/explain.txt b/parser/testdata/03037_dynamic_merges_1_vertical_compact_merge_tree/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03037_dynamic_merges_1_vertical_compact_merge_tree/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03037_dynamic_merges_1_vertical_wide_merge_tree/explain.txt b/parser/testdata/03037_dynamic_merges_1_vertical_wide_merge_tree/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03037_dynamic_merges_1_vertical_wide_merge_tree/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03037_dynamic_merges_2_horizontal_compact_merge_tree/explain.txt b/parser/testdata/03037_dynamic_merges_2_horizontal_compact_merge_tree/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03037_dynamic_merges_2_horizontal_compact_merge_tree/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03037_dynamic_merges_2_horizontal_wide_merge_tree/explain.txt b/parser/testdata/03037_dynamic_merges_2_horizontal_wide_merge_tree/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03037_dynamic_merges_2_horizontal_wide_merge_tree/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03037_dynamic_merges_2_vertical_compact_merge_tree/explain.txt b/parser/testdata/03037_dynamic_merges_2_vertical_compact_merge_tree/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03037_dynamic_merges_2_vertical_compact_merge_tree/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03037_dynamic_merges_2_vertical_wide_merge_tree/explain.txt b/parser/testdata/03037_dynamic_merges_2_vertical_wide_merge_tree/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03037_dynamic_merges_2_vertical_wide_merge_tree/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03037_precent_rank/explain.txt b/parser/testdata/03037_precent_rank/explain.txt new file mode 100644 index 000000000..111392309 --- /dev/null +++ b/parser/testdata/03037_precent_rank/explain.txt @@ -0,0 +1,2 @@ +DropQuery product_groups (children 1) + Identifier product_groups diff --git a/parser/testdata/03037_recursive_cte_postgres_3/metadata.json b/parser/testdata/03037_recursive_cte_postgres_3/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03037_recursive_cte_postgres_3/metadata.json +++ b/parser/testdata/03037_recursive_cte_postgres_3/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03037_s3_write_to_globbed_partitioned_path/explain.txt b/parser/testdata/03037_s3_write_to_globbed_partitioned_path/explain.txt new file mode 100644 index 000000000..000ba62fb --- /dev/null +++ b/parser/testdata/03037_s3_write_to_globbed_partitioned_path/explain.txt @@ -0,0 +1,20 @@ +InsertQuery (children 3) + Function s3 (children 1) + ExpressionList (children 1) + Literal \'http://localhost:11111/test/data_*_{_partition_id}.csv\' + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_3 + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 +The query succeeded but the server error '291' was expected (query: EXPLAIN AST insert into function s3('http://localhost:11111/test/data_*_{_partition_id}.csv') partition by number % 3 select * from numbers(10); -- {serverError DATABASE_ACCESS_DENIED}). diff --git a/parser/testdata/03037_union_view/explain.txt b/parser/testdata/03037_union_view/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03037_union_view/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03037_zero_step_in_numbers_table_function/explain.txt b/parser/testdata/03037_zero_step_in_numbers_table_function/explain.txt new file mode 100644 index 000000000..38dc04fda --- /dev/null +++ b/parser/testdata/03037_zero_step_in_numbers_table_function/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 3) + Literal UInt64_1 + Literal UInt64_10 + Literal UInt64_0 +The query succeeded but the server error '36' was expected (query: EXPLAIN AST select * from numbers(1, 10, 0); -- {serverError BAD_ARGUMENTS}). diff --git a/parser/testdata/03038_ambiguous_column/explain.txt b/parser/testdata/03038_ambiguous_column/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03038_ambiguous_column/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03038_move_partition_to_oneself_deadlock/explain.txt b/parser/testdata/03038_move_partition_to_oneself_deadlock/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03038_move_partition_to_oneself_deadlock/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03038_nested_dynamic_merges_compact_horizontal/explain.txt b/parser/testdata/03038_nested_dynamic_merges_compact_horizontal/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03038_nested_dynamic_merges_compact_horizontal/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03038_nested_dynamic_merges_compact_vertical/explain.txt b/parser/testdata/03038_nested_dynamic_merges_compact_vertical/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03038_nested_dynamic_merges_compact_vertical/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03038_nested_dynamic_merges_wide_horizontal/explain.txt b/parser/testdata/03038_nested_dynamic_merges_wide_horizontal/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03038_nested_dynamic_merges_wide_horizontal/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03038_nested_dynamic_merges_wide_vertical/explain.txt b/parser/testdata/03038_nested_dynamic_merges_wide_vertical/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03038_nested_dynamic_merges_wide_vertical/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03038_recursive_cte_postgres_4/metadata.json b/parser/testdata/03038_recursive_cte_postgres_4/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03038_recursive_cte_postgres_4/metadata.json +++ b/parser/testdata/03038_recursive_cte_postgres_4/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03039_recursive_cte_postgres_5/metadata.json b/parser/testdata/03039_recursive_cte_postgres_5/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03039_recursive_cte_postgres_5/metadata.json +++ b/parser/testdata/03039_recursive_cte_postgres_5/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03039_unknown_identifier_window_function/explain.txt b/parser/testdata/03039_unknown_identifier_window_function/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03039_unknown_identifier_window_function/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03040_alias_column_join/explain.txt b/parser/testdata/03040_alias_column_join/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03040_alias_column_join/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03040_array_sum_and_join/explain.txt b/parser/testdata/03040_array_sum_and_join/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03040_array_sum_and_join/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03040_dynamic_type_alters_1_compact_merge_tree/explain.txt b/parser/testdata/03040_dynamic_type_alters_1_compact_merge_tree/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03040_dynamic_type_alters_1_compact_merge_tree/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03040_dynamic_type_alters_1_memory/explain.txt b/parser/testdata/03040_dynamic_type_alters_1_memory/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03040_dynamic_type_alters_1_memory/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03040_dynamic_type_alters_1_wide_merge_tree/explain.txt b/parser/testdata/03040_dynamic_type_alters_1_wide_merge_tree/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03040_dynamic_type_alters_1_wide_merge_tree/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03040_dynamic_type_alters_2_compact_merge_tree/explain.txt b/parser/testdata/03040_dynamic_type_alters_2_compact_merge_tree/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03040_dynamic_type_alters_2_compact_merge_tree/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03040_dynamic_type_alters_2_wide_merge_tree/explain.txt b/parser/testdata/03040_dynamic_type_alters_2_wide_merge_tree/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03040_dynamic_type_alters_2_wide_merge_tree/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03040_recursive_cte_postgres_6/metadata.json b/parser/testdata/03040_recursive_cte_postgres_6/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03040_recursive_cte_postgres_6/metadata.json +++ b/parser/testdata/03040_recursive_cte_postgres_6/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03041_analyzer_gigachad_join/explain.txt b/parser/testdata/03041_analyzer_gigachad_join/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03041_analyzer_gigachad_join/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03041_recursive_cte_postgres_7/metadata.json b/parser/testdata/03041_recursive_cte_postgres_7/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03041_recursive_cte_postgres_7/metadata.json +++ b/parser/testdata/03041_recursive_cte_postgres_7/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03041_select_with_query_result/explain.txt b/parser/testdata/03041_select_with_query_result/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03041_select_with_query_result/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03042_analyzer_alias_join/explain.txt b/parser/testdata/03042_analyzer_alias_join/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03042_analyzer_alias_join/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03042_not_found_column_c1/explain.txt b/parser/testdata/03042_not_found_column_c1/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03042_not_found_column_c1/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03043_group_array_result_is_expected/explain.txt b/parser/testdata/03043_group_array_result_is_expected/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03043_group_array_result_is_expected/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03044_analyzer_alias_join/explain.txt b/parser/testdata/03044_analyzer_alias_join/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03044_analyzer_alias_join/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03044_array_join_columns_in_nested_table/explain.txt b/parser/testdata/03044_array_join_columns_in_nested_table/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03044_array_join_columns_in_nested_table/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03045_analyzer_alias_join_with_if/explain.txt b/parser/testdata/03045_analyzer_alias_join_with_if/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03045_analyzer_alias_join_with_if/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03045_unknown_identifier_alias_substitution/explain.txt b/parser/testdata/03045_unknown_identifier_alias_substitution/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03045_unknown_identifier_alias_substitution/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03046_column_in_block_array_join/explain.txt b/parser/testdata/03046_column_in_block_array_join/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03046_column_in_block_array_join/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03047_analyzer_alias_join/explain.txt b/parser/testdata/03047_analyzer_alias_join/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03047_analyzer_alias_join/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03047_group_by_field_identified_aggregation/explain.txt b/parser/testdata/03047_group_by_field_identified_aggregation/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03047_group_by_field_identified_aggregation/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03047_on_fly_mutations_events/explain.txt b/parser/testdata/03047_on_fly_mutations_events/explain.txt new file mode 100644 index 000000000..6a1aa7ac6 --- /dev/null +++ b/parser/testdata/03047_on_fly_mutations_events/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_lightweight_mut_7 (children 1) + Identifier t_lightweight_mut_7 diff --git a/parser/testdata/03047_on_fly_mutations_materialized/explain.txt b/parser/testdata/03047_on_fly_mutations_materialized/explain.txt new file mode 100644 index 000000000..edb6d9fb9 --- /dev/null +++ b/parser/testdata/03047_on_fly_mutations_materialized/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_update_materialized (children 1) + Identifier t_update_materialized diff --git a/parser/testdata/03047_on_fly_mutations_multiple_updates/explain.txt b/parser/testdata/03047_on_fly_mutations_multiple_updates/explain.txt new file mode 100644 index 000000000..bbf31a519 --- /dev/null +++ b/parser/testdata/03047_on_fly_mutations_multiple_updates/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_lightweight_mut_5 (children 1) + Identifier t_lightweight_mut_5 diff --git a/parser/testdata/03047_on_fly_mutations_multiple_updates_rmt/explain.txt b/parser/testdata/03047_on_fly_mutations_multiple_updates_rmt/explain.txt new file mode 100644 index 000000000..bbf31a519 --- /dev/null +++ b/parser/testdata/03047_on_fly_mutations_multiple_updates_rmt/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_lightweight_mut_5 (children 1) + Identifier t_lightweight_mut_5 diff --git a/parser/testdata/03047_on_fly_mutations_non_deterministic/explain.txt b/parser/testdata/03047_on_fly_mutations_non_deterministic/explain.txt new file mode 100644 index 000000000..d3392bc33 --- /dev/null +++ b/parser/testdata/03047_on_fly_mutations_non_deterministic/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_lightweight_mut_2 (children 1) + Identifier t_lightweight_mut_2 diff --git a/parser/testdata/03047_on_fly_mutations_non_deterministic_replace/explain.txt b/parser/testdata/03047_on_fly_mutations_non_deterministic_replace/explain.txt new file mode 100644 index 000000000..bbf31a519 --- /dev/null +++ b/parser/testdata/03047_on_fly_mutations_non_deterministic_replace/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_lightweight_mut_5 (children 1) + Identifier t_lightweight_mut_5 diff --git a/parser/testdata/03047_on_fly_mutations_prewhere/explain.txt b/parser/testdata/03047_on_fly_mutations_prewhere/explain.txt new file mode 100644 index 000000000..7f8f9b263 --- /dev/null +++ b/parser/testdata/03047_on_fly_mutations_prewhere/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_update_prewhere (children 1) + Identifier t_update_prewhere diff --git a/parser/testdata/03047_on_fly_mutations_projections/explain.txt b/parser/testdata/03047_on_fly_mutations_projections/explain.txt new file mode 100644 index 000000000..8d69e2092 --- /dev/null +++ b/parser/testdata/03047_on_fly_mutations_projections/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_update_projections (children 1) + Identifier t_update_projections diff --git a/parser/testdata/03047_on_fly_mutations_skip_index/explain.txt b/parser/testdata/03047_on_fly_mutations_skip_index/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03047_on_fly_mutations_skip_index/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03047_on_fly_update_delete/explain.txt b/parser/testdata/03047_on_fly_update_delete/explain.txt new file mode 100644 index 000000000..40eca8948 --- /dev/null +++ b/parser/testdata/03047_on_fly_update_delete/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_lightweight_mut_6 (children 1) + Identifier t_lightweight_mut_6 diff --git a/parser/testdata/03048_not_found_column_xxx_in_block/explain.txt b/parser/testdata/03048_not_found_column_xxx_in_block/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03048_not_found_column_xxx_in_block/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03049_analyzer_group_by_alias/explain.txt b/parser/testdata/03049_analyzer_group_by_alias/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03049_analyzer_group_by_alias/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03049_unknown_identifier_materialized_column/explain.txt b/parser/testdata/03049_unknown_identifier_materialized_column/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03049_unknown_identifier_materialized_column/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03050_select_one_one_one/explain.txt b/parser/testdata/03050_select_one_one_one/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03050_select_one_one_one/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03051_many_ctes/explain.txt b/parser/testdata/03051_many_ctes/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03051_many_ctes/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03052_query_hash_includes_aliases/explain.txt b/parser/testdata/03052_query_hash_includes_aliases/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03052_query_hash_includes_aliases/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03053_analyzer_join_alias/explain.txt b/parser/testdata/03053_analyzer_join_alias/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03053_analyzer_join_alias/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03054_analyzer_join_alias/explain.txt b/parser/testdata/03054_analyzer_join_alias/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03054_analyzer_join_alias/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03055_analyzer_subquery_group_array/explain.txt b/parser/testdata/03055_analyzer_subquery_group_array/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03055_analyzer_subquery_group_array/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03057_analyzer_subquery_alias_join/explain.txt b/parser/testdata/03057_analyzer_subquery_alias_join/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03057_analyzer_subquery_alias_join/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03058_analyzer_ambiguous_columns/explain.txt b/parser/testdata/03058_analyzer_ambiguous_columns/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03058_analyzer_ambiguous_columns/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03059_analyzer_join_engine_missing_column/explain.txt b/parser/testdata/03059_analyzer_join_engine_missing_column/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03059_analyzer_join_engine_missing_column/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03060_analyzer_regular_view_alias/explain.txt b/parser/testdata/03060_analyzer_regular_view_alias/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03060_analyzer_regular_view_alias/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03061_analyzer_alias_as_right_key_in_join/explain.txt b/parser/testdata/03061_analyzer_alias_as_right_key_in_join/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03061_analyzer_alias_as_right_key_in_join/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03062_analyzer_join_engine_missing_column/explain.txt b/parser/testdata/03062_analyzer_join_engine_missing_column/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03062_analyzer_join_engine_missing_column/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03063_analyzer_multi_join_wrong_table_specifier/explain.txt b/parser/testdata/03063_analyzer_multi_join_wrong_table_specifier/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03063_analyzer_multi_join_wrong_table_specifier/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03064_analyzer_named_subqueries/explain.txt b/parser/testdata/03064_analyzer_named_subqueries/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03064_analyzer_named_subqueries/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03065_analyzer_cross_join_and_array_join/explain.txt b/parser/testdata/03065_analyzer_cross_join_and_array_join/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03065_analyzer_cross_join_and_array_join/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03066_analyzer_global_with_statement/explain.txt b/parser/testdata/03066_analyzer_global_with_statement/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03066_analyzer_global_with_statement/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03067_analyzer_complex_alias_join/explain.txt b/parser/testdata/03067_analyzer_complex_alias_join/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03067_analyzer_complex_alias_join/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03068_analyzer_distributed_join/explain.txt b/parser/testdata/03068_analyzer_distributed_join/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03068_analyzer_distributed_join/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03069_analyzer_with_alias_in_array_join/explain.txt b/parser/testdata/03069_analyzer_with_alias_in_array_join/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03069_analyzer_with_alias_in_array_join/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03070_analyzer_CTE_scalar_as_numbers/explain.txt b/parser/testdata/03070_analyzer_CTE_scalar_as_numbers/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03070_analyzer_CTE_scalar_as_numbers/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03071_analyzer_array_join_forbid_non_existing_columns/explain.txt b/parser/testdata/03071_analyzer_array_join_forbid_non_existing_columns/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03071_analyzer_array_join_forbid_non_existing_columns/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03071_fix_short_circuit_logic/explain.txt b/parser/testdata/03071_fix_short_circuit_logic/explain.txt new file mode 100644 index 000000000..4b50c04fa --- /dev/null +++ b/parser/testdata/03071_fix_short_circuit_logic/explain.txt @@ -0,0 +1,13 @@ +CreateFunctionQuery unhexPrefixed (children 2) + Identifier unhexPrefixed + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier value + Function unhex (children 1) + ExpressionList (children 1) + Function substring (children 1) + ExpressionList (children 2) + Identifier value + Literal UInt64_3 diff --git a/parser/testdata/03072_analyzer_missing_columns_from_subquery/explain.txt b/parser/testdata/03072_analyzer_missing_columns_from_subquery/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03072_analyzer_missing_columns_from_subquery/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03073_analyzer_alias_as_column_name/explain.txt b/parser/testdata/03073_analyzer_alias_as_column_name/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03073_analyzer_alias_as_column_name/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03074_analyzer_alias_column_in_view/explain.txt b/parser/testdata/03074_analyzer_alias_column_in_view/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03074_analyzer_alias_column_in_view/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03075_analyzer_subquery_alias/explain.txt b/parser/testdata/03075_analyzer_subquery_alias/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03075_analyzer_subquery_alias/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03076_analyzer_multiple_joins_alias/explain.txt b/parser/testdata/03076_analyzer_multiple_joins_alias/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03076_analyzer_multiple_joins_alias/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03077_analyzer_multi_scalar_subquery_aliases/explain.txt b/parser/testdata/03077_analyzer_multi_scalar_subquery_aliases/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03077_analyzer_multi_scalar_subquery_aliases/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03078_analyzer_multi_scalar_subquery_aliases/explain.txt b/parser/testdata/03078_analyzer_multi_scalar_subquery_aliases/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03078_analyzer_multi_scalar_subquery_aliases/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03079_analyzer_numeric_literals_as_column_names/explain.txt b/parser/testdata/03079_analyzer_numeric_literals_as_column_names/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03079_analyzer_numeric_literals_as_column_names/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03080_analyzer_prefer_column_name_to_alias__virtual_columns/explain.txt b/parser/testdata/03080_analyzer_prefer_column_name_to_alias__virtual_columns/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03080_analyzer_prefer_column_name_to_alias__virtual_columns/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03080_incorrect_join_with_merge/explain.txt b/parser/testdata/03080_incorrect_join_with_merge/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03080_incorrect_join_with_merge/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03081_analyzer_agg_func_CTE/explain.txt b/parser/testdata/03081_analyzer_agg_func_CTE/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03081_analyzer_agg_func_CTE/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03082_analyzer_left_join_correct_column/explain.txt b/parser/testdata/03082_analyzer_left_join_correct_column/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03082_analyzer_left_join_correct_column/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03084_analyzer_join_column_alias/explain.txt b/parser/testdata/03084_analyzer_join_column_alias/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03084_analyzer_join_column_alias/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03085_analyzer_alias_column_group_by/explain.txt b/parser/testdata/03085_analyzer_alias_column_group_by/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03085_analyzer_alias_column_group_by/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03086_analyzer_window_func_part_of_group_by/explain.txt b/parser/testdata/03086_analyzer_window_func_part_of_group_by/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03086_analyzer_window_func_part_of_group_by/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03087_analyzer_subquery_with_alias/explain.txt b/parser/testdata/03087_analyzer_subquery_with_alias/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03087_analyzer_subquery_with_alias/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03088_analyzer_ambiguous_column_multi_call/explain.txt b/parser/testdata/03088_analyzer_ambiguous_column_multi_call/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03088_analyzer_ambiguous_column_multi_call/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03089_analyzer_alias_replacement/explain.txt b/parser/testdata/03089_analyzer_alias_replacement/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03089_analyzer_alias_replacement/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03090_analyzer_multiple_using_statements/explain.txt b/parser/testdata/03090_analyzer_multiple_using_statements/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03090_analyzer_multiple_using_statements/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03091_analyzer_same_table_name_in_different_databases/explain.txt b/parser/testdata/03091_analyzer_same_table_name_in_different_databases/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03091_analyzer_same_table_name_in_different_databases/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03092_analyzer_same_table_name_in_different_databases/explain.txt b/parser/testdata/03092_analyzer_same_table_name_in_different_databases/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03092_analyzer_same_table_name_in_different_databases/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03093_analyzer_column_alias/explain.txt b/parser/testdata/03093_analyzer_column_alias/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03093_analyzer_column_alias/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03093_analyzer_miel_test/explain.txt b/parser/testdata/03093_analyzer_miel_test/explain.txt new file mode 100644 index 000000000..016751582 --- /dev/null +++ b/parser/testdata/03093_analyzer_miel_test/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_03093 (children 1) + Identifier test_03093 diff --git a/parser/testdata/03093_bug37909_query_does_not_finish/metadata.json b/parser/testdata/03093_bug37909_query_does_not_finish/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03093_bug37909_query_does_not_finish/metadata.json +++ b/parser/testdata/03093_bug37909_query_does_not_finish/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03093_bug_gcd_codec/explain.txt b/parser/testdata/03093_bug_gcd_codec/explain.txt new file mode 100644 index 000000000..a59ad1be7 --- /dev/null +++ b/parser/testdata/03093_bug_gcd_codec/explain.txt @@ -0,0 +1,10 @@ +CreateQuery test_gcd (children 2) + Identifier test_gcd + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration test_col (children 2) + DataType UInt32 + Function CODEC (children 1) + ExpressionList (children 2) + Function GCD + Function LZ4 diff --git a/parser/testdata/03093_reading_bug_with_parallel_replicas/explain.txt b/parser/testdata/03093_reading_bug_with_parallel_replicas/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03093_reading_bug_with_parallel_replicas/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03093_special_column_errors/explain.txt b/parser/testdata/03093_special_column_errors/explain.txt new file mode 100644 index 000000000..ad21ea9af --- /dev/null +++ b/parser/testdata/03093_special_column_errors/explain.txt @@ -0,0 +1,17 @@ +CreateQuery replacing_wrong (children 3) + Identifier replacing_wrong + Columns definition (children 1) + ExpressionList (children 3) + ColumnDeclaration key (children 1) + DataType Int64 + ColumnDeclaration ver (children 1) + DataType Int64 + ColumnDeclaration is_deleted (children 1) + DataType UInt16 + Storage definition (children 2) + Function ReplacingMergeTree (children 1) + ExpressionList (children 2) + Identifier ver + Identifier is_deleted + Identifier key +The query succeeded but the server error '169' was expected (query: EXPLAIN AST CREATE TABLE replacing_wrong (key Int64, ver Int64, is_deleted UInt16) ENGINE = ReplacingMergeTree(ver, is_deleted) ORDER BY key; -- { serverError BAD_TYPE_OF_FIELD }). diff --git a/parser/testdata/03093_virtual_column_override_group_by/explain.txt b/parser/testdata/03093_virtual_column_override_group_by/explain.txt new file mode 100644 index 000000000..699c05f3e --- /dev/null +++ b/parser/testdata/03093_virtual_column_override_group_by/explain.txt @@ -0,0 +1,15 @@ +CreateQuery override_test__fuzz_45 (children 4) + Identifier override_test__fuzz_45 + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration _part (children 1) + DataType Float32 + Storage definition (children 2) + Function MergeTree + Function tuple (children 1) + ExpressionList + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/03093_with_fill_support_constant_expression/explain.txt b/parser/testdata/03093_with_fill_support_constant_expression/explain.txt new file mode 100644 index 000000000..cbe1d8e3b --- /dev/null +++ b/parser/testdata/03093_with_fill_support_constant_expression/explain.txt @@ -0,0 +1,22 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 2) + Literal UInt64_0 (alias l) + Literal UInt64_10 (alias r) + ExpressionList (children 1) + Function multiply (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_5 + ExpressionList (children 1) + OrderByElement (children 3) + Literal UInt64_1 + Identifier l + Identifier r diff --git a/parser/testdata/03094_analyzer_fiddle_multiif/explain.txt b/parser/testdata/03094_analyzer_fiddle_multiif/explain.txt new file mode 100644 index 000000000..25b551b44 --- /dev/null +++ b/parser/testdata/03094_analyzer_fiddle_multiif/explain.txt @@ -0,0 +1,2 @@ +DropQuery users_03094 (children 1) + Identifier users_03094 diff --git a/parser/testdata/03094_grouparraysorted_memory/explain.txt b/parser/testdata/03094_grouparraysorted_memory/explain.txt new file mode 100644 index 000000000..7751e2388 --- /dev/null +++ b/parser/testdata/03094_grouparraysorted_memory/explain.txt @@ -0,0 +1,2 @@ +CreateQuery 03094_grouparrysorted_dest (children 1) + Identifier 03094_grouparrysorted_dest diff --git a/parser/testdata/03094_named_tuple_bug24607/metadata.json b/parser/testdata/03094_named_tuple_bug24607/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03094_named_tuple_bug24607/metadata.json +++ b/parser/testdata/03094_named_tuple_bug24607/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03094_one_thousand_joins/explain.txt b/parser/testdata/03094_one_thousand_joins/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03094_one_thousand_joins/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03094_transform_return_first/explain.txt b/parser/testdata/03094_transform_return_first/explain.txt new file mode 100644 index 000000000..373420167 --- /dev/null +++ b/parser/testdata/03094_transform_return_first/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function transform (children 1) + ExpressionList (children 3) + Literal UInt64_1 + Literal Array_[UInt64_1, UInt64_1, UInt64_1] + Literal Array_[UInt64_1, UInt64_4, UInt64_5] diff --git a/parser/testdata/03094_virtual_column_table_name/explain.txt b/parser/testdata/03094_virtual_column_table_name/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03094_virtual_column_table_name/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03095_group_by_server_constants_bug/explain.txt b/parser/testdata/03095_group_by_server_constants_bug/explain.txt new file mode 100644 index 000000000..c5468a2e7 --- /dev/null +++ b/parser/testdata/03095_group_by_server_constants_bug/explain.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Function serverUUID (alias s) (children 1) + ExpressionList + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.0.0.{1,2}\' + Identifier system.one + ExpressionList (children 1) + Identifier s + Identifier Null diff --git a/parser/testdata/03095_join_filter_push_down_right_stream_filled/explain.txt b/parser/testdata/03095_join_filter_push_down_right_stream_filled/explain.txt new file mode 100644 index 000000000..50570ff87 --- /dev/null +++ b/parser/testdata/03095_join_filter_push_down_right_stream_filled/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1__fuzz_0 (children 1) + Identifier t1__fuzz_0 diff --git a/parser/testdata/03095_merge_and_buffer_tables/explain.txt b/parser/testdata/03095_merge_and_buffer_tables/explain.txt new file mode 100644 index 000000000..7e7113939 --- /dev/null +++ b/parser/testdata/03095_merge_and_buffer_tables/explain.txt @@ -0,0 +1,2 @@ +DropQuery mt1 (children 1) + Identifier mt1 diff --git a/parser/testdata/03095_msan_uuid_string_to_num/explain.txt b/parser/testdata/03095_msan_uuid_string_to_num/explain.txt new file mode 100644 index 000000000..153f35982 --- /dev/null +++ b/parser/testdata/03095_msan_uuid_string_to_num/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function UUIDStringToNum (children 1) + ExpressionList (children 2) + Literal \'00112233-4455-6677-8899-aabbccddeeff\' + Literal UInt64_2 diff --git a/parser/testdata/03095_window_functions_qualify/explain.txt b/parser/testdata/03095_window_functions_qualify/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03095_window_functions_qualify/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03096_largest_triangle_3b_crash/explain.txt b/parser/testdata/03096_largest_triangle_3b_crash/explain.txt new file mode 100644 index 000000000..f215b8f96 --- /dev/null +++ b/parser/testdata/03096_largest_triangle_3b_crash/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function largestTriangleThreeBuckets (children 2) + ExpressionList (children 2) + Literal UInt64_1 + Literal Float64_nan + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/03096_order_by_system_tables/explain.txt b/parser/testdata/03096_order_by_system_tables/explain.txt new file mode 100644 index 000000000..1684cb9d8 --- /dev/null +++ b/parser/testdata/03096_order_by_system_tables/explain.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03096_update_non_indexed_columns/explain.txt b/parser/testdata/03096_update_non_indexed_columns/explain.txt new file mode 100644 index 000000000..77c4fff63 --- /dev/null +++ b/parser/testdata/03096_update_non_indexed_columns/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_03096 (children 1) + Identifier test_03096 diff --git a/parser/testdata/03097_query_log_join_processes/explain.txt b/parser/testdata/03097_query_log_join_processes/explain.txt new file mode 100644 index 000000000..1684cb9d8 --- /dev/null +++ b/parser/testdata/03097_query_log_join_processes/explain.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03098_prefer_column_to_alias_subquery/explain.txt b/parser/testdata/03098_prefer_column_to_alias_subquery/explain.txt new file mode 100644 index 000000000..4fc52a077 --- /dev/null +++ b/parser/testdata/03098_prefer_column_to_alias_subquery/explain.txt @@ -0,0 +1,2 @@ +DropQuery clickhouse_alias_issue_1 (children 1) + Identifier clickhouse_alias_issue_1 diff --git a/parser/testdata/03099_analyzer_multi_join/explain.txt b/parser/testdata/03099_analyzer_multi_join/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03099_analyzer_multi_join/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03100_analyzer_constants_in_multiif/explain.txt b/parser/testdata/03100_analyzer_constants_in_multiif/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03100_analyzer_constants_in_multiif/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03100_lwu_01_basics/explain.txt b/parser/testdata/03100_lwu_01_basics/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03100_lwu_01_basics/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03100_lwu_02_basics/explain.txt b/parser/testdata/03100_lwu_02_basics/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03100_lwu_02_basics/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03100_lwu_03_join/explain.txt b/parser/testdata/03100_lwu_03_join/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03100_lwu_03_join/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03100_lwu_04_prewhere/explain.txt b/parser/testdata/03100_lwu_04_prewhere/explain.txt new file mode 100644 index 000000000..ead6c0d17 --- /dev/null +++ b/parser/testdata/03100_lwu_04_prewhere/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_shared (children 1) + Identifier t_shared diff --git a/parser/testdata/03100_lwu_05_basics/explain.txt b/parser/testdata/03100_lwu_05_basics/explain.txt new file mode 100644 index 000000000..fa2038384 --- /dev/null +++ b/parser/testdata/03100_lwu_05_basics/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_lightweight (children 1) + Identifier t_lightweight diff --git a/parser/testdata/03100_lwu_06_apply_patches/explain.txt b/parser/testdata/03100_lwu_06_apply_patches/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03100_lwu_06_apply_patches/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03100_lwu_07_merge_patches/explain.txt b/parser/testdata/03100_lwu_07_merge_patches/explain.txt new file mode 100644 index 000000000..fa2038384 --- /dev/null +++ b/parser/testdata/03100_lwu_07_merge_patches/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_lightweight (children 1) + Identifier t_lightweight diff --git a/parser/testdata/03100_lwu_08_multiple_blocks/explain.txt b/parser/testdata/03100_lwu_08_multiple_blocks/explain.txt new file mode 100644 index 000000000..d790dde6e --- /dev/null +++ b/parser/testdata/03100_lwu_08_multiple_blocks/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_lightweight_8 (children 1) + Identifier t_lightweight_8 diff --git a/parser/testdata/03100_lwu_09_different_structure/explain.txt b/parser/testdata/03100_lwu_09_different_structure/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03100_lwu_09_different_structure/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03100_lwu_10_apply_on_merges/explain.txt b/parser/testdata/03100_lwu_10_apply_on_merges/explain.txt new file mode 100644 index 000000000..47866958f --- /dev/null +++ b/parser/testdata/03100_lwu_10_apply_on_merges/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_lwu_merges (children 1) + Identifier t_lwu_merges diff --git a/parser/testdata/03100_lwu_12_sequential_consistency/explain.txt b/parser/testdata/03100_lwu_12_sequential_consistency/explain.txt new file mode 100644 index 000000000..e736b377e --- /dev/null +++ b/parser/testdata/03100_lwu_12_sequential_consistency/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_lwu_sequential_1 (children 1) + Identifier t_lwu_sequential_1 diff --git a/parser/testdata/03100_lwu_18_sequence/explain.txt b/parser/testdata/03100_lwu_18_sequence/explain.txt new file mode 100644 index 000000000..02e062b12 --- /dev/null +++ b/parser/testdata/03100_lwu_18_sequence/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_lwu_sequence (children 1) + Identifier t_lwu_sequence diff --git a/parser/testdata/03100_lwu_19_nullable/explain.txt b/parser/testdata/03100_lwu_19_nullable/explain.txt new file mode 100644 index 000000000..e8ee8dc33 --- /dev/null +++ b/parser/testdata/03100_lwu_19_nullable/explain.txt @@ -0,0 +1,2 @@ +DropQuery mutation_table (children 1) + Identifier mutation_table diff --git a/parser/testdata/03100_lwu_20_different_structure/explain.txt b/parser/testdata/03100_lwu_20_different_structure/explain.txt new file mode 100644 index 000000000..1bfae71da --- /dev/null +++ b/parser/testdata/03100_lwu_20_different_structure/explain.txt @@ -0,0 +1,2 @@ +DropQuery testing (children 1) + Identifier testing diff --git a/parser/testdata/03100_lwu_22_detach_attach_patches/explain.txt b/parser/testdata/03100_lwu_22_detach_attach_patches/explain.txt new file mode 100644 index 000000000..63bb51de1 --- /dev/null +++ b/parser/testdata/03100_lwu_22_detach_attach_patches/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_detach_attach_patches (children 1) + Identifier t_detach_attach_patches diff --git a/parser/testdata/03100_lwu_23_apply_patches/explain.txt b/parser/testdata/03100_lwu_23_apply_patches/explain.txt new file mode 100644 index 000000000..2e743a996 --- /dev/null +++ b/parser/testdata/03100_lwu_23_apply_patches/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_apply_patches (children 1) + Identifier t_apply_patches diff --git a/parser/testdata/03100_lwu_26_subcolumns/explain.txt b/parser/testdata/03100_lwu_26_subcolumns/explain.txt new file mode 100644 index 000000000..623104df1 --- /dev/null +++ b/parser/testdata/03100_lwu_26_subcolumns/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_lwu_subcolumns (children 1) + Identifier t_lwu_subcolumns diff --git a/parser/testdata/03100_lwu_27_update_after_on_fly_mutations/explain.txt b/parser/testdata/03100_lwu_27_update_after_on_fly_mutations/explain.txt new file mode 100644 index 000000000..8be266faa --- /dev/null +++ b/parser/testdata/03100_lwu_27_update_after_on_fly_mutations/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_lwu_on_fly (children 1) + Identifier t_lwu_on_fly diff --git a/parser/testdata/03100_lwu_30_join_cache/explain.txt b/parser/testdata/03100_lwu_30_join_cache/explain.txt new file mode 100644 index 000000000..56fc8afea --- /dev/null +++ b/parser/testdata/03100_lwu_30_join_cache/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_patch_join_cache (children 1) + Identifier t_patch_join_cache diff --git a/parser/testdata/03100_lwu_31_merge_memory_usage/explain.txt b/parser/testdata/03100_lwu_31_merge_memory_usage/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03100_lwu_31_merge_memory_usage/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03100_lwu_32_on_fly_filter/explain.txt b/parser/testdata/03100_lwu_32_on_fly_filter/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03100_lwu_32_on_fly_filter/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03100_lwu_33_add_column/explain.txt b/parser/testdata/03100_lwu_33_add_column/explain.txt new file mode 100644 index 000000000..1e140f032 --- /dev/null +++ b/parser/testdata/03100_lwu_33_add_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_lwu_add_column (children 1) + Identifier t_lwu_add_column diff --git a/parser/testdata/03100_lwu_34_multistep_prewhere/explain.txt b/parser/testdata/03100_lwu_34_multistep_prewhere/explain.txt new file mode 100644 index 000000000..8a56a66d7 --- /dev/null +++ b/parser/testdata/03100_lwu_34_multistep_prewhere/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_lwu_multistep (children 1) + Identifier t_lwu_multistep diff --git a/parser/testdata/03100_lwu_35_lock_profile_events/explain.txt b/parser/testdata/03100_lwu_35_lock_profile_events/explain.txt new file mode 100644 index 000000000..e63f70c61 --- /dev/null +++ b/parser/testdata/03100_lwu_35_lock_profile_events/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_lwu_lock_profile_events (children 1) + Identifier t_lwu_lock_profile_events diff --git a/parser/testdata/03100_lwu_36_json_skip_indexes/explain.txt b/parser/testdata/03100_lwu_36_json_skip_indexes/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03100_lwu_36_json_skip_indexes/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03100_lwu_37_update_all_columns/explain.txt b/parser/testdata/03100_lwu_37_update_all_columns/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03100_lwu_37_update_all_columns/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03100_lwu_38_replacing/explain.txt b/parser/testdata/03100_lwu_38_replacing/explain.txt new file mode 100644 index 000000000..e44d570ed --- /dev/null +++ b/parser/testdata/03100_lwu_38_replacing/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_lwu_replacing (children 1) + Identifier t_lwu_replacing diff --git a/parser/testdata/03100_lwu_39_after_replace_partition/explain.txt b/parser/testdata/03100_lwu_39_after_replace_partition/explain.txt new file mode 100644 index 000000000..c0336de80 --- /dev/null +++ b/parser/testdata/03100_lwu_39_after_replace_partition/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_lwu_replace (children 1) + Identifier t_lwu_replace diff --git a/parser/testdata/03100_lwu_41_bytes_limits/explain.txt b/parser/testdata/03100_lwu_41_bytes_limits/explain.txt new file mode 100644 index 000000000..e9f72ca51 --- /dev/null +++ b/parser/testdata/03100_lwu_41_bytes_limits/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_lwu_bytes_limits (children 1) + Identifier t_lwu_bytes_limits diff --git a/parser/testdata/03100_lwu_43_subquery_from_rmt/explain.txt b/parser/testdata/03100_lwu_43_subquery_from_rmt/explain.txt new file mode 100644 index 000000000..a7f330903 --- /dev/null +++ b/parser/testdata/03100_lwu_43_subquery_from_rmt/explain.txt @@ -0,0 +1,2 @@ +DropQuery lightweight_test (children 1) + Identifier lightweight_test diff --git a/parser/testdata/03100_lwu_44_missing_default/explain.txt b/parser/testdata/03100_lwu_44_missing_default/explain.txt new file mode 100644 index 000000000..b1831beeb --- /dev/null +++ b/parser/testdata/03100_lwu_44_missing_default/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_lwu_defaults (children 1) + Identifier t_lwu_defaults diff --git a/parser/testdata/03100_lwu_45_query_condition_cache/explain.txt b/parser/testdata/03100_lwu_45_query_condition_cache/explain.txt new file mode 100644 index 000000000..f64f6024a --- /dev/null +++ b/parser/testdata/03100_lwu_45_query_condition_cache/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_lwu_condition_cache (children 1) + Identifier t_lwu_condition_cache diff --git a/parser/testdata/03100_lwu_46_deletes_skip_indexes/explain.txt b/parser/testdata/03100_lwu_46_deletes_skip_indexes/explain.txt new file mode 100644 index 000000000..351125c80 --- /dev/null +++ b/parser/testdata/03100_lwu_46_deletes_skip_indexes/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_lwd_indexes (children 1) + Identifier t_lwd_indexes diff --git a/parser/testdata/03100_lwu_deletes_1/explain.txt b/parser/testdata/03100_lwu_deletes_1/explain.txt new file mode 100644 index 000000000..d43ed83cf --- /dev/null +++ b/parser/testdata/03100_lwu_deletes_1/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_lwu_delete (children 1) + Identifier t_lwu_delete diff --git a/parser/testdata/03100_lwu_deletes_2/explain.txt b/parser/testdata/03100_lwu_deletes_2/explain.txt new file mode 100644 index 000000000..448c72369 --- /dev/null +++ b/parser/testdata/03100_lwu_deletes_2/explain.txt @@ -0,0 +1,2 @@ +DropQuery lwd_test (children 1) + Identifier lwd_test diff --git a/parser/testdata/03100_lwu_deletes_3/explain.txt b/parser/testdata/03100_lwu_deletes_3/explain.txt new file mode 100644 index 000000000..48f0f7e26 --- /dev/null +++ b/parser/testdata/03100_lwu_deletes_3/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_lwu_deletes_3 (children 1) + Identifier t_lwu_deletes_3 diff --git a/parser/testdata/03100_lwu_deletes_4_index/explain.txt b/parser/testdata/03100_lwu_deletes_4_index/explain.txt new file mode 100644 index 000000000..2e9ad0b85 --- /dev/null +++ b/parser/testdata/03100_lwu_deletes_4_index/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_lwd_index (children 1) + Identifier t_lwd_index diff --git a/parser/testdata/03100_lwu_deletes_5_vertical_merge/explain.txt b/parser/testdata/03100_lwu_deletes_5_vertical_merge/explain.txt new file mode 100644 index 000000000..0b6235888 --- /dev/null +++ b/parser/testdata/03100_lwu_deletes_5_vertical_merge/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_lwu_deletes_vertical (children 1) + Identifier t_lwu_deletes_vertical diff --git a/parser/testdata/03101_analyzer_identifiers_1/explain.txt b/parser/testdata/03101_analyzer_identifiers_1/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03101_analyzer_identifiers_1/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03101_analyzer_identifiers_2/explain.txt b/parser/testdata/03101_analyzer_identifiers_2/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03101_analyzer_identifiers_2/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03101_analyzer_identifiers_3/explain.txt b/parser/testdata/03101_analyzer_identifiers_3/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03101_analyzer_identifiers_3/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03101_analyzer_identifiers_4/explain.txt b/parser/testdata/03101_analyzer_identifiers_4/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03101_analyzer_identifiers_4/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03101_analyzer_invalid_join_on/explain.txt b/parser/testdata/03101_analyzer_invalid_join_on/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/03101_analyzer_invalid_join_on/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/03102_prefer_column_name_to_alias/explain.txt b/parser/testdata/03102_prefer_column_name_to_alias/explain.txt new file mode 100644 index 000000000..a9e7533fa --- /dev/null +++ b/parser/testdata/03102_prefer_column_name_to_alias/explain.txt @@ -0,0 +1,2 @@ +DropQuery loans (children 1) + Identifier loans diff --git a/parser/testdata/03103_positional_arguments/explain.txt b/parser/testdata/03103_positional_arguments/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03103_positional_arguments/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03104_create_view_join/explain.txt b/parser/testdata/03104_create_view_join/explain.txt new file mode 100644 index 000000000..96dc7676c --- /dev/null +++ b/parser/testdata/03104_create_view_join/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_table_01 (children 1) + Identifier test_table_01 diff --git a/parser/testdata/03105_table_aliases_in_mv/explain.txt b/parser/testdata/03105_table_aliases_in_mv/explain.txt new file mode 100644 index 000000000..a8e7a58f3 --- /dev/null +++ b/parser/testdata/03105_table_aliases_in_mv/explain.txt @@ -0,0 +1,2 @@ +DropQuery event (children 1) + Identifier event diff --git a/parser/testdata/03107_ill_formed_select_in_materialized_view/explain.txt b/parser/testdata/03107_ill_formed_select_in_materialized_view/explain.txt new file mode 100644 index 000000000..3b8a0aad6 --- /dev/null +++ b/parser/testdata/03107_ill_formed_select_in_materialized_view/explain.txt @@ -0,0 +1,2 @@ +DropQuery a (children 1) + Identifier a diff --git a/parser/testdata/03108_describe_union_all/explain.txt b/parser/testdata/03108_describe_union_all/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03108_describe_union_all/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03109_ast_too_big/explain.txt b/parser/testdata/03109_ast_too_big/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03109_ast_too_big/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03110_unicode_alias/explain.txt b/parser/testdata/03110_unicode_alias/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03110_unicode_alias/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03111_inner_join_group_by/explain.txt b/parser/testdata/03111_inner_join_group_by/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03111_inner_join_group_by/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03112_analyzer_not_found_column_in_block/explain.txt b/parser/testdata/03112_analyzer_not_found_column_in_block/explain.txt new file mode 100644 index 000000000..84a4e45fd --- /dev/null +++ b/parser/testdata/03112_analyzer_not_found_column_in_block/explain.txt @@ -0,0 +1,2 @@ +DropQuery my_first_table (children 1) + Identifier my_first_table diff --git a/parser/testdata/03113_analyzer_not_found_column_in_block_2/explain.txt b/parser/testdata/03113_analyzer_not_found_column_in_block_2/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/03113_analyzer_not_found_column_in_block_2/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/03114_analyzer_cte_with_join/explain.txt b/parser/testdata/03114_analyzer_cte_with_join/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03114_analyzer_cte_with_join/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03115_alias_exists_column/explain.txt b/parser/testdata/03115_alias_exists_column/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03115_alias_exists_column/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03116_analyzer_explicit_alias_as_column_name/explain.txt b/parser/testdata/03116_analyzer_explicit_alias_as_column_name/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03116_analyzer_explicit_alias_as_column_name/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03117_analyzer_same_column_name_as_func/explain.txt b/parser/testdata/03117_analyzer_same_column_name_as_func/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03117_analyzer_same_column_name_as_func/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03118_analyzer_multi_join_prewhere/explain.txt b/parser/testdata/03118_analyzer_multi_join_prewhere/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03118_analyzer_multi_join_prewhere/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03119_analyzer_window_function_in_CTE_alias/explain.txt b/parser/testdata/03119_analyzer_window_function_in_CTE_alias/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03119_analyzer_window_function_in_CTE_alias/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03120_analyzer_dist_join/explain.txt b/parser/testdata/03120_analyzer_dist_join/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03120_analyzer_dist_join/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03120_analyzer_param_in_CTE_alias/explain.txt b/parser/testdata/03120_analyzer_param_in_CTE_alias/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03120_analyzer_param_in_CTE_alias/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03121_analyzer_filed_redefenition_in_subquery/explain.txt b/parser/testdata/03121_analyzer_filed_redefenition_in_subquery/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03121_analyzer_filed_redefenition_in_subquery/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03122_analyzer_collate_in_window_function/explain.txt b/parser/testdata/03122_analyzer_collate_in_window_function/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03122_analyzer_collate_in_window_function/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03123_analyzer_dist_join_CTE/explain.txt b/parser/testdata/03123_analyzer_dist_join_CTE/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03123_analyzer_dist_join_CTE/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03124_analyzer_nested_CTE_dist_in/explain.txt b/parser/testdata/03124_analyzer_nested_CTE_dist_in/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03124_analyzer_nested_CTE_dist_in/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03125_analyzer_CTE_two_joins/explain.txt b/parser/testdata/03125_analyzer_CTE_two_joins/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03125_analyzer_CTE_two_joins/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03126_column_not_under_group_by/explain.txt b/parser/testdata/03126_column_not_under_group_by/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03126_column_not_under_group_by/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03127_argMin_combinator_state/explain.txt b/parser/testdata/03127_argMin_combinator_state/explain.txt new file mode 100644 index 000000000..25f81d134 --- /dev/null +++ b/parser/testdata/03127_argMin_combinator_state/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function toTypeName (children 1) + ExpressionList (children 1) + Function sumArgMinState (children 1) + ExpressionList (children 2) + Identifier number + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/03127_system_unload_primary_key_table/explain.txt b/parser/testdata/03127_system_unload_primary_key_table/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03127_system_unload_primary_key_table/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03127_window_functions_uint16/explain.txt b/parser/testdata/03127_window_functions_uint16/explain.txt new file mode 100644 index 000000000..bc9d7626d --- /dev/null +++ b/parser/testdata/03127_window_functions_uint16/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function tumbleStart (children 1) + ExpressionList (children 3) + Function toDateTime (children 1) + ExpressionList (children 2) + Literal \'2020-01-09 12:00:01\' + Literal \'US/Samoa\' + Function toIntervalWeek (children 1) + ExpressionList (children 1) + Literal \'1\' + Literal \'US/Samoa\' diff --git a/parser/testdata/03128_argMin_combinator_projection/explain.txt b/parser/testdata/03128_argMin_combinator_projection/explain.txt new file mode 100644 index 000000000..0e481f1c6 --- /dev/null +++ b/parser/testdata/03128_argMin_combinator_projection/explain.txt @@ -0,0 +1,2 @@ +DropQuery combinator_argMin_table_r1 (children 1) + Identifier combinator_argMin_table_r1 diff --git a/parser/testdata/03128_merge_tree_index_lazy_load/explain.txt b/parser/testdata/03128_merge_tree_index_lazy_load/explain.txt new file mode 100644 index 000000000..4e782a5a9 --- /dev/null +++ b/parser/testdata/03128_merge_tree_index_lazy_load/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_index_lazy_load (children 1) + Identifier t_index_lazy_load diff --git a/parser/testdata/03128_system_unload_primary_key/explain.txt b/parser/testdata/03128_system_unload_primary_key/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03128_system_unload_primary_key/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03129_cte_with_final/explain.txt b/parser/testdata/03129_cte_with_final/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/03129_cte_with_final/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/03129_low_cardinality_nullable_non_first_primary_key/explain.txt b/parser/testdata/03129_low_cardinality_nullable_non_first_primary_key/explain.txt new file mode 100644 index 000000000..f77a99b7f --- /dev/null +++ b/parser/testdata/03129_low_cardinality_nullable_non_first_primary_key/explain.txt @@ -0,0 +1,2 @@ +DropQuery small (children 1) + Identifier small diff --git a/parser/testdata/03129_serial_test_zookeeper/explain.txt b/parser/testdata/03129_serial_test_zookeeper/explain.txt new file mode 100644 index 000000000..bf748c414 --- /dev/null +++ b/parser/testdata/03129_serial_test_zookeeper/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function generateSerialID (children 1) + ExpressionList (children 1) + Function concat (children 1) + ExpressionList (children 2) + Function currentDatabase (children 1) + ExpressionList + Literal \'x\' diff --git a/parser/testdata/03129_update_nested_materialized_column_check/explain.txt b/parser/testdata/03129_update_nested_materialized_column_check/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03129_update_nested_materialized_column_check/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03130_abs_in_key_condition_bug/explain.txt b/parser/testdata/03130_abs_in_key_condition_bug/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/03130_abs_in_key_condition_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/03130_analyzer_array_join_prefer_column/explain.txt b/parser/testdata/03130_analyzer_array_join_prefer_column/explain.txt new file mode 100644 index 000000000..d4bf1aa3f --- /dev/null +++ b/parser/testdata/03130_analyzer_array_join_prefer_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_table (children 1) + Identifier test_table diff --git a/parser/testdata/03130_analyzer_self_join_group_by/explain.txt b/parser/testdata/03130_analyzer_self_join_group_by/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/03130_analyzer_self_join_group_by/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/03130_convert_outer_join_to_inner_join/explain.txt b/parser/testdata/03130_convert_outer_join_to_inner_join/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03130_convert_outer_join_to_inner_join/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03130_generateSnowflakeId/explain.txt b/parser/testdata/03130_generateSnowflakeId/explain.txt new file mode 100644 index 000000000..e3f5a0c4d --- /dev/null +++ b/parser/testdata/03130_generateSnowflakeId/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'Negative tests\' diff --git a/parser/testdata/03131_deprecated_functions/explain.txt b/parser/testdata/03131_deprecated_functions/explain.txt new file mode 100644 index 000000000..0bc6c9dbf --- /dev/null +++ b/parser/testdata/03131_deprecated_functions/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Identifier number + Function neighbor (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_10 +The query succeeded but the server error '721' was expected (query: EXPLAIN AST SELECT number, neighbor(number, 2) FROM system.numbers LIMIT 10; -- { serverError DEPRECATED_FUNCTION }). diff --git a/parser/testdata/03131_hilbert_coding/explain.txt b/parser/testdata/03131_hilbert_coding/explain.txt new file mode 100644 index 000000000..6eedb877e --- /dev/null +++ b/parser/testdata/03131_hilbert_coding/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'----- START -----\' diff --git a/parser/testdata/03131_rewrite_sum_if_nullable/explain.txt b/parser/testdata/03131_rewrite_sum_if_nullable/explain.txt new file mode 100644 index 000000000..af99cc0d7 --- /dev/null +++ b/parser/testdata/03131_rewrite_sum_if_nullable/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function sum (children 1) + ExpressionList (children 1) + Function if (children 1) + ExpressionList (children 3) + Function materialize (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function toNullable (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Literal UInt64_0 diff --git a/parser/testdata/03132_jit_sort_description_crash_fix/explain.txt b/parser/testdata/03132_jit_sort_description_crash_fix/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03132_jit_sort_description_crash_fix/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03132_rewrite_aggregate_function_with_if_implicit_cast/explain.txt b/parser/testdata/03132_rewrite_aggregate_function_with_if_implicit_cast/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03132_rewrite_aggregate_function_with_if_implicit_cast/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03132_sqlancer_union_all/explain.txt b/parser/testdata/03132_sqlancer_union_all/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03132_sqlancer_union_all/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03141_fetches_errors_stress/explain.txt b/parser/testdata/03141_fetches_errors_stress/explain.txt new file mode 100644 index 000000000..bb3867f4d --- /dev/null +++ b/parser/testdata/03141_fetches_errors_stress/explain.txt @@ -0,0 +1,15 @@ +CreateQuery data_r1 (children 3) + Identifier data_r1 + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration key (children 1) + DataType Int + ColumnDeclaration value (children 1) + DataType String + Storage definition (children 2) + Function ReplicatedMergeTree (children 1) + ExpressionList (children 2) + Literal \'/tables/{database}/data\' + Literal \'{table}\' + Function tuple (children 1) + ExpressionList diff --git a/parser/testdata/03141_wildcard_grants/explain.txt b/parser/testdata/03141_wildcard_grants/explain.txt new file mode 100644 index 000000000..24ba67fc3 --- /dev/null +++ b/parser/testdata/03141_wildcard_grants/explain.txt @@ -0,0 +1 @@ +DROP USER query diff --git a/parser/testdata/03142_alter_comment_parameterized_view/explain.txt b/parser/testdata/03142_alter_comment_parameterized_view/explain.txt new file mode 100644 index 000000000..6f0a72166 --- /dev/null +++ b/parser/testdata/03142_alter_comment_parameterized_view/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_table_comment (children 1) + Identifier test_table_comment diff --git a/parser/testdata/03142_skip_ANSI_in_UTF8_compute_width/explain.txt b/parser/testdata/03142_skip_ANSI_in_UTF8_compute_width/explain.txt new file mode 100644 index 000000000..644ec6615 --- /dev/null +++ b/parser/testdata/03142_skip_ANSI_in_UTF8_compute_width/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function format (alias x) (children 1) + ExpressionList (children 4) + Literal \'[38;2;{0};{1};{2}mâ–ˆ\' + Literal UInt64_255 + Literal UInt64_128 + Literal UInt64_128 + Identifier Pretty diff --git a/parser/testdata/03142_untuple_crash/explain.txt b/parser/testdata/03142_untuple_crash/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03142_untuple_crash/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03142_window_function_limit_by/explain.txt b/parser/testdata/03142_window_function_limit_by/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03142_window_function_limit_by/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03143_asof_join_ddb_long/explain.txt b/parser/testdata/03143_asof_join_ddb_long/explain.txt new file mode 100644 index 000000000..e1d8f9837 --- /dev/null +++ b/parser/testdata/03143_asof_join_ddb_long/explain.txt @@ -0,0 +1,2 @@ +DropQuery build (children 1) + Identifier build diff --git a/parser/testdata/03143_cte_scope/explain.txt b/parser/testdata/03143_cte_scope/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03143_cte_scope/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03143_group_by_constant_secondary/explain.txt b/parser/testdata/03143_group_by_constant_secondary/explain.txt new file mode 100644 index 000000000..d92f4bdfc --- /dev/null +++ b/parser/testdata/03143_group_by_constant_secondary/explain.txt @@ -0,0 +1,6 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function count (children 1) + ExpressionList diff --git a/parser/testdata/03143_join_filter_push_down_filled_join_fix/explain.txt b/parser/testdata/03143_join_filter_push_down_filled_join_fix/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/03143_join_filter_push_down_filled_join_fix/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/03143_parallel_replicas_mat_view_bug/explain.txt b/parser/testdata/03143_parallel_replicas_mat_view_bug/explain.txt new file mode 100644 index 000000000..c170dcd8e --- /dev/null +++ b/parser/testdata/03143_parallel_replicas_mat_view_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery mv_table (children 1) + Identifier mv_table diff --git a/parser/testdata/03143_ttl_in_system_parts_columns_table/explain.txt b/parser/testdata/03143_ttl_in_system_parts_columns_table/explain.txt new file mode 100644 index 000000000..9130cef24 --- /dev/null +++ b/parser/testdata/03143_ttl_in_system_parts_columns_table/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_03143 (children 1) + Identifier test_03143 diff --git a/parser/testdata/03143_window_functions_qualify_validation/explain.txt b/parser/testdata/03143_window_functions_qualify_validation/explain.txt new file mode 100644 index 000000000..fdd5bec9f --- /dev/null +++ b/parser/testdata/03143_window_functions_qualify_validation/explain.txt @@ -0,0 +1,2 @@ +DropQuery uk_price_paid (children 1) + Identifier uk_price_paid diff --git a/parser/testdata/03144_aggregate_states_with_different_types/explain.txt b/parser/testdata/03144_aggregate_states_with_different_types/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03144_aggregate_states_with_different_types/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03144_alter_column_and_read/explain.txt b/parser/testdata/03144_alter_column_and_read/explain.txt new file mode 100644 index 000000000..0a00b06d1 --- /dev/null +++ b/parser/testdata/03144_alter_column_and_read/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab (children 1) + Identifier tab diff --git a/parser/testdata/03144_asof_join_ddb_doubles/explain.txt b/parser/testdata/03144_asof_join_ddb_doubles/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03144_asof_join_ddb_doubles/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03144_fuzz_quoted_type_name/explain.txt b/parser/testdata/03144_fuzz_quoted_type_name/explain.txt new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/parser/testdata/03144_fuzz_quoted_type_name/explain.txt @@ -0,0 +1 @@ + diff --git a/parser/testdata/03144_invalid_filter/explain.txt b/parser/testdata/03144_invalid_filter/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03144_invalid_filter/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03145_asof_join_ddb_inequalities/explain.txt b/parser/testdata/03145_asof_join_ddb_inequalities/explain.txt new file mode 100644 index 000000000..d214b49b4 --- /dev/null +++ b/parser/testdata/03145_asof_join_ddb_inequalities/explain.txt @@ -0,0 +1,2 @@ +DropQuery events0 (children 1) + Identifier events0 diff --git a/parser/testdata/03145_unicode_quotes/explain.txt b/parser/testdata/03145_unicode_quotes/explain.txt new file mode 100644 index 000000000..3c8a88993 --- /dev/null +++ b/parser/testdata/03145_unicode_quotes/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'This is an example of using English-style Unicode single quotes.\' (alias curly) diff --git a/parser/testdata/03146_bug47862/explain.txt b/parser/testdata/03146_bug47862/explain.txt new file mode 100644 index 000000000..ba4cfb564 --- /dev/null +++ b/parser/testdata/03146_bug47862/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toInt64 (alias cast_res) (children 1) + ExpressionList (children 1) + Identifier lookup_res diff --git a/parser/testdata/03146_create_index_compatibility/explain.txt b/parser/testdata/03146_create_index_compatibility/explain.txt new file mode 100644 index 000000000..834c9b25b --- /dev/null +++ b/parser/testdata/03146_create_index_compatibility/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_index_3146 (children 1) + Identifier t_index_3146 diff --git a/parser/testdata/03146_parameterized_view_with_date/explain.txt b/parser/testdata/03146_parameterized_view_with_date/explain.txt new file mode 100644 index 000000000..bbac295a7 --- /dev/null +++ b/parser/testdata/03146_parameterized_view_with_date/explain.txt @@ -0,0 +1,2 @@ +DropQuery table_pv (children 1) + Identifier table_pv diff --git a/parser/testdata/03146_tpc_ds_grouping/explain.txt b/parser/testdata/03146_tpc_ds_grouping/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03146_tpc_ds_grouping/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03147_asof_join_ddb_missing/explain.txt b/parser/testdata/03147_asof_join_ddb_missing/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03147_asof_join_ddb_missing/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03147_datetime64_constant_index_analysis/explain.txt b/parser/testdata/03147_datetime64_constant_index_analysis/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03147_datetime64_constant_index_analysis/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03147_parquet_memory_tracking/explain.txt b/parser/testdata/03147_parquet_memory_tracking/explain.txt new file mode 100644 index 000000000..f67af2c34 --- /dev/null +++ b/parser/testdata/03147_parquet_memory_tracking/explain.txt @@ -0,0 +1,17 @@ +InsertQuery (children 3) + Function file (children 1) + ExpressionList (children 1) + Literal \'03147_parquet_memory_tracking.parquet\' + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10000000 + Set + Set diff --git a/parser/testdata/03147_rows_before_limit_fix/explain.txt b/parser/testdata/03147_rows_before_limit_fix/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03147_rows_before_limit_fix/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03147_table_function_loop/explain.txt b/parser/testdata/03147_table_function_loop/explain.txt new file mode 100644 index 000000000..52d57e3c5 --- /dev/null +++ b/parser/testdata/03147_table_function_loop/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function loop (children 1) + ExpressionList (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_3 + Literal UInt64_10 diff --git a/parser/testdata/03147_table_function_loop_remote_storage/explain.txt b/parser/testdata/03147_table_function_loop_remote_storage/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03147_table_function_loop_remote_storage/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03148_asof_join_ddb_subquery/explain.txt b/parser/testdata/03148_asof_join_ddb_subquery/explain.txt new file mode 100644 index 000000000..1692c9f73 --- /dev/null +++ b/parser/testdata/03148_asof_join_ddb_subquery/explain.txt @@ -0,0 +1,2 @@ +DropQuery events (children 1) + Identifier events diff --git a/parser/testdata/03148_mutations_virtual_columns/explain.txt b/parser/testdata/03148_mutations_virtual_columns/explain.txt new file mode 100644 index 000000000..692617b97 --- /dev/null +++ b/parser/testdata/03148_mutations_virtual_columns/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_mut_virtuals (children 1) + Identifier t_mut_virtuals diff --git a/parser/testdata/03148_query_log_used_dictionaries/explain.txt b/parser/testdata/03148_query_log_used_dictionaries/explain.txt new file mode 100644 index 000000000..61fddbec7 --- /dev/null +++ b/parser/testdata/03148_query_log_used_dictionaries/explain.txt @@ -0,0 +1,2 @@ +DropQuery 03148_dictionary (children 1) + Identifier 03148_dictionary diff --git a/parser/testdata/03148_setting_max_streams_to_max_threads_ratio_overflow/explain.txt b/parser/testdata/03148_setting_max_streams_to_max_threads_ratio_overflow/explain.txt new file mode 100644 index 000000000..d4bf1aa3f --- /dev/null +++ b/parser/testdata/03148_setting_max_streams_to_max_threads_ratio_overflow/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_table (children 1) + Identifier test_table diff --git a/parser/testdata/03149_analyzer_join_projection_name/explain.txt b/parser/testdata/03149_analyzer_join_projection_name/explain.txt new file mode 100644 index 000000000..5b48bc230 --- /dev/null +++ b/parser/testdata/03149_analyzer_join_projection_name/explain.txt @@ -0,0 +1,2 @@ +DropQuery groups_dict (children 1) + Identifier groups_dict diff --git a/parser/testdata/03149_analyzer_join_projection_name_2/explain.txt b/parser/testdata/03149_analyzer_join_projection_name_2/explain.txt new file mode 100644 index 000000000..5b48bc230 --- /dev/null +++ b/parser/testdata/03149_analyzer_join_projection_name_2/explain.txt @@ -0,0 +1,2 @@ +DropQuery groups_dict (children 1) + Identifier groups_dict diff --git a/parser/testdata/03149_analyzer_window_redefinition/explain.txt b/parser/testdata/03149_analyzer_window_redefinition/explain.txt new file mode 100644 index 000000000..61f81f07d --- /dev/null +++ b/parser/testdata/03149_analyzer_window_redefinition/explain.txt @@ -0,0 +1,14 @@ +CreateQuery users (children 3) + Identifier users + Columns definition (children 1) + ExpressionList (children 3) + ColumnDeclaration uid (children 1) + DataType Int16 + ColumnDeclaration name (children 1) + DataType String + ColumnDeclaration age (children 1) + DataType Int16 + Storage definition (children 2) + Function MergeTree + Function tuple (children 1) + ExpressionList diff --git a/parser/testdata/03149_asof_join_ddb_timestamps/explain.txt b/parser/testdata/03149_asof_join_ddb_timestamps/explain.txt new file mode 100644 index 000000000..d214b49b4 --- /dev/null +++ b/parser/testdata/03149_asof_join_ddb_timestamps/explain.txt @@ -0,0 +1,2 @@ +DropQuery events0 (children 1) + Identifier events0 diff --git a/parser/testdata/03149_variant_pop_back_typo/explain.txt b/parser/testdata/03149_variant_pop_back_typo/explain.txt new file mode 100644 index 000000000..b3c1cce1c --- /dev/null +++ b/parser/testdata/03149_variant_pop_back_typo/explain.txt @@ -0,0 +1,24 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 2) + Function map (children 1) + ExpressionList (children 4) + Literal UInt64_1 + Function array (children 1) + ExpressionList + Literal \'\' + Literal UInt64_1 + Function map (children 1) + ExpressionList (children 6) + Literal \'\' + Literal UInt64_1 + Literal UInt64_1 + Literal \'\' + Function toUInt128 (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Literal UInt64_1 + Set diff --git a/parser/testdata/03150_dynamic_type_mv_insert/explain.txt b/parser/testdata/03150_dynamic_type_mv_insert/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03150_dynamic_type_mv_insert/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03150_grouping_sets_use_nulls_pushdown/explain.txt b/parser/testdata/03150_grouping_sets_use_nulls_pushdown/explain.txt new file mode 100644 index 000000000..6b9c060fe --- /dev/null +++ b/parser/testdata/03150_grouping_sets_use_nulls_pushdown/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_grouping_sets_predicate (children 1) + Identifier test_grouping_sets_predicate diff --git a/parser/testdata/03150_infer_type_variant/explain.txt b/parser/testdata/03150_infer_type_variant/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03150_infer_type_variant/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03150_trace_log_add_build_id/explain.txt b/parser/testdata/03150_trace_log_add_build_id/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03150_trace_log_add_build_id/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03150_url_hash_non_constant_level/explain.txt b/parser/testdata/03150_url_hash_non_constant_level/explain.txt new file mode 100644 index 000000000..c2b4276f6 --- /dev/null +++ b/parser/testdata/03150_url_hash_non_constant_level/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Literal \'https://www3.botinok.co.edu.il/~kozlevich/CGI-BIN/WEBSIT~0.DLL?longptr=0xFFFFFFFF&ONERR=CONTINUE#!PGNUM=99\' (alias url) + ExpressionList (children 1) + Function URLHash (children 1) + ExpressionList (children 2) + Identifier url + Function arrayJoin (children 1) + ExpressionList (children 1) + Function range (children 1) + ExpressionList (children 1) + Literal UInt64_10 diff --git a/parser/testdata/03151_analyzer_view_read_only_necessary_columns/explain.txt b/parser/testdata/03151_analyzer_view_read_only_necessary_columns/explain.txt new file mode 100644 index 000000000..d4bf1aa3f --- /dev/null +++ b/parser/testdata/03151_analyzer_view_read_only_necessary_columns/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_table (children 1) + Identifier test_table diff --git a/parser/testdata/03151_dynamic_type_scale_max_types/explain.txt b/parser/testdata/03151_dynamic_type_scale_max_types/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03151_dynamic_type_scale_max_types/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03151_external_cross_join/explain.txt b/parser/testdata/03151_external_cross_join/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/03151_external_cross_join/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/03151_pmj_join_non_procssed_clash/explain.txt b/parser/testdata/03151_pmj_join_non_procssed_clash/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03151_pmj_join_non_procssed_clash/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03151_redundant_distinct_with_window/explain.txt b/parser/testdata/03151_redundant_distinct_with_window/explain.txt new file mode 100644 index 000000000..0a00b06d1 --- /dev/null +++ b/parser/testdata/03151_redundant_distinct_with_window/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab (children 1) + Identifier tab diff --git a/parser/testdata/03152_analyzer_columns_list/explain.txt b/parser/testdata/03152_analyzer_columns_list/explain.txt new file mode 100644 index 000000000..2dc2d2a36 --- /dev/null +++ b/parser/testdata/03152_analyzer_columns_list/explain.txt @@ -0,0 +1,2 @@ +CreateQuery test (children 1) + Identifier test diff --git a/parser/testdata/03152_dynamic_type_simple/explain.txt b/parser/testdata/03152_dynamic_type_simple/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03152_dynamic_type_simple/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03152_join_filter_push_down_equivalent_columns/explain.txt b/parser/testdata/03152_join_filter_push_down_equivalent_columns/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03152_join_filter_push_down_equivalent_columns/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03152_trailing_comma_in_columns_list_in_insert/explain.txt b/parser/testdata/03152_trailing_comma_in_columns_list_in_insert/explain.txt new file mode 100644 index 000000000..68e02890c --- /dev/null +++ b/parser/testdata/03152_trailing_comma_in_columns_list_in_insert/explain.txt @@ -0,0 +1,10 @@ +CreateQuery test (children 2) + Identifier test + Columns definition (children 1) + ExpressionList (children 3) + ColumnDeclaration a (children 1) + DataType UInt8 + ColumnDeclaration b (children 1) + DataType UInt8 + ColumnDeclaration c (children 1) + DataType UInt8 diff --git a/parser/testdata/03153_dynamic_type_empty/explain.txt b/parser/testdata/03153_dynamic_type_empty/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03153_dynamic_type_empty/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03153_trailing_comma_in_values_list_in_insert/explain.txt b/parser/testdata/03153_trailing_comma_in_values_list_in_insert/explain.txt new file mode 100644 index 000000000..68e02890c --- /dev/null +++ b/parser/testdata/03153_trailing_comma_in_values_list_in_insert/explain.txt @@ -0,0 +1,10 @@ +CreateQuery test (children 2) + Identifier test + Columns definition (children 1) + ExpressionList (children 3) + ColumnDeclaration a (children 1) + DataType UInt8 + ColumnDeclaration b (children 1) + DataType UInt8 + ColumnDeclaration c (children 1) + DataType UInt8 diff --git a/parser/testdata/03154_recursive_cte_distributed/explain.txt b/parser/testdata/03154_recursive_cte_distributed/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03154_recursive_cte_distributed/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03155_analyzer_interpolate/explain.txt b/parser/testdata/03155_analyzer_interpolate/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03155_analyzer_interpolate/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03155_datasketches_ubsan/explain.txt b/parser/testdata/03155_datasketches_ubsan/explain.txt new file mode 100644 index 000000000..b1632cc39 --- /dev/null +++ b/parser/testdata/03155_datasketches_ubsan/explain.txt @@ -0,0 +1,31 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function uniqTheta (children 1) + ExpressionList (children 1) + Function toFixedString (children 1) + ExpressionList (children 2) + Literal \'uniqTheta distinct\' + Literal UInt64_18 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function modulo (alias x) (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + Function materialize (children 1) + ExpressionList (children 1) + Literal UInt64_16 diff --git a/parser/testdata/03155_explain_current_transaction/explain.txt b/parser/testdata/03155_explain_current_transaction/explain.txt new file mode 100644 index 000000000..4d27944db --- /dev/null +++ b/parser/testdata/03155_explain_current_transaction/explain.txt @@ -0,0 +1 @@ +Explain EXPLAIN CURRENT TRANSACTION diff --git a/parser/testdata/03155_in_nested_subselects/explain.txt b/parser/testdata/03155_in_nested_subselects/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03155_in_nested_subselects/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03156_analyzer_array_join_distributed/explain.txt b/parser/testdata/03156_analyzer_array_join_distributed/explain.txt new file mode 100644 index 000000000..2d2c59baa --- /dev/null +++ b/parser/testdata/03156_analyzer_array_join_distributed/explain.txt @@ -0,0 +1,14 @@ +CreateQuery arrays_test (children 3) + Identifier arrays_test + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration s (children 1) + DataType String + ColumnDeclaration arr (children 1) + DataType Array (children 1) + ExpressionList (children 1) + DataType UInt8 + Storage definition (children 2) + Function MergeTree (children 1) + ExpressionList + Identifier s diff --git a/parser/testdata/03156_group_concat/explain.txt b/parser/testdata/03156_group_concat/explain.txt new file mode 100644 index 000000000..08d953f1e --- /dev/null +++ b/parser/testdata/03156_group_concat/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_groupConcat (children 1) + Identifier test_groupConcat diff --git a/parser/testdata/03156_nullable_number_tips/explain.txt b/parser/testdata/03156_nullable_number_tips/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03156_nullable_number_tips/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03156_tuple_map_low_cardinality/explain.txt b/parser/testdata/03156_tuple_map_low_cardinality/explain.txt new file mode 100644 index 000000000..44b8643ec --- /dev/null +++ b/parser/testdata/03156_tuple_map_low_cardinality/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_map_lc (children 1) + Identifier t_map_lc diff --git a/parser/testdata/03157_dynamic_type_json/explain.txt b/parser/testdata/03157_dynamic_type_json/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03157_dynamic_type_json/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03157_negative_positional_arguments_ubsan/explain.txt b/parser/testdata/03157_negative_positional_arguments_ubsan/explain.txt new file mode 100644 index 000000000..c4c26af27 --- /dev/null +++ b/parser/testdata/03157_negative_positional_arguments_ubsan/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Literal UInt64_1 + ExpressionList (children 1) + Literal Int64_-9223372036854775808 +The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT 1 GROUP BY -9223372036854775808; -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/03158_dynamic_type_from_variant/explain.txt b/parser/testdata/03158_dynamic_type_from_variant/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03158_dynamic_type_from_variant/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03159_dynamic_type_all_types/explain.txt b/parser/testdata/03159_dynamic_type_all_types/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03159_dynamic_type_all_types/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03160_dynamic_type_agg/explain.txt b/parser/testdata/03160_dynamic_type_agg/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03160_dynamic_type_agg/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03161_cnf_reduction/explain.txt b/parser/testdata/03161_cnf_reduction/explain.txt new file mode 100644 index 000000000..5efb1693f --- /dev/null +++ b/parser/testdata/03161_cnf_reduction/explain.txt @@ -0,0 +1,2 @@ +DropQuery 03161_table (children 1) + Identifier 03161_table diff --git a/parser/testdata/03161_create_table_as_mv/explain.txt b/parser/testdata/03161_create_table_as_mv/explain.txt new file mode 100644 index 000000000..9a4d5eef3 --- /dev/null +++ b/parser/testdata/03161_create_table_as_mv/explain.txt @@ -0,0 +1,2 @@ +DropQuery base_table (children 1) + Identifier base_table diff --git a/parser/testdata/03161_decimal_binary_math/explain.txt b/parser/testdata/03161_decimal_binary_math/explain.txt new file mode 100644 index 000000000..f98b36638 --- /dev/null +++ b/parser/testdata/03161_decimal_binary_math/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 3) + Function toDecimal32 (alias x) (children 1) + ExpressionList (children 2) + Literal \'42.4242\' + Literal UInt64_4 + Function toDecimal32 (alias y) (children 1) + ExpressionList (children 2) + Literal \'2.42\' + Literal UInt64_2 + Function round (children 1) + ExpressionList (children 2) + Function pow (children 1) + ExpressionList (children 2) + Identifier x + Identifier y + Literal UInt64_6 diff --git a/parser/testdata/03161_ipv4_ipv6_equality/explain.txt b/parser/testdata/03161_ipv4_ipv6_equality/explain.txt new file mode 100644 index 000000000..1e0fe50ac --- /dev/null +++ b/parser/testdata/03161_ipv4_ipv6_equality/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Function toIPv4 (children 1) + ExpressionList (children 1) + Literal \'127.0.0.1\' + Function toIPv6 (children 1) + ExpressionList (children 1) + Literal \'::ffff:127.0.0.1\' diff --git a/parser/testdata/03161_lightweight_delete_projection/explain.txt b/parser/testdata/03161_lightweight_delete_projection/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03161_lightweight_delete_projection/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03162_dynamic_type_nested/explain.txt b/parser/testdata/03162_dynamic_type_nested/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03162_dynamic_type_nested/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03163_dynamic_as_supertype/explain.txt b/parser/testdata/03163_dynamic_as_supertype/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03163_dynamic_as_supertype/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03164_adapting_parquet_reader_output_size/explain.txt b/parser/testdata/03164_adapting_parquet_reader_output_size/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03164_adapting_parquet_reader_output_size/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03164_analyzer_global_in_alias/explain.txt b/parser/testdata/03164_analyzer_global_in_alias/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03164_analyzer_global_in_alias/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03164_analyzer_rewrite_aggregate_function_with_if/explain.txt b/parser/testdata/03164_analyzer_rewrite_aggregate_function_with_if/explain.txt new file mode 100644 index 000000000..006ceac9d --- /dev/null +++ b/parser/testdata/03164_analyzer_rewrite_aggregate_function_with_if/explain.txt @@ -0,0 +1,27 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function countIf (children 1) + ExpressionList (children 1) + Function multiIf (children 1) + ExpressionList (children 3) + Function less (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + Literal NULL + Function if (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_4 + Literal UInt64_1 + Literal UInt64_0 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_5 diff --git a/parser/testdata/03164_analyzer_validate_tree_size/explain.txt b/parser/testdata/03164_analyzer_validate_tree_size/explain.txt new file mode 100644 index 000000000..11ed2798b --- /dev/null +++ b/parser/testdata/03164_analyzer_validate_tree_size/explain.txt @@ -0,0 +1,2 @@ +CreateQuery t (children 1) + Identifier t diff --git a/parser/testdata/03164_create_as_default/explain.txt b/parser/testdata/03164_create_as_default/explain.txt new file mode 100644 index 000000000..ba55ffc3e --- /dev/null +++ b/parser/testdata/03164_create_as_default/explain.txt @@ -0,0 +1,2 @@ +DropQuery src_table (children 1) + Identifier src_table diff --git a/parser/testdata/03164_early_constant_folding_analyzer/explain.txt b/parser/testdata/03164_early_constant_folding_analyzer/explain.txt new file mode 100644 index 000000000..48cd1a8fb --- /dev/null +++ b/parser/testdata/03164_early_constant_folding_analyzer/explain.txt @@ -0,0 +1,2 @@ +CreateQuery checks (children 1) + Identifier checks diff --git a/parser/testdata/03164_linestring_geometry/explain.txt b/parser/testdata/03164_linestring_geometry/explain.txt new file mode 100644 index 000000000..82ce5ef58 --- /dev/null +++ b/parser/testdata/03164_linestring_geometry/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function readWKTLineString (children 1) + ExpressionList (children 1) + Literal \'LINESTRING (1 1, 2 2, 3 3, 1 1)\' diff --git a/parser/testdata/03164_materialize_skip_index/explain.txt b/parser/testdata/03164_materialize_skip_index/explain.txt new file mode 100644 index 000000000..08d12f2c1 --- /dev/null +++ b/parser/testdata/03164_materialize_skip_index/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_skip_index_insert (children 1) + Identifier t_skip_index_insert diff --git a/parser/testdata/03164_materialize_skip_index_on_merge/explain.txt b/parser/testdata/03164_materialize_skip_index_on_merge/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03164_materialize_skip_index_on_merge/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03164_optimize_read_in_order_nullable/explain.txt b/parser/testdata/03164_optimize_read_in_order_nullable/explain.txt new file mode 100644 index 000000000..c9581d3ee --- /dev/null +++ b/parser/testdata/03164_optimize_read_in_order_nullable/explain.txt @@ -0,0 +1,2 @@ +DropQuery 03164_users (children 1) + Identifier 03164_users diff --git a/parser/testdata/03164_orc_signedness/explain.txt b/parser/testdata/03164_orc_signedness/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03164_orc_signedness/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03164_parallel_replicas_range_filter_min_max/explain.txt b/parser/testdata/03164_parallel_replicas_range_filter_min_max/explain.txt new file mode 100644 index 000000000..35674ac5c --- /dev/null +++ b/parser/testdata/03164_parallel_replicas_range_filter_min_max/explain.txt @@ -0,0 +1,2 @@ +DropQuery range_filter_custom_range_test (children 1) + Identifier range_filter_custom_range_test diff --git a/parser/testdata/03164_s3_settings_for_queries_and_merges/explain.txt b/parser/testdata/03164_s3_settings_for_queries_and_merges/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03164_s3_settings_for_queries_and_merges/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03165_distinct_with_window_func_crash/explain.txt b/parser/testdata/03165_distinct_with_window_func_crash/explain.txt new file mode 100644 index 000000000..469fca4ce --- /dev/null +++ b/parser/testdata/03165_distinct_with_window_func_crash/explain.txt @@ -0,0 +1,2 @@ +DropQuery atable (children 1) + Identifier atable diff --git a/parser/testdata/03165_order_by_duplicate/explain.txt b/parser/testdata/03165_order_by_duplicate/explain.txt new file mode 100644 index 000000000..2dc2d2a36 --- /dev/null +++ b/parser/testdata/03165_order_by_duplicate/explain.txt @@ -0,0 +1,2 @@ +CreateQuery test (children 1) + Identifier test diff --git a/parser/testdata/03165_parseReadableSize/explain.txt b/parser/testdata/03165_parseReadableSize/explain.txt new file mode 100644 index 000000000..50e6d9888 --- /dev/null +++ b/parser/testdata/03165_parseReadableSize/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function formatReadableSize (children 1) + ExpressionList (children 1) + Function parseReadableSize (children 1) + ExpressionList (children 1) + Literal \'1 B\' diff --git a/parser/testdata/03165_round_scale_as_column/explain.txt b/parser/testdata/03165_round_scale_as_column/explain.txt new file mode 100644 index 000000000..4341a3fef --- /dev/null +++ b/parser/testdata/03165_round_scale_as_column/explain.txt @@ -0,0 +1,27 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 6) + Function toUInt8 (alias x) (children 1) + ExpressionList (children 1) + Identifier number + Function round (children 1) + ExpressionList (children 1) + Identifier x + Function roundBankers (children 1) + ExpressionList (children 1) + Identifier x + Function floor (children 1) + ExpressionList (children 1) + Identifier x + Function ceil (children 1) + ExpressionList (children 1) + Identifier x + Function trunc (children 1) + ExpressionList (children 1) + Identifier x + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_20 diff --git a/parser/testdata/03165_storage_merge_view_prewhere/explain.txt b/parser/testdata/03165_storage_merge_view_prewhere/explain.txt new file mode 100644 index 000000000..5c99f74c9 --- /dev/null +++ b/parser/testdata/03165_storage_merge_view_prewhere/explain.txt @@ -0,0 +1,2 @@ +DropQuery ids (children 1) + Identifier ids diff --git a/parser/testdata/03165_string_functions_with_token_text_indexes/explain.txt b/parser/testdata/03165_string_functions_with_token_text_indexes/explain.txt new file mode 100644 index 000000000..e45c79f74 --- /dev/null +++ b/parser/testdata/03165_string_functions_with_token_text_indexes/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'-------- Bloom filter --------\' diff --git a/parser/testdata/03166_mv_prewhere_duplicating_name_bug/explain.txt b/parser/testdata/03166_mv_prewhere_duplicating_name_bug/explain.txt new file mode 100644 index 000000000..6402dd480 --- /dev/null +++ b/parser/testdata/03166_mv_prewhere_duplicating_name_bug/explain.txt @@ -0,0 +1,8 @@ +CreateQuery src (children 3) + Identifier src + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration x (children 1) + DataType Int64 + Storage definition (children 1) + Function Log diff --git a/parser/testdata/03166_optimize_row_order_during_insert/explain.txt b/parser/testdata/03166_optimize_row_order_during_insert/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03166_optimize_row_order_during_insert/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03166_skip_indexes_vertical_merge_1/explain.txt b/parser/testdata/03166_skip_indexes_vertical_merge_1/explain.txt new file mode 100644 index 000000000..00c27dccb --- /dev/null +++ b/parser/testdata/03166_skip_indexes_vertical_merge_1/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_ind_merge_1 (children 1) + Identifier t_ind_merge_1 diff --git a/parser/testdata/03166_skip_indexes_vertical_merge_2/explain.txt b/parser/testdata/03166_skip_indexes_vertical_merge_2/explain.txt new file mode 100644 index 000000000..8e2b7c104 --- /dev/null +++ b/parser/testdata/03166_skip_indexes_vertical_merge_2/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_ind_merge_2 (children 1) + Identifier t_ind_merge_2 diff --git a/parser/testdata/03167_base64_url_functions/explain.txt b/parser/testdata/03167_base64_url_functions/explain.txt new file mode 100644 index 000000000..68029fb8f --- /dev/null +++ b/parser/testdata/03167_base64_url_functions/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function base64URLEncode (children 1) + ExpressionList +The query succeeded but the server error '42' was expected (query: EXPLAIN AST SELECT base64URLEncode(); -- { serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH }). diff --git a/parser/testdata/03167_empty_tuple_concat/explain.txt b/parser/testdata/03167_empty_tuple_concat/explain.txt new file mode 100644 index 000000000..1cf9d24ce --- /dev/null +++ b/parser/testdata/03167_empty_tuple_concat/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function concat (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList + Function tuple (children 1) + ExpressionList diff --git a/parser/testdata/03167_fancy_quotes_off_by_one/explain.txt b/parser/testdata/03167_fancy_quotes_off_by_one/explain.txt new file mode 100644 index 000000000..b5c273f0d --- /dev/null +++ b/parser/testdata/03167_fancy_quotes_off_by_one/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'test\' (alias column) diff --git a/parser/testdata/03167_parametrized_view_with_cte/explain.txt b/parser/testdata/03167_parametrized_view_with_cte/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03167_parametrized_view_with_cte/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03167_transactions_are_really_disabled/explain.txt b/parser/testdata/03167_transactions_are_really_disabled/explain.txt new file mode 100644 index 000000000..c170dcd8e --- /dev/null +++ b/parser/testdata/03167_transactions_are_really_disabled/explain.txt @@ -0,0 +1,2 @@ +DropQuery mv_table (children 1) + Identifier mv_table diff --git a/parser/testdata/03168_attach_as_replicated_materialized_view/explain.txt b/parser/testdata/03168_attach_as_replicated_materialized_view/explain.txt new file mode 100644 index 000000000..c5ff29792 --- /dev/null +++ b/parser/testdata/03168_attach_as_replicated_materialized_view/explain.txt @@ -0,0 +1,2 @@ +CreateQuery hourly_data (children 1) + Identifier hourly_data diff --git a/parser/testdata/03168_cld2_tsan/explain.txt b/parser/testdata/03168_cld2_tsan/explain.txt new file mode 100644 index 000000000..aa801b310 --- /dev/null +++ b/parser/testdata/03168_cld2_tsan/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function detectLanguageMixed (children 1) + ExpressionList (children 1) + Function materialize (children 1) + ExpressionList (children 1) + Literal \'二兎を追ã†è€…ã¯ä¸€å…Žã‚’ã‚‚å¾—ãšäºŒå…Žã‚’追ã†è€…ã¯ä¸€å…Žã‚’ã‚‚å¾—ãš A vaincre sans peril, on triomphe sans gloire.\' diff --git a/parser/testdata/03168_fuzz_multiIf_short_circuit/metadata.json b/parser/testdata/03168_fuzz_multiIf_short_circuit/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03168_fuzz_multiIf_short_circuit/metadata.json +++ b/parser/testdata/03168_fuzz_multiIf_short_circuit/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03168_inconsistent_ast_formatting/explain.txt b/parser/testdata/03168_inconsistent_ast_formatting/explain.txt new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/parser/testdata/03168_inconsistent_ast_formatting/explain.txt @@ -0,0 +1 @@ + diff --git a/parser/testdata/03168_loop_engine_with_parallel_replicas/explain.txt b/parser/testdata/03168_loop_engine_with_parallel_replicas/explain.txt new file mode 100644 index 000000000..08f0dfded --- /dev/null +++ b/parser/testdata/03168_loop_engine_with_parallel_replicas/explain.txt @@ -0,0 +1,2 @@ +DropQuery 03147_db (children 1) + Identifier 03147_db diff --git a/parser/testdata/03168_read_in_order_buffering_1/explain.txt b/parser/testdata/03168_read_in_order_buffering_1/explain.txt new file mode 100644 index 000000000..4bf3fdc06 --- /dev/null +++ b/parser/testdata/03168_read_in_order_buffering_1/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_read_in_order_1 (children 1) + Identifier t_read_in_order_1 diff --git a/parser/testdata/03168_read_in_order_buffering_2/explain.txt b/parser/testdata/03168_read_in_order_buffering_2/explain.txt new file mode 100644 index 000000000..85eebb829 --- /dev/null +++ b/parser/testdata/03168_read_in_order_buffering_2/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_read_in_order_2 (children 1) + Identifier t_read_in_order_2 diff --git a/parser/testdata/03169_cache_complex_dict_short_circuit_bug/explain.txt b/parser/testdata/03169_cache_complex_dict_short_circuit_bug/explain.txt new file mode 100644 index 000000000..5c1c7f85d --- /dev/null +++ b/parser/testdata/03169_cache_complex_dict_short_circuit_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery complex_key_simple_attributes_source_short_circuit_table (children 1) + Identifier complex_key_simple_attributes_source_short_circuit_table diff --git a/parser/testdata/03169_display_column_names_in_footer/explain.txt b/parser/testdata/03169_display_column_names_in_footer/explain.txt new file mode 100644 index 000000000..62b90344c --- /dev/null +++ b/parser/testdata/03169_display_column_names_in_footer/explain.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Asterisk + Function toTypeName (children 1) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_49 + Identifier Pretty diff --git a/parser/testdata/03169_modify_column_data_loss/explain.txt b/parser/testdata/03169_modify_column_data_loss/explain.txt new file mode 100644 index 000000000..0d9599f6d --- /dev/null +++ b/parser/testdata/03169_modify_column_data_loss/explain.txt @@ -0,0 +1,2 @@ +DropQuery column_modify_test (children 1) + Identifier column_modify_test diff --git a/parser/testdata/03169_optimize_injective_functions_inside_uniq_crash/explain.txt b/parser/testdata/03169_optimize_injective_functions_inside_uniq_crash/explain.txt new file mode 100644 index 000000000..0551f72ab --- /dev/null +++ b/parser/testdata/03169_optimize_injective_functions_inside_uniq_crash/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function sum (children 1) + ExpressionList (children 1) + Identifier u diff --git a/parser/testdata/03170_part_offset_as_table_column/explain.txt b/parser/testdata/03170_part_offset_as_table_column/explain.txt new file mode 100644 index 000000000..d2b0e8fe1 --- /dev/null +++ b/parser/testdata/03170_part_offset_as_table_column/explain.txt @@ -0,0 +1,2 @@ +CreateQuery test_table (children 1) + Identifier test_table diff --git a/parser/testdata/03171_condition_pushdown/explain.txt b/parser/testdata/03171_condition_pushdown/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03171_condition_pushdown/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03171_direct_dict_short_circuit_bug/explain.txt b/parser/testdata/03171_direct_dict_short_circuit_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03171_direct_dict_short_circuit_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03171_function_to_subcolumns_fuzzer/explain.txt b/parser/testdata/03171_function_to_subcolumns_fuzzer/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03171_function_to_subcolumns_fuzzer/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03171_hashed_dictionary_short_circuit_bug_fix/explain.txt b/parser/testdata/03171_hashed_dictionary_short_circuit_bug_fix/explain.txt new file mode 100644 index 000000000..879efad22 --- /dev/null +++ b/parser/testdata/03171_hashed_dictionary_short_circuit_bug_fix/explain.txt @@ -0,0 +1,14 @@ +CreateQuery x (children 3) + Identifier x + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration hash_id (children 1) + DataType UInt64 + ColumnDeclaration user_result (children 1) + DataType Decimal (children 1) + ExpressionList (children 2) + Literal UInt64_3 + Literal UInt64_2 + Storage definition (children 1) + Function Memory (children 1) + ExpressionList diff --git a/parser/testdata/03171_indexing_by_hilbert_curve/explain.txt b/parser/testdata/03171_indexing_by_hilbert_curve/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03171_indexing_by_hilbert_curve/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03172_bcrypt_validation/explain.txt b/parser/testdata/03172_bcrypt_validation/explain.txt new file mode 100644 index 000000000..24ba67fc3 --- /dev/null +++ b/parser/testdata/03172_bcrypt_validation/explain.txt @@ -0,0 +1 @@ +DROP USER query diff --git a/parser/testdata/03172_format_settings_clauses/explain.txt b/parser/testdata/03172_format_settings_clauses/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03172_format_settings_clauses/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03172_system_detached_tables_no_loop/explain.txt b/parser/testdata/03172_system_detached_tables_no_loop/explain.txt new file mode 100644 index 000000000..295af5f3b --- /dev/null +++ b/parser/testdata/03172_system_detached_tables_no_loop/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'-----------------------\' diff --git a/parser/testdata/03173_check_cyclic_dependencies_on_create_and_rename/explain.txt b/parser/testdata/03173_check_cyclic_dependencies_on_create_and_rename/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03173_check_cyclic_dependencies_on_create_and_rename/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03173_distinct_combinator_alignment/explain.txt b/parser/testdata/03173_distinct_combinator_alignment/explain.txt new file mode 100644 index 000000000..fa14ceaf4 --- /dev/null +++ b/parser/testdata/03173_distinct_combinator_alignment/explain.txt @@ -0,0 +1,49 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function toTypeName (children 1) + ExpressionList (children 1) + Function topKDistinctState (children 2) + ExpressionList (children 1) + Function toString (children 1) + ExpressionList (children 1) + Identifier number + ExpressionList (children 1) + Function toNullable (children 1) + ExpressionList (children 1) + Literal UInt64_10 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_100 + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList (children 2) + Function map (children 1) + ExpressionList (children 4) + Function tuple (children 1) + ExpressionList (children 2) + Function materialize (children 1) + ExpressionList (children 1) + Function toNullable (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Literal UInt64_2 + Literal UInt64_4 + Literal Tuple_(UInt64_3, UInt64_4) + Literal UInt64_5 + Literal UInt64_3 + Function map (children 1) + ExpressionList (children 4) + Literal Tuple_(UInt64_1, UInt64_2) + Literal UInt64_4 + Literal Tuple_(UInt64_3, UInt64_4) + Function toNullable (children 1) + ExpressionList (children 1) + Literal UInt64_5 + Identifier Null diff --git a/parser/testdata/03173_forbid_qualify/explain.txt b/parser/testdata/03173_forbid_qualify/explain.txt new file mode 100644 index 000000000..e5c98bc3d --- /dev/null +++ b/parser/testdata/03173_forbid_qualify/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_qualify (children 1) + Identifier test_qualify diff --git a/parser/testdata/03173_set_transformed_partition_pruning/explain.txt b/parser/testdata/03173_set_transformed_partition_pruning/explain.txt new file mode 100644 index 000000000..0c19ce4b0 --- /dev/null +++ b/parser/testdata/03173_set_transformed_partition_pruning/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'-- Single partition by function\' diff --git a/parser/testdata/03174_exact_rows_before_aggregation/explain.txt b/parser/testdata/03174_exact_rows_before_aggregation/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03174_exact_rows_before_aggregation/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03174_least_greatest_ignore_null_input_values/explain.txt b/parser/testdata/03174_least_greatest_ignore_null_input_values/explain.txt new file mode 100644 index 000000000..00aab02d7 --- /dev/null +++ b/parser/testdata/03174_least_greatest_ignore_null_input_values/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'Test with default NULL behavior\' diff --git a/parser/testdata/03174_merge_join_bug/explain.txt b/parser/testdata/03174_merge_join_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03174_merge_join_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03174_multiple_authentication_methods_show_create/explain.txt b/parser/testdata/03174_multiple_authentication_methods_show_create/explain.txt new file mode 100644 index 000000000..4f327f0e0 --- /dev/null +++ b/parser/testdata/03174_multiple_authentication_methods_show_create/explain.txt @@ -0,0 +1,9 @@ +CreateUserQuery (children 4) + AuthenticationData (children 1) + Literal \'1\' + AuthenticationData (children 1) + Literal \'2\' + AuthenticationData (children 1) + Literal \'3\' + AuthenticationData (children 1) + Literal \'4\' diff --git a/parser/testdata/03174_projection_deduplicate/explain.txt b/parser/testdata/03174_projection_deduplicate/explain.txt new file mode 100644 index 000000000..63aaca467 --- /dev/null +++ b/parser/testdata/03174_projection_deduplicate/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_projection_deduplicate (children 1) + Identifier test_projection_deduplicate diff --git a/parser/testdata/03174_split_parts_ranges_into_intersecting_and_non_intersecting_final_and_read-in-order_bug/explain.txt b/parser/testdata/03174_split_parts_ranges_into_intersecting_and_non_intersecting_final_and_read-in-order_bug/explain.txt new file mode 100644 index 000000000..170f748e5 --- /dev/null +++ b/parser/testdata/03174_split_parts_ranges_into_intersecting_and_non_intersecting_final_and_read-in-order_bug/explain.txt @@ -0,0 +1,17 @@ +CreateQuery tab (children 3) + Identifier tab + Columns definition (children 1) + ExpressionList (children 3) + ColumnDeclaration x (children 1) + DataType DateTime (children 1) + ExpressionList (children 1) + Literal \'UTC\' + ColumnDeclaration y (children 1) + DataType UInt32 + ColumnDeclaration v (children 1) + DataType Int32 + Storage definition (children 2) + Function ReplacingMergeTree (children 1) + ExpressionList (children 1) + Identifier v + Identifier x diff --git a/parser/testdata/03175_sparse_and_skip_index/explain.txt b/parser/testdata/03175_sparse_and_skip_index/explain.txt new file mode 100644 index 000000000..918497d4a --- /dev/null +++ b/parser/testdata/03175_sparse_and_skip_index/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_bloom_filter (children 1) + Identifier t_bloom_filter diff --git a/parser/testdata/03176_check_timeout_in_index_analysis/explain.txt b/parser/testdata/03176_check_timeout_in_index_analysis/explain.txt new file mode 100644 index 000000000..abd1d7a17 --- /dev/null +++ b/parser/testdata/03176_check_timeout_in_index_analysis/explain.txt @@ -0,0 +1,13 @@ +CreateQuery t_03176 (children 3) + Identifier t_03176 + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration k (children 1) + DataType UInt64 + ColumnDeclaration v (children 1) + DataType UInt64 + Storage definition (children 3) + Function MergeTree (children 1) + ExpressionList + Identifier k + Identifier k diff --git a/parser/testdata/03195_group_concat_deserialization_fix/explain.txt b/parser/testdata/03195_group_concat_deserialization_fix/explain.txt new file mode 100644 index 000000000..a826d7d9e --- /dev/null +++ b/parser/testdata/03195_group_concat_deserialization_fix/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_serialization (children 1) + Identifier test_serialization diff --git a/parser/testdata/03196_max_intersections_arena_crash/explain.txt b/parser/testdata/03196_max_intersections_arena_crash/explain.txt new file mode 100644 index 000000000..9c98ca862 --- /dev/null +++ b/parser/testdata/03196_max_intersections_arena_crash/explain.txt @@ -0,0 +1,2 @@ +DropQuery my_events (children 1) + Identifier my_events diff --git a/parser/testdata/03197_fix_parse_mysql_iso_date/explain.txt b/parser/testdata/03197_fix_parse_mysql_iso_date/explain.txt new file mode 100644 index 000000000..1232210ce --- /dev/null +++ b/parser/testdata/03197_fix_parse_mysql_iso_date/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function parseDateTime (alias x) (children 1) + ExpressionList (children 3) + Literal \'2024-06-20\' + Literal \'%F\' + Literal \'UTC\' diff --git a/parser/testdata/03197_storage_join_strictness_type_restriction/explain.txt b/parser/testdata/03197_storage_join_strictness_type_restriction/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/03197_storage_join_strictness_type_restriction/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/03198_bit_shift_throws_error_for_out_of_bounds/explain.txt b/parser/testdata/03198_bit_shift_throws_error_for_out_of_bounds/explain.txt new file mode 100644 index 000000000..b9dc04b8a --- /dev/null +++ b/parser/testdata/03198_bit_shift_throws_error_for_out_of_bounds/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'-- bitShiftRight\' diff --git a/parser/testdata/03198_dictionary_validate_primary_key_type/metadata.json b/parser/testdata/03198_dictionary_validate_primary_key_type/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03198_dictionary_validate_primary_key_type/metadata.json +++ b/parser/testdata/03198_dictionary_validate_primary_key_type/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03198_dynamic_read_subcolumns/explain.txt b/parser/testdata/03198_dynamic_read_subcolumns/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03198_dynamic_read_subcolumns/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03198_group_array_intersect/explain.txt b/parser/testdata/03198_group_array_intersect/explain.txt new file mode 100644 index 000000000..7673af2aa --- /dev/null +++ b/parser/testdata/03198_group_array_intersect/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_numbers__fuzz_29 (children 1) + Identifier test_numbers__fuzz_29 diff --git a/parser/testdata/03198_h3_polygon_to_cells/explain.txt b/parser/testdata/03198_h3_polygon_to_cells/explain.txt new file mode 100644 index 000000000..96366b13b --- /dev/null +++ b/parser/testdata/03198_h3_polygon_to_cells/explain.txt @@ -0,0 +1,24 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arraySort (children 1) + ExpressionList (children 1) + Function arrayMap (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function h3ToString (children 1) + ExpressionList (children 1) + Identifier x + Function h3PolygonToCells (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList (children 3) + Literal Tuple_(Float64_-122.40898669999721, Float64_37.81331899998324) + Literal Tuple_(Float64_-122.35447369999936, Float64_37.71980619999785) + Literal Tuple_(Float64_-122.4798767000009, Float64_37.815157199999845) + Literal UInt64_7 diff --git a/parser/testdata/03198_json_extract_more_types/explain.txt b/parser/testdata/03198_json_extract_more_types/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03198_json_extract_more_types/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03198_table_function_directory_path/explain.txt b/parser/testdata/03198_table_function_directory_path/explain.txt new file mode 100644 index 000000000..7c4930f6e --- /dev/null +++ b/parser/testdata/03198_table_function_directory_path/explain.txt @@ -0,0 +1,12 @@ +InsertQuery (children 3) + Function file (children 1) + ExpressionList (children 2) + Literal \'data_03198_table_function_directory_path.csv\' + Literal \'csv\' + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Literal \'1.csv\' + Set + Set diff --git a/parser/testdata/03199_fix_auc_tie_handling/explain.txt b/parser/testdata/03199_fix_auc_tie_handling/explain.txt new file mode 100644 index 000000000..28692f18d --- /dev/null +++ b/parser/testdata/03199_fix_auc_tie_handling/explain.txt @@ -0,0 +1,2 @@ +CreateQuery labels_unordered (children 1) + Identifier labels_unordered diff --git a/parser/testdata/03199_has_lc_fixed_string/explain.txt b/parser/testdata/03199_has_lc_fixed_string/explain.txt new file mode 100644 index 000000000..da7ae2583 --- /dev/null +++ b/parser/testdata/03199_has_lc_fixed_string/explain.txt @@ -0,0 +1,2 @@ +DropQuery 03199_fixedstring_array (children 1) + Identifier 03199_fixedstring_array diff --git a/parser/testdata/03199_join_with_materialized_column/explain.txt b/parser/testdata/03199_join_with_materialized_column/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03199_join_with_materialized_column/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03199_json_extract_dynamic/explain.txt b/parser/testdata/03199_json_extract_dynamic/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03199_json_extract_dynamic/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03199_merge_filters_bug/explain.txt b/parser/testdata/03199_merge_filters_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03199_merge_filters_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03199_queries_with_new_analyzer/explain.txt b/parser/testdata/03199_queries_with_new_analyzer/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03199_queries_with_new_analyzer/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03200_memory_engine_alter_dynamic/explain.txt b/parser/testdata/03200_memory_engine_alter_dynamic/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03200_memory_engine_alter_dynamic/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03200_subcolumns_join_use_nulls/explain.txt b/parser/testdata/03200_subcolumns_join_use_nulls/explain.txt new file mode 100644 index 000000000..8c4a05fef --- /dev/null +++ b/parser/testdata/03200_subcolumns_join_use_nulls/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_subcolumns_join (children 1) + Identifier t_subcolumns_join diff --git a/parser/testdata/03201_analyzer_resolve_in_parent_scope/explain.txt b/parser/testdata/03201_analyzer_resolve_in_parent_scope/explain.txt new file mode 100644 index 000000000..14a7d2e79 --- /dev/null +++ b/parser/testdata/03201_analyzer_resolve_in_parent_scope/explain.txt @@ -0,0 +1,18 @@ +CreateQuery fake (children 2) + Identifier fake + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 3) + Identifier table + Identifier database + Identifier name + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.tables + Function equals (children 1) + ExpressionList (children 2) + Identifier database + Function currentDatabase (children 1) + ExpressionList diff --git a/parser/testdata/03201_sumIf_to_countIf_return_type/explain.txt b/parser/testdata/03201_sumIf_to_countIf_return_type/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03201_sumIf_to_countIf_return_type/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03202_enum_json_cast/explain.txt b/parser/testdata/03202_enum_json_cast/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03202_enum_json_cast/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03202_system_load_primary_key/explain.txt b/parser/testdata/03202_system_load_primary_key/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03202_system_load_primary_key/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03203_count_with_non_deterministic_function/explain.txt b/parser/testdata/03203_count_with_non_deterministic_function/explain.txt new file mode 100644 index 000000000..554e0a3a5 --- /dev/null +++ b/parser/testdata/03203_count_with_non_deterministic_function/explain.txt @@ -0,0 +1,12 @@ +CreateQuery t (children 3) + Identifier t + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration p (children 1) + DataType UInt8 + ColumnDeclaration x (children 1) + DataType UInt64 + Storage definition (children 3) + Function MergeTree + Identifier p + Identifier x diff --git a/parser/testdata/03203_drop_detached_partition_all/explain.txt b/parser/testdata/03203_drop_detached_partition_all/explain.txt new file mode 100644 index 000000000..0970a9f13 --- /dev/null +++ b/parser/testdata/03203_drop_detached_partition_all/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_03203 (children 1) + Identifier t_03203 diff --git a/parser/testdata/03203_fill_missed_subcolumns/explain.txt b/parser/testdata/03203_fill_missed_subcolumns/explain.txt new file mode 100644 index 000000000..f8ab523a0 --- /dev/null +++ b/parser/testdata/03203_fill_missed_subcolumns/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_missed_subcolumns (children 1) + Identifier t_missed_subcolumns diff --git a/parser/testdata/03203_function_printf/explain.txt b/parser/testdata/03203_function_printf/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03203_function_printf/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03203_multiif_and_where_2_conditions_old_analyzer_bug/explain.txt b/parser/testdata/03203_multiif_and_where_2_conditions_old_analyzer_bug/explain.txt new file mode 100644 index 000000000..288e9ff02 --- /dev/null +++ b/parser/testdata/03203_multiif_and_where_2_conditions_old_analyzer_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery bugcheck1 (children 1) + Identifier bugcheck1 diff --git a/parser/testdata/03203_optimize_disjunctions_chain_to_in/explain.txt b/parser/testdata/03203_optimize_disjunctions_chain_to_in/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03203_optimize_disjunctions_chain_to_in/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03203_system_numbers_limit_and_offset_complex/metadata.json b/parser/testdata/03203_system_numbers_limit_and_offset_complex/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03203_system_numbers_limit_and_offset_complex/metadata.json +++ b/parser/testdata/03203_system_numbers_limit_and_offset_complex/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03203_system_numbers_limit_and_offset_simple/explain.txt b/parser/testdata/03203_system_numbers_limit_and_offset_simple/explain.txt new file mode 100644 index 000000000..19f2c520c --- /dev/null +++ b/parser/testdata/03203_system_numbers_limit_and_offset_simple/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'case 1\' diff --git a/parser/testdata/03203_variant_convert_field_to_type_bug/explain.txt b/parser/testdata/03203_variant_convert_field_to_type_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03203_variant_convert_field_to_type_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03204_distributed_with_scalar_subquery/explain.txt b/parser/testdata/03204_distributed_with_scalar_subquery/explain.txt new file mode 100644 index 000000000..424047f54 --- /dev/null +++ b/parser/testdata/03204_distributed_with_scalar_subquery/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_c3oollc8r (children 1) + Identifier t_c3oollc8r diff --git a/parser/testdata/03204_index_hint_fuzzer/explain.txt b/parser/testdata/03204_index_hint_fuzzer/explain.txt new file mode 100644 index 000000000..7bdb78120 --- /dev/null +++ b/parser/testdata/03204_index_hint_fuzzer/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList (children 2) + Function indexHint (children 1) + ExpressionList (children 1) + Function toLowCardinality (children 1) + ExpressionList (children 1) + Literal \'aaa\' + Literal UInt64_1 diff --git a/parser/testdata/03204_storage_join_optimize/explain.txt b/parser/testdata/03204_storage_join_optimize/explain.txt new file mode 100644 index 000000000..68e8a5c0b --- /dev/null +++ b/parser/testdata/03204_storage_join_optimize/explain.txt @@ -0,0 +1,14 @@ +CreateQuery dict_03204 (children 3) + Identifier dict_03204 + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration k (children 1) + DataType UInt64 + ColumnDeclaration v (children 1) + DataType UInt64 + Storage definition (children 1) + Function Join (children 1) + ExpressionList (children 3) + Identifier ANY + Identifier LEFT + Identifier k diff --git a/parser/testdata/03205_column_type_check/explain.txt b/parser/testdata/03205_column_type_check/explain.txt new file mode 100644 index 000000000..f7651d940 --- /dev/null +++ b/parser/testdata/03205_column_type_check/explain.txt @@ -0,0 +1,40 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias t) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toUInt256 (children 1) + ExpressionList (children 1) + Literal UInt64_1 + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias u) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 3) + Function greatCircleAngle (children 1) + ExpressionList (children 4) + Function toLowCardinality (children 1) + ExpressionList (children 1) + Function toNullable (children 1) + ExpressionList (children 1) + Function toUInt256 (children 1) + ExpressionList (children 1) + Literal UInt64_1048575 + Literal UInt64_257 + Literal Int64_-9223372036854775808 + Literal UInt64_1048576 + Literal UInt64_1048575 + Function materialize (children 1) + ExpressionList (children 1) + Literal UInt64_2 + TableJoin diff --git a/parser/testdata/03205_hashing_empty_tuples/explain.txt b/parser/testdata/03205_hashing_empty_tuples/explain.txt new file mode 100644 index 000000000..f1f4a2f29 --- /dev/null +++ b/parser/testdata/03205_hashing_empty_tuples/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function sipHash64 (children 1) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList diff --git a/parser/testdata/03205_json_cast_from_string/explain.txt b/parser/testdata/03205_json_cast_from_string/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03205_json_cast_from_string/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03205_json_syntax/explain.txt b/parser/testdata/03205_json_syntax/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03205_json_syntax/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03205_overlay/explain.txt b/parser/testdata/03205_overlay/explain.txt new file mode 100644 index 000000000..8f7b89573 --- /dev/null +++ b/parser/testdata/03205_overlay/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'Negative test of overlay\' diff --git a/parser/testdata/03205_parallel_replicas_alter_select_ubsan/explain.txt b/parser/testdata/03205_parallel_replicas_alter_select_ubsan/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03205_parallel_replicas_alter_select_ubsan/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03205_parallel_window_finctions_and_column_sparse_bug/explain.txt b/parser/testdata/03205_parallel_window_finctions_and_column_sparse_bug/explain.txt new file mode 100644 index 000000000..44a567563 --- /dev/null +++ b/parser/testdata/03205_parallel_window_finctions_and_column_sparse_bug/explain.txt @@ -0,0 +1,11 @@ +CreateQuery t (children 3) + Identifier t + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration c (children 1) + DataType Int32 + ColumnDeclaration d (children 1) + DataType Bool + Storage definition (children 2) + Function MergeTree + Identifier c diff --git a/parser/testdata/03205_system_sync_replica_format/explain.txt b/parser/testdata/03205_system_sync_replica_format/explain.txt new file mode 100644 index 000000000..58f77fa54 --- /dev/null +++ b/parser/testdata/03205_system_sync_replica_format/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function formatQuery (children 1) + ExpressionList (children 1) + Literal \'SYSTEM SYNC REPLICA db.table LIGHTWEIGHT\' diff --git a/parser/testdata/03206_is_null_constant_result_old_analyzer_bug/explain.txt b/parser/testdata/03206_is_null_constant_result_old_analyzer_bug/explain.txt new file mode 100644 index 000000000..d189aeca1 --- /dev/null +++ b/parser/testdata/03206_is_null_constant_result_old_analyzer_bug/explain.txt @@ -0,0 +1,9 @@ +CreateQuery left (children 3) + Identifier left + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration x (children 1) + DataType UUID + Storage definition (children 1) + Function tuple (children 1) + ExpressionList diff --git a/parser/testdata/03206_projection_merge_special_mergetree/explain.txt b/parser/testdata/03206_projection_merge_special_mergetree/explain.txt new file mode 100644 index 000000000..f5d082b6d --- /dev/null +++ b/parser/testdata/03206_projection_merge_special_mergetree/explain.txt @@ -0,0 +1,2 @@ +DropQuery tp (children 1) + Identifier tp diff --git a/parser/testdata/03206_projection_merge_special_mergetree_ignore/explain.txt b/parser/testdata/03206_projection_merge_special_mergetree_ignore/explain.txt new file mode 100644 index 000000000..f5d082b6d --- /dev/null +++ b/parser/testdata/03206_projection_merge_special_mergetree_ignore/explain.txt @@ -0,0 +1,2 @@ +DropQuery tp (children 1) + Identifier tp diff --git a/parser/testdata/03206_replication_lag_metric/explain.txt b/parser/testdata/03206_replication_lag_metric/explain.txt new file mode 100644 index 000000000..56aed1228 --- /dev/null +++ b/parser/testdata/03206_replication_lag_metric/explain.txt @@ -0,0 +1,8 @@ +CreateQuery rdb1 (children 2) + Identifier rdb1 + Storage definition (children 1) + Function Replicated (children 1) + ExpressionList (children 3) + Literal \'/test/test_replication_lag_metric\' + Literal \'shard1\' + Literal \'replica1\' diff --git a/parser/testdata/03207_composite_expressions_lambda_consistent_formatting/explain.txt b/parser/testdata/03207_composite_expressions_lambda_consistent_formatting/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03207_composite_expressions_lambda_consistent_formatting/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03207_json_read_subcolumns_1_memory/explain.txt b/parser/testdata/03207_json_read_subcolumns_1_memory/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03207_json_read_subcolumns_1_memory/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03207_json_read_subcolumns_2_memory/explain.txt b/parser/testdata/03207_json_read_subcolumns_2_memory/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03207_json_read_subcolumns_2_memory/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03208_array_of_json_read_subcolumns_2_memory/explain.txt b/parser/testdata/03208_array_of_json_read_subcolumns_2_memory/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03208_array_of_json_read_subcolumns_2_memory/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03208_buffer_over_distributed_type_mismatch/explain.txt b/parser/testdata/03208_buffer_over_distributed_type_mismatch/explain.txt new file mode 100644 index 000000000..11e93562e --- /dev/null +++ b/parser/testdata/03208_buffer_over_distributed_type_mismatch/explain.txt @@ -0,0 +1,2 @@ +DropQuery realtimedrep (children 1) + Identifier realtimedrep diff --git a/parser/testdata/03208_datetime_cast_losing_precision/metadata.json b/parser/testdata/03208_datetime_cast_losing_precision/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03208_datetime_cast_losing_precision/metadata.json +++ b/parser/testdata/03208_datetime_cast_losing_precision/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03208_groupArrayIntersect_serialization/explain.txt b/parser/testdata/03208_groupArrayIntersect_serialization/explain.txt new file mode 100644 index 000000000..6086c3f24 --- /dev/null +++ b/parser/testdata/03208_groupArrayIntersect_serialization/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function hex (children 1) + ExpressionList (children 1) + Function groupArrayIntersectState (alias a) (children 1) + ExpressionList (children 1) + Literal Array_[UInt64_1] + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier a diff --git a/parser/testdata/03208_multiple_joins_with_storage_join/explain.txt b/parser/testdata/03208_multiple_joins_with_storage_join/explain.txt new file mode 100644 index 000000000..0a00b06d1 --- /dev/null +++ b/parser/testdata/03208_multiple_joins_with_storage_join/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab (children 1) + Identifier tab diff --git a/parser/testdata/03208_numbers_total_rows_approx/explain.txt b/parser/testdata/03208_numbers_total_rows_approx/explain.txt new file mode 100644 index 000000000..7f9fa34a8 --- /dev/null +++ b/parser/testdata/03208_numbers_total_rows_approx/explain.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 2) + Literal UInt64_2 + Literal UInt64_1 + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + Literal UInt64_0 + Set diff --git a/parser/testdata/03208_uniq_with_empty_tuple/explain.txt b/parser/testdata/03208_uniq_with_empty_tuple/explain.txt new file mode 100644 index 000000000..cfdf6b792 --- /dev/null +++ b/parser/testdata/03208_uniq_with_empty_tuple/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function uniqTheta (children 1) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList diff --git a/parser/testdata/03209_functions_json_msan_fuzzer_issue/explain.txt b/parser/testdata/03209_functions_json_msan_fuzzer_issue/explain.txt new file mode 100644 index 000000000..7ac278a8c --- /dev/null +++ b/parser/testdata/03209_functions_json_msan_fuzzer_issue/explain.txt @@ -0,0 +1,59 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Literal \'{ "v":1.1}\' (alias raw) + ExpressionList (children 4) + Function JSONExtract (alias float32_1) (children 1) + ExpressionList (children 2) + Identifier raw + Literal \'float\' + Function JSONExtract (alias float32_2) (children 1) + ExpressionList (children 4) + Function concat (children 1) + ExpressionList (children 6) + Function tuple (children 1) + ExpressionList (children 11) + Literal \'1970-01-05\' + Literal UInt64_10 + Function materialize (children 1) + ExpressionList (children 1) + Literal UInt64_10 + Literal UInt64_10 + Literal UInt64_10 + Literal UInt64_10 + Function toUInt256 (children 1) + ExpressionList (children 1) + Literal UInt64_10 + Literal UInt64_10 + Function toNullable (children 1) + ExpressionList (children 1) + Literal UInt64_10 + Literal UInt64_10 + Literal UInt64_10 + Function materialize (children 1) + ExpressionList (children 1) + Function toUInt256 (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal \', \' + Literal UInt64_2 + Literal UInt64_2 + Function toLowCardinality (children 1) + ExpressionList (children 1) + Function toLowCardinality (children 1) + ExpressionList (children 1) + Literal UInt64_2 + Identifier raw + Function toLowCardinality (children 1) + ExpressionList (children 1) + Literal \'v\' + Literal \'Float32\' + Function JSONExtractFloat (alias float64_1) (children 1) + ExpressionList (children 1) + Identifier raw + Function JSONExtract (alias float64_2) (children 1) + ExpressionList (children 3) + Identifier raw + Literal \'v\' + Literal \'double\' diff --git a/parser/testdata/03209_parallel_replicas_lost_decimal_conversion/explain.txt b/parser/testdata/03209_parallel_replicas_lost_decimal_conversion/explain.txt new file mode 100644 index 000000000..a3dc8a61e --- /dev/null +++ b/parser/testdata/03209_parallel_replicas_lost_decimal_conversion/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_03209 (children 1) + Identifier t_03209 diff --git a/parser/testdata/03209_parallel_replicas_order_by_all/explain.txt b/parser/testdata/03209_parallel_replicas_order_by_all/explain.txt new file mode 100644 index 000000000..024ea760c --- /dev/null +++ b/parser/testdata/03209_parallel_replicas_order_by_all/explain.txt @@ -0,0 +1,2 @@ +DropQuery order_by_all (children 1) + Identifier order_by_all diff --git a/parser/testdata/03209_parameterized_view_with_non_literal_params/explain.txt b/parser/testdata/03209_parameterized_view_with_non_literal_params/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03209_parameterized_view_with_non_literal_params/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03210_convert_outer_join_to_inner_join_any_join/explain.txt b/parser/testdata/03210_convert_outer_join_to_inner_join_any_join/explain.txt new file mode 100644 index 000000000..d1519b0ad --- /dev/null +++ b/parser/testdata/03210_convert_outer_join_to_inner_join_any_join/explain.txt @@ -0,0 +1,2 @@ +DropQuery user_country (children 1) + Identifier user_country diff --git a/parser/testdata/03210_dynamic_squashing/explain.txt b/parser/testdata/03210_dynamic_squashing/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03210_dynamic_squashing/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03210_empty_tuple_lhs_of_in/explain.txt b/parser/testdata/03210_empty_tuple_lhs_of_in/explain.txt new file mode 100644 index 000000000..a3cd8be95 --- /dev/null +++ b/parser/testdata/03210_empty_tuple_lhs_of_in/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function in (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList + Function tuple (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Set +The query succeeded but the server error '53' was expected (query: EXPLAIN AST SELECT tuple() IN tuple(1) SETTINGS allow_experimental_map_type = 1; -- { serverError TYPE_MISMATCH }). diff --git a/parser/testdata/03210_fix_single_value_data_assertion/metadata.json b/parser/testdata/03210_fix_single_value_data_assertion/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03210_fix_single_value_data_assertion/metadata.json +++ b/parser/testdata/03210_fix_single_value_data_assertion/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03210_lag_lead_inframe_types/explain.txt b/parser/testdata/03210_lag_lead_inframe_types/explain.txt new file mode 100644 index 000000000..6f24d1d26 --- /dev/null +++ b/parser/testdata/03210_lag_lead_inframe_types/explain.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function lagInFrame (children 1) + ExpressionList (children 3) + Function CAST (children 1) + ExpressionList (children 2) + Literal \'2\' + Literal \'UInt128\' + Literal UInt64_2 + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + ExpressionList (children 1) + WindowListElement diff --git a/parser/testdata/03210_nested_short_circuit_functions_bug/explain.txt b/parser/testdata/03210_nested_short_circuit_functions_bug/explain.txt new file mode 100644 index 000000000..26670c3f4 --- /dev/null +++ b/parser/testdata/03210_nested_short_circuit_functions_bug/explain.txt @@ -0,0 +1,26 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function if (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Function materialize (children 1) + ExpressionList (children 1) + Literal \'abc\' + Literal \'aws.lambda.duration\' + Function if (children 1) + ExpressionList (children 3) + Function less (children 1) + ExpressionList (children 2) + Function toFloat64 (children 1) + ExpressionList (children 1) + Function materialize (children 1) + ExpressionList (children 1) + Literal \'x86_74\' + Literal Float64_50 + Literal UInt64_0 + Literal UInt64_1 + Literal UInt64_0 + Set diff --git a/parser/testdata/03210_optimize_rewrite_aggregate_function_with_if_return_type_bug/explain.txt b/parser/testdata/03210_optimize_rewrite_aggregate_function_with_if_return_type_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03210_optimize_rewrite_aggregate_function_with_if_return_type_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03210_variant_with_aggregate_function_type/explain.txt b/parser/testdata/03210_variant_with_aggregate_function_type/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03210_variant_with_aggregate_function_type/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03211_convert_outer_join_to_inner_join_anti_join/explain.txt b/parser/testdata/03211_convert_outer_join_to_inner_join_anti_join/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03211_convert_outer_join_to_inner_join_anti_join/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03212_optimize_with_constraints_logical_error/explain.txt b/parser/testdata/03212_optimize_with_constraints_logical_error/explain.txt new file mode 100644 index 000000000..d4bf1aa3f --- /dev/null +++ b/parser/testdata/03212_optimize_with_constraints_logical_error/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_table (children 1) + Identifier test_table diff --git a/parser/testdata/03212_variant_dynamic_cast_or_default/explain.txt b/parser/testdata/03212_variant_dynamic_cast_or_default/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03212_variant_dynamic_cast_or_default/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03213_array_element_msan/explain.txt b/parser/testdata/03213_array_element_msan/explain.txt new file mode 100644 index 000000000..000d7c4b9 --- /dev/null +++ b/parser/testdata/03213_array_element_msan/explain.txt @@ -0,0 +1,21 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayElement (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList (children 1) + Function arrayElement (children 1) + ExpressionList (children 2) + Literal Array_[UInt64_10, UInt64_2, UInt64_13, UInt64_15] + Function toNullable (children 1) + ExpressionList (children 1) + Function toLowCardinality (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Function materialize (children 1) + ExpressionList (children 1) + Function toLowCardinality (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/03213_deep_json/explain.txt b/parser/testdata/03213_deep_json/explain.txt new file mode 100644 index 000000000..bc66f9bed --- /dev/null +++ b/parser/testdata/03213_deep_json/explain.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function format (children 1) + ExpressionList (children 3) + Identifier JSONCompactEachRow + Literal \'x UInt32, y UInt32\' + Function REPEAT (children 1) + ExpressionList (children 2) + Literal \'[1,1,\' + Literal UInt64_100000 + Set +The query succeeded but the server error '[306, 117]' was expected (query: EXPLAIN AST SELECT * FROM format("JSONCompactEachRow", 'x UInt32, y UInt32', REPEAT('[1,1,', 100000)) SETTINGS input_format_json_compact_allow_variable_number_of_columns = 1; -- { serverError TOO_DEEP_RECURSION, INCORRECT_DATA }). diff --git a/parser/testdata/03213_denseRank_percentRank_alias/explain.txt b/parser/testdata/03213_denseRank_percentRank_alias/explain.txt new file mode 100644 index 000000000..9e7537865 --- /dev/null +++ b/parser/testdata/03213_denseRank_percentRank_alias/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'---- denseRank() ----\' diff --git a/parser/testdata/03213_distributed_analyzer/explain.txt b/parser/testdata/03213_distributed_analyzer/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03213_distributed_analyzer/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03213_rand_dos/explain.txt b/parser/testdata/03213_rand_dos/explain.txt new file mode 100644 index 000000000..811e11bb4 --- /dev/null +++ b/parser/testdata/03213_rand_dos/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function randChiSquared (children 1) + ExpressionList (children 1) + Literal Float64_-1e-7 +The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT randChiSquared(-0.0000001); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/03214_bitslice_argument_evaluation/explain.txt b/parser/testdata/03214_bitslice_argument_evaluation/explain.txt new file mode 100644 index 000000000..ae0630287 --- /dev/null +++ b/parser/testdata/03214_bitslice_argument_evaluation/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function bitSlice (children 1) + ExpressionList +The query succeeded but the server error '42' was expected (query: EXPLAIN AST SELECT bitSlice(); -- { serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH }). diff --git a/parser/testdata/03214_count_distinct_null_key_memory_leak/explain.txt b/parser/testdata/03214_count_distinct_null_key_memory_leak/explain.txt new file mode 100644 index 000000000..f18d1d915 --- /dev/null +++ b/parser/testdata/03214_count_distinct_null_key_memory_leak/explain.txt @@ -0,0 +1,2 @@ +DropQuery testnull (children 1) + Identifier testnull diff --git a/parser/testdata/03214_join_on_tuple_comparison_elimination_bug/explain.txt b/parser/testdata/03214_join_on_tuple_comparison_elimination_bug/explain.txt new file mode 100644 index 000000000..3b8a0aad6 --- /dev/null +++ b/parser/testdata/03214_join_on_tuple_comparison_elimination_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery a (children 1) + Identifier a diff --git a/parser/testdata/03214_json_typed_dynamic_path/explain.txt b/parser/testdata/03214_json_typed_dynamic_path/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03214_json_typed_dynamic_path/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03215_analyzer_materialized_constants_bug/explain.txt b/parser/testdata/03215_analyzer_materialized_constants_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03215_analyzer_materialized_constants_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03215_analyzer_replace_with_dummy_tables/explain.txt b/parser/testdata/03215_analyzer_replace_with_dummy_tables/explain.txt new file mode 100644 index 000000000..dacf1a1c7 --- /dev/null +++ b/parser/testdata/03215_analyzer_replace_with_dummy_tables/explain.txt @@ -0,0 +1,9 @@ +CreateQuery t (children 3) + Identifier t + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration number (children 1) + DataType UInt64 + Storage definition (children 2) + Function MergeTree + Identifier number diff --git a/parser/testdata/03215_fix_get_index_in_tuple/explain.txt b/parser/testdata/03215_fix_get_index_in_tuple/explain.txt new file mode 100644 index 000000000..f196a26be --- /dev/null +++ b/parser/testdata/03215_fix_get_index_in_tuple/explain.txt @@ -0,0 +1,2 @@ +CreateQuery dummy_table_03215 (children 1) + Identifier dummy_table_03215 diff --git a/parser/testdata/03215_key_condition_bug/explain.txt b/parser/testdata/03215_key_condition_bug/explain.txt new file mode 100644 index 000000000..02bfbcc79 --- /dev/null +++ b/parser/testdata/03215_key_condition_bug/explain.txt @@ -0,0 +1,9 @@ +CreateQuery t (children 3) + Identifier t + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration x (children 1) + DataType Int8 + Storage definition (children 2) + Function MergeTree + Identifier x diff --git a/parser/testdata/03215_multilinestring_geometry/explain.txt b/parser/testdata/03215_multilinestring_geometry/explain.txt new file mode 100644 index 000000000..ca2b7c2dc --- /dev/null +++ b/parser/testdata/03215_multilinestring_geometry/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function readWKTMultiLineString (children 1) + ExpressionList (children 1) + Literal \'MULTILINESTRING ((1 1, 2 2, 3 3, 1 1))\' diff --git a/parser/testdata/03215_parquet_index/explain.txt b/parser/testdata/03215_parquet_index/explain.txt new file mode 100644 index 000000000..708d2150c --- /dev/null +++ b/parser/testdata/03215_parquet_index/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_parquet (children 1) + Identifier test_parquet diff --git a/parser/testdata/03215_parsing_archive_name_s3/explain.txt b/parser/testdata/03215_parsing_archive_name_s3/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03215_parsing_archive_name_s3/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03215_partition_in_tuple/explain.txt b/parser/testdata/03215_partition_in_tuple/explain.txt new file mode 100644 index 000000000..841be4495 --- /dev/null +++ b/parser/testdata/03215_partition_in_tuple/explain.txt @@ -0,0 +1,12 @@ +CreateQuery t (children 2) + Identifier t + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration a (children 1) + DataType DateTime64 (children 1) + ExpressionList (children 1) + Literal UInt64_3 + ColumnDeclaration b (children 1) + DataType FixedString (children 1) + ExpressionList (children 1) + Literal UInt64_6 diff --git a/parser/testdata/03215_toStartOfWeek_with_dateTime64_fix/explain.txt b/parser/testdata/03215_toStartOfWeek_with_dateTime64_fix/explain.txt new file mode 100644 index 000000000..82f6532aa --- /dev/null +++ b/parser/testdata/03215_toStartOfWeek_with_dateTime64_fix/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toStartOfWeek (children 1) + ExpressionList (children 1) + Function toDateTime64 (children 1) + ExpressionList (children 2) + Literal \'1970-01-01\' + Literal UInt64_6 diff --git a/parser/testdata/03215_udf_with_union/explain.txt b/parser/testdata/03215_udf_with_union/explain.txt new file mode 100644 index 000000000..a8a51f196 --- /dev/null +++ b/parser/testdata/03215_udf_with_union/explain.txt @@ -0,0 +1 @@ +DropFunctionQuery diff --git a/parser/testdata/03215_validate_type_in_alter_add_modify_column/explain.txt b/parser/testdata/03215_validate_type_in_alter_add_modify_column/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03215_validate_type_in_alter_add_modify_column/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03215_varian_as_common_type_integers/explain.txt b/parser/testdata/03215_varian_as_common_type_integers/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03215_varian_as_common_type_integers/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03215_varian_as_common_type_tuple_map/explain.txt b/parser/testdata/03215_varian_as_common_type_tuple_map/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03215_varian_as_common_type_tuple_map/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03215_view_with_recursive/explain.txt b/parser/testdata/03215_view_with_recursive/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03215_view_with_recursive/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03216_arrayWithConstant_limits/explain.txt b/parser/testdata/03216_arrayWithConstant_limits/explain.txt new file mode 100644 index 000000000..8fd26be2c --- /dev/null +++ b/parser/testdata/03216_arrayWithConstant_limits/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayWithConstant (children 1) + ExpressionList (children 2) + Literal UInt64_96142475 + Literal Array_[\'qMUF\'] +The query succeeded but the server error '128' was expected (query: EXPLAIN AST SELECT arrayWithConstant(96142475, ['qMUF']); -- { serverError TOO_LARGE_ARRAY_SIZE }). diff --git a/parser/testdata/03217_datetime64_constant_to_ast/explain.txt b/parser/testdata/03217_datetime64_constant_to_ast/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03217_datetime64_constant_to_ast/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03217_filtering_in_storage_merge/explain.txt b/parser/testdata/03217_filtering_in_storage_merge/explain.txt new file mode 100644 index 000000000..9712d6267 --- /dev/null +++ b/parser/testdata/03217_filtering_in_storage_merge/explain.txt @@ -0,0 +1,6 @@ +CreateQuery test_03217_merge_replica_1 (children 2) + Identifier test_03217_merge_replica_1 + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration x (children 1) + DataType UInt32 diff --git a/parser/testdata/03217_filtering_in_system_tables/explain.txt b/parser/testdata/03217_filtering_in_system_tables/explain.txt new file mode 100644 index 000000000..75f3305cb --- /dev/null +++ b/parser/testdata/03217_filtering_in_system_tables/explain.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Identifier database + Identifier table + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.tables + Function and (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier database + Literal \'information_schema\' + Function equals (children 1) + ExpressionList (children 2) + Identifier table + Literal \'tables\' diff --git a/parser/testdata/03217_fliter_pushdown_no_keys/explain.txt b/parser/testdata/03217_fliter_pushdown_no_keys/explain.txt new file mode 100644 index 000000000..afe925a72 --- /dev/null +++ b/parser/testdata/03217_fliter_pushdown_no_keys/explain.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function sum (alias dates_seen) (children 1) + ExpressionList (children 1) + Identifier last_seen + Function materialize (alias last_seen) (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Function greater (children 1) + ExpressionList (children 2) + Identifier last_seen + Literal UInt64_2 diff --git a/parser/testdata/03217_json_merge_patch_stack_overflow/explain.txt b/parser/testdata/03217_json_merge_patch_stack_overflow/explain.txt new file mode 100644 index 000000000..64c7fe5b7 --- /dev/null +++ b/parser/testdata/03217_json_merge_patch_stack_overflow/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function JSONMergePatch (children 1) + ExpressionList (children 1) + Function REPEAT (children 1) + ExpressionList (children 2) + Literal \'{"c":\' + Literal UInt64_1000000 +The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT JSONMergePatch(REPEAT('{"c":', 1000000)); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/03217_primary_index_memory_leak/explain.txt b/parser/testdata/03217_primary_index_memory_leak/explain.txt new file mode 100644 index 000000000..85ce43a5f --- /dev/null +++ b/parser/testdata/03217_primary_index_memory_leak/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_primary_index_memory (children 1) + Identifier t_primary_index_memory diff --git a/parser/testdata/03218_materialize_msan/explain.txt b/parser/testdata/03218_materialize_msan/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03218_materialize_msan/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03221_create_if_not_exists_setting/explain.txt b/parser/testdata/03221_create_if_not_exists_setting/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03221_create_if_not_exists_setting/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03221_incomplete_utf8_sequence/explain.txt b/parser/testdata/03221_incomplete_utf8_sequence/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03221_incomplete_utf8_sequence/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03221_key_condition_bug/explain.txt b/parser/testdata/03221_key_condition_bug/explain.txt new file mode 100644 index 000000000..a4f65562a --- /dev/null +++ b/parser/testdata/03221_key_condition_bug/explain.txt @@ -0,0 +1,2 @@ +CreateQuery report_metrics_v2 (children 1) + Identifier report_metrics_v2 diff --git a/parser/testdata/03221_merge_profile_events/explain.txt b/parser/testdata/03221_merge_profile_events/explain.txt new file mode 100644 index 000000000..173833513 --- /dev/null +++ b/parser/testdata/03221_merge_profile_events/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_merge_profile_events_1 (children 1) + Identifier t_merge_profile_events_1 diff --git a/parser/testdata/03221_refreshable_matview_progress/metadata.json b/parser/testdata/03221_refreshable_matview_progress/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03221_refreshable_matview_progress/metadata.json +++ b/parser/testdata/03221_refreshable_matview_progress/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03221_variant_logical_error/explain.txt b/parser/testdata/03221_variant_logical_error/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03221_variant_logical_error/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03222_create_timeseries_table/explain.txt b/parser/testdata/03222_create_timeseries_table/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03222_create_timeseries_table/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03222_date_time_inference/explain.txt b/parser/testdata/03222_date_time_inference/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03222_date_time_inference/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03222_datetime64_small_value_const/explain.txt b/parser/testdata/03222_datetime64_small_value_const/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03222_datetime64_small_value_const/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03222_ignore_nulls_query_tree_elimination/metadata.json b/parser/testdata/03222_ignore_nulls_query_tree_elimination/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03222_ignore_nulls_query_tree_elimination/metadata.json +++ b/parser/testdata/03222_ignore_nulls_query_tree_elimination/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03222_json_empty_as_default/explain.txt b/parser/testdata/03222_json_empty_as_default/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03222_json_empty_as_default/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03222_json_squashing/explain.txt b/parser/testdata/03222_json_squashing/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03222_json_squashing/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03222_parallel_replicas_final_in_subquery/explain.txt b/parser/testdata/03222_parallel_replicas_final_in_subquery/explain.txt new file mode 100644 index 000000000..5bbef40d9 --- /dev/null +++ b/parser/testdata/03222_parallel_replicas_final_in_subquery/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_00808 (children 1) + Identifier test_00808 diff --git a/parser/testdata/03222_parallel_replicas_min_marks_to_read_overflow/explain.txt b/parser/testdata/03222_parallel_replicas_min_marks_to_read_overflow/explain.txt new file mode 100644 index 000000000..49c3653af --- /dev/null +++ b/parser/testdata/03222_parallel_replicas_min_marks_to_read_overflow/explain.txt @@ -0,0 +1,2 @@ +DropQuery test__fuzz_22 (children 1) + Identifier test__fuzz_22 diff --git a/parser/testdata/03222_pr_asan_index_granularity/explain.txt b/parser/testdata/03222_pr_asan_index_granularity/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03222_pr_asan_index_granularity/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03223_analyzer_with_cube_fuzz/explain.txt b/parser/testdata/03223_analyzer_with_cube_fuzz/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03223_analyzer_with_cube_fuzz/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03223_interval_data_type_comparison/explain.txt b/parser/testdata/03223_interval_data_type_comparison/explain.txt new file mode 100644 index 000000000..f8ba66f5f --- /dev/null +++ b/parser/testdata/03223_interval_data_type_comparison/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'Comparing nanoseconds\' diff --git a/parser/testdata/03223_nested_json_in_shared_data_merges/explain.txt b/parser/testdata/03223_nested_json_in_shared_data_merges/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03223_nested_json_in_shared_data_merges/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03223_system_tables_set_not_ready/explain.txt b/parser/testdata/03223_system_tables_set_not_ready/explain.txt new file mode 100644 index 000000000..91ec38c29 --- /dev/null +++ b/parser/testdata/03223_system_tables_set_not_ready/explain.txt @@ -0,0 +1,2 @@ +DropQuery null (children 1) + Identifier null diff --git a/parser/testdata/03224_arrayUnion/explain.txt b/parser/testdata/03224_arrayUnion/explain.txt new file mode 100644 index 000000000..a41701556 --- /dev/null +++ b/parser/testdata/03224_arrayUnion/explain.txt @@ -0,0 +1,2 @@ +DropQuery array_union (children 1) + Identifier array_union diff --git a/parser/testdata/03224_invalid_alter/explain.txt b/parser/testdata/03224_invalid_alter/explain.txt new file mode 100644 index 000000000..2dc2d2a36 --- /dev/null +++ b/parser/testdata/03224_invalid_alter/explain.txt @@ -0,0 +1,2 @@ +CreateQuery test (children 1) + Identifier test diff --git a/parser/testdata/03224_json_merges_new_type_in_shared_data/explain.txt b/parser/testdata/03224_json_merges_new_type_in_shared_data/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03224_json_merges_new_type_in_shared_data/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03224_nested_json_merges_new_type_in_shared_data/explain.txt b/parser/testdata/03224_nested_json_merges_new_type_in_shared_data/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03224_nested_json_merges_new_type_in_shared_data/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03224_trim_empty_string/explain.txt b/parser/testdata/03224_trim_empty_string/explain.txt new file mode 100644 index 000000000..d9b95b0b1 --- /dev/null +++ b/parser/testdata/03224_trim_empty_string/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'foo\' diff --git a/parser/testdata/03224_tuple_element_identifier/explain.txt b/parser/testdata/03224_tuple_element_identifier/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03224_tuple_element_identifier/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03225_const_prewhere_non_ataptive/explain.txt b/parser/testdata/03225_const_prewhere_non_ataptive/explain.txt new file mode 100644 index 000000000..46df79bbc --- /dev/null +++ b/parser/testdata/03225_const_prewhere_non_ataptive/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_const_prewhere (children 1) + Identifier t_const_prewhere diff --git a/parser/testdata/03227_distinct_dynamic_types_json_paths/explain.txt b/parser/testdata/03227_distinct_dynamic_types_json_paths/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03227_distinct_dynamic_types_json_paths/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03227_dynamic_subcolumns_enumerate_streams/explain.txt b/parser/testdata/03227_dynamic_subcolumns_enumerate_streams/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03227_dynamic_subcolumns_enumerate_streams/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03227_implicit_select/explain.txt b/parser/testdata/03227_implicit_select/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03227_implicit_select/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03227_json_invalid_regexp/explain.txt b/parser/testdata/03227_json_invalid_regexp/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03227_json_invalid_regexp/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03227_proper_parsing_of_cast_operator/explain.txt b/parser/testdata/03227_proper_parsing_of_cast_operator/explain.txt new file mode 100644 index 000000000..1ace6ab93 --- /dev/null +++ b/parser/testdata/03227_proper_parsing_of_cast_operator/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Literal \'414243\' + Literal \'String\' diff --git a/parser/testdata/03227_test_sample_n/explain.txt b/parser/testdata/03227_test_sample_n/explain.txt new file mode 100644 index 000000000..e19b48908 --- /dev/null +++ b/parser/testdata/03227_test_sample_n/explain.txt @@ -0,0 +1,2 @@ +CreateQuery table_name (children 1) + Identifier table_name diff --git a/parser/testdata/03228_async_insert_query_params_bad_type/explain.txt b/parser/testdata/03228_async_insert_query_params_bad_type/explain.txt new file mode 100644 index 000000000..e5b3104bc --- /dev/null +++ b/parser/testdata/03228_async_insert_query_params_bad_type/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_async_insert_params (children 1) + Identifier t_async_insert_params diff --git a/parser/testdata/03228_dynamic_serializations_uninitialized_value/explain.txt b/parser/testdata/03228_dynamic_serializations_uninitialized_value/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03228_dynamic_serializations_uninitialized_value/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03228_dynamic_subcolumns_from_subquery/explain.txt b/parser/testdata/03228_dynamic_subcolumns_from_subquery/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03228_dynamic_subcolumns_from_subquery/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03228_join_to_rerange_right_table/explain.txt b/parser/testdata/03228_join_to_rerange_right_table/explain.txt new file mode 100644 index 000000000..2d80de8c4 --- /dev/null +++ b/parser/testdata/03228_join_to_rerange_right_table/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_left (children 1) + Identifier test_left diff --git a/parser/testdata/03228_pr_subquery_view_order_by/explain.txt b/parser/testdata/03228_pr_subquery_view_order_by/explain.txt new file mode 100644 index 000000000..eca4c4a46 --- /dev/null +++ b/parser/testdata/03228_pr_subquery_view_order_by/explain.txt @@ -0,0 +1,2 @@ +DropQuery view1 (children 1) + Identifier view1 diff --git a/parser/testdata/03228_url_engine_response_headers/explain.txt b/parser/testdata/03228_url_engine_response_headers/explain.txt new file mode 100644 index 000000000..8d3825dbc --- /dev/null +++ b/parser/testdata/03228_url_engine_response_headers/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier _headers diff --git a/parser/testdata/03228_variant_permutation_issue/explain.txt b/parser/testdata/03228_variant_permutation_issue/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03228_variant_permutation_issue/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03228_virtual_column_merge_dist/explain.txt b/parser/testdata/03228_virtual_column_merge_dist/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03228_virtual_column_merge_dist/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03229_async_insert_alter/explain.txt b/parser/testdata/03229_async_insert_alter/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03229_async_insert_alter/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03229_empty_tuple_in_array/explain.txt b/parser/testdata/03229_empty_tuple_in_array/explain.txt new file mode 100644 index 000000000..9698a8b05 --- /dev/null +++ b/parser/testdata/03229_empty_tuple_in_array/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayElement (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList + Literal UInt64_0 diff --git a/parser/testdata/03229_json_null_as_default_for_tuple/explain.txt b/parser/testdata/03229_json_null_as_default_for_tuple/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03229_json_null_as_default_for_tuple/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03229_json_structure_comparison/explain.txt b/parser/testdata/03229_json_structure_comparison/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03229_json_structure_comparison/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03229_query_condition_cache_drop_cache/explain.txt b/parser/testdata/03229_query_condition_cache_drop_cache/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03229_query_condition_cache_drop_cache/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03229_query_condition_cache_final/explain.txt b/parser/testdata/03229_query_condition_cache_final/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03229_query_condition_cache_final/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03229_query_condition_cache_in_operator/explain.txt b/parser/testdata/03229_query_condition_cache_in_operator/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03229_query_condition_cache_in_operator/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03229_query_condition_cache_nondeterministic_functions/explain.txt b/parser/testdata/03229_query_condition_cache_nondeterministic_functions/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03229_query_condition_cache_nondeterministic_functions/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03229_query_condition_cache_plaintext_condition/explain.txt b/parser/testdata/03229_query_condition_cache_plaintext_condition/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03229_query_condition_cache_plaintext_condition/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03229_query_condition_cache_profile_events/explain.txt b/parser/testdata/03229_query_condition_cache_profile_events/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03229_query_condition_cache_profile_events/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03229_query_condition_cache_recursive_cte/explain.txt b/parser/testdata/03229_query_condition_cache_recursive_cte/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03229_query_condition_cache_recursive_cte/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03229_query_condition_cache_system_table/explain.txt b/parser/testdata/03229_query_condition_cache_system_table/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03229_query_condition_cache_system_table/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03230_alter_with_mixed_mutations_and_remove_materialized/explain.txt b/parser/testdata/03230_alter_with_mixed_mutations_and_remove_materialized/explain.txt new file mode 100644 index 000000000..3b8a0aad6 --- /dev/null +++ b/parser/testdata/03230_alter_with_mixed_mutations_and_remove_materialized/explain.txt @@ -0,0 +1,2 @@ +DropQuery a (children 1) + Identifier a diff --git a/parser/testdata/03230_anyHeavy_merge/explain.txt b/parser/testdata/03230_anyHeavy_merge/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/03230_anyHeavy_merge/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/03230_array_zip_unaligned/explain.txt b/parser/testdata/03230_array_zip_unaligned/explain.txt new file mode 100644 index 000000000..d6100d6f6 --- /dev/null +++ b/parser/testdata/03230_array_zip_unaligned/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function arrayZipUnaligned (alias x) (children 1) + ExpressionList (children 2) + Literal Array_[\'a\', \'b\', \'c\'] + Literal Array_[\'d\', \'e\', \'f\'] + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier x diff --git a/parser/testdata/03230_date_trunc_and_to_start_of_interval_on_date32/explain.txt b/parser/testdata/03230_date_trunc_and_to_start_of_interval_on_date32/explain.txt new file mode 100644 index 000000000..d248afa55 --- /dev/null +++ b/parser/testdata/03230_date_trunc_and_to_start_of_interval_on_date32/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toStartOfInterval (children 1) + ExpressionList (children 2) + Function toDate32 (children 1) + ExpressionList (children 1) + Literal \'2022-09-16\' + Function toIntervalYear (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/03230_show_create_query_identifier_quoting_style/explain.txt b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain.txt new file mode 100644 index 000000000..36bb3a5b5 --- /dev/null +++ b/parser/testdata/03230_show_create_query_identifier_quoting_style/explain.txt @@ -0,0 +1,2 @@ +DropQuery uk_mortgage_rates_dict (children 1) + Identifier uk_mortgage_rates_dict diff --git a/parser/testdata/03230_subcolumns_mv/explain.txt b/parser/testdata/03230_subcolumns_mv/explain.txt new file mode 100644 index 000000000..723e2f85b --- /dev/null +++ b/parser/testdata/03230_subcolumns_mv/explain.txt @@ -0,0 +1,2 @@ +DropQuery rawtable (children 1) + Identifier rawtable diff --git a/parser/testdata/03230_system_projections/explain.txt b/parser/testdata/03230_system_projections/explain.txt new file mode 100644 index 000000000..89d372244 --- /dev/null +++ b/parser/testdata/03230_system_projections/explain.txt @@ -0,0 +1,2 @@ +DropQuery projections (children 1) + Identifier projections diff --git a/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain.txt b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain.txt new file mode 100644 index 000000000..3b8a0aad6 --- /dev/null +++ b/parser/testdata/03231_alter_no_properties_before_remove_modify_reset/explain.txt @@ -0,0 +1,2 @@ +DropQuery a (children 1) + Identifier a diff --git a/parser/testdata/03231_create_with_clone_as/explain.txt b/parser/testdata/03231_create_with_clone_as/explain.txt new file mode 100644 index 000000000..78681a894 --- /dev/null +++ b/parser/testdata/03231_create_with_clone_as/explain.txt @@ -0,0 +1,2 @@ +DropQuery foo_memory (children 1) + Identifier foo_memory diff --git a/parser/testdata/03231_csv_dont_infer_bool_from_string/explain.txt b/parser/testdata/03231_csv_dont_infer_bool_from_string/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03231_csv_dont_infer_bool_from_string/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03231_dynamic_incomplete_type_insert_bug/explain.txt b/parser/testdata/03231_dynamic_incomplete_type_insert_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03231_dynamic_incomplete_type_insert_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03231_dynamic_uniq_group_by/explain.txt b/parser/testdata/03231_dynamic_uniq_group_by/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03231_dynamic_uniq_group_by/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03231_dynamic_variant_in_order_by_group_by/explain.txt b/parser/testdata/03231_dynamic_variant_in_order_by_group_by/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03231_dynamic_variant_in_order_by_group_by/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03231_pr_duplicate_announcement/explain.txt b/parser/testdata/03231_pr_duplicate_announcement/explain.txt new file mode 100644 index 000000000..d4bf1aa3f --- /dev/null +++ b/parser/testdata/03231_pr_duplicate_announcement/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_table (children 1) + Identifier test_table diff --git a/parser/testdata/03231_pr_duplicate_announcement_2/explain.txt b/parser/testdata/03231_pr_duplicate_announcement_2/explain.txt new file mode 100644 index 000000000..5d8170414 --- /dev/null +++ b/parser/testdata/03231_pr_duplicate_announcement_2/explain.txt @@ -0,0 +1,2 @@ +DropQuery ANIMAL (children 1) + Identifier ANIMAL diff --git a/parser/testdata/03231_pr_reverse_in_order/explain.txt b/parser/testdata/03231_pr_reverse_in_order/explain.txt new file mode 100644 index 000000000..4b3dd9562 --- /dev/null +++ b/parser/testdata/03231_pr_reverse_in_order/explain.txt @@ -0,0 +1,2 @@ +DropQuery checks (children 1) + Identifier checks diff --git a/parser/testdata/03231_prewhere_conditions_order/explain.txt b/parser/testdata/03231_prewhere_conditions_order/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03231_prewhere_conditions_order/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03231_values_respect_format_settings_in_fields_conversion/explain.txt b/parser/testdata/03231_values_respect_format_settings_in_fields_conversion/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03231_values_respect_format_settings_in_fields_conversion/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03232_json_uniq_group_by/explain.txt b/parser/testdata/03232_json_uniq_group_by/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03232_json_uniq_group_by/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03232_pr_not_ready_set/explain.txt b/parser/testdata/03232_pr_not_ready_set/explain.txt new file mode 100644 index 000000000..1684cb9d8 --- /dev/null +++ b/parser/testdata/03232_pr_not_ready_set/explain.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03232_workload_create_and_drop/explain.txt b/parser/testdata/03232_workload_create_and_drop/explain.txt new file mode 100644 index 000000000..b8021cac3 --- /dev/null +++ b/parser/testdata/03232_workload_create_and_drop/explain.txt @@ -0,0 +1,2 @@ +CreateWorkloadQuery all (children 1) + Identifier all diff --git a/parser/testdata/03232_workloads_and_resources/explain.txt b/parser/testdata/03232_workloads_and_resources/explain.txt new file mode 100644 index 000000000..c05a30607 --- /dev/null +++ b/parser/testdata/03232_workloads_and_resources/explain.txt @@ -0,0 +1,2 @@ +CreateResourceQuery 03232_write (children 1) + Identifier 03232_write diff --git a/parser/testdata/03233_dynamic_in_functions/explain.txt b/parser/testdata/03233_dynamic_in_functions/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03233_dynamic_in_functions/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03234_enable_secure_identifiers/explain.txt b/parser/testdata/03234_enable_secure_identifiers/explain.txt new file mode 100644 index 000000000..bc48e9645 --- /dev/null +++ b/parser/testdata/03234_enable_secure_identifiers/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_foo_# (children 1) + Identifier test_foo_# diff --git a/parser/testdata/03234_evaluate_constant_analyzer/explain.txt b/parser/testdata/03234_evaluate_constant_analyzer/explain.txt new file mode 100644 index 000000000..b122f8234 --- /dev/null +++ b/parser/testdata/03234_evaluate_constant_analyzer/explain.txt @@ -0,0 +1,75 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 3) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (alias n1) (children 1) + ExpressionList (children 2) + Function cityHash64 (children 1) + ExpressionList (children 7) + Function globalIn (children 1) + ExpressionList (children 2) + Function materialize (children 1) + ExpressionList (children 1) + Function toLowCardinality (children 1) + ExpressionList (children 1) + Function toNullable (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Literal Tuple_(NULL, Int64_-2147483648, Int64_-9223372036854775808) + Literal Float64_nan + Literal UInt64_1024 + Literal NULL + Function materialize (children 1) + ExpressionList (children 1) + Literal Float64_1.000100016593933 + Literal UInt64_0 + Literal NULL + Literal UInt64_4 + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Function numbers (alias n2) (children 1) + ExpressionList (children 1) + Literal UInt64_3 + TableJoin + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Function numbers (alias n3) (children 1) + ExpressionList (children 1) + Literal UInt64_6 + TableJoin + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 4) + Literal NULL + Function cityHash64 (children 1) + ExpressionList (children 5) + Literal Float64_inf + Literal Int64_-2147483648 + Function toLowCardinality (children 1) + ExpressionList (children 1) + Literal UInt64_16 + Literal NULL + Literal Float64_10.000100135803223 + Function cityHash64 (children 1) + ExpressionList (children 4) + Literal Float64_1.1754943508222875e-38 + Literal NULL + Literal NULL + Literal NULL + Literal UInt64_2147483647 + Function cityHash64 (children 1) + ExpressionList (children 7) + Literal Float64_0 + Literal UInt64_3 + Literal NULL + Literal NULL + Literal Float64_10000000000 + Literal NULL + Literal NULL + Set +The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT count() FROM numbers(cityHash64(materialize(toLowCardinality(toNullable(0))) GLOBAL IN (NULL, -2147483648, -9223372036854775808), nan, 1024, NULL, materialize(1.000100016593933), 0, NULL), 4) AS n1, numbers(3) AS n2, numbers(6) AS n3 GROUP BY (NULL, cityHash64(inf, -2147483648, toLowCardinality(16), NULL, 10.000100135803223), cityHash64(1.1754943508222875e-38, NULL, NULL, NULL), 2147483647), cityHash64(0., 3, NULL, NULL, 10000000000., NULL, NULL) SETTINGS enable_analyzer = 1; -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/03234_get_setting_or_default/explain.txt b/parser/testdata/03234_get_setting_or_default/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03234_get_setting_or_default/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03235_groupArray_string_consistency/explain.txt b/parser/testdata/03235_groupArray_string_consistency/explain.txt new file mode 100644 index 000000000..02a8f24a6 --- /dev/null +++ b/parser/testdata/03235_groupArray_string_consistency/explain.txt @@ -0,0 +1,12 @@ +CreateQuery t (children 3) + Identifier t + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration st (children 1) + DataType FixedString (children 1) + ExpressionList (children 1) + Literal UInt64_54 + Storage definition (children 2) + Function MergeTree + Function tuple (children 1) + ExpressionList diff --git a/parser/testdata/03236_create_query_ttl_where/explain.txt b/parser/testdata/03236_create_query_ttl_where/explain.txt new file mode 100644 index 000000000..9e20a5fdb --- /dev/null +++ b/parser/testdata/03236_create_query_ttl_where/explain.txt @@ -0,0 +1,2 @@ +DropQuery ttl (children 1) + Identifier ttl diff --git a/parser/testdata/03236_keeper_map_engine_parameters/explain.txt b/parser/testdata/03236_keeper_map_engine_parameters/explain.txt new file mode 100644 index 000000000..3b7ff98e3 --- /dev/null +++ b/parser/testdata/03236_keeper_map_engine_parameters/explain.txt @@ -0,0 +1,2 @@ +DropQuery 03236_keeper_map_engine_parameters (children 1) + Identifier 03236_keeper_map_engine_parameters diff --git a/parser/testdata/03236_squashing_high_memory/explain.txt b/parser/testdata/03236_squashing_high_memory/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03236_squashing_high_memory/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03236_test_zero_field_decimal/explain.txt b/parser/testdata/03236_test_zero_field_decimal/explain.txt new file mode 100644 index 000000000..6ecca199e --- /dev/null +++ b/parser/testdata/03236_test_zero_field_decimal/explain.txt @@ -0,0 +1,2 @@ +DropQuery users_03236_zero (children 1) + Identifier users_03236_zero diff --git a/parser/testdata/03237_create_table_select_as_with_recursive/explain.txt b/parser/testdata/03237_create_table_select_as_with_recursive/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/03237_create_table_select_as_with_recursive/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/03237_get_subcolumn_low_cardinality_column/explain.txt b/parser/testdata/03237_get_subcolumn_low_cardinality_column/explain.txt new file mode 100644 index 000000000..7cb7332ec --- /dev/null +++ b/parser/testdata/03237_get_subcolumn_low_cardinality_column/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toTypeName (children 1) + ExpressionList (children 1) + Function getSubcolumn (children 1) + ExpressionList (children 2) + Function CAST (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Literal \'str\' + Literal \'Tuple(a LowCardinality(String))\' + Literal \'a\' diff --git a/parser/testdata/03237_max_map_state_decimal_serialization/explain.txt b/parser/testdata/03237_max_map_state_decimal_serialization/explain.txt new file mode 100644 index 000000000..6f34644b5 --- /dev/null +++ b/parser/testdata/03237_max_map_state_decimal_serialization/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function maxMapState (alias x) (children 1) + ExpressionList (children 2) + Literal Array_[UInt64_0] + Function array (children 1) + ExpressionList (children 1) + Function toDateTime64 (children 1) + ExpressionList (children 2) + Literal UInt64_0 + Literal UInt64_0 + Identifier JSONEachRow diff --git a/parser/testdata/03238_analyzer_unknown_function/explain.txt b/parser/testdata/03238_analyzer_unknown_function/explain.txt new file mode 100644 index 000000000..a3311f08f --- /dev/null +++ b/parser/testdata/03238_analyzer_unknown_function/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Identifier source.count (alias count) diff --git a/parser/testdata/03239_if_constant_folding/explain.txt b/parser/testdata/03239_if_constant_folding/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03239_if_constant_folding/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03239_nan_with_fill/explain.txt b/parser/testdata/03239_nan_with_fill/explain.txt new file mode 100644 index 000000000..042056157 --- /dev/null +++ b/parser/testdata/03239_nan_with_fill/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Literal Float64_nan + ExpressionList (children 1) + OrderByElement (children 1) + Literal UInt64_1 diff --git a/parser/testdata/03240_array_element_or_null/explain.txt b/parser/testdata/03240_array_element_or_null/explain.txt new file mode 100644 index 000000000..1421f1b4f --- /dev/null +++ b/parser/testdata/03240_array_element_or_null/explain.txt @@ -0,0 +1,2 @@ +DropQuery array_element_or_null_test (children 1) + Identifier array_element_or_null_test diff --git a/parser/testdata/03240_array_element_or_null_for_map/explain.txt b/parser/testdata/03240_array_element_or_null_for_map/explain.txt new file mode 100644 index 000000000..897b31e5d --- /dev/null +++ b/parser/testdata/03240_array_element_or_null_for_map/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'...const maps...\' diff --git a/parser/testdata/03240_cte_in_subquery/explain.txt b/parser/testdata/03240_cte_in_subquery/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03240_cte_in_subquery/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03240_insert_select_named_tuple/explain.txt b/parser/testdata/03240_insert_select_named_tuple/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03240_insert_select_named_tuple/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03240_quantile_exact_weighted_interpolated/explain.txt b/parser/testdata/03240_quantile_exact_weighted_interpolated/explain.txt new file mode 100644 index 000000000..43dace053 --- /dev/null +++ b/parser/testdata/03240_quantile_exact_weighted_interpolated/explain.txt @@ -0,0 +1,2 @@ +DropQuery decimal (children 1) + Identifier decimal diff --git a/parser/testdata/03241_orc_dictionary_encode/explain.txt b/parser/testdata/03241_orc_dictionary_encode/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03241_orc_dictionary_encode/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03241_view_block_structure/explain.txt b/parser/testdata/03241_view_block_structure/explain.txt new file mode 100644 index 000000000..275941d99 --- /dev/null +++ b/parser/testdata/03241_view_block_structure/explain.txt @@ -0,0 +1,2 @@ +DropQuery foo (children 1) + Identifier foo diff --git a/parser/testdata/03242_view_block_structure/explain.txt b/parser/testdata/03242_view_block_structure/explain.txt new file mode 100644 index 000000000..3b8a0aad6 --- /dev/null +++ b/parser/testdata/03242_view_block_structure/explain.txt @@ -0,0 +1,2 @@ +DropQuery a (children 1) + Identifier a diff --git a/parser/testdata/03243_array_join_lambda/explain.txt b/parser/testdata/03243_array_join_lambda/explain.txt new file mode 100644 index 000000000..6688b2ea5 --- /dev/null +++ b/parser/testdata/03243_array_join_lambda/explain.txt @@ -0,0 +1,33 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayMap (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function plus (children 1) + ExpressionList (children 2) + Identifier x + Function length (children 1) + ExpressionList (children 1) + Function arrayJoin (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 1) + Function arrayMap (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier y + Function plus (children 1) + ExpressionList (children 2) + Identifier y + Literal UInt64_1 + Literal Array_[UInt64_3] + Literal Array_[UInt64_1, UInt64_2] diff --git a/parser/testdata/03243_check_for_nullable_nothing_in_alter/explain.txt b/parser/testdata/03243_check_for_nullable_nothing_in_alter/explain.txt new file mode 100644 index 000000000..86d217994 --- /dev/null +++ b/parser/testdata/03243_check_for_nullable_nothing_in_alter/explain.txt @@ -0,0 +1,2 @@ +DropQuery src (children 1) + Identifier src diff --git a/parser/testdata/03243_cluster_not_found_column/explain.txt b/parser/testdata/03243_cluster_not_found_column/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03243_cluster_not_found_column/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03243_compatibility_setting_with_alias/explain.txt b/parser/testdata/03243_compatibility_setting_with_alias/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03243_compatibility_setting_with_alias/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03243_create_or_replace_view_dependency_check/explain.txt b/parser/testdata/03243_create_or_replace_view_dependency_check/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03243_create_or_replace_view_dependency_check/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03243_lower_utf8_msan/explain.txt b/parser/testdata/03243_lower_utf8_msan/explain.txt new file mode 100644 index 000000000..1ed537ac2 --- /dev/null +++ b/parser/testdata/03243_lower_utf8_msan/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function ignore (children 1) + ExpressionList (children 1) + Function lengthUTF8 (children 1) + ExpressionList (children 1) + Function lowerUTF8 (children 1) + ExpressionList (children 1) + Function randomStringUTF8 (children 1) + ExpressionList (children 1) + Literal UInt64_99 diff --git a/parser/testdata/03243_to_start_of_interval_aliases/explain.txt b/parser/testdata/03243_to_start_of_interval_aliases/explain.txt new file mode 100644 index 000000000..863c48579 --- /dev/null +++ b/parser/testdata/03243_to_start_of_interval_aliases/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function date_bin (children 1) + ExpressionList (children 3) + Function toDate (children 1) + ExpressionList (children 1) + Literal \'2023-10-09\' + Function toIntervalYear (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Function toDate (children 1) + ExpressionList (children 1) + Literal \'2022-02-01\' diff --git a/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan/explain.txt b/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan_basic/explain.txt b/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan_basic/explain.txt new file mode 100644 index 000000000..657b498ec --- /dev/null +++ b/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan_basic/explain.txt @@ -0,0 +1,2 @@ +DropQuery data_02201 (children 1) + Identifier data_02201 diff --git a/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan_extremes/explain.txt b/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan_extremes/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan_extremes/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan_no_final_mark/explain.txt b/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan_no_final_mark/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan_no_final_mark/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03245_ripemd160/explain.txt b/parser/testdata/03245_ripemd160/explain.txt new file mode 100644 index 000000000..b6377b394 --- /dev/null +++ b/parser/testdata/03245_ripemd160/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function HEX (children 1) + ExpressionList (children 1) + Function RIPEMD160 (children 1) + ExpressionList (children 1) + Literal \'The quick brown fox jumps over the lazy dog\' diff --git a/parser/testdata/03245_views_and_filter_push_down_bug/explain.txt b/parser/testdata/03245_views_and_filter_push_down_bug/explain.txt new file mode 100644 index 000000000..92d660163 --- /dev/null +++ b/parser/testdata/03245_views_and_filter_push_down_bug/explain.txt @@ -0,0 +1,33 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function view (children 1) + ExpressionList (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Identifier id + Function toDateTime (alias date) (children 1) + ExpressionList (children 1) + Identifier date + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function view (children 1) + ExpressionList (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_1 (alias id) + Literal \'2024-05-02\' (alias date) + Function equals (children 1) + ExpressionList (children 2) + Identifier date + Literal \'2024-05-02\' diff --git a/parser/testdata/03246_alter_update_dynamic_hung/explain.txt b/parser/testdata/03246_alter_update_dynamic_hung/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03246_alter_update_dynamic_hung/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03246_join_on_asterisk/explain.txt b/parser/testdata/03246_join_on_asterisk/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03246_join_on_asterisk/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03246_json_subcolumn_correct_type/explain.txt b/parser/testdata/03246_json_subcolumn_correct_type/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03246_json_subcolumn_correct_type/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03246_json_tuple_decompress_race/explain.txt b/parser/testdata/03246_json_tuple_decompress_race/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03246_json_tuple_decompress_race/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03246_range_literal_replacement_works/explain.txt b/parser/testdata/03246_range_literal_replacement_works/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03246_range_literal_replacement_works/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03246_toStartOfInterval_date_timezone_bug/explain.txt b/parser/testdata/03246_toStartOfInterval_date_timezone_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03246_toStartOfInterval_date_timezone_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03247_generic_arrayMin_arrayMax_fixes/explain.txt b/parser/testdata/03247_generic_arrayMin_arrayMax_fixes/explain.txt new file mode 100644 index 000000000..365ca40cf --- /dev/null +++ b/parser/testdata/03247_generic_arrayMin_arrayMax_fixes/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayMax (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function toFixedString (children 1) + ExpressionList (children 2) + Literal \'.\' + Literal UInt64_1 + Function array (children 1) + ExpressionList diff --git a/parser/testdata/03247_json_extract_lc_nullable/explain.txt b/parser/testdata/03247_json_extract_lc_nullable/explain.txt new file mode 100644 index 000000000..ee0d37715 --- /dev/null +++ b/parser/testdata/03247_json_extract_lc_nullable/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function JSONExtract (children 1) + ExpressionList (children 3) + Literal \'{"a" : 128}\' + Literal \'a\' + Literal \'LowCardinality(Nullable(Int128))\' diff --git a/parser/testdata/03247_materialized_view_select_intersect/explain.txt b/parser/testdata/03247_materialized_view_select_intersect/explain.txt new file mode 100644 index 000000000..4e170901a --- /dev/null +++ b/parser/testdata/03247_materialized_view_select_intersect/explain.txt @@ -0,0 +1,16 @@ +CreateQuery v0 (children 2) + Identifier v0 + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectIntersectExceptQuery (children 2) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 +The query succeeded but the server error '397' was expected (query: EXPLAIN AST CREATE MATERIALIZED VIEW v0 AS (SELECT 1) INTERSECT (SELECT 1); --{serverError QUERY_IS_NOT_SUPPORTED_IN_MATERIALIZED_VIEW}). diff --git a/parser/testdata/03247_object_column_copy/explain.txt b/parser/testdata/03247_object_column_copy/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03247_object_column_copy/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03247_pr_local_plan_non_constant_in_source/explain.txt b/parser/testdata/03247_pr_local_plan_non_constant_in_source/explain.txt new file mode 100644 index 000000000..4b825bec7 --- /dev/null +++ b/parser/testdata/03247_pr_local_plan_non_constant_in_source/explain.txt @@ -0,0 +1,2 @@ +DropQuery table_3 (children 1) + Identifier table_3 diff --git a/parser/testdata/03248_invalid_where/explain.txt b/parser/testdata/03248_invalid_where/explain.txt new file mode 100644 index 000000000..fd8c5e70d --- /dev/null +++ b/parser/testdata/03248_invalid_where/explain.txt @@ -0,0 +1,24 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function lambda (alias lambda_1) (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function toString (children 1) + ExpressionList (children 1) + Identifier x + ExpressionList (children 2) + Function arrayMap (children 1) + ExpressionList (children 2) + Identifier lambda_1 (alias lambda_2) + Literal Array_[UInt64_1, UInt64_2, UInt64_3] + Function arrayMap (children 1) + ExpressionList (children 2) + Identifier lambda_2 + Literal Array_[\'1\', \'2\', \'3\'] + Identifier lambda_2 + Set +The query succeeded but the server error '183' was expected (query: EXPLAIN AST WITH x -> toString(x) AS lambda_1 SELECT arrayMap(lambda_1 AS lambda_2, [1, 2, 3]), arrayMap(lambda_2, ['1', '2', '3']) WHERE lambda_2 SETTINGS enable_analyzer = 0; -- { serverError UNEXPECTED_EXPRESSION }). diff --git a/parser/testdata/03248_max_parts_to_move/explain.txt b/parser/testdata/03248_max_parts_to_move/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/03248_max_parts_to_move/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/03248_with_fill_string_crash/explain.txt b/parser/testdata/03248_with_fill_string_crash/explain.txt new file mode 100644 index 000000000..b83858b90 --- /dev/null +++ b/parser/testdata/03248_with_fill_string_crash/explain.txt @@ -0,0 +1,14 @@ +CreateQuery users (children 3) + Identifier users + Columns definition (children 1) + ExpressionList (children 3) + ColumnDeclaration date (children 1) + DataType DateTime + ColumnDeclaration name (children 1) + DataType String + ColumnDeclaration age (children 1) + DataType Int16 + Storage definition (children 2) + Function MergeTree (children 1) + ExpressionList + Identifier date diff --git a/parser/testdata/03248_with_insert/explain.txt b/parser/testdata/03248_with_insert/explain.txt new file mode 100644 index 000000000..a60ff027e --- /dev/null +++ b/parser/testdata/03248_with_insert/explain.txt @@ -0,0 +1,2 @@ +DropQuery x (children 1) + Identifier x diff --git a/parser/testdata/03249_dynamic_alter_consistency/explain.txt b/parser/testdata/03249_dynamic_alter_consistency/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03249_dynamic_alter_consistency/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03250_avoid_prefetch_empty_parts/explain.txt b/parser/testdata/03250_avoid_prefetch_empty_parts/explain.txt new file mode 100644 index 000000000..12eca51ff --- /dev/null +++ b/parser/testdata/03250_avoid_prefetch_empty_parts/explain.txt @@ -0,0 +1,2 @@ +DropQuery 03250_avoid_prefetch (children 1) + Identifier 03250_avoid_prefetch diff --git a/parser/testdata/03250_ephemeral_comment/explain.txt b/parser/testdata/03250_ephemeral_comment/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03250_ephemeral_comment/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03250_json_group_by_sub_object_subcolumn/explain.txt b/parser/testdata/03250_json_group_by_sub_object_subcolumn/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03250_json_group_by_sub_object_subcolumn/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03251_unaligned_window_function_state/explain.txt b/parser/testdata/03251_unaligned_window_function_state/explain.txt new file mode 100644 index 000000000..09be77e7a --- /dev/null +++ b/parser/testdata/03251_unaligned_window_function_state/explain.txt @@ -0,0 +1,28 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 3) + Function anyLast (children 1) + ExpressionList (children 1) + Identifier id + Function anyLast (children 1) + ExpressionList (children 1) + Identifier time + Function exponentialTimeDecayedAvg (children 2) + ExpressionList (children 2) + Identifier id + Identifier time + ExpressionList (children 1) + Literal UInt64_10 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function values (children 1) + ExpressionList (children 6) + Literal \'id Int8, time DateTime\' + Literal Tuple_(UInt64_1, UInt64_1) + Literal Tuple_(UInt64_1, UInt64_2) + Literal Tuple_(UInt64_2, UInt64_3) + Literal Tuple_(UInt64_3, UInt64_3) + Literal Tuple_(UInt64_3, UInt64_5) +The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT anyLast(id), anyLast(time), exponentialTimeDecayedAvg(10)(id, time) FROM values('id Int8, time DateTime', (1,1),(1,2),(2,3),(3,3),(3,5)); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/03252_check_number_of_arguments_for_dynamic/explain.txt b/parser/testdata/03252_check_number_of_arguments_for_dynamic/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03252_check_number_of_arguments_for_dynamic/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03252_fill_missed_arrays/explain.txt b/parser/testdata/03252_fill_missed_arrays/explain.txt new file mode 100644 index 000000000..3d210bf88 --- /dev/null +++ b/parser/testdata/03252_fill_missed_arrays/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_fill_arrays (children 1) + Identifier t_fill_arrays diff --git a/parser/testdata/03252_merge_tree_min_bytes_to_seek/explain.txt b/parser/testdata/03252_merge_tree_min_bytes_to_seek/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03252_merge_tree_min_bytes_to_seek/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03253_getMaxTableNameLength/explain.txt b/parser/testdata/03253_getMaxTableNameLength/explain.txt new file mode 100644 index 000000000..0d824ad55 --- /dev/null +++ b/parser/testdata/03253_getMaxTableNameLength/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function getMaxTableNameLengthForDatabase (children 1) + ExpressionList (children 1) + Literal \'default\' diff --git a/parser/testdata/03253_group_by_cube_too_many_keys/explain.txt b/parser/testdata/03253_group_by_cube_too_many_keys/explain.txt new file mode 100644 index 000000000..6c1cce6e7 --- /dev/null +++ b/parser/testdata/03253_group_by_cube_too_many_keys/explain.txt @@ -0,0 +1,78 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 65) + Literal \'\' (alias c0) + Literal \'\' (alias c1) + Literal \'\' (alias c2) + Literal \'\' (alias c3) + Literal \'\' (alias c4) + Literal \'\' (alias c5) + Literal \'\' (alias c6) + Literal \'\' (alias c7) + Literal \'\' (alias c8) + Literal \'\' (alias c9) + Literal \'\' (alias c10) + Literal \'\' (alias c11) + Literal \'\' (alias c12) + Literal \'\' (alias c13) + Literal \'\' (alias c14) + Literal \'\' (alias c15) + Literal \'\' (alias c16) + Literal \'\' (alias c17) + Literal \'\' (alias c18) + Literal \'\' (alias c19) + Literal \'\' (alias c20) + Literal \'\' (alias c21) + Literal \'\' (alias c22) + Literal \'\' (alias c23) + Literal \'\' (alias c24) + Literal \'\' (alias c25) + Literal \'\' (alias c26) + Literal \'\' (alias c27) + Literal \'\' (alias c28) + Literal \'\' (alias c29) + Literal \'\' (alias c30) + Literal \'\' (alias c31) + Literal \'\' (alias c32) + Literal \'\' (alias c33) + Literal \'\' (alias c34) + Literal \'\' (alias c35) + Literal \'\' (alias c36) + Literal \'\' (alias c37) + Literal \'\' (alias c38) + Literal \'\' (alias c39) + Literal \'\' (alias c40) + Literal \'\' (alias c41) + Literal \'\' (alias c42) + Literal \'\' (alias c43) + Literal \'\' (alias c44) + Literal \'\' (alias c45) + Literal \'\' (alias c46) + Literal \'\' (alias c47) + Literal \'\' (alias c48) + Literal \'\' (alias c49) + Literal \'\' (alias c50) + Literal \'\' (alias c51) + Literal \'\' (alias c52) + Literal \'\' (alias c53) + Literal \'\' (alias c54) + Literal \'\' (alias c55) + Literal \'\' (alias c56) + Literal \'\' (alias c57) + Literal \'\' (alias c58) + Literal \'\' (alias c59) + Literal \'\' (alias c60) + Literal \'\' (alias c61) + Literal \'\' (alias c62) + Literal \'\' (alias c63) + Literal \'\' (alias c64) diff --git a/parser/testdata/03254_attach_part_order/explain.txt b/parser/testdata/03254_attach_part_order/explain.txt new file mode 100644 index 000000000..d2b0e8fe1 --- /dev/null +++ b/parser/testdata/03254_attach_part_order/explain.txt @@ -0,0 +1,2 @@ +CreateQuery test_table (children 1) + Identifier test_table diff --git a/parser/testdata/03254_last_2_samples_aggregate_function/explain.txt b/parser/testdata/03254_last_2_samples_aggregate_function/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03254_last_2_samples_aggregate_function/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03254_last_2_samples_aggregate_function_simple/explain.txt b/parser/testdata/03254_last_2_samples_aggregate_function_simple/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03254_last_2_samples_aggregate_function_simple/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03254_merge_source_parts/explain.txt b/parser/testdata/03254_merge_source_parts/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03254_merge_source_parts/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03254_normalize_aggregate_states_with_named_tuple_args/explain.txt b/parser/testdata/03254_normalize_aggregate_states_with_named_tuple_args/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03254_normalize_aggregate_states_with_named_tuple_args/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03254_part_log_partition_column_is_set/explain.txt b/parser/testdata/03254_part_log_partition_column_is_set/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03254_part_log_partition_column_is_set/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03254_pr_join_on_dups/explain.txt b/parser/testdata/03254_pr_join_on_dups/explain.txt new file mode 100644 index 000000000..2d139630a --- /dev/null +++ b/parser/testdata/03254_pr_join_on_dups/explain.txt @@ -0,0 +1,2 @@ +DropQuery X (children 1) + Identifier X diff --git a/parser/testdata/03254_prewarm_mark_cache_columns/explain.txt b/parser/testdata/03254_prewarm_mark_cache_columns/explain.txt new file mode 100644 index 000000000..4c39be879 --- /dev/null +++ b/parser/testdata/03254_prewarm_mark_cache_columns/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_prewarm_columns (children 1) + Identifier t_prewarm_columns diff --git a/parser/testdata/03254_prewarm_mark_cache_rmt/explain.txt b/parser/testdata/03254_prewarm_mark_cache_rmt/explain.txt new file mode 100644 index 000000000..2a7fcb22b --- /dev/null +++ b/parser/testdata/03254_prewarm_mark_cache_rmt/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_prewarm_cache_rmt_1 (children 1) + Identifier t_prewarm_cache_rmt_1 diff --git a/parser/testdata/03254_project_lwd_respects_row_exists/explain.txt b/parser/testdata/03254_project_lwd_respects_row_exists/explain.txt new file mode 100644 index 000000000..3085744b3 --- /dev/null +++ b/parser/testdata/03254_project_lwd_respects_row_exists/explain.txt @@ -0,0 +1,2 @@ +DropQuery users_compact (children 1) + Identifier users_compact diff --git a/parser/testdata/03254_system_prewarm_mark_cache/explain.txt b/parser/testdata/03254_system_prewarm_mark_cache/explain.txt new file mode 100644 index 000000000..6de400318 --- /dev/null +++ b/parser/testdata/03254_system_prewarm_mark_cache/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_prewarm_cache (children 1) + Identifier t_prewarm_cache diff --git a/parser/testdata/03254_test_alter_user_no_changes/explain.txt b/parser/testdata/03254_test_alter_user_no_changes/explain.txt new file mode 100644 index 000000000..e6a70727d --- /dev/null +++ b/parser/testdata/03254_test_alter_user_no_changes/explain.txt @@ -0,0 +1 @@ +CreateUserQuery diff --git a/parser/testdata/03254_timeseries_functions/explain.txt b/parser/testdata/03254_timeseries_functions/explain.txt new file mode 100644 index 000000000..9c2838cc3 --- /dev/null +++ b/parser/testdata/03254_timeseries_functions/explain.txt @@ -0,0 +1,15 @@ +CreateQuery ts_raw_data (children 3) + Identifier ts_raw_data + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration timestamp (children 1) + DataType DateTime64 (children 1) + ExpressionList (children 2) + Literal UInt64_3 + Literal \'UTC\' + ColumnDeclaration value (children 1) + DataType Float64 + Storage definition (children 2) + Function MergeTree (children 1) + ExpressionList + Identifier timestamp diff --git a/parser/testdata/03254_timeseries_functions_various_arguments/explain.txt b/parser/testdata/03254_timeseries_functions_various_arguments/explain.txt new file mode 100644 index 000000000..007996823 --- /dev/null +++ b/parser/testdata/03254_timeseries_functions_various_arguments/explain.txt @@ -0,0 +1,18 @@ +CreateQuery ts_data (children 3) + Identifier ts_data + Columns definition (children 1) + ExpressionList (children 3) + ColumnDeclaration id (children 1) + DataType UInt64 + ColumnDeclaration timestamps (children 1) + DataType Array (children 1) + ExpressionList (children 1) + DataType DateTime + ColumnDeclaration values (children 1) + DataType Array (children 1) + ExpressionList (children 1) + DataType Float64 + Storage definition (children 2) + Function MergeTree (children 1) + ExpressionList + Identifier id diff --git a/parser/testdata/03254_timeseries_group_array/explain.txt b/parser/testdata/03254_timeseries_group_array/explain.txt new file mode 100644 index 000000000..9c2838cc3 --- /dev/null +++ b/parser/testdata/03254_timeseries_group_array/explain.txt @@ -0,0 +1,15 @@ +CreateQuery ts_raw_data (children 3) + Identifier ts_raw_data + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration timestamp (children 1) + DataType DateTime64 (children 1) + ExpressionList (children 2) + Literal UInt64_3 + Literal \'UTC\' + ColumnDeclaration value (children 1) + DataType Float64 + Storage definition (children 2) + Function MergeTree (children 1) + ExpressionList + Identifier timestamp diff --git a/parser/testdata/03254_timeseries_instant_value_aggregate_functions/explain.txt b/parser/testdata/03254_timeseries_instant_value_aggregate_functions/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03254_timeseries_instant_value_aggregate_functions/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03254_timeseries_range/explain.txt b/parser/testdata/03254_timeseries_range/explain.txt new file mode 100644 index 000000000..d4b4603d1 --- /dev/null +++ b/parser/testdata/03254_timeseries_range/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function timeSeriesRange (children 1) + ExpressionList (children 3) + Function CAST (children 1) + ExpressionList (children 2) + Literal \'2025-06-01 00:00:00\' + Literal \'DateTime64(3)\' + Function CAST (children 1) + ExpressionList (children 2) + Literal \'2025-06-01 00:01:30.000\' + Literal \'DateTime64(3)\' + Literal UInt64_30 diff --git a/parser/testdata/03254_timeseries_to_grid_aggregate_function/explain.txt b/parser/testdata/03254_timeseries_to_grid_aggregate_function/explain.txt new file mode 100644 index 000000000..03b00e622 --- /dev/null +++ b/parser/testdata/03254_timeseries_to_grid_aggregate_function/explain.txt @@ -0,0 +1,15 @@ +CreateQuery ts_data (children 3) + Identifier ts_data + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration timestamp (children 1) + DataType DateTime (children 1) + ExpressionList (children 1) + Literal \'UTC\' + ColumnDeclaration value (children 1) + DataType Float64 + Storage definition (children 2) + Function MergeTree (children 1) + ExpressionList + Function tuple (children 1) + ExpressionList diff --git a/parser/testdata/03254_timeseries_to_grid_aggregate_function_sparse/explain.txt b/parser/testdata/03254_timeseries_to_grid_aggregate_function_sparse/explain.txt new file mode 100644 index 000000000..03b00e622 --- /dev/null +++ b/parser/testdata/03254_timeseries_to_grid_aggregate_function_sparse/explain.txt @@ -0,0 +1,15 @@ +CreateQuery ts_data (children 3) + Identifier ts_data + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration timestamp (children 1) + DataType DateTime (children 1) + ExpressionList (children 1) + Literal \'UTC\' + ColumnDeclaration value (children 1) + DataType Float64 + Storage definition (children 2) + Function MergeTree (children 1) + ExpressionList + Function tuple (children 1) + ExpressionList diff --git a/parser/testdata/03254_uniq_exact_two_level_negative_zero/explain.txt b/parser/testdata/03254_uniq_exact_two_level_negative_zero/explain.txt new file mode 100644 index 000000000..af8952fab --- /dev/null +++ b/parser/testdata/03254_uniq_exact_two_level_negative_zero/explain.txt @@ -0,0 +1,41 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function if (alias x) (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_1000 + Literal UInt64_0 + Function if (children 1) + ExpressionList (children 3) + Function modulo (children 1) + ExpressionList (children 2) + Function rand (children 1) + ExpressionList + Literal UInt64_2 + Literal Float64_0 + Literal Float64_-0 + Function CAST (children 1) + ExpressionList (children 2) + Identifier number + Literal \'Float64\' + ExpressionList (children 1) + Function length (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Function uniqExactState (children 1) + ExpressionList (children 1) + Identifier x + Literal \'String\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1000000 diff --git a/parser/testdata/03255_fix_sbstrings_logical_error/metadata.json b/parser/testdata/03255_fix_sbstrings_logical_error/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03255_fix_sbstrings_logical_error/metadata.json +++ b/parser/testdata/03255_fix_sbstrings_logical_error/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03255_merge_mutation_start_entry_in_the_part_log/explain.txt b/parser/testdata/03255_merge_mutation_start_entry_in_the_part_log/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03255_merge_mutation_start_entry_in_the_part_log/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03256_invalid_mutation_query/explain.txt b/parser/testdata/03256_invalid_mutation_query/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/03256_invalid_mutation_query/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/03257_json_escape_file_names/explain.txt b/parser/testdata/03257_json_escape_file_names/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03257_json_escape_file_names/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03257_reverse_sorting_key/explain.txt b/parser/testdata/03257_reverse_sorting_key/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03257_reverse_sorting_key/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03257_reverse_sorting_key_simple/explain.txt b/parser/testdata/03257_reverse_sorting_key_simple/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03257_reverse_sorting_key_simple/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03257_reverse_sorting_key_zookeeper/explain.txt b/parser/testdata/03257_reverse_sorting_key_zookeeper/explain.txt new file mode 100644 index 000000000..38bf2aaec --- /dev/null +++ b/parser/testdata/03257_reverse_sorting_key_zookeeper/explain.txt @@ -0,0 +1,2 @@ +DropQuery x1 (children 1) + Identifier x1 diff --git a/parser/testdata/03257_scalar_in_format_table_expression/metadata.json b/parser/testdata/03257_scalar_in_format_table_expression/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03257_scalar_in_format_table_expression/metadata.json +++ b/parser/testdata/03257_scalar_in_format_table_expression/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03257_setting_tiers/explain.txt b/parser/testdata/03257_setting_tiers/explain.txt new file mode 100644 index 000000000..e13d144a5 --- /dev/null +++ b/parser/testdata/03257_setting_tiers/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function greater (children 1) + ExpressionList (children 2) + Function count (children 1) + ExpressionList + Literal UInt64_0 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.settings + Function equals (children 1) + ExpressionList (children 2) + Identifier tier + Literal \'Production\' diff --git a/parser/testdata/03258_dynamic_in_functions_weak_ptr_exception/explain.txt b/parser/testdata/03258_dynamic_in_functions_weak_ptr_exception/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03258_dynamic_in_functions_weak_ptr_exception/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03258_multiple_array_joins/explain.txt b/parser/testdata/03258_multiple_array_joins/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03258_multiple_array_joins/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03258_old_analyzer_const_expr_bug/metadata.json b/parser/testdata/03258_old_analyzer_const_expr_bug/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03258_old_analyzer_const_expr_bug/metadata.json +++ b/parser/testdata/03258_old_analyzer_const_expr_bug/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03258_quantile_exact_weighted_issue/explain.txt b/parser/testdata/03258_quantile_exact_weighted_issue/explain.txt new file mode 100644 index 000000000..66fda8894 --- /dev/null +++ b/parser/testdata/03258_quantile_exact_weighted_issue/explain.txt @@ -0,0 +1,24 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function toTypeName (children 1) + ExpressionList (children 1) + Function quantilesExactWeightedState (alias x) (children 2) + ExpressionList (children 2) + Function plus (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_1 + Literal UInt64_1 + ExpressionList (children 4) + Literal Float64_0.2 + Literal Float64_0.4 + Literal Float64_0.6 + Literal Float64_0.8 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_49999 diff --git a/parser/testdata/03259_grouping_sets_aliases/explain.txt b/parser/testdata/03259_grouping_sets_aliases/explain.txt new file mode 100644 index 000000000..9f4cd7313 --- /dev/null +++ b/parser/testdata/03259_grouping_sets_aliases/explain.txt @@ -0,0 +1,2 @@ +DropQuery users (children 1) + Identifier users diff --git a/parser/testdata/03259_join_condition_executed_block_bug/explain.txt b/parser/testdata/03259_join_condition_executed_block_bug/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/03259_join_condition_executed_block_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/03259_negate_key_overflow/explain.txt b/parser/testdata/03259_negate_key_overflow/explain.txt new file mode 100644 index 000000000..4a51b923d --- /dev/null +++ b/parser/testdata/03259_negate_key_overflow/explain.txt @@ -0,0 +1,9 @@ +CreateQuery a (children 3) + Identifier a + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration x (children 1) + DataType UInt64 + Storage definition (children 2) + Function MergeTree + Identifier x diff --git a/parser/testdata/03259_orc_date_out_of_range/explain.txt b/parser/testdata/03259_orc_date_out_of_range/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03259_orc_date_out_of_range/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03260_dynamic_low_cardinality_dict_bug/explain.txt b/parser/testdata/03260_dynamic_low_cardinality_dict_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03260_dynamic_low_cardinality_dict_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03261_any_respect_camelCase_aliases/explain.txt b/parser/testdata/03261_any_respect_camelCase_aliases/explain.txt new file mode 100644 index 000000000..296faeb0f --- /dev/null +++ b/parser/testdata/03261_any_respect_camelCase_aliases/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'anyRespectNulls\' diff --git a/parser/testdata/03261_delayed_streams_memory/explain.txt b/parser/testdata/03261_delayed_streams_memory/explain.txt new file mode 100644 index 000000000..a92d50695 --- /dev/null +++ b/parser/testdata/03261_delayed_streams_memory/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_100_columns (children 1) + Identifier t_100_columns diff --git a/parser/testdata/03261_json_hints_types_check/explain.txt b/parser/testdata/03261_json_hints_types_check/explain.txt new file mode 100644 index 000000000..1b14b4cc6 --- /dev/null +++ b/parser/testdata/03261_json_hints_types_check/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Literal \'{}\' + Literal \'JSON(a LowCardinality(Int128))\' +The query succeeded but the server error '455' was expected (query: EXPLAIN AST select '{}'::JSON(a LowCardinality(Int128)); -- {serverError SUSPICIOUS_TYPE_FOR_LOW_CARDINALITY}). diff --git a/parser/testdata/03261_low_cardinality_nullable_to_dynamic_cast/explain.txt b/parser/testdata/03261_low_cardinality_nullable_to_dynamic_cast/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03261_low_cardinality_nullable_to_dynamic_cast/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03261_minmax_indices_by_default/explain.txt b/parser/testdata/03261_minmax_indices_by_default/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03261_minmax_indices_by_default/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03261_minmax_indices_by_default_table_copy/explain.txt b/parser/testdata/03261_minmax_indices_by_default_table_copy/explain.txt new file mode 100644 index 000000000..f16d15dac --- /dev/null +++ b/parser/testdata/03261_minmax_indices_by_default_table_copy/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab1 (children 1) + Identifier tab1 diff --git a/parser/testdata/03261_mongodb_argumetns_crash/explain.txt b/parser/testdata/03261_mongodb_argumetns_crash/explain.txt new file mode 100644 index 000000000..563cec00e --- /dev/null +++ b/parser/testdata/03261_mongodb_argumetns_crash/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function mongodb (children 1) + ExpressionList (children 6) + Literal \'mongodb://some-cluster:27017/?retryWrites=false\' + Literal NULL + Literal \'my_collection\' + Literal \'test_user\' + Literal \'password\' + Literal \'x Int32\' +The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT * FROM mongodb('mongodb://some-cluster:27017/?retryWrites=false', NULL, 'my_collection', 'test_user', 'password', 'x Int32'); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/03261_optimize_rewrite_array_exists_to_has_crash/explain.txt b/parser/testdata/03261_optimize_rewrite_array_exists_to_has_crash/explain.txt new file mode 100644 index 000000000..2ac6ee945 --- /dev/null +++ b/parser/testdata/03261_optimize_rewrite_array_exists_to_has_crash/explain.txt @@ -0,0 +1,2 @@ +DropQuery rewrite (children 1) + Identifier rewrite diff --git a/parser/testdata/03261_pr_semi_anti_join/explain.txt b/parser/testdata/03261_pr_semi_anti_join/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/03261_pr_semi_anti_join/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/03261_sort_cursor_crash/explain.txt b/parser/testdata/03261_sort_cursor_crash/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03261_sort_cursor_crash/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03261_tuple_map_to_json_cast/explain.txt b/parser/testdata/03261_tuple_map_to_json_cast/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03261_tuple_map_to_json_cast/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03261_variant_permutation_bug/explain.txt b/parser/testdata/03261_variant_permutation_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03261_variant_permutation_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03262_analyzer_materialized_view_in_with_cte/explain.txt b/parser/testdata/03262_analyzer_materialized_view_in_with_cte/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03262_analyzer_materialized_view_in_with_cte/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03262_column_sizes_with_dynamic_structure/explain.txt b/parser/testdata/03262_column_sizes_with_dynamic_structure/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03262_column_sizes_with_dynamic_structure/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03262_common_expression_optimization/explain.txt b/parser/testdata/03262_common_expression_optimization/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03262_common_expression_optimization/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03262_const_adaptive_index_granularity/explain.txt b/parser/testdata/03262_const_adaptive_index_granularity/explain.txt new file mode 100644 index 000000000..82254fe40 --- /dev/null +++ b/parser/testdata/03262_const_adaptive_index_granularity/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_index_granularity (children 1) + Identifier t_index_granularity diff --git a/parser/testdata/03262_filter_push_down_view/explain.txt b/parser/testdata/03262_filter_push_down_view/explain.txt new file mode 100644 index 000000000..810a4362e --- /dev/null +++ b/parser/testdata/03262_filter_push_down_view/explain.txt @@ -0,0 +1,2 @@ +DropQuery alpha (children 1) + Identifier alpha diff --git a/parser/testdata/03262_system_functions_should_not_fill_query_log_functions/explain.txt b/parser/testdata/03262_system_functions_should_not_fill_query_log_functions/explain.txt new file mode 100644 index 000000000..6896247d1 --- /dev/null +++ b/parser/testdata/03262_system_functions_should_not_fill_query_log_functions/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.functions + Function equals (children 1) + ExpressionList (children 2) + Identifier name + Literal \'bitShiftLeft\' + Identifier Null diff --git a/parser/testdata/03263_analyzer_materialized_view_cte_nested/explain.txt b/parser/testdata/03263_analyzer_materialized_view_cte_nested/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03263_analyzer_materialized_view_cte_nested/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03263_forbid_materialize_sort_key/explain.txt b/parser/testdata/03263_forbid_materialize_sort_key/explain.txt new file mode 100644 index 000000000..cacb316ac --- /dev/null +++ b/parser/testdata/03263_forbid_materialize_sort_key/explain.txt @@ -0,0 +1,10 @@ +CreateQuery test (children 3) + Identifier test + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration a (children 1) + DataType UInt64 + Storage definition (children 2) + Function MergeTree (children 1) + ExpressionList + Identifier a diff --git a/parser/testdata/03263_parquet_write_bloom_filter/explain.txt b/parser/testdata/03263_parquet_write_bloom_filter/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03263_parquet_write_bloom_filter/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03266_lowcardinality_string_monotonicity/explain.txt b/parser/testdata/03266_lowcardinality_string_monotonicity/explain.txt new file mode 100644 index 000000000..bae32c43d --- /dev/null +++ b/parser/testdata/03266_lowcardinality_string_monotonicity/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_lc_pk (children 1) + Identifier test_lc_pk diff --git a/parser/testdata/03266_with_fill_staleness/explain.txt b/parser/testdata/03266_with_fill_staleness/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03266_with_fill_staleness/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03266_with_fill_staleness_cases/explain.txt b/parser/testdata/03266_with_fill_staleness_cases/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03266_with_fill_staleness_cases/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03266_with_fill_staleness_errors/explain.txt b/parser/testdata/03266_with_fill_staleness_errors/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03266_with_fill_staleness_errors/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03267_join_swap_bug/explain.txt b/parser/testdata/03267_join_swap_bug/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03267_join_swap_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03267_materialized_view_keeps_security_context/metadata.json b/parser/testdata/03267_materialized_view_keeps_security_context/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03267_materialized_view_keeps_security_context/metadata.json +++ b/parser/testdata/03267_materialized_view_keeps_security_context/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03268_empty_tuple_update/explain.txt b/parser/testdata/03268_empty_tuple_update/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03268_empty_tuple_update/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03268_nested_analyzer/explain.txt b/parser/testdata/03268_nested_analyzer/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03268_nested_analyzer/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03268_system_parts_index_granularity/explain.txt b/parser/testdata/03268_system_parts_index_granularity/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/03268_system_parts_index_granularity/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/03268_vertical_pretty_numbers/explain.txt b/parser/testdata/03268_vertical_pretty_numbers/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03268_vertical_pretty_numbers/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03269_bf16/metadata.json b/parser/testdata/03269_bf16/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03269_bf16/metadata.json +++ b/parser/testdata/03269_bf16/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03269_partition_key_not_in_set/explain.txt b/parser/testdata/03269_partition_key_not_in_set/explain.txt new file mode 100644 index 000000000..965aa24ce --- /dev/null +++ b/parser/testdata/03269_partition_key_not_in_set/explain.txt @@ -0,0 +1,2 @@ +DropQuery 03269_filters (children 1) + Identifier 03269_filters diff --git a/parser/testdata/03270_empty_tuple_in_array_intersect/explain.txt b/parser/testdata/03270_empty_tuple_in_array_intersect/explain.txt new file mode 100644 index 000000000..06fa749ab --- /dev/null +++ b/parser/testdata/03270_empty_tuple_in_array_intersect/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayIntersect (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList diff --git a/parser/testdata/03270_fix_column_modifier_write_order/explain.txt b/parser/testdata/03270_fix_column_modifier_write_order/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/03270_fix_column_modifier_write_order/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/03270_max_bytes_ratio_before_external_group_by/explain.txt b/parser/testdata/03270_max_bytes_ratio_before_external_group_by/explain.txt new file mode 100644 index 000000000..87b648e39 --- /dev/null +++ b/parser/testdata/03270_max_bytes_ratio_before_external_group_by/explain.txt @@ -0,0 +1,27 @@ +SelectWithUnionQuery (children 3) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function uniqExact (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Identifier number + Literal \'String\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal Float64_10000000 + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_100 + Literal \'String\' + Identifier Null + Set +The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT uniqExact(number::String) FROM numbers(10e6) GROUP BY (number%100)::String FORMAT Null SETTINGS max_bytes_ratio_before_external_group_by=-0.1; -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/03271_date_to_datetime_saturation/explain.txt b/parser/testdata/03271_date_to_datetime_saturation/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03271_date_to_datetime_saturation/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03271_decimal_monotonic_day_of_week/explain.txt b/parser/testdata/03271_decimal_monotonic_day_of_week/explain.txt new file mode 100644 index 000000000..fa6d9a64f --- /dev/null +++ b/parser/testdata/03271_decimal_monotonic_day_of_week/explain.txt @@ -0,0 +1,2 @@ +DropQuery decimal_dt (children 1) + Identifier decimal_dt diff --git a/parser/testdata/03271_dynamic_variant_in_min_max/explain.txt b/parser/testdata/03271_dynamic_variant_in_min_max/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03271_dynamic_variant_in_min_max/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03271_max_bytes_ratio_before_external_order_by/explain.txt b/parser/testdata/03271_max_bytes_ratio_before_external_order_by/explain.txt new file mode 100644 index 000000000..4df7e6ebb --- /dev/null +++ b/parser/testdata/03271_max_bytes_ratio_before_external_order_by/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 3) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal Float64_100000000 + ExpressionList (children 1) + OrderByElement (children 1) + Identifier number + Identifier Null + Set +The query succeeded but the server error '36' was expected (query: EXPLAIN AST select number from numbers(100e6) order by number format Null settings max_bytes_ratio_before_external_sort=-0.1; -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/03271_s3_table_function_asterisk_glob/explain.txt b/parser/testdata/03271_s3_table_function_asterisk_glob/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03271_s3_table_function_asterisk_glob/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03271_sqllancer_having_issue/explain.txt b/parser/testdata/03271_sqllancer_having_issue/explain.txt new file mode 100644 index 000000000..8f17f0e2f --- /dev/null +++ b/parser/testdata/03271_sqllancer_having_issue/explain.txt @@ -0,0 +1,9 @@ +CreateQuery t3 (children 3) + Identifier t3 + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration c0 (children 1) + DataType Int32 + Storage definition (children 1) + Function Memory (children 1) + ExpressionList diff --git a/parser/testdata/03272_arrayAUCPR/explain.txt b/parser/testdata/03272_arrayAUCPR/explain.txt new file mode 100644 index 000000000..4750b83e0 --- /dev/null +++ b/parser/testdata/03272_arrayAUCPR/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function floor (children 1) + ExpressionList (children 2) + Function arrayAUCPR (children 1) + ExpressionList (children 2) + Literal Array_[Float64_0.1, Float64_0.4, Float64_0.35, Float64_0.8] + Literal Array_[UInt64_0, UInt64_0, UInt64_1, UInt64_1] + Literal UInt64_10 diff --git a/parser/testdata/03272_bad_aggregate_function/explain.txt b/parser/testdata/03272_bad_aggregate_function/explain.txt new file mode 100644 index 000000000..d89bd990f --- /dev/null +++ b/parser/testdata/03272_bad_aggregate_function/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function deltaSumTimestamp (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal UInt64_2 +The query succeeded but the server error '43' was expected (query: EXPLAIN AST SELECT deltaSumTimestamp(1, 2); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }). diff --git a/parser/testdata/03272_bitmapTransform_error_counter/explain.txt b/parser/testdata/03272_bitmapTransform_error_counter/explain.txt new file mode 100644 index 000000000..6e28eb9fa --- /dev/null +++ b/parser/testdata/03272_bitmapTransform_error_counter/explain.txt @@ -0,0 +1,10 @@ +CreateQuery counters (children 3) + Identifier counters + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration value (children 1) + DataType UInt64 + Storage definition (children 2) + Function MergeTree (children 1) + ExpressionList + Identifier value diff --git a/parser/testdata/03272_json_to_json_cast_1/explain.txt b/parser/testdata/03272_json_to_json_cast_1/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03272_json_to_json_cast_1/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03272_json_to_json_cast_2/explain.txt b/parser/testdata/03272_json_to_json_cast_2/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03272_json_to_json_cast_2/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03272_json_to_json_cast_3/explain.txt b/parser/testdata/03272_json_to_json_cast_3/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03272_json_to_json_cast_3/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03272_json_to_json_cast_4/explain.txt b/parser/testdata/03272_json_to_json_cast_4/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03272_json_to_json_cast_4/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03272_json_to_json_cast_5/explain.txt b/parser/testdata/03272_json_to_json_cast_5/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03272_json_to_json_cast_5/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03272_json_to_json_cast_6/explain.txt b/parser/testdata/03272_json_to_json_cast_6/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03272_json_to_json_cast_6/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03272_parallel_replicas_read_in_order/explain.txt b/parser/testdata/03272_parallel_replicas_read_in_order/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03272_parallel_replicas_read_in_order/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03272_partition_pruning_monotonic_func_bug/explain.txt b/parser/testdata/03272_partition_pruning_monotonic_func_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03272_partition_pruning_monotonic_func_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03272_prewarm_mark_cache_add_column/explain.txt b/parser/testdata/03272_prewarm_mark_cache_add_column/explain.txt new file mode 100644 index 000000000..9084c5a29 --- /dev/null +++ b/parser/testdata/03272_prewarm_mark_cache_add_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_prewarm_add_column (children 1) + Identifier t_prewarm_add_column diff --git a/parser/testdata/03273_better_json_subcolumns_parsing/explain.txt b/parser/testdata/03273_better_json_subcolumns_parsing/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03273_better_json_subcolumns_parsing/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03273_dynamic_pretty_json_serialization/explain.txt b/parser/testdata/03273_dynamic_pretty_json_serialization/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03273_dynamic_pretty_json_serialization/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03273_format_inference_create_query_s3_url/explain.txt b/parser/testdata/03273_format_inference_create_query_s3_url/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03273_format_inference_create_query_s3_url/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03273_group_by_in_order_still_used_when_group_by_key_doesnt_match_order_by_key/explain.txt b/parser/testdata/03273_group_by_in_order_still_used_when_group_by_key_doesnt_match_order_by_key/explain.txt new file mode 100644 index 000000000..2dc2d2a36 --- /dev/null +++ b/parser/testdata/03273_group_by_in_order_still_used_when_group_by_key_doesnt_match_order_by_key/explain.txt @@ -0,0 +1,2 @@ +CreateQuery test (children 1) + Identifier test diff --git a/parser/testdata/03273_primary_index_cache/explain.txt b/parser/testdata/03273_primary_index_cache/explain.txt new file mode 100644 index 000000000..0f20c0e15 --- /dev/null +++ b/parser/testdata/03273_primary_index_cache/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_primary_index_cache (children 1) + Identifier t_primary_index_cache diff --git a/parser/testdata/03273_primary_index_cache_low_cardinality/explain.txt b/parser/testdata/03273_primary_index_cache_low_cardinality/explain.txt new file mode 100644 index 000000000..0f20c0e15 --- /dev/null +++ b/parser/testdata/03273_primary_index_cache_low_cardinality/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_primary_index_cache (children 1) + Identifier t_primary_index_cache diff --git a/parser/testdata/03273_select_from_explain_ast_non_select/explain.txt b/parser/testdata/03273_select_from_explain_ast_non_select/explain.txt new file mode 100644 index 000000000..fc8f33106 --- /dev/null +++ b/parser/testdata/03273_select_from_explain_ast_non_select/explain.txt @@ -0,0 +1,33 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function viewExplain (children 1) + ExpressionList (children 3) + Literal \'EXPLAIN AST\' + Literal \'\' + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 diff --git a/parser/testdata/03274_aliases_in_udf/explain.txt b/parser/testdata/03274_aliases_in_udf/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03274_aliases_in_udf/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03274_dynamic_column_data_race_with_concurrent_hj/explain.txt b/parser/testdata/03274_dynamic_column_data_race_with_concurrent_hj/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03274_dynamic_column_data_race_with_concurrent_hj/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03274_dynamic_column_sizes_vertical_merge/explain.txt b/parser/testdata/03274_dynamic_column_sizes_vertical_merge/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03274_dynamic_column_sizes_vertical_merge/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03274_grace_hash_max_joined_block_size_rows_bug/explain.txt b/parser/testdata/03274_grace_hash_max_joined_block_size_rows_bug/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03274_grace_hash_max_joined_block_size_rows_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03274_join_algorithm_default/explain.txt b/parser/testdata/03274_join_algorithm_default/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03274_join_algorithm_default/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03274_json_pretty_output/explain.txt b/parser/testdata/03274_json_pretty_output/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03274_json_pretty_output/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03274_json_to_json_alter_nested_json/explain.txt b/parser/testdata/03274_json_to_json_alter_nested_json/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03274_json_to_json_alter_nested_json/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03274_philipzucker/explain.txt b/parser/testdata/03274_philipzucker/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03274_philipzucker/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03274_prewarm_primary_index_cache/explain.txt b/parser/testdata/03274_prewarm_primary_index_cache/explain.txt new file mode 100644 index 000000000..2a7fcb22b --- /dev/null +++ b/parser/testdata/03274_prewarm_primary_index_cache/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_prewarm_cache_rmt_1 (children 1) + Identifier t_prewarm_cache_rmt_1 diff --git a/parser/testdata/03274_squashing_transform_sparse_bug/explain.txt b/parser/testdata/03274_squashing_transform_sparse_bug/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03274_squashing_transform_sparse_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03274_with_fill_dup_sort_bug/metadata.json b/parser/testdata/03274_with_fill_dup_sort_bug/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03274_with_fill_dup_sort_bug/metadata.json +++ b/parser/testdata/03274_with_fill_dup_sort_bug/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03275_auto_cluster_functions_with_parallel_replicas/explain.txt b/parser/testdata/03275_auto_cluster_functions_with_parallel_replicas/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03275_auto_cluster_functions_with_parallel_replicas/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03275_block_number_mutation/explain.txt b/parser/testdata/03275_block_number_mutation/explain.txt new file mode 100644 index 000000000..7abef6307 --- /dev/null +++ b/parser/testdata/03275_block_number_mutation/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_block_number_delete (children 1) + Identifier t_block_number_delete diff --git a/parser/testdata/03275_block_number_update/explain.txt b/parser/testdata/03275_block_number_update/explain.txt new file mode 100644 index 000000000..aeadf6029 --- /dev/null +++ b/parser/testdata/03275_block_number_update/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_block_number_mut (children 1) + Identifier t_block_number_mut diff --git a/parser/testdata/03275_count_digits_argument_evaluation/explain.txt b/parser/testdata/03275_count_digits_argument_evaluation/explain.txt new file mode 100644 index 000000000..28c6ec928 --- /dev/null +++ b/parser/testdata/03275_count_digits_argument_evaluation/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function countDigits (children 1) + ExpressionList +The query succeeded but the server error '42' was expected (query: EXPLAIN AST SELECT countDigits(); -- { serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH }). diff --git a/parser/testdata/03275_ignore_nonexistent_files_fix/metadata.json b/parser/testdata/03275_ignore_nonexistent_files_fix/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03275_ignore_nonexistent_files_fix/metadata.json +++ b/parser/testdata/03275_ignore_nonexistent_files_fix/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03275_matview_with_union/explain.txt b/parser/testdata/03275_matview_with_union/explain.txt new file mode 100644 index 000000000..86d217994 --- /dev/null +++ b/parser/testdata/03275_matview_with_union/explain.txt @@ -0,0 +1,2 @@ +DropQuery src (children 1) + Identifier src diff --git a/parser/testdata/03275_pr_any_join/explain.txt b/parser/testdata/03275_pr_any_join/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/03275_pr_any_join/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/03275_subcolumns_in_primary_key_bug/explain.txt b/parser/testdata/03275_subcolumns_in_primary_key_bug/explain.txt new file mode 100644 index 000000000..5cbd34a73 --- /dev/null +++ b/parser/testdata/03275_subcolumns_in_primary_key_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery test1 (children 1) + Identifier test1 diff --git a/parser/testdata/03276_database_backup_merge_tree_table_file_engine/explain.txt b/parser/testdata/03276_database_backup_merge_tree_table_file_engine/explain.txt new file mode 100644 index 000000000..69b9c24ce --- /dev/null +++ b/parser/testdata/03276_database_backup_merge_tree_table_file_engine/explain.txt @@ -0,0 +1,2 @@ +DropQuery 03276_test_database (children 1) + Identifier 03276_test_database diff --git a/parser/testdata/03276_empty_variant_type/explain.txt b/parser/testdata/03276_empty_variant_type/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03276_empty_variant_type/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03276_functions_to_subcolumns_lc/explain.txt b/parser/testdata/03276_functions_to_subcolumns_lc/explain.txt new file mode 100644 index 000000000..44b8643ec --- /dev/null +++ b/parser/testdata/03276_functions_to_subcolumns_lc/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_map_lc (children 1) + Identifier t_map_lc diff --git a/parser/testdata/03276_index_empty_part/explain.txt b/parser/testdata/03276_index_empty_part/explain.txt new file mode 100644 index 000000000..a8fbf4280 --- /dev/null +++ b/parser/testdata/03276_index_empty_part/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_index_empty_part (children 1) + Identifier t_index_empty_part diff --git a/parser/testdata/03276_index_of_assume_sorted/explain.txt b/parser/testdata/03276_index_of_assume_sorted/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03276_index_of_assume_sorted/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03276_merge_tree_index_lazy_load/explain.txt b/parser/testdata/03276_merge_tree_index_lazy_load/explain.txt new file mode 100644 index 000000000..4e782a5a9 --- /dev/null +++ b/parser/testdata/03276_merge_tree_index_lazy_load/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_index_lazy_load (children 1) + Identifier t_index_lazy_load diff --git a/parser/testdata/03276_parquet_output_compression_level/explain.txt b/parser/testdata/03276_parquet_output_compression_level/explain.txt new file mode 100644 index 000000000..7860f102b --- /dev/null +++ b/parser/testdata/03276_parquet_output_compression_level/explain.txt @@ -0,0 +1,24 @@ +InsertQuery (children 3) + Function file (children 1) + ExpressionList (children 1) + Identifier 03276_parquet_custom_encoder_compression_level_1.parquet + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 3) + Identifier number (alias id) + Function toString (alias name) (children 1) + ExpressionList (children 1) + Identifier number + Function plus (alias timestamp) (children 1) + ExpressionList (children 2) + Function now (children 1) + ExpressionList + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_100000 + Set diff --git a/parser/testdata/03277_analyzer_array_join_fix/explain.txt b/parser/testdata/03277_analyzer_array_join_fix/explain.txt new file mode 100644 index 000000000..f8c3bcb23 --- /dev/null +++ b/parser/testdata/03277_analyzer_array_join_fix/explain.txt @@ -0,0 +1,2 @@ +CreateQuery repro (children 1) + Identifier repro diff --git a/parser/testdata/03277_dead_letter_queue_unsupported/explain.txt b/parser/testdata/03277_dead_letter_queue_unsupported/explain.txt new file mode 100644 index 000000000..f3a270ebe --- /dev/null +++ b/parser/testdata/03277_dead_letter_queue_unsupported/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'qfilelog\' diff --git a/parser/testdata/03277_join_adaptive_spill/explain.txt b/parser/testdata/03277_join_adaptive_spill/explain.txt new file mode 100644 index 000000000..7a00f76b7 --- /dev/null +++ b/parser/testdata/03277_join_adaptive_spill/explain.txt @@ -0,0 +1,10 @@ +CreateQuery adaptive_spill_03277_1 (children 3) + Identifier adaptive_spill_03277_1 + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration k (children 1) + DataType String + ColumnDeclaration x (children 1) + DataType String + Storage definition (children 1) + Function Memory diff --git a/parser/testdata/03277_join_adaptive_spill_oom/explain.txt b/parser/testdata/03277_join_adaptive_spill_oom/explain.txt new file mode 100644 index 000000000..7a00f76b7 --- /dev/null +++ b/parser/testdata/03277_join_adaptive_spill_oom/explain.txt @@ -0,0 +1,10 @@ +CreateQuery adaptive_spill_03277_1 (children 3) + Identifier adaptive_spill_03277_1 + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration k (children 1) + DataType String + ColumnDeclaration x (children 1) + DataType String + Storage definition (children 1) + Function Memory diff --git a/parser/testdata/03277_logging_elapsed_ns/explain.txt b/parser/testdata/03277_logging_elapsed_ns/explain.txt new file mode 100644 index 000000000..e75d70910 --- /dev/null +++ b/parser/testdata/03277_logging_elapsed_ns/explain.txt @@ -0,0 +1,6 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Literal UInt64_42 + Set diff --git a/parser/testdata/03278_database_backup_merge_tree_table_disk_engine/explain.txt b/parser/testdata/03278_database_backup_merge_tree_table_disk_engine/explain.txt new file mode 100644 index 000000000..98af9eaf6 --- /dev/null +++ b/parser/testdata/03278_database_backup_merge_tree_table_disk_engine/explain.txt @@ -0,0 +1,2 @@ +DropQuery 03278_test_database (children 1) + Identifier 03278_test_database diff --git a/parser/testdata/03278_dateTime64_in_dateTime64_bug/explain.txt b/parser/testdata/03278_dateTime64_in_dateTime64_bug/explain.txt new file mode 100644 index 000000000..45e1c5ac8 --- /dev/null +++ b/parser/testdata/03278_dateTime64_in_dateTime64_bug/explain.txt @@ -0,0 +1,21 @@ +CreateQuery datetime64_issue (children 3) + Identifier datetime64_issue + Columns definition (children 1) + ExpressionList (children 3) + ColumnDeclaration id (children 1) + DataType int + ColumnDeclaration dt (children 1) + DataType DateTime64 (children 1) + ExpressionList (children 1) + Literal UInt64_3 + ColumnDeclaration dtn (children 1) + DataType Nullable (children 1) + ExpressionList (children 1) + DataType DateTime64 (children 1) + ExpressionList (children 1) + Literal UInt64_3 + Storage definition (children 3) + Function MergeTree (children 1) + ExpressionList + Identifier id + Identifier id diff --git a/parser/testdata/03278_enum_in_unknown_value/explain.txt b/parser/testdata/03278_enum_in_unknown_value/explain.txt new file mode 100644 index 000000000..7430c8809 --- /dev/null +++ b/parser/testdata/03278_enum_in_unknown_value/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_enum_in_unknown_value (children 1) + Identifier t_enum_in_unknown_value diff --git a/parser/testdata/03278_enum_string_functions/explain.txt b/parser/testdata/03278_enum_string_functions/explain.txt new file mode 100644 index 000000000..0cc037861 --- /dev/null +++ b/parser/testdata/03278_enum_string_functions/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_enum_string_functions (children 1) + Identifier test_enum_string_functions diff --git a/parser/testdata/03279_array_normalized_gini/explain.txt b/parser/testdata/03279_array_normalized_gini/explain.txt new file mode 100644 index 000000000..f39c3f2e8 --- /dev/null +++ b/parser/testdata/03279_array_normalized_gini/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayNormalizedGini (children 1) + ExpressionList (children 2) + Literal Array_[Float64_0.9, Float64_0.3, Float64_0.8, Float64_0.7] + Literal Array_[UInt64_6, UInt64_1, UInt64_0, UInt64_2] diff --git a/parser/testdata/03279_database_backup_database_disk_engine/explain.txt b/parser/testdata/03279_database_backup_database_disk_engine/explain.txt new file mode 100644 index 000000000..48a50684c --- /dev/null +++ b/parser/testdata/03279_database_backup_database_disk_engine/explain.txt @@ -0,0 +1,2 @@ +DropQuery 03279_test_database (children 1) + Identifier 03279_test_database diff --git a/parser/testdata/03279_join_choose_build_table/explain.txt b/parser/testdata/03279_join_choose_build_table/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03279_join_choose_build_table/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03279_join_choose_build_table_auto_statistics/explain.txt b/parser/testdata/03279_join_choose_build_table_auto_statistics/explain.txt new file mode 100644 index 000000000..72a5e27c8 --- /dev/null +++ b/parser/testdata/03279_join_choose_build_table_auto_statistics/explain.txt @@ -0,0 +1,2 @@ +DropQuery products (children 1) + Identifier products diff --git a/parser/testdata/03279_join_choose_build_table_statistics/explain.txt b/parser/testdata/03279_join_choose_build_table_statistics/explain.txt new file mode 100644 index 000000000..72a5e27c8 --- /dev/null +++ b/parser/testdata/03279_join_choose_build_table_statistics/explain.txt @@ -0,0 +1,2 @@ +DropQuery products (children 1) + Identifier products diff --git a/parser/testdata/03279_not_empty_json/explain.txt b/parser/testdata/03279_not_empty_json/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03279_not_empty_json/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03280_aliases_for_selects_and_views/explain.txt b/parser/testdata/03280_aliases_for_selects_and_views/explain.txt new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/parser/testdata/03280_aliases_for_selects_and_views/explain.txt @@ -0,0 +1 @@ + diff --git a/parser/testdata/03280_dynamic_if_null/explain.txt b/parser/testdata/03280_dynamic_if_null/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03280_dynamic_if_null/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03281_dynamic_coalesce/explain.txt b/parser/testdata/03281_dynamic_coalesce/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03281_dynamic_coalesce/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03282_block_number_otehr_mutations/explain.txt b/parser/testdata/03282_block_number_otehr_mutations/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03282_block_number_otehr_mutations/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03282_dynamic_in_functions_convert/explain.txt b/parser/testdata/03282_dynamic_in_functions_convert/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03282_dynamic_in_functions_convert/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03282_highlight_trailing_whitespace_pretty/explain.txt b/parser/testdata/03282_highlight_trailing_whitespace_pretty/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03282_highlight_trailing_whitespace_pretty/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03282_join_distributed_no_columns/explain.txt b/parser/testdata/03282_join_distributed_no_columns/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03282_join_distributed_no_columns/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03282_json_equal_comparison/explain.txt b/parser/testdata/03282_json_equal_comparison/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03282_json_equal_comparison/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03282_materialized_views_ignore_errors/explain.txt b/parser/testdata/03282_materialized_views_ignore_errors/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03282_materialized_views_ignore_errors/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03282_memory_transaction_crash/explain.txt b/parser/testdata/03282_memory_transaction_crash/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03282_memory_transaction_crash/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03282_parallel_join_with_additional_filter/metadata.json b/parser/testdata/03282_parallel_join_with_additional_filter/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03282_parallel_join_with_additional_filter/metadata.json +++ b/parser/testdata/03282_parallel_join_with_additional_filter/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03283_json_binary_serialization_use_default_setttings/explain.txt b/parser/testdata/03283_json_binary_serialization_use_default_setttings/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03283_json_binary_serialization_use_default_setttings/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03283_optimize_on_insert_level/explain.txt b/parser/testdata/03283_optimize_on_insert_level/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03283_optimize_on_insert_level/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03284_json_object_as_tuple_duplicate_keys/explain.txt b/parser/testdata/03284_json_object_as_tuple_duplicate_keys/explain.txt new file mode 100644 index 000000000..68a80f5a5 --- /dev/null +++ b/parser/testdata/03284_json_object_as_tuple_duplicate_keys/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function format (children 1) + ExpressionList (children 3) + Identifier JSONEachRow + Literal \'a Tuple(b UInt32)\' + Literal \'{"a" : {"b" : 1, "b" : 2}}\' +The query succeeded but the server error '117' was expected (query: EXPLAIN AST select * from format(JSONEachRow, 'a Tuple(b UInt32)', '{"a" : {"b" : 1, "b" : 2}}'); -- {serverError INCORRECT_DATA}). diff --git a/parser/testdata/03285_analyzer_array_join_nested/explain.txt b/parser/testdata/03285_analyzer_array_join_nested/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03285_analyzer_array_join_nested/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03285_analyzer_extract_common_expr_bug/explain.txt b/parser/testdata/03285_analyzer_extract_common_expr_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03285_analyzer_extract_common_expr_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03285_analyzer_optimize_disjunctions/explain.txt b/parser/testdata/03285_analyzer_optimize_disjunctions/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03285_analyzer_optimize_disjunctions/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03285_default_engine_with_settings/explain.txt b/parser/testdata/03285_default_engine_with_settings/explain.txt new file mode 100644 index 000000000..aef84ceb3 --- /dev/null +++ b/parser/testdata/03285_default_engine_with_settings/explain.txt @@ -0,0 +1,2 @@ +DropQuery example_table (children 1) + Identifier example_table diff --git a/parser/testdata/03285_materialize_ttl_only_drop_parts/explain.txt b/parser/testdata/03285_materialize_ttl_only_drop_parts/explain.txt new file mode 100644 index 000000000..ab2f9586f --- /dev/null +++ b/parser/testdata/03285_materialize_ttl_only_drop_parts/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_03285_mat_ttl (children 1) + Identifier test_03285_mat_ttl diff --git a/parser/testdata/03285_parallel_replicas_one_replica/explain.txt b/parser/testdata/03285_parallel_replicas_one_replica/explain.txt new file mode 100644 index 000000000..73930c2ef --- /dev/null +++ b/parser/testdata/03285_parallel_replicas_one_replica/explain.txt @@ -0,0 +1,14 @@ +CreateQuery src (children 4) + Identifier src + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration y (children 1) + DataType Int8 + Storage definition (children 2) + Function MergeTree + Identifier y + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/03286_backup_to_memory/explain.txt b/parser/testdata/03286_backup_to_memory/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/03286_backup_to_memory/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/03286_backup_to_null/explain.txt b/parser/testdata/03286_backup_to_null/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/03286_backup_to_null/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/03286_collation_locale_with_modifier/explain.txt b/parser/testdata/03286_collation_locale_with_modifier/explain.txt new file mode 100644 index 000000000..9f5a6fd2c --- /dev/null +++ b/parser/testdata/03286_collation_locale_with_modifier/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'Sort by standard Turkish locale\' diff --git a/parser/testdata/03286_format_datetime_timezones/explain.txt b/parser/testdata/03286_format_datetime_timezones/explain.txt new file mode 100644 index 000000000..bbdbbc3b0 --- /dev/null +++ b/parser/testdata/03286_format_datetime_timezones/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function formatDateTime (children 1) + ExpressionList (children 2) + Function toDateTime64 (children 1) + ExpressionList (children 3) + Literal \'2024-12-11 12:34:56.000\' + Literal UInt64_3 + Literal \'US/Pacific\' + Literal \'%W%z\' diff --git a/parser/testdata/03286_parallel_replicas_cross_join_bug/explain.txt b/parser/testdata/03286_parallel_replicas_cross_join_bug/explain.txt new file mode 100644 index 000000000..0a00b06d1 --- /dev/null +++ b/parser/testdata/03286_parallel_replicas_cross_join_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab (children 1) + Identifier tab diff --git a/parser/testdata/03286_reverse_sorting_key_final/explain.txt b/parser/testdata/03286_reverse_sorting_key_final/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03286_reverse_sorting_key_final/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03286_reverse_sorting_key_final2/explain.txt b/parser/testdata/03286_reverse_sorting_key_final2/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03286_reverse_sorting_key_final2/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03286_serialization_hint_system_columns/explain.txt b/parser/testdata/03286_serialization_hint_system_columns/explain.txt new file mode 100644 index 000000000..89707a316 --- /dev/null +++ b/parser/testdata/03286_serialization_hint_system_columns/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_serialization_hints (children 1) + Identifier t_serialization_hints diff --git a/parser/testdata/03287_dynamic_and_json_squashing_fix/explain.txt b/parser/testdata/03287_dynamic_and_json_squashing_fix/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03287_dynamic_and_json_squashing_fix/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03287_format_datetime_mysqlfraction/explain.txt b/parser/testdata/03287_format_datetime_mysqlfraction/explain.txt new file mode 100644 index 000000000..878795c0b --- /dev/null +++ b/parser/testdata/03287_format_datetime_mysqlfraction/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'Default settings\' diff --git a/parser/testdata/03287_not_comparable_types_in_order_by_and_comparison_functions/explain.txt b/parser/testdata/03287_not_comparable_types_in_order_by_and_comparison_functions/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03287_not_comparable_types_in_order_by_and_comparison_functions/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03289_explain_syntax_statistics/explain.txt b/parser/testdata/03289_explain_syntax_statistics/explain.txt new file mode 100644 index 000000000..e09e87bcf --- /dev/null +++ b/parser/testdata/03289_explain_syntax_statistics/explain.txt @@ -0,0 +1,5 @@ +CreateQuery data_01247 (children 2) + Identifier data_01247 + Storage definition (children 1) + Function Memory (children 1) + ExpressionList diff --git a/parser/testdata/03289_tuple_element_to_subcolumn/explain.txt b/parser/testdata/03289_tuple_element_to_subcolumn/explain.txt new file mode 100644 index 000000000..f1418b153 --- /dev/null +++ b/parser/testdata/03289_tuple_element_to_subcolumn/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_tuple_elem (children 1) + Identifier t_tuple_elem diff --git a/parser/testdata/03290_dictionary_assert_on_function/metadata.json b/parser/testdata/03290_dictionary_assert_on_function/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03290_dictionary_assert_on_function/metadata.json +++ b/parser/testdata/03290_dictionary_assert_on_function/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03290_final_collapsing/explain.txt b/parser/testdata/03290_final_collapsing/explain.txt new file mode 100644 index 000000000..ce11cbbef --- /dev/null +++ b/parser/testdata/03290_final_collapsing/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_final_collapsing (children 1) + Identifier t_final_collapsing diff --git a/parser/testdata/03290_final_replacing/explain.txt b/parser/testdata/03290_final_replacing/explain.txt new file mode 100644 index 000000000..f1ebe1463 --- /dev/null +++ b/parser/testdata/03290_final_replacing/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_final_replacing (children 1) + Identifier t_final_replacing diff --git a/parser/testdata/03290_final_sample/explain.txt b/parser/testdata/03290_final_sample/explain.txt new file mode 100644 index 000000000..c2facdbb3 --- /dev/null +++ b/parser/testdata/03290_final_sample/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_sample_final (children 1) + Identifier t_sample_final diff --git a/parser/testdata/03290_force_normal_projection/explain.txt b/parser/testdata/03290_force_normal_projection/explain.txt new file mode 100644 index 000000000..9f4cd7313 --- /dev/null +++ b/parser/testdata/03290_force_normal_projection/explain.txt @@ -0,0 +1,2 @@ +DropQuery users (children 1) + Identifier users diff --git a/parser/testdata/03290_formatReadable_other_numeric_types/metadata.json b/parser/testdata/03290_formatReadable_other_numeric_types/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03290_formatReadable_other_numeric_types/metadata.json +++ b/parser/testdata/03290_formatReadable_other_numeric_types/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03290_limit_by_segv/explain.txt b/parser/testdata/03290_limit_by_segv/explain.txt new file mode 100644 index 000000000..ae5401cc9 --- /dev/null +++ b/parser/testdata/03290_limit_by_segv/explain.txt @@ -0,0 +1,22 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Literal UInt64_1 + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias t0) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Literal UInt64_1 (alias c0) + Literal UInt64_0 + ExpressionList (children 1) + ColumnsRegexpMatcher + TablesInSelectQueryElement (children 1) + ArrayJoin (children 1) + ExpressionList (children 1) + Identifier c0 +The query succeeded but the server error '53' was expected (query: EXPLAIN AST SELECT 1 FROM (SELECT 1 AS c0 LIMIT 0 BY COLUMNS('1')) t0 ARRAY JOIN c0; -- { serverError TYPE_MISMATCH }). diff --git a/parser/testdata/03290_mix_engine_and_query_settings/explain.txt b/parser/testdata/03290_mix_engine_and_query_settings/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03290_mix_engine_and_query_settings/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03290_partial_arrayROCAUC_and_arrayAUCPR/metadata.json b/parser/testdata/03290_partial_arrayROCAUC_and_arrayAUCPR/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03290_partial_arrayROCAUC_and_arrayAUCPR/metadata.json +++ b/parser/testdata/03290_partial_arrayROCAUC_and_arrayAUCPR/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03290_pr_non_replicated_in_subquery/explain.txt b/parser/testdata/03290_pr_non_replicated_in_subquery/explain.txt new file mode 100644 index 000000000..f0662d5e1 --- /dev/null +++ b/parser/testdata/03290_pr_non_replicated_in_subquery/explain.txt @@ -0,0 +1,2 @@ +DropQuery table1 (children 1) + Identifier table1 diff --git a/parser/testdata/03291_collapsing_invalid_sign/explain.txt b/parser/testdata/03291_collapsing_invalid_sign/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03291_collapsing_invalid_sign/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03291_json_big_structure_deserialization/explain.txt b/parser/testdata/03291_json_big_structure_deserialization/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03291_json_big_structure_deserialization/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03291_low_cardinality_uuid/explain.txt b/parser/testdata/03291_low_cardinality_uuid/explain.txt new file mode 100644 index 000000000..f267349a3 --- /dev/null +++ b/parser/testdata/03291_low_cardinality_uuid/explain.txt @@ -0,0 +1,8 @@ +CreateQuery test (children 2) + Identifier test + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration x (children 1) + DataType LowCardinality (children 1) + ExpressionList (children 1) + DataType UUID diff --git a/parser/testdata/03292_format_tty_friendly/metadata.json b/parser/testdata/03292_format_tty_friendly/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03292_format_tty_friendly/metadata.json +++ b/parser/testdata/03292_format_tty_friendly/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03292_nullable_json_schema_inference/explain.txt b/parser/testdata/03292_nullable_json_schema_inference/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03292_nullable_json_schema_inference/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03293_forbid_cluster_table_engine/explain.txt b/parser/testdata/03293_forbid_cluster_table_engine/explain.txt new file mode 100644 index 000000000..89709aa10 --- /dev/null +++ b/parser/testdata/03293_forbid_cluster_table_engine/explain.txt @@ -0,0 +1,9 @@ +CreateQuery test (children 2) + Identifier test + Function s3Cluster (children 1) + ExpressionList (children 4) + Literal \'test_shard_localhost\' + Literal \'http://localhost:11111/test/a.tsv\' + Literal \'TSV\' + Literal \'a Int32\' +The query succeeded but the server error '36' was expected (query: EXPLAIN AST CREATE TABLE test AS s3Cluster('test_shard_localhost', 'http://localhost:11111/test/a.tsv', 'TSV', 'a Int32'); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/03296_bfloat16_ubsan/explain.txt b/parser/testdata/03296_bfloat16_ubsan/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03296_bfloat16_ubsan/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03297_cut_column_name/explain.txt b/parser/testdata/03297_cut_column_name/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03297_cut_column_name/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03298_analyzer_group_by_all_fix/explain.txt b/parser/testdata/03298_analyzer_group_by_all_fix/explain.txt new file mode 100644 index 000000000..66d6339bd --- /dev/null +++ b/parser/testdata/03298_analyzer_group_by_all_fix/explain.txt @@ -0,0 +1,12 @@ +CreateQuery users (children 3) + Identifier users + Columns definition (children 1) + ExpressionList (children 3) + ColumnDeclaration uid (children 1) + DataType Int16 + ColumnDeclaration name (children 1) + DataType String + ColumnDeclaration age (children 1) + DataType Int16 + Storage definition (children 1) + Function Memory diff --git a/parser/testdata/03298_server_client_native_settings/explain.txt b/parser/testdata/03298_server_client_native_settings/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03298_server_client_native_settings/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03298_triger_local_error_format/explain.txt b/parser/testdata/03298_triger_local_error_format/explain.txt new file mode 100644 index 000000000..8e54eabe6 --- /dev/null +++ b/parser/testdata/03298_triger_local_error_format/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 3) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal UInt64_2 + Literal \'/dev/null\' + Identifier Npy +The query succeeded but the client error '161' was expected (query: EXPLAIN AST SELECT 1, 2 INTO OUTFILE '/dev/null' TRUNCATE FORMAT Npy; -- { clientError TOO_MANY_COLUMNS }). diff --git a/parser/testdata/03298_vertical_columns/explain.txt b/parser/testdata/03298_vertical_columns/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03298_vertical_columns/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03299_deep_nested_map_creation/explain.txt b/parser/testdata/03299_deep_nested_map_creation/explain.txt new file mode 100644 index 000000000..2dc2d2a36 --- /dev/null +++ b/parser/testdata/03299_deep_nested_map_creation/explain.txt @@ -0,0 +1,2 @@ +CreateQuery test (children 1) + Identifier test diff --git a/parser/testdata/03299_map_named_tuple/explain.txt b/parser/testdata/03299_map_named_tuple/explain.txt new file mode 100644 index 000000000..4b0388eab --- /dev/null +++ b/parser/testdata/03299_map_named_tuple/explain.txt @@ -0,0 +1,32 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function mapConcat (children 1) + ExpressionList (children 1) + Function map (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal UInt64_2 + Function mapApply (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 2) + Identifier x + Identifier y + Function tuple (children 1) + ExpressionList (children 2) + Function map (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal UInt64_2 + Function plus (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_1 + Function map (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal UInt64_0 diff --git a/parser/testdata/03299_pretty_squash/explain.txt b/parser/testdata/03299_pretty_squash/explain.txt new file mode 100644 index 000000000..249df4f9e --- /dev/null +++ b/parser/testdata/03299_pretty_squash/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 3) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + Identifier PrettyCompact + Set diff --git a/parser/testdata/03300_generate_random_const_expr_params/explain.txt b/parser/testdata/03300_generate_random_const_expr_params/explain.txt new file mode 100644 index 000000000..0f5ecceb4 --- /dev/null +++ b/parser/testdata/03300_generate_random_const_expr_params/explain.txt @@ -0,0 +1,12 @@ +CreateQuery t0 (children 3) + Identifier t0 + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration c0 (children 1) + DataType Int32 + Storage definition (children 1) + Function GenerateRandom (children 1) + ExpressionList (children 1) + Function rand (children 1) + ExpressionList +The query succeeded but the server error '36' was expected (query: EXPLAIN AST CREATE TABLE t0 (c0 Int32) ENGINE = GenerateRandom(rand()); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/03300_nested_json_empty_keys/explain.txt b/parser/testdata/03300_nested_json_empty_keys/explain.txt new file mode 100644 index 000000000..2c02170f8 --- /dev/null +++ b/parser/testdata/03300_nested_json_empty_keys/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Function materialize (children 1) + ExpressionList (children 1) + Literal \'{"" : {"" : {"" : 42}}}\' + Literal \'JSON\' + Set diff --git a/parser/testdata/03300_pretty_vertical_cut/explain.txt b/parser/testdata/03300_pretty_vertical_cut/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03300_pretty_vertical_cut/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03301_is_ipv4_string/explain.txt b/parser/testdata/03301_is_ipv4_string/explain.txt new file mode 100644 index 000000000..d276037ef --- /dev/null +++ b/parser/testdata/03301_is_ipv4_string/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function isIPv4String (children 1) + ExpressionList (children 1) + Literal \'1.1.1.1\\01\' diff --git a/parser/testdata/03301_subcolumns_in_mv/explain.txt b/parser/testdata/03301_subcolumns_in_mv/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03301_subcolumns_in_mv/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03302_analyzer_distributed_filter_push_down/explain.txt b/parser/testdata/03302_analyzer_distributed_filter_push_down/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03302_analyzer_distributed_filter_push_down/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03302_analyzer_join_filter_push_down_bug/explain.txt b/parser/testdata/03302_analyzer_join_filter_push_down_bug/explain.txt new file mode 100644 index 000000000..0bc919f4a --- /dev/null +++ b/parser/testdata/03302_analyzer_join_filter_push_down_bug/explain.txt @@ -0,0 +1,10 @@ +CreateQuery t1 (children 3) + Identifier t1 + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration key (children 1) + DataType Int32 + ColumnDeclaration value (children 1) + DataType DateTime + Storage definition (children 1) + Function Log diff --git a/parser/testdata/03302_any_enum_aggregation/explain.txt b/parser/testdata/03302_any_enum_aggregation/explain.txt new file mode 100644 index 000000000..f2a7a66b8 --- /dev/null +++ b/parser/testdata/03302_any_enum_aggregation/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_33602_t0a (children 1) + Identifier test_33602_t0a diff --git a/parser/testdata/03302_merge_table_structure_unification/explain.txt b/parser/testdata/03302_merge_table_structure_unification/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03302_merge_table_structure_unification/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03303_alias_inverse_order/explain.txt b/parser/testdata/03303_alias_inverse_order/explain.txt new file mode 100644 index 000000000..0ff9da7ad --- /dev/null +++ b/parser/testdata/03303_alias_inverse_order/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_alias_inverse_order (children 1) + Identifier test_alias_inverse_order diff --git a/parser/testdata/03303_distributed_explain/explain.txt b/parser/testdata/03303_distributed_explain/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03303_distributed_explain/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03303_dynamic_in_not_xor/explain.txt b/parser/testdata/03303_dynamic_in_not_xor/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03303_dynamic_in_not_xor/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03303_pretty_multiline/explain.txt b/parser/testdata/03303_pretty_multiline/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03303_pretty_multiline/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03304_compare_substrings/explain.txt b/parser/testdata/03304_compare_substrings/explain.txt new file mode 100644 index 000000000..fc73c8d79 --- /dev/null +++ b/parser/testdata/03304_compare_substrings/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function compareSubstrings (children 1) + ExpressionList +The query succeeded but the server error '42' was expected (query: EXPLAIN AST select compareSubstrings(); -- { serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH }). diff --git a/parser/testdata/03304_fill_virtual_columns/explain.txt b/parser/testdata/03304_fill_virtual_columns/explain.txt new file mode 100644 index 000000000..6d484d34f --- /dev/null +++ b/parser/testdata/03304_fill_virtual_columns/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_virtual_columns (children 1) + Identifier test_virtual_columns diff --git a/parser/testdata/03304_pretty_fallback_to_vertical/explain.txt b/parser/testdata/03304_pretty_fallback_to_vertical/explain.txt new file mode 100644 index 000000000..4f7ef81bb --- /dev/null +++ b/parser/testdata/03304_pretty_fallback_to_vertical/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal \'Hello, world\' (alias x) + Literal \'Goodbye\' (alias y) + Identifier Pretty diff --git a/parser/testdata/03305_compressed_memory_eng_crash_reading_subcolumn/explain.txt b/parser/testdata/03305_compressed_memory_eng_crash_reading_subcolumn/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03305_compressed_memory_eng_crash_reading_subcolumn/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03305_fix_kafka_table_with_kw_arguments/explain.txt b/parser/testdata/03305_fix_kafka_table_with_kw_arguments/explain.txt new file mode 100644 index 000000000..72d7c81c3 --- /dev/null +++ b/parser/testdata/03305_fix_kafka_table_with_kw_arguments/explain.txt @@ -0,0 +1,3 @@ +CreateQuery default test (children 2) + Identifier default + Identifier test diff --git a/parser/testdata/03305_log_unsupported_types/explain.txt b/parser/testdata/03305_log_unsupported_types/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03305_log_unsupported_types/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03305_mergine_aggregated_filter_push_down/explain.txt b/parser/testdata/03305_mergine_aggregated_filter_push_down/explain.txt new file mode 100644 index 000000000..27d1d738f --- /dev/null +++ b/parser/testdata/03305_mergine_aggregated_filter_push_down/explain.txt @@ -0,0 +1,14 @@ +CreateQuery tab (children 3) + Identifier tab + Columns definition (children 1) + ExpressionList (children 3) + ColumnDeclaration x (children 1) + DataType UInt32 + ColumnDeclaration y (children 1) + DataType UInt32 + ColumnDeclaration z (children 1) + DataType UInt32 + Storage definition (children 3) + Function MergeTree + Identifier x + Set diff --git a/parser/testdata/03305_parallel_with/explain.txt b/parser/testdata/03305_parallel_with/explain.txt new file mode 100644 index 000000000..f0662d5e1 --- /dev/null +++ b/parser/testdata/03305_parallel_with/explain.txt @@ -0,0 +1,2 @@ +DropQuery table1 (children 1) + Identifier table1 diff --git a/parser/testdata/03306_materialized_vew_prewhere_supported_columns/explain.txt b/parser/testdata/03306_materialized_vew_prewhere_supported_columns/explain.txt new file mode 100644 index 000000000..8ffbddbb9 --- /dev/null +++ b/parser/testdata/03306_materialized_vew_prewhere_supported_columns/explain.txt @@ -0,0 +1,2 @@ +DropQuery dst (children 1) + Identifier dst diff --git a/parser/testdata/03306_optimize_table_force_keyword/explain.txt b/parser/testdata/03306_optimize_table_force_keyword/explain.txt new file mode 100644 index 000000000..69eb64813 --- /dev/null +++ b/parser/testdata/03306_optimize_table_force_keyword/explain.txt @@ -0,0 +1,9 @@ +CreateQuery tab (children 3) + Identifier tab + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration x (children 1) + DataType UInt32 + Storage definition (children 2) + Function MergeTree + Identifier x diff --git a/parser/testdata/03307_forbid_loop_table_function_as_engine/explain.txt b/parser/testdata/03307_forbid_loop_table_function_as_engine/explain.txt new file mode 100644 index 000000000..3b51dbb24 --- /dev/null +++ b/parser/testdata/03307_forbid_loop_table_function_as_engine/explain.txt @@ -0,0 +1,9 @@ +CreateQuery tab (children 3) + Identifier tab + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration col (children 1) + DataType String + Storage definition (children 1) + Function Loop +The query succeeded but the server error '80' was expected (query: EXPLAIN AST CREATE TABLE tab (col String) ENGINE=Loop; -- { serverError INCORRECT_QUERY }). diff --git a/parser/testdata/03307_parallel_hash_max_joined_rows/explain.txt b/parser/testdata/03307_parallel_hash_max_joined_rows/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/03307_parallel_hash_max_joined_rows/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/03310_aggregate_projection_count_nullable/explain.txt b/parser/testdata/03310_aggregate_projection_count_nullable/explain.txt new file mode 100644 index 000000000..0631df93b --- /dev/null +++ b/parser/testdata/03310_aggregate_projection_count_nullable/explain.txt @@ -0,0 +1,2 @@ +DropQuery log (children 1) + Identifier log diff --git a/parser/testdata/03310_create_database_with_settings/metadata.json b/parser/testdata/03310_create_database_with_settings/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03310_create_database_with_settings/metadata.json +++ b/parser/testdata/03310_create_database_with_settings/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03310_index_hints_read_columns/explain.txt b/parser/testdata/03310_index_hints_read_columns/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03310_index_hints_read_columns/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03310_materialized_view_with_bad_select/explain.txt b/parser/testdata/03310_materialized_view_with_bad_select/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03310_materialized_view_with_bad_select/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03311_constantnode/explain.txt b/parser/testdata/03311_constantnode/explain.txt new file mode 100644 index 000000000..25e9ae6a9 --- /dev/null +++ b/parser/testdata/03311_constantnode/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function uniqUpTo (children 2) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Function unhex (children 1) + ExpressionList (children 1) + Literal \'00\' + Literal \'AggregateFunction(uniqUpTo(5), Nullable(Nothing))\' + ExpressionList (children 1) + Literal UInt64_5 diff --git a/parser/testdata/03311_issue_72265/explain.txt b/parser/testdata/03311_issue_72265/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03311_issue_72265/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03311_min_max_count_projection_with_constant_partition_expr/explain.txt b/parser/testdata/03311_min_max_count_projection_with_constant_partition_expr/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03311_min_max_count_projection_with_constant_partition_expr/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03311_recursive_cte_old_analyzer_error/metadata.json b/parser/testdata/03311_recursive_cte_old_analyzer_error/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03311_recursive_cte_old_analyzer_error/metadata.json +++ b/parser/testdata/03311_recursive_cte_old_analyzer_error/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03311_subcolumns_in_default_and_materialized_expressions/explain.txt b/parser/testdata/03311_subcolumns_in_default_and_materialized_expressions/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03311_subcolumns_in_default_and_materialized_expressions/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03312_analyzer_unused_projection_fix/explain.txt b/parser/testdata/03312_analyzer_unused_projection_fix/explain.txt new file mode 100644 index 000000000..d92f4bdfc --- /dev/null +++ b/parser/testdata/03312_analyzer_unused_projection_fix/explain.txt @@ -0,0 +1,6 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function count (children 1) + ExpressionList diff --git a/parser/testdata/03312_explain_syntax_analyzer/explain.txt b/parser/testdata/03312_explain_syntax_analyzer/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03312_explain_syntax_analyzer/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03312_issue_74299/explain.txt b/parser/testdata/03312_issue_74299/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03312_issue_74299/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03312_json_literal_remote/explain.txt b/parser/testdata/03312_json_literal_remote/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03312_json_literal_remote/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03312_line_numbers/explain.txt b/parser/testdata/03312_line_numbers/explain.txt new file mode 100644 index 000000000..f50e7fbae --- /dev/null +++ b/parser/testdata/03312_line_numbers/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'This is the first query, and it is located on line 4\' diff --git a/parser/testdata/03312_sparse_column_tuple/explain.txt b/parser/testdata/03312_sparse_column_tuple/explain.txt new file mode 100644 index 000000000..c9d938f67 --- /dev/null +++ b/parser/testdata/03312_sparse_column_tuple/explain.txt @@ -0,0 +1,2 @@ +DropQuery dst_sparse (children 1) + Identifier dst_sparse diff --git a/parser/testdata/03312_squashing_with_low_card_mem_usage/explain.txt b/parser/testdata/03312_squashing_with_low_card_mem_usage/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/03312_squashing_with_low_card_mem_usage/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/03312_system_errors_last_error/explain.txt b/parser/testdata/03312_system_errors_last_error/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03312_system_errors_last_error/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03313_case_insensitive_json_type_declaration/explain.txt b/parser/testdata/03313_case_insensitive_json_type_declaration/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03313_case_insensitive_json_type_declaration/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03313_h3togeo_result_order/explain.txt b/parser/testdata/03313_h3togeo_result_order/explain.txt new file mode 100644 index 000000000..0b442cf70 --- /dev/null +++ b/parser/testdata/03313_h3togeo_result_order/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function h3ToGeo (children 1) + ExpressionList (children 1) + Literal UInt64_644325524701193974 + Set diff --git a/parser/testdata/03314_analyzer_resolve_in_parent_scope/metadata.json b/parser/testdata/03314_analyzer_resolve_in_parent_scope/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03314_analyzer_resolve_in_parent_scope/metadata.json +++ b/parser/testdata/03314_analyzer_resolve_in_parent_scope/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03314_analyzer_resolve_in_parent_scope_2/explain.txt b/parser/testdata/03314_analyzer_resolve_in_parent_scope_2/explain.txt new file mode 100644 index 000000000..2dc2d2a36 --- /dev/null +++ b/parser/testdata/03314_analyzer_resolve_in_parent_scope_2/explain.txt @@ -0,0 +1,2 @@ +CreateQuery test (children 1) + Identifier test diff --git a/parser/testdata/03314_analyzer_resolve_in_parent_scope_3/explain.txt b/parser/testdata/03314_analyzer_resolve_in_parent_scope_3/explain.txt new file mode 100644 index 000000000..2dc2d2a36 --- /dev/null +++ b/parser/testdata/03314_analyzer_resolve_in_parent_scope_3/explain.txt @@ -0,0 +1,2 @@ +CreateQuery test (children 1) + Identifier test diff --git a/parser/testdata/03314_analyzer_resolve_in_parent_scope_4/explain.txt b/parser/testdata/03314_analyzer_resolve_in_parent_scope_4/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03314_analyzer_resolve_in_parent_scope_4/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03314_analyzer_resolve_in_parent_scope_5/metadata.json b/parser/testdata/03314_analyzer_resolve_in_parent_scope_5/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03314_analyzer_resolve_in_parent_scope_5/metadata.json +++ b/parser/testdata/03314_analyzer_resolve_in_parent_scope_5/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03314_divide_decimal_short_circuit/explain.txt b/parser/testdata/03314_divide_decimal_short_circuit/explain.txt new file mode 100644 index 000000000..534f3fa34 --- /dev/null +++ b/parser/testdata/03314_divide_decimal_short_circuit/explain.txt @@ -0,0 +1,2 @@ +DropQuery 03314_divide_decimal_short_circuit (children 1) + Identifier 03314_divide_decimal_short_circuit diff --git a/parser/testdata/03314_empty_tuple_in_protobuf_format/explain.txt b/parser/testdata/03314_empty_tuple_in_protobuf_format/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03314_empty_tuple_in_protobuf_format/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03314_grace_hash_join_buckets/explain.txt b/parser/testdata/03314_grace_hash_join_buckets/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03314_grace_hash_join_buckets/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03314_has_column_in_table_alias_column/explain.txt b/parser/testdata/03314_has_column_in_table_alias_column/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03314_has_column_in_table_alias_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03314_nullable_key_no_optimize_functions_to_subcolumns/explain.txt b/parser/testdata/03314_nullable_key_no_optimize_functions_to_subcolumns/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03314_nullable_key_no_optimize_functions_to_subcolumns/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03314_summing_merge_tree_final_not_found_column_in_block/explain.txt b/parser/testdata/03314_summing_merge_tree_final_not_found_column_in_block/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03314_summing_merge_tree_final_not_found_column_in_block/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03314_variant_rowbinary_file/explain.txt b/parser/testdata/03314_variant_rowbinary_file/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03314_variant_rowbinary_file/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03315_analyzer_correlated_subqueries/explain.txt b/parser/testdata/03315_analyzer_correlated_subqueries/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03315_analyzer_correlated_subqueries/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03315_array_join_scalar/metadata.json b/parser/testdata/03315_array_join_scalar/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03315_array_join_scalar/metadata.json +++ b/parser/testdata/03315_array_join_scalar/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03315_join_on_optimize_pass_alias/explain.txt b/parser/testdata/03315_join_on_optimize_pass_alias/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03315_join_on_optimize_pass_alias/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03315_join_temporary_table_names/explain.txt b/parser/testdata/03315_join_temporary_table_names/explain.txt new file mode 100644 index 000000000..a6f30bbf0 --- /dev/null +++ b/parser/testdata/03315_join_temporary_table_names/explain.txt @@ -0,0 +1,2 @@ +DropQuery T1 (children 1) + Identifier T1 diff --git a/parser/testdata/03315_quantile_bfloat16_ubsan/explain.txt b/parser/testdata/03315_quantile_bfloat16_ubsan/explain.txt new file mode 100644 index 000000000..6df06fa4e --- /dev/null +++ b/parser/testdata/03315_quantile_bfloat16_ubsan/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function quantileBFloat16 (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Literal \'2106-02-07 06:28:14\' + Literal \'DateTime(\\\'Europe/Amsterdam\\\')\' diff --git a/parser/testdata/03315_trim_two_args/explain.txt b/parser/testdata/03315_trim_two_args/explain.txt new file mode 100644 index 000000000..a907a137e --- /dev/null +++ b/parser/testdata/03315_trim_two_args/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'Basic custom character trimming\' diff --git a/parser/testdata/03316_analyzer_unique_table_aliases_dist/explain.txt b/parser/testdata/03316_analyzer_unique_table_aliases_dist/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03316_analyzer_unique_table_aliases_dist/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03317_index_hint_prewhere/explain.txt b/parser/testdata/03317_index_hint_prewhere/explain.txt new file mode 100644 index 000000000..950e811cf --- /dev/null +++ b/parser/testdata/03317_index_hint_prewhere/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_indexHint_prewhere (children 1) + Identifier test_indexHint_prewhere diff --git a/parser/testdata/03317_pretty_fallback_to_vertical_consistent/explain.txt b/parser/testdata/03317_pretty_fallback_to_vertical_consistent/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03317_pretty_fallback_to_vertical_consistent/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03318_ubsan_resample_arguments_count/explain.txt b/parser/testdata/03318_ubsan_resample_arguments_count/explain.txt new file mode 100644 index 000000000..48587f593 --- /dev/null +++ b/parser/testdata/03318_ubsan_resample_arguments_count/explain.txt @@ -0,0 +1,45 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function quantileResampleMerge (children 2) + ExpressionList (children 1) + Function tupleElement (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Asterisk + Literal UInt64_1 + ExpressionList (children 4) + Literal Float64_0.5 + Literal UInt64_257 + Literal UInt64_65536 + Literal UInt64_1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function quantileResampleState (children 2) + ExpressionList (children 3) + Function murmurHash3_128 (children 1) + ExpressionList (children 2) + Literal UInt64_88 + Literal NULL + Identifier number + Identifier number + ExpressionList (children 4) + Literal Float64_0.1 + Literal UInt64_1 + Literal UInt64_2 + Literal UInt64_42 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_100 +The query succeeded but the server error '42' was expected (query: EXPLAIN AST SELECT quantileResampleMerge(0.5, 257, 65536, 1)(tuple(*).1) IGNORE NULLS FROM (SELECT quantileResampleState(0.1, 1, 2, 42)(murmurHash3_128(88, NULL), number, number) FROM numbers(100)); -- { serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH }). diff --git a/parser/testdata/03319_concurrent_hash_join_double_preallocation_bug/explain.txt b/parser/testdata/03319_concurrent_hash_join_double_preallocation_bug/explain.txt new file mode 100644 index 000000000..5a2294115 --- /dev/null +++ b/parser/testdata/03319_concurrent_hash_join_double_preallocation_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery lhs (children 1) + Identifier lhs diff --git a/parser/testdata/03321_create_table_as_replicated_engine_args/metadata.json b/parser/testdata/03321_create_table_as_replicated_engine_args/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03321_create_table_as_replicated_engine_args/metadata.json +++ b/parser/testdata/03321_create_table_as_replicated_engine_args/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03321_functions_to_subcolumns_skip_index/explain.txt b/parser/testdata/03321_functions_to_subcolumns_skip_index/explain.txt new file mode 100644 index 000000000..cfad50ea9 --- /dev/null +++ b/parser/testdata/03321_functions_to_subcolumns_skip_index/explain.txt @@ -0,0 +1,2 @@ +DropQuery bloom_filter_test (children 1) + Identifier bloom_filter_test diff --git a/parser/testdata/03321_inner_materialized_view_nested/explain.txt b/parser/testdata/03321_inner_materialized_view_nested/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03321_inner_materialized_view_nested/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03321_join_on_is_null_lowcardinality/explain.txt b/parser/testdata/03321_join_on_is_null_lowcardinality/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03321_join_on_is_null_lowcardinality/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03321_system_tables_parametrized_view_params/explain.txt b/parser/testdata/03321_system_tables_parametrized_view_params/explain.txt new file mode 100644 index 000000000..2c179bb5f --- /dev/null +++ b/parser/testdata/03321_system_tables_parametrized_view_params/explain.txt @@ -0,0 +1,2 @@ +DropQuery raw_data (children 1) + Identifier raw_data diff --git a/parser/testdata/03322_bugfix_of_with_insert/explain.txt b/parser/testdata/03322_bugfix_of_with_insert/explain.txt new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/parser/testdata/03322_bugfix_of_with_insert/explain.txt @@ -0,0 +1 @@ + diff --git a/parser/testdata/03322_check_count_for_parquet_in_s3/explain.txt b/parser/testdata/03322_check_count_for_parquet_in_s3/explain.txt new file mode 100644 index 000000000..b0074b0ba --- /dev/null +++ b/parser/testdata/03322_check_count_for_parquet_in_s3/explain.txt @@ -0,0 +1,24 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function s3 (children 1) + ExpressionList (children 4) + Identifier s3_conn + Function equals (children 1) + ExpressionList (children 2) + Identifier filename + Literal \'03322_*.parquet\' + Function equals (children 1) + ExpressionList (children 2) + Identifier format + Literal \'Parquet\' + Function equals (children 1) + ExpressionList (children 2) + Identifier structure + Literal \'a Int, b Int, c Int\' diff --git a/parser/testdata/03322_initial_query_start_time_check/explain.txt b/parser/testdata/03322_initial_query_start_time_check/explain.txt new file mode 100644 index 000000000..3efe971ec --- /dev/null +++ b/parser/testdata/03322_initial_query_start_time_check/explain.txt @@ -0,0 +1,2 @@ +DropQuery tmp (children 1) + Identifier tmp diff --git a/parser/testdata/03322_materialized_view_ignore_errors_url/explain.txt b/parser/testdata/03322_materialized_view_ignore_errors_url/explain.txt new file mode 100644 index 000000000..86d217994 --- /dev/null +++ b/parser/testdata/03322_materialized_view_ignore_errors_url/explain.txt @@ -0,0 +1,2 @@ +DropQuery src (children 1) + Identifier src diff --git a/parser/testdata/03322_unused_interpolate_expressions/metadata.json b/parser/testdata/03322_unused_interpolate_expressions/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03322_unused_interpolate_expressions/metadata.json +++ b/parser/testdata/03322_unused_interpolate_expressions/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03322_view_over_parameterized_view/explain.txt b/parser/testdata/03322_view_over_parameterized_view/explain.txt new file mode 100644 index 000000000..9b9544d99 --- /dev/null +++ b/parser/testdata/03322_view_over_parameterized_view/explain.txt @@ -0,0 +1,20 @@ +CreateQuery v (children 2) + Identifier v + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_5 + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + QueryParameter parity:Int8 diff --git a/parser/testdata/03323_bfloat16_least_supertype/explain.txt b/parser/testdata/03323_bfloat16_least_supertype/explain.txt new file mode 100644 index 000000000..a0e60e380 --- /dev/null +++ b/parser/testdata/03323_bfloat16_least_supertype/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function if (children 1) + ExpressionList (children 3) + Function equals (children 1) + ExpressionList (children 2) + Identifier d + Literal UInt64_4 + Identifier d + Literal UInt64_1 diff --git a/parser/testdata/03323_union_all_constants_bug/metadata.json b/parser/testdata/03323_union_all_constants_bug/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03323_union_all_constants_bug/metadata.json +++ b/parser/testdata/03323_union_all_constants_bug/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03324_aggregating_merge_tree_final_extremes/explain.txt b/parser/testdata/03324_aggregating_merge_tree_final_extremes/explain.txt new file mode 100644 index 000000000..52fe9346f --- /dev/null +++ b/parser/testdata/03324_aggregating_merge_tree_final_extremes/explain.txt @@ -0,0 +1,2 @@ +DropQuery t03324 (children 1) + Identifier t03324 diff --git a/parser/testdata/03325_alter_ast_format/explain.txt b/parser/testdata/03325_alter_ast_format/explain.txt new file mode 100644 index 000000000..970f04f8f --- /dev/null +++ b/parser/testdata/03325_alter_ast_format/explain.txt @@ -0,0 +1,33 @@ +AlterQuery t22 (children 2) + ExpressionList (children 4) + AlterCommand DELETE (children 1) + Function or (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Literal \'å«\' + Identifier c1 + Function and (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Literal Float64_792.3673220441809 + Identifier c0 + Function equals (children 1) + ExpressionList (children 2) + Identifier c0 + Identifier c1 + AlterCommand MODIFY_SETTING (children 1) + Set + AlterCommand UPDATE (children 2) + Function not (children 1) + ExpressionList (children 1) + Function f2 (children 1) + ExpressionList + ExpressionList (children 1) + Assignment c1 (children 1) + Literal \'would\' + AlterCommand MODIFY_SETTING (children 1) + Set + Identifier t22 +The query succeeded but the server error '60' was expected (query: EXPLAIN AST ALTER TABLE t22 (DELETE WHERE ('å«' = c1) OR ((792.3673220441809 = c0) AND (c0 = c1))), (MODIFY SETTING persistent = 1), (UPDATE c1 = 'would' WHERE NOT f2()), (MODIFY SETTING persistent = 0); -- { serverError UNKNOWN_TABLE }). diff --git a/parser/testdata/03325_alter_modify_projection_primary_key_column/explain.txt b/parser/testdata/03325_alter_modify_projection_primary_key_column/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03325_alter_modify_projection_primary_key_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03325_count_summing_merge_tree_order_by_tuple/explain.txt b/parser/testdata/03325_count_summing_merge_tree_order_by_tuple/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03325_count_summing_merge_tree_order_by_tuple/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03325_distributed_join_json_array_subcolumns/explain.txt b/parser/testdata/03325_distributed_join_json_array_subcolumns/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03325_distributed_join_json_array_subcolumns/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03326_parallel_replicas_out_of_range/explain.txt b/parser/testdata/03326_parallel_replicas_out_of_range/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03326_parallel_replicas_out_of_range/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03326_toStartOfNanosecond_ubsan/explain.txt b/parser/testdata/03326_toStartOfNanosecond_ubsan/explain.txt new file mode 100644 index 000000000..0b9cde1b4 --- /dev/null +++ b/parser/testdata/03326_toStartOfNanosecond_ubsan/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function toStartOfNanosecond (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Literal \'2263-01-01 00:00:00\' + Literal \'DateTime64\' diff --git a/parser/testdata/03327_alias_column_constant/explain.txt b/parser/testdata/03327_alias_column_constant/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/03327_alias_column_constant/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/03327_hypothesis_index_sanity/explain.txt b/parser/testdata/03327_hypothesis_index_sanity/explain.txt new file mode 100644 index 000000000..567060a10 --- /dev/null +++ b/parser/testdata/03327_hypothesis_index_sanity/explain.txt @@ -0,0 +1,17 @@ +CreateQuery t3 (children 3) + Identifier t3 + Columns definition (children 2) + ExpressionList (children 1) + ColumnDeclaration x (children 1) + DataType UInt8 + ExpressionList (children 1) + Index (children 2) + Identifier x + Function hypothesis (children 1) + ExpressionList + Storage definition (children 3) + Function MergeTree (children 1) + ExpressionList + Function tuple (children 1) + ExpressionList + Set diff --git a/parser/testdata/03328_formatting_assignment_expression/explain.txt b/parser/testdata/03328_formatting_assignment_expression/explain.txt new file mode 100644 index 000000000..fa3e3a918 --- /dev/null +++ b/parser/testdata/03328_formatting_assignment_expression/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function formatQuerySingleLine (children 1) + ExpressionList (children 1) + Literal \'ALTER TABLE t (UPDATE c = (1 AS a) WHERE true)\' diff --git a/parser/testdata/03328_normalized_query_hash/metadata.json b/parser/testdata/03328_normalized_query_hash/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03328_normalized_query_hash/metadata.json +++ b/parser/testdata/03328_normalized_query_hash/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03333_merge_table_total_rows_no_database_system_tables_exception/explain.txt b/parser/testdata/03333_merge_table_total_rows_no_database_system_tables_exception/explain.txt new file mode 100644 index 000000000..3c45ad07a --- /dev/null +++ b/parser/testdata/03333_merge_table_total_rows_no_database_system_tables_exception/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_03333 (children 1) + Identifier test_03333 diff --git a/parser/testdata/03334_aliases_function_infinite_loop/explain.txt b/parser/testdata/03334_aliases_function_infinite_loop/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03334_aliases_function_infinite_loop/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03339_native_reader_exact_rows/explain.txt b/parser/testdata/03339_native_reader_exact_rows/explain.txt new file mode 100644 index 000000000..2521bb23d --- /dev/null +++ b/parser/testdata/03339_native_reader_exact_rows/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal Float64_5000000 + ExpressionList (children 1) + OrderByElement (children 1) + Function multiply (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_1234567890123456789 + Literal UInt64_4999980 + Literal UInt64_20 diff --git a/parser/testdata/03340_projections_formatting/explain.txt b/parser/testdata/03340_projections_formatting/explain.txt new file mode 100644 index 000000000..2dc2d2a36 --- /dev/null +++ b/parser/testdata/03340_projections_formatting/explain.txt @@ -0,0 +1,2 @@ +CreateQuery test (children 1) + Identifier test diff --git a/parser/testdata/03340_transform_logical_error_fix/explain.txt b/parser/testdata/03340_transform_logical_error_fix/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03340_transform_logical_error_fix/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03350_alter_table_fetch_partition_thread_pool/explain.txt b/parser/testdata/03350_alter_table_fetch_partition_thread_pool/explain.txt new file mode 100644 index 000000000..9404bebc1 --- /dev/null +++ b/parser/testdata/03350_alter_table_fetch_partition_thread_pool/explain.txt @@ -0,0 +1,2 @@ +DropQuery data1 (children 1) + Identifier data1 diff --git a/parser/testdata/03350_json_parsing_quickly/metadata.json b/parser/testdata/03350_json_parsing_quickly/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03350_json_parsing_quickly/metadata.json +++ b/parser/testdata/03350_json_parsing_quickly/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03351_client_insert_bad_connection_state/explain.txt b/parser/testdata/03351_client_insert_bad_connection_state/explain.txt new file mode 100644 index 000000000..70ea698e7 --- /dev/null +++ b/parser/testdata/03351_client_insert_bad_connection_state/explain.txt @@ -0,0 +1,6 @@ +InsertQuery (children 2) + Literal \'/dev/null\' + Function null (children 1) + ExpressionList (children 1) + Literal \'x String\' +The query succeeded but the client error '36' was expected (query: EXPLAIN AST INSERT INTO function null('x String') FROM INFILE '/dev/null'; -- { clientError BAD_ARGUMENTS }). diff --git a/parser/testdata/03352_allow_suspicious_ttl/explain.txt b/parser/testdata/03352_allow_suspicious_ttl/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03352_allow_suspicious_ttl/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03352_distinct_sorted_bug/explain.txt b/parser/testdata/03352_distinct_sorted_bug/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03352_distinct_sorted_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03352_lazy_column_filter_by_uint8/explain.txt b/parser/testdata/03352_lazy_column_filter_by_uint8/explain.txt new file mode 100644 index 000000000..3501cc17c --- /dev/null +++ b/parser/testdata/03352_lazy_column_filter_by_uint8/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_filter (children 1) + Identifier t_filter diff --git a/parser/testdata/03353_codec_zstd_doubledelta_data_corruption/explain.txt b/parser/testdata/03353_codec_zstd_doubledelta_data_corruption/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03353_codec_zstd_doubledelta_data_corruption/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03354_translate_crap/explain.txt b/parser/testdata/03354_translate_crap/explain.txt new file mode 100644 index 000000000..898e44ce0 --- /dev/null +++ b/parser/testdata/03354_translate_crap/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function translate (alias a) (children 1) + ExpressionList (children 3) + Literal \'aAbBcC\' + Literal \'abc\' + Function toFixedString (children 1) + ExpressionList (children 2) + Literal \'12\' + Literal UInt64_2 + Function toTypeName (children 1) + ExpressionList (children 1) + Identifier a diff --git a/parser/testdata/03355_array_join_subcolumns/explain.txt b/parser/testdata/03355_array_join_subcolumns/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03355_array_join_subcolumns/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03355_issue_31183/explain.txt b/parser/testdata/03355_issue_31183/explain.txt new file mode 100644 index 000000000..099111529 --- /dev/null +++ b/parser/testdata/03355_issue_31183/explain.txt @@ -0,0 +1,18 @@ +CreateQuery test1 (children 3) + Identifier test1 + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration col (children 1) + DataType UInt64 + ColumnDeclaration col_sq (children 2) + DataType UInt64 + Function multiply (children 1) + ExpressionList (children 2) + Identifier col + Identifier col + Storage definition (children 3) + Function MergeTree + Function tuple (children 1) + ExpressionList + Function tuple (children 1) + ExpressionList diff --git a/parser/testdata/03355_issue_32743/explain.txt b/parser/testdata/03355_issue_32743/explain.txt new file mode 100644 index 000000000..5ab13b901 --- /dev/null +++ b/parser/testdata/03355_issue_32743/explain.txt @@ -0,0 +1,12 @@ +CreateQuery distributor (children 3) + Identifier distributor + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration id (children 1) + DataType String + ColumnDeclaration name (children 1) + DataType String + Storage definition (children 2) + Function MergeTree (children 1) + ExpressionList + Identifier id diff --git a/parser/testdata/03355_join_to_in_optimization/explain.txt b/parser/testdata/03355_join_to_in_optimization/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03355_join_to_in_optimization/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03355_mergetree_table_disk/explain.txt b/parser/testdata/03355_mergetree_table_disk/explain.txt new file mode 100644 index 000000000..fdd5bec9f --- /dev/null +++ b/parser/testdata/03355_mergetree_table_disk/explain.txt @@ -0,0 +1,2 @@ +DropQuery uk_price_paid (children 1) + Identifier uk_price_paid diff --git a/parser/testdata/03356_analyzer_qualified_matcher_error/explain.txt b/parser/testdata/03356_analyzer_qualified_matcher_error/explain.txt new file mode 100644 index 000000000..d2b0e8fe1 --- /dev/null +++ b/parser/testdata/03356_analyzer_qualified_matcher_error/explain.txt @@ -0,0 +1,2 @@ +CreateQuery test_table (children 1) + Identifier test_table diff --git a/parser/testdata/03356_analyzer_unused_scalar_subquery/explain.txt b/parser/testdata/03356_analyzer_unused_scalar_subquery/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03356_analyzer_unused_scalar_subquery/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03356_array_join_subcolumns_indexes/explain.txt b/parser/testdata/03356_array_join_subcolumns_indexes/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03356_array_join_subcolumns_indexes/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03356_postgresql_mysql_endpoint_parsing/explain.txt b/parser/testdata/03356_postgresql_mysql_endpoint_parsing/explain.txt new file mode 100644 index 000000000..95f35fd7b --- /dev/null +++ b/parser/testdata/03356_postgresql_mysql_endpoint_parsing/explain.txt @@ -0,0 +1,2 @@ +DropQuery tablefunc01 (children 1) + Identifier tablefunc01 diff --git a/parser/testdata/03356_pull_entry_before_detach_part/explain.txt b/parser/testdata/03356_pull_entry_before_detach_part/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03356_pull_entry_before_detach_part/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03356_tables_with_binary_identifiers_invalid_utf8/explain.txt b/parser/testdata/03356_tables_with_binary_identifiers_invalid_utf8/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03356_tables_with_binary_identifiers_invalid_utf8/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03356_threshold_for_parallel_hash/explain.txt b/parser/testdata/03356_threshold_for_parallel_hash/explain.txt new file mode 100644 index 000000000..8a75d959c --- /dev/null +++ b/parser/testdata/03356_threshold_for_parallel_hash/explain.txt @@ -0,0 +1,10 @@ +CreateQuery lhs (children 3) + Identifier lhs + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration a (children 1) + DataType UInt64 + Storage definition (children 2) + Function MergeTree + Function tuple (children 1) + ExpressionList diff --git a/parser/testdata/03357_analyzer_insert_view/explain.txt b/parser/testdata/03357_analyzer_insert_view/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03357_analyzer_insert_view/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03357_arraySymmetricDifference/explain.txt b/parser/testdata/03357_arraySymmetricDifference/explain.txt new file mode 100644 index 000000000..e3f5a0c4d --- /dev/null +++ b/parser/testdata/03357_arraySymmetricDifference/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'Negative tests\' diff --git a/parser/testdata/03357_block_structure_union_step/explain.txt b/parser/testdata/03357_block_structure_union_step/explain.txt new file mode 100644 index 000000000..7bb25f0e9 --- /dev/null +++ b/parser/testdata/03357_block_structure_union_step/explain.txt @@ -0,0 +1,24 @@ +CreateQuery pk_block_union (children 3) + Identifier pk_block_union + Columns definition (children 1) + ExpressionList (children 4) + ColumnDeclaration d (children 2) + DataType Date + Literal \'2000-01-01\' + ColumnDeclaration x (children 1) + DataType DateTime + ColumnDeclaration y (children 1) + DataType UInt64 + ColumnDeclaration z (children 1) + DataType UInt64 + Storage definition (children 3) + Function MergeTree (children 1) + ExpressionList + Identifier d + Function tuple (children 1) + ExpressionList (children 3) + Function toStartOfMinute (children 1) + ExpressionList (children 1) + Identifier x + Identifier y + Identifier z diff --git a/parser/testdata/03357_check_contraints_null_syntax/explain.txt b/parser/testdata/03357_check_contraints_null_syntax/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03357_check_contraints_null_syntax/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03357_jit_strikes_again/explain.txt b/parser/testdata/03357_jit_strikes_again/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03357_jit_strikes_again/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03357_join_pk_sharding/explain.txt b/parser/testdata/03357_join_pk_sharding/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03357_join_pk_sharding/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03357_recursive_cte_no_logical_error/explain.txt b/parser/testdata/03357_recursive_cte_no_logical_error/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03357_recursive_cte_no_logical_error/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03357_storage_join_mv_context/explain.txt b/parser/testdata/03357_storage_join_mv_context/explain.txt new file mode 100644 index 000000000..8f5290745 --- /dev/null +++ b/parser/testdata/03357_storage_join_mv_context/explain.txt @@ -0,0 +1,20 @@ +CreateQuery destination_join (children 3) + Identifier destination_join + Columns definition (children 1) + ExpressionList (children 5) + ColumnDeclaration key (children 1) + DataType String + ColumnDeclaration id (children 1) + DataType String + ColumnDeclaration color (children 1) + DataType String + ColumnDeclaration section (children 1) + DataType String + ColumnDeclaration description (children 1) + DataType String + Storage definition (children 1) + Function Join (children 1) + ExpressionList (children 3) + Identifier ANY + Identifier LEFT + Identifier key diff --git a/parser/testdata/03357_with_cube_with_totals_assertion/explain.txt b/parser/testdata/03357_with_cube_with_totals_assertion/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03357_with_cube_with_totals_assertion/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03358_block_structure_match/explain.txt b/parser/testdata/03358_block_structure_match/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03358_block_structure_match/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03358_lambda_resolution_segfault_analyzer/explain.txt b/parser/testdata/03358_lambda_resolution_segfault_analyzer/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03358_lambda_resolution_segfault_analyzer/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03359_analyzer_rewrite_view_query/explain.txt b/parser/testdata/03359_analyzer_rewrite_view_query/explain.txt new file mode 100644 index 000000000..b79482db1 --- /dev/null +++ b/parser/testdata/03359_analyzer_rewrite_view_query/explain.txt @@ -0,0 +1,2 @@ +CreateQuery mydestination (children 1) + Identifier mydestination diff --git a/parser/testdata/03359_point_in_polygon_index/explain.txt b/parser/testdata/03359_point_in_polygon_index/explain.txt new file mode 100644 index 000000000..2ded343cf --- /dev/null +++ b/parser/testdata/03359_point_in_polygon_index/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_point_in_polygon (children 1) + Identifier t_point_in_polygon diff --git a/parser/testdata/03359_ub_merging_aggregated_transform/explain.txt b/parser/testdata/03359_ub_merging_aggregated_transform/explain.txt new file mode 100644 index 000000000..4e1f20805 --- /dev/null +++ b/parser/testdata/03359_ub_merging_aggregated_transform/explain.txt @@ -0,0 +1,2 @@ +CreateQuery t_having (children 1) + Identifier t_having diff --git a/parser/testdata/03360_any_join_parallel_hash_bug/explain.txt b/parser/testdata/03360_any_join_parallel_hash_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03360_any_join_parallel_hash_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03360_bool_remote/explain.txt b/parser/testdata/03360_bool_remote/explain.txt new file mode 100644 index 000000000..d3998fca3 --- /dev/null +++ b/parser/testdata/03360_bool_remote/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Literal Bool_1 (alias x) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.0.0.{1,2}\' + Identifier system.one + Literal UInt64_1 diff --git a/parser/testdata/03362_create_table_after_truncate_replicated_database/metadata.json b/parser/testdata/03362_create_table_after_truncate_replicated_database/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03362_create_table_after_truncate_replicated_database/metadata.json +++ b/parser/testdata/03362_create_table_after_truncate_replicated_database/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03362_default_profiles_context/explain.txt b/parser/testdata/03362_default_profiles_context/explain.txt new file mode 100644 index 000000000..0fa7a03c1 --- /dev/null +++ b/parser/testdata/03362_default_profiles_context/explain.txt @@ -0,0 +1,13 @@ +CreateQuery t0 (children 3) + Identifier t0 + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration c0 (children 2) + DataType Int + Function defaultProfiles (children 1) + ExpressionList + Storage definition (children 2) + Function MergeTree + Function tuple (children 1) + ExpressionList +The query succeeded but the server error '36' was expected (query: EXPLAIN AST CREATE TEMPORARY TABLE t0 (c0 Int TTL defaultProfiles()) ENGINE = MergeTree ORDER BY tuple(); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/03362_filter_transform_profile_events/explain.txt b/parser/testdata/03362_filter_transform_profile_events/explain.txt new file mode 100644 index 000000000..c19446137 --- /dev/null +++ b/parser/testdata/03362_filter_transform_profile_events/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Function equals (children 1) + ExpressionList (children 2) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + Literal UInt64_0 + Literal UInt64_100 diff --git a/parser/testdata/03362_iceberg_table_with_confusing_name/explain.txt b/parser/testdata/03362_iceberg_table_with_confusing_name/explain.txt new file mode 100644 index 000000000..961ccd822 --- /dev/null +++ b/parser/testdata/03362_iceberg_table_with_confusing_name/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function icebergS3 (children 1) + ExpressionList (children 2) + Identifier s3_conn + Function equals (children 1) + ExpressionList (children 2) + Identifier filename + Literal \'est\' + Literal UInt64_10 diff --git a/parser/testdata/03362_join_on_filterpushdown/explain.txt b/parser/testdata/03362_join_on_filterpushdown/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03362_join_on_filterpushdown/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03362_join_where_false_76670/explain.txt b/parser/testdata/03362_join_where_false_76670/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03362_join_where_false_76670/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03362_optimize_using_constraints_type_mismatch/explain.txt b/parser/testdata/03362_optimize_using_constraints_type_mismatch/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03362_optimize_using_constraints_type_mismatch/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03362_reverse_sorting_key_explicit_primary_key/explain.txt b/parser/testdata/03362_reverse_sorting_key_explicit_primary_key/explain.txt new file mode 100644 index 000000000..38bf2aaec --- /dev/null +++ b/parser/testdata/03362_reverse_sorting_key_explicit_primary_key/explain.txt @@ -0,0 +1,2 @@ +DropQuery x1 (children 1) + Identifier x1 diff --git a/parser/testdata/03363_constant_nullable_key/explain.txt b/parser/testdata/03363_constant_nullable_key/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03363_constant_nullable_key/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03363_estimate_compression_ratio_validation/explain.txt b/parser/testdata/03363_estimate_compression_ratio_validation/explain.txt new file mode 100644 index 000000000..bff097e21 --- /dev/null +++ b/parser/testdata/03363_estimate_compression_ratio_validation/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_table_for_estimate_compression_ratio (children 1) + Identifier test_table_for_estimate_compression_ratio diff --git a/parser/testdata/03363_function_keccak256/explain.txt b/parser/testdata/03363_function_keccak256/explain.txt new file mode 100644 index 000000000..95dc9ec6f --- /dev/null +++ b/parser/testdata/03363_function_keccak256/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function hex (children 1) + ExpressionList (children 1) + Function keccak256 (children 1) + ExpressionList (children 1) + Literal \'\' diff --git a/parser/testdata/03363_hive_style_partition/explain.txt b/parser/testdata/03363_hive_style_partition/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03363_hive_style_partition/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03363_qbit_create_insert_select/explain.txt b/parser/testdata/03363_qbit_create_insert_select/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03363_qbit_create_insert_select/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03363_read_json_and_subcolumns_from_view/explain.txt b/parser/testdata/03363_read_json_and_subcolumns_from_view/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03363_read_json_and_subcolumns_from_view/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03364_gorilla_codec_parameters/explain.txt b/parser/testdata/03364_gorilla_codec_parameters/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03364_gorilla_codec_parameters/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03364_pretty_json_bool/explain.txt b/parser/testdata/03364_pretty_json_bool/explain.txt new file mode 100644 index 000000000..df3c996b3 --- /dev/null +++ b/parser/testdata/03364_pretty_json_bool/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 3) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal Bool_1 (alias a) + Literal Bool_0 (alias b) + Identifier JSON + Set diff --git a/parser/testdata/03364_qbit_negative/explain.txt b/parser/testdata/03364_qbit_negative/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03364_qbit_negative/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03364_s3_globbed_path_in_bucket_portion/explain.txt b/parser/testdata/03364_s3_globbed_path_in_bucket_portion/explain.txt new file mode 100644 index 000000000..1896873fd --- /dev/null +++ b/parser/testdata/03364_s3_globbed_path_in_bucket_portion/explain.txt @@ -0,0 +1,11 @@ +CreateQuery s3_03364 (children 3) + Identifier s3_03364 + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration id (children 1) + DataType UInt32 + Storage definition (children 1) + Function S3 (children 1) + ExpressionList (children 1) + Literal \'http://{_partition_id}.s3.region.amazonaws.com/key\' +The query succeeded but the server error '36' was expected (query: EXPLAIN AST create table s3_03364 (id UInt32) engine=S3('http://{_partition_id}.s3.region.amazonaws.com/key'); -- {serverError BAD_ARGUMENTS}). diff --git a/parser/testdata/03364_ttl_should_recalculate_minmax_index/explain.txt b/parser/testdata/03364_ttl_should_recalculate_minmax_index/explain.txt new file mode 100644 index 000000000..a60ff027e --- /dev/null +++ b/parser/testdata/03364_ttl_should_recalculate_minmax_index/explain.txt @@ -0,0 +1,2 @@ +DropQuery x (children 1) + Identifier x diff --git a/parser/testdata/03364_with_fill_select_from_cluster_view/explain.txt b/parser/testdata/03364_with_fill_select_from_cluster_view/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03364_with_fill_select_from_cluster_view/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03365_bind_host/explain.txt b/parser/testdata/03365_bind_host/explain.txt new file mode 100644 index 000000000..d60303285 --- /dev/null +++ b/parser/testdata/03365_bind_host/explain.txt @@ -0,0 +1,2 @@ +DropQuery mem1 (children 1) + Identifier mem1 diff --git a/parser/testdata/03365_csv_time_deserialization_bug/explain.txt b/parser/testdata/03365_csv_time_deserialization_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03365_csv_time_deserialization_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03365_dynamic_column_datetime/explain.txt b/parser/testdata/03365_dynamic_column_datetime/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03365_dynamic_column_datetime/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03365_finish_sorting_crash/metadata.json b/parser/testdata/03365_finish_sorting_crash/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03365_finish_sorting_crash/metadata.json +++ b/parser/testdata/03365_finish_sorting_crash/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03365_if_time_time64/explain.txt b/parser/testdata/03365_if_time_time64/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03365_if_time_time64/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03365_json_with_variant_subcolumn/explain.txt b/parser/testdata/03365_json_with_variant_subcolumn/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03365_json_with_variant_subcolumn/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03365_parsing_time_time64_short/explain.txt b/parser/testdata/03365_parsing_time_time64_short/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03365_parsing_time_time64_short/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03365_qbit_casts_as_from_array/explain.txt b/parser/testdata/03365_qbit_casts_as_from_array/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03365_qbit_casts_as_from_array/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03365_read_negative_time_implicitly/explain.txt b/parser/testdata/03365_read_negative_time_implicitly/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03365_read_negative_time_implicitly/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03365_time64_casts/explain.txt b/parser/testdata/03365_time64_casts/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03365_time64_casts/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03365_time64_from_datetime_timezone_respect/explain.txt b/parser/testdata/03365_time64_from_datetime_timezone_respect/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03365_time64_from_datetime_timezone_respect/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03365_time_implicit_conversion/explain.txt b/parser/testdata/03365_time_implicit_conversion/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03365_time_implicit_conversion/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03365_time_in_json/explain.txt b/parser/testdata/03365_time_in_json/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03365_time_in_json/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03365_time_parsing_msan_issue/explain.txt b/parser/testdata/03365_time_parsing_msan_issue/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03365_time_parsing_msan_issue/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03365_time_prewhere_supertype_bug/explain.txt b/parser/testdata/03365_time_prewhere_supertype_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03365_time_prewhere_supertype_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03365_time_time64_aggregate_functions/explain.txt b/parser/testdata/03365_time_time64_aggregate_functions/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03365_time_time64_aggregate_functions/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03365_time_time64_as_primary_key/explain.txt b/parser/testdata/03365_time_time64_as_primary_key/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03365_time_time64_as_primary_key/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03365_time_time64_best_effort_parsing/explain.txt b/parser/testdata/03365_time_time64_best_effort_parsing/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03365_time_time64_best_effort_parsing/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03365_time_time64_cap_max_time/explain.txt b/parser/testdata/03365_time_time64_cap_max_time/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03365_time_time64_cap_max_time/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03365_time_time64_comparison/explain.txt b/parser/testdata/03365_time_time64_comparison/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03365_time_time64_comparison/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03365_time_time64_conversions/explain.txt b/parser/testdata/03365_time_time64_conversions/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03365_time_time64_conversions/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03365_time_time64_extreme_values/explain.txt b/parser/testdata/03365_time_time64_extreme_values/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03365_time_time64_extreme_values/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03365_time_time64_insertion_bug/explain.txt b/parser/testdata/03365_time_time64_insertion_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03365_time_time64_insertion_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03365_time_time64_operations/explain.txt b/parser/testdata/03365_time_time64_operations/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03365_time_time64_operations/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03365_time_time64_parsing/explain.txt b/parser/testdata/03365_time_time64_parsing/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03365_time_time64_parsing/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03365_time_time64_supertype/explain.txt b/parser/testdata/03365_time_time64_supertype/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03365_time_time64_supertype/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03365_time_time64_without_timezone/explain.txt b/parser/testdata/03365_time_time64_without_timezone/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03365_time_time64_without_timezone/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03365_time_timezone_issue/explain.txt b/parser/testdata/03365_time_timezone_issue/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03365_time_timezone_issue/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03365_time_to_time64_conv_bug/explain.txt b/parser/testdata/03365_time_to_time64_conv_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03365_time_to_time64_conv_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03365_use_legacy_to_time/explain.txt b/parser/testdata/03365_use_legacy_to_time/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03365_use_legacy_to_time/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03365_variant_bool_parsing/explain.txt b/parser/testdata/03365_variant_bool_parsing/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03365_variant_bool_parsing/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03366_bfloat16_sorting/metadata.json b/parser/testdata/03366_bfloat16_sorting/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03366_bfloat16_sorting/metadata.json +++ b/parser/testdata/03366_bfloat16_sorting/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03366_qbit_array_map_populate/explain.txt b/parser/testdata/03366_qbit_array_map_populate/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03366_qbit_array_map_populate/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03366_with_fill_dag/explain.txt b/parser/testdata/03366_with_fill_dag/explain.txt new file mode 100644 index 000000000..6e53dc608 --- /dev/null +++ b/parser/testdata/03366_with_fill_dag/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Identifier number diff --git a/parser/testdata/03367_bfloat16_tuple_final/explain.txt b/parser/testdata/03367_bfloat16_tuple_final/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03367_bfloat16_tuple_final/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03368_bfloat16_merge_join/explain.txt b/parser/testdata/03368_bfloat16_merge_join/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03368_bfloat16_merge_join/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03368_qbit_subcolumns/explain.txt b/parser/testdata/03368_qbit_subcolumns/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03368_qbit_subcolumns/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03369_bfloat16_map/explain.txt b/parser/testdata/03369_bfloat16_map/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03369_bfloat16_map/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03369_function_arrayLevenshtein/explain.txt b/parser/testdata/03369_function_arrayLevenshtein/explain.txt new file mode 100644 index 000000000..e0c75bc08 --- /dev/null +++ b/parser/testdata/03369_function_arrayLevenshtein/explain.txt @@ -0,0 +1,16 @@ +CreateQuery simple_levenshtein (children 3) + Identifier simple_levenshtein + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration lhs (children 1) + DataType Array (children 1) + ExpressionList (children 1) + DataType UInt8 + ColumnDeclaration rhs (children 1) + DataType Array (children 1) + ExpressionList (children 1) + DataType UInt8 + Storage definition (children 2) + Function MergeTree + Function tuple (children 1) + ExpressionList diff --git a/parser/testdata/03369_l2_distance_transposed_variadic/explain.txt b/parser/testdata/03369_l2_distance_transposed_variadic/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03369_l2_distance_transposed_variadic/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03369_predicate_pushdown_enforce_literal_type/explain.txt b/parser/testdata/03369_predicate_pushdown_enforce_literal_type/explain.txt new file mode 100644 index 000000000..2f539b74a --- /dev/null +++ b/parser/testdata/03369_predicate_pushdown_enforce_literal_type/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_03369 (children 1) + Identifier t_03369 diff --git a/parser/testdata/03369_values_template_types_mismatch/explain.txt b/parser/testdata/03369_values_template_types_mismatch/explain.txt new file mode 100644 index 000000000..6d7cbed2a --- /dev/null +++ b/parser/testdata/03369_values_template_types_mismatch/explain.txt @@ -0,0 +1,8 @@ +CreateQuery t0 (children 3) + Identifier t0 + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration c0 (children 1) + DataType String + Storage definition (children 1) + Function Memory diff --git a/parser/testdata/03369_variant_escape_filename_merge_tree/explain.txt b/parser/testdata/03369_variant_escape_filename_merge_tree/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03369_variant_escape_filename_merge_tree/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03370_join_identifiers/explain.txt b/parser/testdata/03370_join_identifiers/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03370_join_identifiers/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03370_rocks_db_engine_subcolumn_in_pk/explain.txt b/parser/testdata/03370_rocks_db_engine_subcolumn_in_pk/explain.txt new file mode 100644 index 000000000..6e441248d --- /dev/null +++ b/parser/testdata/03370_rocks_db_engine_subcolumn_in_pk/explain.txt @@ -0,0 +1,14 @@ +CreateQuery test (children 3) + Identifier test + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration t (children 1) + DataType Tuple (children 1) + ExpressionList (children 1) + NameTypePair a (children 1) + DataType Int32 + Storage definition (children 2) + Function EmbeddedRocksDB (children 1) + ExpressionList + Identifier t.a +The query succeeded but the server error '36' was expected (query: EXPLAIN AST CREATE TABLE test (t Tuple(a Int32)) ENGINE = EmbeddedRocksDB() PRIMARY KEY (t.a); -- {serverError BAD_ARGUMENTS}). diff --git a/parser/testdata/03371_analyzer_filter_pushdown_distributed/explain.txt b/parser/testdata/03371_analyzer_filter_pushdown_distributed/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03371_analyzer_filter_pushdown_distributed/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03371_bfloat16_special_values/explain.txt b/parser/testdata/03371_bfloat16_special_values/explain.txt new file mode 100644 index 000000000..6e60c2440 --- /dev/null +++ b/parser/testdata/03371_bfloat16_special_values/explain.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Function toFloat32 (children 1) + ExpressionList (children 1) + Literal Float64_0 + Function toFloat32 (children 1) + ExpressionList (children 1) + Literal Float64_-0 + Function equals (children 1) + ExpressionList (children 2) + Function toBFloat16 (children 1) + ExpressionList (children 1) + Literal Float64_0 + Function toBFloat16 (children 1) + ExpressionList (children 1) + Literal Float64_-0 diff --git a/parser/testdata/03371_constant_alias_columns/explain.txt b/parser/testdata/03371_constant_alias_columns/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03371_constant_alias_columns/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03371_nullable_tuple_string_comparison/explain.txt b/parser/testdata/03371_nullable_tuple_string_comparison/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/03371_nullable_tuple_string_comparison/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/03372_get_subcolumn_null/explain.txt b/parser/testdata/03372_get_subcolumn_null/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03372_get_subcolumn_null/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03372_qbit_mergetree_1/explain.txt b/parser/testdata/03372_qbit_mergetree_1/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03372_qbit_mergetree_1/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03372_qbit_mergetree_2/explain.txt b/parser/testdata/03372_qbit_mergetree_2/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03372_qbit_mergetree_2/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03373_qbit_dynamic/explain.txt b/parser/testdata/03373_qbit_dynamic/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03373_qbit_dynamic/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03374_date_trunc_with_negatives/explain.txt b/parser/testdata/03374_date_trunc_with_negatives/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03374_date_trunc_with_negatives/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03374_indexes_with_literals/explain.txt b/parser/testdata/03374_indexes_with_literals/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03374_indexes_with_literals/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03374_indexes_with_trivial_cast/explain.txt b/parser/testdata/03374_indexes_with_trivial_cast/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03374_indexes_with_trivial_cast/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03374_qbit_nullable/explain.txt b/parser/testdata/03374_qbit_nullable/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03374_qbit_nullable/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03375_bloom_filter_array_equals/explain.txt b/parser/testdata/03375_bloom_filter_array_equals/explain.txt new file mode 100644 index 000000000..4484774e3 --- /dev/null +++ b/parser/testdata/03375_bloom_filter_array_equals/explain.txt @@ -0,0 +1,18 @@ +CreateQuery test (children 3) + Identifier test + Columns definition (children 2) + ExpressionList (children 1) + ColumnDeclaration x (children 1) + DataType Array (children 1) + ExpressionList (children 1) + DataType String + ExpressionList (children 1) + Index (children 2) + Identifier x + Function bloom_filter (children 1) + ExpressionList (children 1) + Literal Float64_0.025 + Storage definition (children 2) + Function MergeTree + Function tuple (children 1) + ExpressionList diff --git a/parser/testdata/03375_bloom_filter_has_hasAny_const_array/explain.txt b/parser/testdata/03375_bloom_filter_has_hasAny_const_array/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03375_bloom_filter_has_hasAny_const_array/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03375_bloom_filter_ngram_has_hasAny_const_array/explain.txt b/parser/testdata/03375_bloom_filter_ngram_has_hasAny_const_array/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03375_bloom_filter_ngram_has_hasAny_const_array/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03375_bloom_filter_token_has_hasAny_const_array/explain.txt b/parser/testdata/03375_bloom_filter_token_has_hasAny_const_array/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03375_bloom_filter_token_has_hasAny_const_array/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03375_bool_partition/explain.txt b/parser/testdata/03375_bool_partition/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03375_bool_partition/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03375_l2_distance_transposed_partial_reads_pass/explain.txt b/parser/testdata/03375_l2_distance_transposed_partial_reads_pass/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03375_l2_distance_transposed_partial_reads_pass/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03376_forbid_nan_inf_for_float_settings/explain.txt b/parser/testdata/03376_forbid_nan_inf_for_float_settings/explain.txt new file mode 100644 index 000000000..6146f4b01 --- /dev/null +++ b/parser/testdata/03376_forbid_nan_inf_for_float_settings/explain.txt @@ -0,0 +1,2 @@ +Set +The query succeeded but the server error '72' was expected (query: EXPLAIN AST SET log_queries_probability = inf; -- { serverError CANNOT_PARSE_NUMBER }). diff --git a/parser/testdata/03376_iceberg_truncate/explain.txt b/parser/testdata/03376_iceberg_truncate/explain.txt new file mode 100644 index 000000000..ac47fb092 --- /dev/null +++ b/parser/testdata/03376_iceberg_truncate/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function icebergTruncate (children 1) + ExpressionList (children 2) + Literal UInt64_10 + Literal UInt64_0 diff --git a/parser/testdata/03376_json_comparison/explain.txt b/parser/testdata/03376_json_comparison/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03376_json_comparison/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03376_l2_distance_transposed_type_mismatch/explain.txt b/parser/testdata/03376_l2_distance_transposed_type_mismatch/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03376_l2_distance_transposed_type_mismatch/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03377_json_order_by_bug/explain.txt b/parser/testdata/03377_json_order_by_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03377_json_order_by_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03377_qbit_parameters/explain.txt b/parser/testdata/03377_qbit_parameters/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03377_qbit_parameters/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03380_input_async_insert/explain.txt b/parser/testdata/03380_input_async_insert/explain.txt new file mode 100644 index 000000000..0bf85cdbc --- /dev/null +++ b/parser/testdata/03380_input_async_insert/explain.txt @@ -0,0 +1,16 @@ +InsertQuery (children 3) + Function null (children 1) + ExpressionList + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function input (children 1) + ExpressionList (children 1) + Literal \'x Int, y String\' + Set + Set diff --git a/parser/testdata/03381_lazy_materialization_limit_offset/explain.txt b/parser/testdata/03381_lazy_materialization_limit_offset/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03381_lazy_materialization_limit_offset/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03381_remote_constants/explain.txt b/parser/testdata/03381_remote_constants/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03381_remote_constants/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03382_dynamic_serialization_default_settings/explain.txt b/parser/testdata/03382_dynamic_serialization_default_settings/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03382_dynamic_serialization_default_settings/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03390_non_constant_case/explain.txt b/parser/testdata/03390_non_constant_case/explain.txt new file mode 100644 index 000000000..922605133 --- /dev/null +++ b/parser/testdata/03390_non_constant_case/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'Numeric CASE\' diff --git a/parser/testdata/03391_logical_error_sort_column/explain.txt b/parser/testdata/03391_logical_error_sort_column/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03391_logical_error_sort_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03392_crash_group_by_use_nulls/explain.txt b/parser/testdata/03392_crash_group_by_use_nulls/explain.txt new file mode 100644 index 000000000..e58ae3417 --- /dev/null +++ b/parser/testdata/03392_crash_group_by_use_nulls/explain.txt @@ -0,0 +1,55 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function min (children 1) + ExpressionList (children 1) + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Identifier c0 + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function min (children 1) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Literal \'1\' + ExpressionList (children 1) + ExpressionList (children 1) + Literal UInt64_1 + ExpressionList (children 1) + Function min (children 1) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Literal \'1\' + ExpressionList (children 1) + ExpressionList (children 1) + Literal UInt64_1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias t0) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 (alias c0) + Set diff --git a/parser/testdata/03392_inconsistent_formatting_of_lambda/explain.txt b/parser/testdata/03392_inconsistent_formatting_of_lambda/explain.txt new file mode 100644 index 000000000..6cd97dc6c --- /dev/null +++ b/parser/testdata/03392_inconsistent_formatting_of_lambda/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Literal UInt64_1 +The query succeeded but the server error '[36, 53]' was expected (query: EXPLAIN AST SELECT lambda(tuple(1), 1); -- {serverError BAD_ARGUMENTS, TYPE_MISMATCH} argument is not identifier). diff --git a/parser/testdata/03393_ASTTableIdentifier_fuzzer/explain.txt b/parser/testdata/03393_ASTTableIdentifier_fuzzer/explain.txt new file mode 100644 index 000000000..6709e00f2 --- /dev/null +++ b/parser/testdata/03393_ASTTableIdentifier_fuzzer/explain.txt @@ -0,0 +1,8 @@ +CreateQuery null (children 3) + Identifier null + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration key (children 1) + DataType Int + Storage definition (children 1) + Function Null diff --git a/parser/testdata/03393_join_bug_77848/explain.txt b/parser/testdata/03393_join_bug_77848/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03393_join_bug_77848/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03393_max_merge_delayed_streams_for_parallel_write/explain.txt b/parser/testdata/03393_max_merge_delayed_streams_for_parallel_write/explain.txt new file mode 100644 index 000000000..1684cb9d8 --- /dev/null +++ b/parser/testdata/03393_max_merge_delayed_streams_for_parallel_write/explain.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03393_max_read_buffer_size_non_zero/explain.txt b/parser/testdata/03393_max_read_buffer_size_non_zero/explain.txt new file mode 100644 index 000000000..fb600ab5c --- /dev/null +++ b/parser/testdata/03393_max_read_buffer_size_non_zero/explain.txt @@ -0,0 +1,2 @@ +Set +The query succeeded but the server error '36' was expected (query: EXPLAIN AST SET max_read_buffer_size = 0; -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/03393_non_constant_second_argument_for_in/explain.txt b/parser/testdata/03393_non_constant_second_argument_for_in/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03393_non_constant_second_argument_for_in/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03393_smallest_index_floating_point/explain.txt b/parser/testdata/03393_smallest_index_floating_point/explain.txt new file mode 100644 index 000000000..76c4a4297 --- /dev/null +++ b/parser/testdata/03393_smallest_index_floating_point/explain.txt @@ -0,0 +1,22 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function argMin (children 1) + ExpressionList (children 2) + Function plus (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Function toNullable (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Function divide (children 1) + ExpressionList (children 2) + Identifier number + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/03393_validate_storage_buffer_args/explain.txt b/parser/testdata/03393_validate_storage_buffer_args/explain.txt new file mode 100644 index 000000000..9b0e46af9 --- /dev/null +++ b/parser/testdata/03393_validate_storage_buffer_args/explain.txt @@ -0,0 +1,19 @@ +CreateQuery invalid (children 3) + Identifier invalid + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration c0 (children 1) + DataType Int + Storage definition (children 1) + Function Buffer (children 1) + ExpressionList (children 9) + Identifier x + Identifier x + Literal UInt64_0 + Literal UInt64_1 + Literal UInt64_1 + Literal UInt64_1 + Literal UInt64_1 + Literal UInt64_1 + Literal UInt64_1 +The query succeeded but the server error '36' was expected (query: EXPLAIN AST CREATE TABLE invalid (c0 Int) ENGINE = Buffer(x, x, 0, 1, 1, 1, 1, 1, 1); -- {serverError BAD_ARGUMENTS} must be a positive integer). diff --git a/parser/testdata/03394_fix_to_start_of_interval_for_zero_origin_argument/explain.txt b/parser/testdata/03394_fix_to_start_of_interval_for_zero_origin_argument/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03394_fix_to_start_of_interval_for_zero_origin_argument/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03394_naive_bayes_classifier_negative/explain.txt b/parser/testdata/03394_naive_bayes_classifier_negative/explain.txt new file mode 100644 index 000000000..48e56bd2b --- /dev/null +++ b/parser/testdata/03394_naive_bayes_classifier_negative/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function naiveBayesClassifier (children 1) + ExpressionList (children 2) + Literal \'sentiment\' + Literal UInt64_3 +The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT naiveBayesClassifier('sentiment', 3); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/03394_pr_insert_select/explain.txt b/parser/testdata/03394_pr_insert_select/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03394_pr_insert_select/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03394_pr_insert_select_local_pipeline/explain.txt b/parser/testdata/03394_pr_insert_select_local_pipeline/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03394_pr_insert_select_local_pipeline/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03394_pr_insert_select_threads/explain.txt b/parser/testdata/03394_pr_insert_select_threads/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03394_pr_insert_select_threads/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03395_global_join_supported_kind/explain.txt b/parser/testdata/03395_global_join_supported_kind/explain.txt new file mode 100644 index 000000000..2af95dd9d --- /dev/null +++ b/parser/testdata/03395_global_join_supported_kind/explain.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + QualifiedAsterisk (children 1) + Identifier t1 + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (alias t1) (children 1) + ExpressionList (children 1) + Literal \'127.1\' + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Function remote (alias t2) (children 1) + ExpressionList (children 1) + Literal \'127.1\' + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier t1.dummy + Identifier t2.dummy + Set diff --git a/parser/testdata/03397_information_schema_tables_index_length/explain.txt b/parser/testdata/03397_information_schema_tables_index_length/explain.txt new file mode 100644 index 000000000..2a83e8279 --- /dev/null +++ b/parser/testdata/03397_information_schema_tables_index_length/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab_with_primary_key_index (children 1) + Identifier tab_with_primary_key_index diff --git a/parser/testdata/03398_group_array_zero_max_elements/explain.txt b/parser/testdata/03398_group_array_zero_max_elements/explain.txt new file mode 100644 index 000000000..9752d3601 --- /dev/null +++ b/parser/testdata/03398_group_array_zero_max_elements/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function groupArray (children 2) + ExpressionList (children 1) + Literal UInt64_1 + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Literal \'0\' + Literal \'UInt64\' +The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT groupArray(0::UInt64)(1); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/03399_advanced_expr_contains_sharding_key/explain.txt b/parser/testdata/03399_advanced_expr_contains_sharding_key/explain.txt new file mode 100644 index 000000000..33b732ab4 --- /dev/null +++ b/parser/testdata/03399_advanced_expr_contains_sharding_key/explain.txt @@ -0,0 +1,2 @@ +DropQuery local_table (children 1) + Identifier local_table diff --git a/parser/testdata/03399_analyzer_correlated_subquery/explain.txt b/parser/testdata/03399_analyzer_correlated_subquery/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03399_analyzer_correlated_subquery/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03399_divide_zero_or_null/explain.txt b/parser/testdata/03399_divide_zero_or_null/explain.txt new file mode 100644 index 000000000..86645d7ef --- /dev/null +++ b/parser/testdata/03399_divide_zero_or_null/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'Test with two const arguments\' diff --git a/parser/testdata/03399_lc_nullable_mapfromarrays/metadata.json b/parser/testdata/03399_lc_nullable_mapfromarrays/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03399_lc_nullable_mapfromarrays/metadata.json +++ b/parser/testdata/03399_lc_nullable_mapfromarrays/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03399_mapContains_functions/explain.txt b/parser/testdata/03399_mapContains_functions/explain.txt new file mode 100644 index 000000000..4bd8e041d --- /dev/null +++ b/parser/testdata/03399_mapContains_functions/explain.txt @@ -0,0 +1,2 @@ +DropQuery map_containsValueLike_test (children 1) + Identifier map_containsValueLike_test diff --git a/parser/testdata/03399_sparse_grams/explain.txt b/parser/testdata/03399_sparse_grams/explain.txt new file mode 100644 index 000000000..e4b1a8d5e --- /dev/null +++ b/parser/testdata/03399_sparse_grams/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'--- Regular calls\' diff --git a/parser/testdata/03400_analyzer_correlated_subquery_unused_column/explain.txt b/parser/testdata/03400_analyzer_correlated_subquery_unused_column/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03400_analyzer_correlated_subquery_unused_column/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03400_distributed_final/explain.txt b/parser/testdata/03400_distributed_final/explain.txt new file mode 100644 index 000000000..6a10eb878 --- /dev/null +++ b/parser/testdata/03400_distributed_final/explain.txt @@ -0,0 +1,2 @@ +DropQuery 03400_users (children 1) + Identifier 03400_users diff --git a/parser/testdata/03400_explain_distributed_bug/explain.txt b/parser/testdata/03400_explain_distributed_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03400_explain_distributed_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03400_get_server_setting/metadata.json b/parser/testdata/03400_get_server_setting/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03400_get_server_setting/metadata.json +++ b/parser/testdata/03400_get_server_setting/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03401_get_merge_tree_setting/metadata.json b/parser/testdata/03401_get_merge_tree_setting/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03401_get_merge_tree_setting/metadata.json +++ b/parser/testdata/03401_get_merge_tree_setting/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03401_normal_projection_with_part_offset/explain.txt b/parser/testdata/03401_normal_projection_with_part_offset/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03401_normal_projection_with_part_offset/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03401_normal_projection_with_part_offset_no_sorting/explain.txt b/parser/testdata/03401_normal_projection_with_part_offset_no_sorting/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03401_normal_projection_with_part_offset_no_sorting/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03401_remote_bool/explain.txt b/parser/testdata/03401_remote_bool/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03401_remote_bool/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03401_several_iceberg_tables_in_one_dir/explain.txt b/parser/testdata/03401_several_iceberg_tables_in_one_dir/explain.txt new file mode 100644 index 000000000..250dcbe9d --- /dev/null +++ b/parser/testdata/03401_several_iceberg_tables_in_one_dir/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function icebergS3 (children 1) + ExpressionList (children 3) + Identifier s3_conn + Function equals (children 1) + ExpressionList (children 2) + Identifier filename + Literal \'merged_several_tables_test\' + Set + ExpressionList (children 1) + OrderByElement (children 1) + Identifier id diff --git a/parser/testdata/03402_adding_projection_to_temporary_table/explain.txt b/parser/testdata/03402_adding_projection_to_temporary_table/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03402_adding_projection_to_temporary_table/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03402_cluster_table_functions_settings_parsing/explain.txt b/parser/testdata/03402_cluster_table_functions_settings_parsing/explain.txt new file mode 100644 index 000000000..a8900f215 --- /dev/null +++ b/parser/testdata/03402_cluster_table_functions_settings_parsing/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function icebergS3Cluster (children 1) + ExpressionList (children 5) + Literal \'test_cluster_two_shards_localhost\' + Literal \'http://localhost:11111/test/est\' + Literal \'clickhouse\' + Literal \'clickhouse\' + Set diff --git a/parser/testdata/03402_concurrent_right_full_join/explain.txt b/parser/testdata/03402_concurrent_right_full_join/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03402_concurrent_right_full_join/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03402_cyclic_alter_dependencies/explain.txt b/parser/testdata/03402_cyclic_alter_dependencies/explain.txt new file mode 100644 index 000000000..0f5602912 --- /dev/null +++ b/parser/testdata/03402_cyclic_alter_dependencies/explain.txt @@ -0,0 +1,2 @@ +DropQuery d0 (children 1) + Identifier d0 diff --git a/parser/testdata/03402_join_using_alias/explain.txt b/parser/testdata/03402_join_using_alias/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03402_join_using_alias/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03402_materialized_tuple_element/explain.txt b/parser/testdata/03402_materialized_tuple_element/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03402_materialized_tuple_element/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03402_secondary_indexes_analyzer_bugs/explain.txt b/parser/testdata/03402_secondary_indexes_analyzer_bugs/explain.txt new file mode 100644 index 000000000..c72f7e7f0 --- /dev/null +++ b/parser/testdata/03402_secondary_indexes_analyzer_bugs/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'index is applied while using column alias\' diff --git a/parser/testdata/03402_zero_streams_after_max_streams_to_max_threads_ratio/explain.txt b/parser/testdata/03402_zero_streams_after_max_streams_to_max_threads_ratio/explain.txt new file mode 100644 index 000000000..300b75621 --- /dev/null +++ b/parser/testdata/03402_zero_streams_after_max_streams_to_max_threads_ratio/explain.txt @@ -0,0 +1,2 @@ +DropQuery 03402_data (children 1) + Identifier 03402_data diff --git a/parser/testdata/03403_distributed_merge_two_level_aggregation/explain.txt b/parser/testdata/03403_distributed_merge_two_level_aggregation/explain.txt new file mode 100644 index 000000000..8b1d0491c --- /dev/null +++ b/parser/testdata/03403_distributed_merge_two_level_aggregation/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_table_1 (children 1) + Identifier test_table_1 diff --git a/parser/testdata/03403_function_tokens/explain.txt b/parser/testdata/03403_function_tokens/explain.txt new file mode 100644 index 000000000..4a6e8d71d --- /dev/null +++ b/parser/testdata/03403_function_tokens/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'Constants: tokens should be constant\' diff --git a/parser/testdata/03403_parallel_blocks_marshalling_for_distributed/explain.txt b/parser/testdata/03403_parallel_blocks_marshalling_for_distributed/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03403_parallel_blocks_marshalling_for_distributed/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03403_read_in_order_streams_memory_usage/explain.txt b/parser/testdata/03403_read_in_order_streams_memory_usage/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03403_read_in_order_streams_memory_usage/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03403_toInterval/explain.txt b/parser/testdata/03403_toInterval/explain.txt new file mode 100644 index 000000000..60a3a7aed --- /dev/null +++ b/parser/testdata/03403_toInterval/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function toInterval (alias interval) (children 1) + ExpressionList (children 2) + Literal UInt64_5 + Literal \'nanosecond\' + Function plus (alias res) (children 1) + ExpressionList (children 2) + Function toDateTime64 (children 1) + ExpressionList (children 2) + Literal \'2025-01-01 00:00:00\' + Literal UInt64_9 + Identifier interval diff --git a/parser/testdata/03403_truncate_all_tables_like/explain.txt b/parser/testdata/03403_truncate_all_tables_like/explain.txt new file mode 100644 index 000000000..793367784 --- /dev/null +++ b/parser/testdata/03403_truncate_all_tables_like/explain.txt @@ -0,0 +1,8 @@ +CreateQuery truncate_test_set (children 3) + Identifier truncate_test_set + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration id (children 1) + DataType UInt64 + Storage definition (children 1) + Function Set diff --git a/parser/testdata/03404_bfloat16_insert_values/explain.txt b/parser/testdata/03404_bfloat16_insert_values/explain.txt new file mode 100644 index 000000000..b6e924320 --- /dev/null +++ b/parser/testdata/03404_bfloat16_insert_values/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'Basic tests\' diff --git a/parser/testdata/03404_dynamic_in_interval_bug/explain.txt b/parser/testdata/03404_dynamic_in_interval_bug/explain.txt new file mode 100644 index 000000000..04b20c370 --- /dev/null +++ b/parser/testdata/03404_dynamic_in_interval_bug/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function toIntervalMinute (alias c0) (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Function toIntervalDay (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Identifier c0 + Literal \'Dynamic\' diff --git a/parser/testdata/03404_geotoh3_input_order/explain.txt b/parser/testdata/03404_geotoh3_input_order/explain.txt new file mode 100644 index 000000000..b1a828d30 --- /dev/null +++ b/parser/testdata/03404_geotoh3_input_order/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function geoToH3 (alias h3Index) (children 1) + ExpressionList (children 3) + Literal Float64_37.79506683 + Literal Float64_55.71290588 + Literal UInt64_15 + Set diff --git a/parser/testdata/03404_json_tables/explain.txt b/parser/testdata/03404_json_tables/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03404_json_tables/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03404_lazy_materialization_distributed/explain.txt b/parser/testdata/03404_lazy_materialization_distributed/explain.txt new file mode 100644 index 000000000..06e02b3e4 --- /dev/null +++ b/parser/testdata/03404_lazy_materialization_distributed/explain.txt @@ -0,0 +1,2 @@ +DropQuery tt (children 1) + Identifier tt diff --git a/parser/testdata/03404_ubsan_distinct_join_const_column/explain.txt b/parser/testdata/03404_ubsan_distinct_join_const_column/explain.txt new file mode 100644 index 000000000..addbf0ca3 --- /dev/null +++ b/parser/testdata/03404_ubsan_distinct_join_const_column/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Identifier t diff --git a/parser/testdata/03405_bool_array_to_fixed_strings/explain.txt b/parser/testdata/03405_bool_array_to_fixed_strings/explain.txt new file mode 100644 index 000000000..ba226a683 --- /dev/null +++ b/parser/testdata/03405_bool_array_to_fixed_strings/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Literal Array_[Bool_1, Bool_0] + Literal \'Array(FixedString(5))\' diff --git a/parser/testdata/03405_join_using_alias_constant/explain.txt b/parser/testdata/03405_join_using_alias_constant/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/03405_join_using_alias_constant/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/03405_json_parsing_error_bug/explain.txt b/parser/testdata/03405_json_parsing_error_bug/explain.txt new file mode 100644 index 000000000..937feb22d --- /dev/null +++ b/parser/testdata/03405_json_parsing_error_bug/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Literal \'[\\\'{}\\\', \\\'{"c" : [1, {"b" : []}]}\\\']\' + Literal \'Array(JSON)\' + Set +The query succeeded but the server error '117' was expected (query: EXPLAIN AST select ['{}', '{"c" : [1, {"b" : []}]}']::Array(JSON) settings input_format_json_infer_incomplete_types_as_strings=0; -- {serverError INCORRECT_DATA}). diff --git a/parser/testdata/03405_merge_filter_into_join/explain.txt b/parser/testdata/03405_merge_filter_into_join/explain.txt new file mode 100644 index 000000000..61f81f07d --- /dev/null +++ b/parser/testdata/03405_merge_filter_into_join/explain.txt @@ -0,0 +1,14 @@ +CreateQuery users (children 3) + Identifier users + Columns definition (children 1) + ExpressionList (children 3) + ColumnDeclaration uid (children 1) + DataType Int16 + ColumnDeclaration name (children 1) + DataType String + ColumnDeclaration age (children 1) + DataType Int16 + Storage definition (children 2) + Function MergeTree + Function tuple (children 1) + ExpressionList diff --git a/parser/testdata/03405_naive_bayes_classifier_token/explain.txt b/parser/testdata/03405_naive_bayes_classifier_token/explain.txt new file mode 100644 index 000000000..a6e87f45e --- /dev/null +++ b/parser/testdata/03405_naive_bayes_classifier_token/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function naiveBayesClassifier (children 1) + ExpressionList (children 2) + Literal \'sentiment_token_1\' + Literal \'The interface is beautiful and intuitive\' diff --git a/parser/testdata/03405_non_zero_batch_mode/explain.txt b/parser/testdata/03405_non_zero_batch_mode/explain.txt new file mode 100644 index 000000000..f92bb2200 --- /dev/null +++ b/parser/testdata/03405_non_zero_batch_mode/explain.txt @@ -0,0 +1,2 @@ +Set +The query succeeded but the server error '36' was expected (query: EXPLAIN AST SET output_format_parquet_batch_size = 0; -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/03405_ssd_cache_incorrect_min_max_lifetimes_and_block_size/explain.txt b/parser/testdata/03405_ssd_cache_incorrect_min_max_lifetimes_and_block_size/explain.txt new file mode 100644 index 000000000..eb2592c57 --- /dev/null +++ b/parser/testdata/03405_ssd_cache_incorrect_min_max_lifetimes_and_block_size/explain.txt @@ -0,0 +1,2 @@ +DropQuery dict (children 1) + Identifier dict diff --git a/parser/testdata/03406_dictionary_incorrect_min_max_lifetimes/explain.txt b/parser/testdata/03406_dictionary_incorrect_min_max_lifetimes/explain.txt new file mode 100644 index 000000000..eb2592c57 --- /dev/null +++ b/parser/testdata/03406_dictionary_incorrect_min_max_lifetimes/explain.txt @@ -0,0 +1,2 @@ +DropQuery dict (children 1) + Identifier dict diff --git a/parser/testdata/03406_naive_bayes_classifier_codepoint/metadata.json b/parser/testdata/03406_naive_bayes_classifier_codepoint/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03406_naive_bayes_classifier_codepoint/metadata.json +++ b/parser/testdata/03406_naive_bayes_classifier_codepoint/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03406_reservoir_sample_self_merging/metadata.json b/parser/testdata/03406_reservoir_sample_self_merging/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03406_reservoir_sample_self_merging/metadata.json +++ b/parser/testdata/03406_reservoir_sample_self_merging/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03407_csv_bad_date_time_parsing/explain.txt b/parser/testdata/03407_csv_bad_date_time_parsing/explain.txt new file mode 100644 index 000000000..51dca746e --- /dev/null +++ b/parser/testdata/03407_csv_bad_date_time_parsing/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function format (children 1) + ExpressionList (children 3) + Identifier CSV + Literal \'d DateTime64(3)\' + Literal \'1744042005 797\' + Set +The query succeeded but the server error '632' was expected (query: EXPLAIN AST select * from format(CSV, 'd DateTime64(3)', '1744042005 797') settings date_time_input_format='best_effort'; -- {serverError UNEXPECTED_DATA_AFTER_PARSED_VALUE}). diff --git a/parser/testdata/03407_naive_bayes_classifier_byte/metadata.json b/parser/testdata/03407_naive_bayes_classifier_byte/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03407_naive_bayes_classifier_byte/metadata.json +++ b/parser/testdata/03407_naive_bayes_classifier_byte/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03407_parse_date_time_best_effort_unix_timestamp_with_fraction/explain.txt b/parser/testdata/03407_parse_date_time_best_effort_unix_timestamp_with_fraction/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03407_parse_date_time_best_effort_unix_timestamp_with_fraction/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03408_analyzer_correlated_subquery_simple/explain.txt b/parser/testdata/03408_analyzer_correlated_subquery_simple/explain.txt new file mode 100644 index 000000000..4825aca74 --- /dev/null +++ b/parser/testdata/03408_analyzer_correlated_subquery_simple/explain.txt @@ -0,0 +1,10 @@ +CreateQuery t1 (children 3) + Identifier t1 + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration c1 (children 1) + DataType UInt64 + ColumnDeclaration c2 (children 1) + DataType UInt64 + Storage definition (children 1) + Identifier c1 diff --git a/parser/testdata/03408_cte_self_reference/explain.txt b/parser/testdata/03408_cte_self_reference/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03408_cte_self_reference/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03408_current_database_on_cluster_constraint/explain.txt b/parser/testdata/03408_current_database_on_cluster_constraint/explain.txt new file mode 100644 index 000000000..7e5182169 --- /dev/null +++ b/parser/testdata/03408_current_database_on_cluster_constraint/explain.txt @@ -0,0 +1,2 @@ +DropQuery shard_0 (children 1) + Identifier shard_0 diff --git a/parser/testdata/03408_hash_functions_on_null/explain.txt b/parser/testdata/03408_hash_functions_on_null/explain.txt new file mode 100644 index 000000000..479e8b059 --- /dev/null +++ b/parser/testdata/03408_hash_functions_on_null/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function xxHash32 (children 1) + ExpressionList (children 1) + Literal NULL diff --git a/parser/testdata/03408_implicit_table/explain.txt b/parser/testdata/03408_implicit_table/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03408_implicit_table/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03408_limit_by_rows_before_limit/explain.txt b/parser/testdata/03408_limit_by_rows_before_limit/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03408_limit_by_rows_before_limit/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03408_limit_by_rows_before_limit_dist/explain.txt b/parser/testdata/03408_limit_by_rows_before_limit_dist/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03408_limit_by_rows_before_limit_dist/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03408_limit_by_rows_before_limit_mem/explain.txt b/parser/testdata/03408_limit_by_rows_before_limit_mem/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03408_limit_by_rows_before_limit_mem/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03409_coalescing_merge_tree/explain.txt b/parser/testdata/03409_coalescing_merge_tree/explain.txt new file mode 100644 index 000000000..e0fee95ad --- /dev/null +++ b/parser/testdata/03409_coalescing_merge_tree/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'Test without parameters\' diff --git a/parser/testdata/03409_coalescing_replicated_merge_tree/explain.txt b/parser/testdata/03409_coalescing_replicated_merge_tree/explain.txt new file mode 100644 index 000000000..e0fee95ad --- /dev/null +++ b/parser/testdata/03409_coalescing_replicated_merge_tree/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'Test without parameters\' diff --git a/parser/testdata/03409_variant_type_values_format_field_conversion/explain.txt b/parser/testdata/03409_variant_type_values_format_field_conversion/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/03409_variant_type_values_format_field_conversion/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/03410_polygons_intersects/explain.txt b/parser/testdata/03410_polygons_intersects/explain.txt new file mode 100644 index 000000000..672a708c3 --- /dev/null +++ b/parser/testdata/03410_polygons_intersects/explain.txt @@ -0,0 +1,31 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function polygonsIntersectCartesian (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 8) + Literal Tuple_(UInt64_0, UInt64_0) + Literal Tuple_(UInt64_0, UInt64_3) + Literal Tuple_(UInt64_1, Float64_2.9) + Literal Tuple_(UInt64_2, Float64_2.6) + Literal Tuple_(Float64_2.6, UInt64_2) + Literal Tuple_(Float64_2.9, UInt64_1) + Literal Tuple_(UInt64_3, UInt64_0) + Literal Tuple_(UInt64_0, UInt64_0) + Function array (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 5) + Literal Tuple_(Float64_1, Float64_1) + Literal Tuple_(Float64_1, Float64_4) + Literal Tuple_(Float64_4, Float64_4) + Literal Tuple_(Float64_4, Float64_1) + Literal Tuple_(Float64_1, Float64_1) diff --git a/parser/testdata/03411_analyzer_scalar_correlated_subquery/explain.txt b/parser/testdata/03411_analyzer_scalar_correlated_subquery/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03411_analyzer_scalar_correlated_subquery/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03411_iceberg_bucket/explain.txt b/parser/testdata/03411_iceberg_bucket/explain.txt new file mode 100644 index 000000000..98cdf94cc --- /dev/null +++ b/parser/testdata/03411_iceberg_bucket/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'icebergHash\' diff --git a/parser/testdata/03411_summing_merge_tree_dynamic_values/explain.txt b/parser/testdata/03411_summing_merge_tree_dynamic_values/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03411_summing_merge_tree_dynamic_values/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03411_variant_basic_discriminators_deserialization_bug/explain.txt b/parser/testdata/03411_variant_basic_discriminators_deserialization_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03411_variant_basic_discriminators_deserialization_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03412_analyzer_correlated_subquery_bug/explain.txt b/parser/testdata/03412_analyzer_correlated_subquery_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03412_analyzer_correlated_subquery_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03412_dynamic_in_arg_min_max/explain.txt b/parser/testdata/03412_dynamic_in_arg_min_max/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03412_dynamic_in_arg_min_max/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03412_materialized_view_to_distributed_different_headers/explain.txt b/parser/testdata/03412_materialized_view_to_distributed_different_headers/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/03412_materialized_view_to_distributed_different_headers/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/03412_merge_final_prewhere/explain.txt b/parser/testdata/03412_merge_final_prewhere/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/03412_merge_final_prewhere/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/03413_analyzer_correlated_subqueries_bug_2/explain.txt b/parser/testdata/03413_analyzer_correlated_subqueries_bug_2/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03413_analyzer_correlated_subqueries_bug_2/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03413_dynamic_in_in/explain.txt b/parser/testdata/03413_dynamic_in_in/explain.txt new file mode 100644 index 000000000..ffcb35516 --- /dev/null +++ b/parser/testdata/03413_dynamic_in_in/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function in (children 1) + ExpressionList (children 2) + Function CAST (children 1) + ExpressionList (children 2) + Literal \'42\' + Literal \'Dynamic\' + Literal UInt64_42 +The query succeeded but the server error '43' was expected (query: EXPLAIN AST select 42::Dynamic in 42; -- {serverError ILLEGAL_TYPE_OF_ARGUMENT}). diff --git a/parser/testdata/03413_experimental_settings_cannot_be_enabled_by_default/explain.txt b/parser/testdata/03413_experimental_settings_cannot_be_enabled_by_default/explain.txt new file mode 100644 index 000000000..6f8a1bcc7 --- /dev/null +++ b/parser/testdata/03413_experimental_settings_cannot_be_enabled_by_default/explain.txt @@ -0,0 +1,28 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Identifier name + Identifier value + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.settings + Function and (children 1) + ExpressionList (children 4) + Function equals (children 1) + ExpressionList (children 2) + Identifier tier + Literal \'Experimental\' + Function equals (children 1) + ExpressionList (children 2) + Identifier type + Literal \'Bool\' + Function notEquals (children 1) + ExpressionList (children 2) + Identifier value + Literal \'0\' + Function notIn (children 1) + ExpressionList (children 2) + Identifier name + Literal \'throw_on_unsupported_query_inside_transaction\' diff --git a/parser/testdata/03413_group_by_all_in_subquery/explain.txt b/parser/testdata/03413_group_by_all_in_subquery/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03413_group_by_all_in_subquery/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03414_analyzer_correlated_subqueries_in_function/explain.txt b/parser/testdata/03414_analyzer_correlated_subqueries_in_function/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03414_analyzer_correlated_subqueries_in_function/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03414_formatDateTime_compound_formatter_after_varsize_formatter/explain.txt b/parser/testdata/03414_formatDateTime_compound_formatter_after_varsize_formatter/explain.txt new file mode 100644 index 000000000..c0d3d9474 --- /dev/null +++ b/parser/testdata/03414_formatDateTime_compound_formatter_after_varsize_formatter/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function formatDateTime (children 1) + ExpressionList (children 2) + Function toDateTime (children 1) + ExpressionList (children 1) + Literal \'2025-05-04\' + Literal \'%W %D\' diff --git a/parser/testdata/03415_dont_highlight_probable_hashes/explain.txt b/parser/testdata/03415_dont_highlight_probable_hashes/explain.txt new file mode 100644 index 000000000..6ed0f25fc --- /dev/null +++ b/parser/testdata/03415_dont_highlight_probable_hashes/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function cityHash64 (children 1) + ExpressionList (children 1) + Literal \'\' + Identifier Pretty diff --git a/parser/testdata/03416_glue_chunks/explain.txt b/parser/testdata/03416_glue_chunks/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03416_glue_chunks/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03432_input_format_parquet_max_block_size_validation/explain.txt b/parser/testdata/03432_input_format_parquet_max_block_size_validation/explain.txt new file mode 100644 index 000000000..3fd56c5e5 --- /dev/null +++ b/parser/testdata/03432_input_format_parquet_max_block_size_validation/explain.txt @@ -0,0 +1,2 @@ +Set +The query succeeded but the server error '36' was expected (query: EXPLAIN AST SET input_format_parquet_max_block_size = 0; -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/03440_no_glue_totals/explain.txt b/parser/testdata/03440_no_glue_totals/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03440_no_glue_totals/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03441_deltalake_clickhouse_public_datasets/explain.txt b/parser/testdata/03441_deltalake_clickhouse_public_datasets/explain.txt new file mode 100644 index 000000000..d92f4bdfc --- /dev/null +++ b/parser/testdata/03441_deltalake_clickhouse_public_datasets/explain.txt @@ -0,0 +1,6 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function count (children 1) + ExpressionList diff --git a/parser/testdata/03441_deltalake_clickhouse_virtual_columns/explain.txt b/parser/testdata/03441_deltalake_clickhouse_virtual_columns/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03441_deltalake_clickhouse_virtual_columns/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03442_alter_delete_empty_part/explain.txt b/parser/testdata/03442_alter_delete_empty_part/explain.txt new file mode 100644 index 000000000..39030dd0a --- /dev/null +++ b/parser/testdata/03442_alter_delete_empty_part/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_delete_empty_part (children 1) + Identifier t_delete_empty_part diff --git a/parser/testdata/03442_alter_delete_empty_part_rmt/explain.txt b/parser/testdata/03442_alter_delete_empty_part_rmt/explain.txt new file mode 100644 index 000000000..6c708115e --- /dev/null +++ b/parser/testdata/03442_alter_delete_empty_part_rmt/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_delete_empty_part_rmt (children 1) + Identifier t_delete_empty_part_rmt diff --git a/parser/testdata/03442_detach_view/metadata.json b/parser/testdata/03442_detach_view/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03442_detach_view/metadata.json +++ b/parser/testdata/03442_detach_view/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03442_json_duplicate_path/explain.txt b/parser/testdata/03442_json_duplicate_path/explain.txt new file mode 100644 index 000000000..ae8525e9a --- /dev/null +++ b/parser/testdata/03442_json_duplicate_path/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Literal \'{"a" : 42, "a" : {"b" : 42}}\' + Literal \'JSON\' +The query succeeded but the server error '117' was expected (query: EXPLAIN AST select '{"a" : 42, "a" : {"b" : 42}}'::JSON; -- {serverError INCORRECT_DATA}). diff --git a/parser/testdata/03442_lightweight_deletes_on_fly/explain.txt b/parser/testdata/03442_lightweight_deletes_on_fly/explain.txt new file mode 100644 index 000000000..5b8ded7b8 --- /dev/null +++ b/parser/testdata/03442_lightweight_deletes_on_fly/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_deletes (children 1) + Identifier test_deletes diff --git a/parser/testdata/03442_string_bytes_functions/explain.txt b/parser/testdata/03442_string_bytes_functions/explain.txt new file mode 100644 index 000000000..51f795bf4 --- /dev/null +++ b/parser/testdata/03442_string_bytes_functions/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function stringBytesUniq (children 1) + ExpressionList (children 1) + Literal \'Hello\' diff --git a/parser/testdata/03443_alias_with_asterisk/explain.txt b/parser/testdata/03443_alias_with_asterisk/explain.txt new file mode 100644 index 000000000..fe8661a6f --- /dev/null +++ b/parser/testdata/03443_alias_with_asterisk/explain.txt @@ -0,0 +1,14 @@ +CreateQuery t0 (children 3) + Identifier t0 + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration c0 (children 2) + DataType Int + Function if (children 1) + ExpressionList (children 3) + Literal NULL + Literal UInt64_1 + Asterisk + Storage definition (children 1) + Function Memory +The query succeeded but the server error '47' was expected (query: EXPLAIN AST CREATE TABLE t0 (c0 Int ALIAS if(NULL, 1, *)) ENGINE = Memory; -- { serverError UNKNOWN_IDENTIFIER }). diff --git a/parser/testdata/03443_index_match_alternatives/explain.txt b/parser/testdata/03443_index_match_alternatives/explain.txt new file mode 100644 index 000000000..f46a13f59 --- /dev/null +++ b/parser/testdata/03443_index_match_alternatives/explain.txt @@ -0,0 +1,2 @@ +DropQuery 03443_data (children 1) + Identifier 03443_data diff --git a/parser/testdata/03443_part_starting_offset/explain.txt b/parser/testdata/03443_part_starting_offset/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03443_part_starting_offset/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03443_pr_lazy_materialization/explain.txt b/parser/testdata/03443_pr_lazy_materialization/explain.txt new file mode 100644 index 000000000..4108a2e54 --- /dev/null +++ b/parser/testdata/03443_pr_lazy_materialization/explain.txt @@ -0,0 +1,2 @@ +DropQuery pr_tt (children 1) + Identifier pr_tt diff --git a/parser/testdata/03443_projection_sparse/explain.txt b/parser/testdata/03443_projection_sparse/explain.txt new file mode 100644 index 000000000..32a71e0e0 --- /dev/null +++ b/parser/testdata/03443_projection_sparse/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_projection_sparse (children 1) + Identifier t_projection_sparse diff --git a/parser/testdata/03444_analyzer_resolve_alias_columns/metadata.json b/parser/testdata/03444_analyzer_resolve_alias_columns/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03444_analyzer_resolve_alias_columns/metadata.json +++ b/parser/testdata/03444_analyzer_resolve_alias_columns/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03444_case_with_expression_exception/explain.txt b/parser/testdata/03444_case_with_expression_exception/explain.txt new file mode 100644 index 000000000..d7ba58003 --- /dev/null +++ b/parser/testdata/03444_case_with_expression_exception/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function caseWithExpression (children 1) + ExpressionList (children 5) + Literal \'C\' + Literal \'A\' + Literal Bool_1 + Literal \'B\' + Literal Bool_0 +The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT caseWithExpression('C', 'A', true, 'B', false); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/03444_explain_asterisk/explain.txt b/parser/testdata/03444_explain_asterisk/explain.txt new file mode 100644 index 000000000..017007250 --- /dev/null +++ b/parser/testdata/03444_explain_asterisk/explain.txt @@ -0,0 +1,5 @@ +DropQuery (children 1) + ExpressionList (children 3) + TableIdentifier t1 + TableIdentifier t2 + TableIdentifier t3__fuzz_0 diff --git a/parser/testdata/03444_flip_coordinates/explain.txt b/parser/testdata/03444_flip_coordinates/explain.txt new file mode 100644 index 000000000..19052c07f --- /dev/null +++ b/parser/testdata/03444_flip_coordinates/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function flipCoordinates (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Literal Tuple_(Float64_10, Float64_20) + Literal \'Point\' diff --git a/parser/testdata/03444_lm_block_mismatch/explain.txt b/parser/testdata/03444_lm_block_mismatch/explain.txt new file mode 100644 index 000000000..2e3479ba7 --- /dev/null +++ b/parser/testdata/03444_lm_block_mismatch/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_03444_lazy (children 1) + Identifier test_03444_lazy diff --git a/parser/testdata/03445_subcolumns_prewhere_pushdown/explain.txt b/parser/testdata/03445_subcolumns_prewhere_pushdown/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03445_subcolumns_prewhere_pushdown/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03447_analyzer_correlated_subqueries_tpc_h/metadata.json b/parser/testdata/03447_analyzer_correlated_subqueries_tpc_h/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03447_analyzer_correlated_subqueries_tpc_h/metadata.json +++ b/parser/testdata/03447_analyzer_correlated_subqueries_tpc_h/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03447_base32_encode_decode/explain.txt b/parser/testdata/03447_base32_encode_decode/explain.txt new file mode 100644 index 000000000..a156c33db --- /dev/null +++ b/parser/testdata/03447_base32_encode_decode/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function base32Encode (children 1) + ExpressionList (children 1) + Literal \'This is a test string\' diff --git a/parser/testdata/03447_float_nan_order/explain.txt b/parser/testdata/03447_float_nan_order/explain.txt new file mode 100644 index 000000000..ec9c41bad --- /dev/null +++ b/parser/testdata/03447_float_nan_order/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'--- short array ASC NULLS FIRST\' diff --git a/parser/testdata/03447_function_reverse_for_tuple/explain.txt b/parser/testdata/03447_function_reverse_for_tuple/explain.txt new file mode 100644 index 000000000..5497a2a32 --- /dev/null +++ b/parser/testdata/03447_function_reverse_for_tuple/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function reverse (children 1) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList (children 3) + Literal UInt64_1 + Literal \'Hello\' + Literal Array_[UInt64_2, UInt64_3] diff --git a/parser/testdata/03447_grouping_sets_analyzer_const_columns/explain.txt b/parser/testdata/03447_grouping_sets_analyzer_const_columns/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03447_grouping_sets_analyzer_const_columns/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03447_order_by_json_and_other_column/explain.txt b/parser/testdata/03447_order_by_json_and_other_column/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03447_order_by_json_and_other_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03447_storage_join_unsupported_keys/explain.txt b/parser/testdata/03447_storage_join_unsupported_keys/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03447_storage_join_unsupported_keys/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03447_window_functions_distinct/explain.txt b/parser/testdata/03447_window_functions_distinct/explain.txt new file mode 100644 index 000000000..48b79c637 --- /dev/null +++ b/parser/testdata/03447_window_functions_distinct/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'Single Numeric Data:\' diff --git a/parser/testdata/03448_analyzer_array_join_alias_in_join_using_bug/explain.txt b/parser/testdata/03448_analyzer_array_join_alias_in_join_using_bug/explain.txt new file mode 100644 index 000000000..9d589513c --- /dev/null +++ b/parser/testdata/03448_analyzer_array_join_alias_in_join_using_bug/explain.txt @@ -0,0 +1,2 @@ +CreateQuery local_table (children 1) + Identifier local_table diff --git a/parser/testdata/03448_analyzer_correlated_subquery_in_projection/explain.txt b/parser/testdata/03448_analyzer_correlated_subquery_in_projection/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03448_analyzer_correlated_subquery_in_projection/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03448_analyzer_skip_index_and_lambdas/explain.txt b/parser/testdata/03448_analyzer_skip_index_and_lambdas/explain.txt new file mode 100644 index 000000000..43efd6464 --- /dev/null +++ b/parser/testdata/03448_analyzer_skip_index_and_lambdas/explain.txt @@ -0,0 +1,2 @@ +DropQuery index_test (children 1) + Identifier index_test diff --git a/parser/testdata/03448_in_select_tuple/explain.txt b/parser/testdata/03448_in_select_tuple/explain.txt new file mode 100644 index 000000000..f0662d5e1 --- /dev/null +++ b/parser/testdata/03448_in_select_tuple/explain.txt @@ -0,0 +1,2 @@ +DropQuery table1 (children 1) + Identifier table1 diff --git a/parser/testdata/03448_topk_merging/explain.txt b/parser/testdata/03448_topk_merging/explain.txt new file mode 100644 index 000000000..5a6e37992 --- /dev/null +++ b/parser/testdata/03448_topk_merging/explain.txt @@ -0,0 +1,2 @@ +DropQuery topk_test (children 1) + Identifier topk_test diff --git a/parser/testdata/03448_trivial_count_single_threaded_merge/explain.txt b/parser/testdata/03448_trivial_count_single_threaded_merge/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03448_trivial_count_single_threaded_merge/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03448_window_functions_distinct_distributed/explain.txt b/parser/testdata/03448_window_functions_distinct_distributed/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03448_window_functions_distinct_distributed/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03449_join_using_allow_alias/explain.txt b/parser/testdata/03449_join_using_allow_alias/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03449_join_using_allow_alias/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03449_window_cannot_find_column/explain.txt b/parser/testdata/03449_window_cannot_find_column/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03449_window_cannot_find_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03450_parameterized_view_forward/explain.txt b/parser/testdata/03450_parameterized_view_forward/explain.txt new file mode 100644 index 000000000..148d34da8 --- /dev/null +++ b/parser/testdata/03450_parameterized_view_forward/explain.txt @@ -0,0 +1,5 @@ +DropQuery (children 1) + ExpressionList (children 3) + TableIdentifier inner_view + TableIdentifier outer_view_hardcoded_ok + TableIdentifier outer_view_parameterized_ko diff --git a/parser/testdata/03451_parameterized_views_without_alias/explain.txt b/parser/testdata/03451_parameterized_views_without_alias/explain.txt new file mode 100644 index 000000000..c5f6cf96b --- /dev/null +++ b/parser/testdata/03451_parameterized_views_without_alias/explain.txt @@ -0,0 +1,4 @@ +DropQuery (children 1) + ExpressionList (children 2) + TableIdentifier parameterized_view_without_renaming + TableIdentifier parameterized_view_with_renaming diff --git a/parser/testdata/03453_group_by_all_grouping/explain.txt b/parser/testdata/03453_group_by_all_grouping/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03453_group_by_all_grouping/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03453_parameterized_view_array_of_points/explain.txt b/parser/testdata/03453_parameterized_view_array_of_points/explain.txt new file mode 100644 index 000000000..6a96b7cb6 --- /dev/null +++ b/parser/testdata/03453_parameterized_view_array_of_points/explain.txt @@ -0,0 +1,5 @@ +DropQuery (children 1) + ExpressionList (children 3) + TableIdentifier point_test + TableIdentifier point_test_parameterized + TableIdentifier point_test_parameterized2 diff --git a/parser/testdata/03454_global_join_index_subqueries/explain.txt b/parser/testdata/03454_global_join_index_subqueries/explain.txt new file mode 100644 index 000000000..dc46d1726 --- /dev/null +++ b/parser/testdata/03454_global_join_index_subqueries/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'query1\' diff --git a/parser/testdata/03454_parameterized_view_constant_identifier/explain.txt b/parser/testdata/03454_parameterized_view_constant_identifier/explain.txt new file mode 100644 index 000000000..a12cf5771 --- /dev/null +++ b/parser/testdata/03454_parameterized_view_constant_identifier/explain.txt @@ -0,0 +1,2 @@ +DropQuery c (children 1) + Identifier c diff --git a/parser/testdata/03454_parameterized_views_null/explain.txt b/parser/testdata/03454_parameterized_views_null/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03454_parameterized_views_null/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03455_direct_io_read_array_values/explain.txt b/parser/testdata/03455_direct_io_read_array_values/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03455_direct_io_read_array_values/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03456_match_index_prefix_extraction/explain.txt b/parser/testdata/03456_match_index_prefix_extraction/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03456_match_index_prefix_extraction/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03457_bitmapContains_nullable/explain.txt b/parser/testdata/03457_bitmapContains_nullable/explain.txt new file mode 100644 index 000000000..8cdff35db --- /dev/null +++ b/parser/testdata/03457_bitmapContains_nullable/explain.txt @@ -0,0 +1,34 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Subquery (alias n) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function groupBitmapState (alias n) (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Identifier number + Literal \'Nullable(UInt8)\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1 + ExpressionList (children 2) + Identifier number (alias x) + Function bitmapContains (children 1) + ExpressionList (children 2) + Identifier n + Identifier x + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 +The query succeeded but the server error '43' was expected (query: EXPLAIN AST WITH (SELECT groupBitmapState(number::Nullable(UInt8)) as n from numbers(1)) as n SELECT number as x, bitmapContains(n, x) FROM numbers(10); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }). diff --git a/parser/testdata/03457_bug79403_marks_compress_block_is_zero/explain.txt b/parser/testdata/03457_bug79403_marks_compress_block_is_zero/explain.txt new file mode 100644 index 000000000..5446b190f --- /dev/null +++ b/parser/testdata/03457_bug79403_marks_compress_block_is_zero/explain.txt @@ -0,0 +1,13 @@ +CreateQuery t0 (children 3) + Identifier t0 + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration c0 (children 1) + DataType Int + Storage definition (children 3) + Function MergeTree (children 1) + ExpressionList + Function tuple (children 1) + ExpressionList + Set +The query succeeded but the server error '36' was expected (query: EXPLAIN AST CREATE TABLE t0 (c0 Int) ENGINE = MergeTree() ORDER BY tuple() SETTINGS marks_compress_block_size = 0; -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/03457_inconsistent_formatting_except/explain.txt b/parser/testdata/03457_inconsistent_formatting_except/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03457_inconsistent_formatting_except/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03457_merge_engine_subcolumns/explain.txt b/parser/testdata/03457_merge_engine_subcolumns/explain.txt new file mode 100644 index 000000000..5cbd34a73 --- /dev/null +++ b/parser/testdata/03457_merge_engine_subcolumns/explain.txt @@ -0,0 +1,2 @@ +DropQuery test1 (children 1) + Identifier test1 diff --git a/parser/testdata/03457_move_global_in_to_prewhere/explain.txt b/parser/testdata/03457_move_global_in_to_prewhere/explain.txt new file mode 100644 index 000000000..ac794a968 --- /dev/null +++ b/parser/testdata/03457_move_global_in_to_prewhere/explain.txt @@ -0,0 +1,2 @@ +DropQuery 03457_data (children 1) + Identifier 03457_data diff --git a/parser/testdata/03457_numeric_indexed_vector_build/explain.txt b/parser/testdata/03457_numeric_indexed_vector_build/explain.txt new file mode 100644 index 000000000..e14b53934 --- /dev/null +++ b/parser/testdata/03457_numeric_indexed_vector_build/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'TEST groupNumericIndexedVector\' diff --git a/parser/testdata/03458_numeric_indexed_vector_operations_bit_promote/explain.txt b/parser/testdata/03458_numeric_indexed_vector_operations_bit_promote/explain.txt new file mode 100644 index 000000000..d6cc277e6 --- /dev/null +++ b/parser/testdata/03458_numeric_indexed_vector_operations_bit_promote/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'TEST numericIndexedVectorPointwise operations in bit promotion with zero values and Float64 value type\' diff --git a/parser/testdata/03458_numeric_indexed_vector_operations_i8f64/explain.txt b/parser/testdata/03458_numeric_indexed_vector_operations_i8f64/explain.txt new file mode 100644 index 000000000..1961c0d44 --- /dev/null +++ b/parser/testdata/03458_numeric_indexed_vector_operations_i8f64/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'TEST numericIndexedVectorPointwise operations with zero values and UInt8 index type\' diff --git a/parser/testdata/03458_numeric_indexed_vector_operations_u16f64/explain.txt b/parser/testdata/03458_numeric_indexed_vector_operations_u16f64/explain.txt new file mode 100644 index 000000000..4b68f7308 --- /dev/null +++ b/parser/testdata/03458_numeric_indexed_vector_operations_u16f64/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'TEST numericIndexedVectorPointwise operations with zero values and UInt16 index type\' diff --git a/parser/testdata/03458_numeric_indexed_vector_operations_u32f32/explain.txt b/parser/testdata/03458_numeric_indexed_vector_operations_u32f32/explain.txt new file mode 100644 index 000000000..354e1006b --- /dev/null +++ b/parser/testdata/03458_numeric_indexed_vector_operations_u32f32/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'TEST numericIndexedVectorPointwise operations with zero values and Float32 value type\' diff --git a/parser/testdata/03458_numeric_indexed_vector_operations_u32f64/explain.txt b/parser/testdata/03458_numeric_indexed_vector_operations_u32f64/explain.txt new file mode 100644 index 000000000..ab7fb9f18 --- /dev/null +++ b/parser/testdata/03458_numeric_indexed_vector_operations_u32f64/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'TEST numericIndexedVectorPointwise operations with zero values and Float64 value type\' diff --git a/parser/testdata/03458_numeric_indexed_vector_operations_u32i16/explain.txt b/parser/testdata/03458_numeric_indexed_vector_operations_u32i16/explain.txt new file mode 100644 index 000000000..cb8e21001 --- /dev/null +++ b/parser/testdata/03458_numeric_indexed_vector_operations_u32i16/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'TEST numericIndexedVectorPointwise operations with zero values and Int16 value type\' diff --git a/parser/testdata/03458_numeric_indexed_vector_operations_u32i32/explain.txt b/parser/testdata/03458_numeric_indexed_vector_operations_u32i32/explain.txt new file mode 100644 index 000000000..aa6ba32a9 --- /dev/null +++ b/parser/testdata/03458_numeric_indexed_vector_operations_u32i32/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'TEST numericIndexedVectorPointwise operations with zero values and Int32 value type\' diff --git a/parser/testdata/03458_numeric_indexed_vector_operations_u32i64/explain.txt b/parser/testdata/03458_numeric_indexed_vector_operations_u32i64/explain.txt new file mode 100644 index 000000000..af2704f21 --- /dev/null +++ b/parser/testdata/03458_numeric_indexed_vector_operations_u32i64/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'TEST numericIndexedVectorPointwise operations with zero values and Int64 value type\' diff --git a/parser/testdata/03458_numeric_indexed_vector_operations_u32i8/explain.txt b/parser/testdata/03458_numeric_indexed_vector_operations_u32i8/explain.txt new file mode 100644 index 000000000..7baf4c878 --- /dev/null +++ b/parser/testdata/03458_numeric_indexed_vector_operations_u32i8/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'TEST numericIndexedVectorPointwise operations with zero values and Int8 value type\' diff --git a/parser/testdata/03458_numeric_indexed_vector_operations_u32u16/explain.txt b/parser/testdata/03458_numeric_indexed_vector_operations_u32u16/explain.txt new file mode 100644 index 000000000..addc9c29b --- /dev/null +++ b/parser/testdata/03458_numeric_indexed_vector_operations_u32u16/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'TEST numericIndexedVectorPointwise operations with zero values and UInt16 value type\' diff --git a/parser/testdata/03458_numeric_indexed_vector_operations_u32u32/explain.txt b/parser/testdata/03458_numeric_indexed_vector_operations_u32u32/explain.txt new file mode 100644 index 000000000..baa9f915f --- /dev/null +++ b/parser/testdata/03458_numeric_indexed_vector_operations_u32u32/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'TEST numericIndexedVectorPointwise operations with zero values and UInt32 value type\' diff --git a/parser/testdata/03458_numeric_indexed_vector_operations_u32u64/explain.txt b/parser/testdata/03458_numeric_indexed_vector_operations_u32u64/explain.txt new file mode 100644 index 000000000..be70b4fba --- /dev/null +++ b/parser/testdata/03458_numeric_indexed_vector_operations_u32u64/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'TEST numericIndexedVectorPointwise operations with zero values and UInt64 value type\' diff --git a/parser/testdata/03458_numeric_indexed_vector_operations_u32u8/explain.txt b/parser/testdata/03458_numeric_indexed_vector_operations_u32u8/explain.txt new file mode 100644 index 000000000..d76f4e2b0 --- /dev/null +++ b/parser/testdata/03458_numeric_indexed_vector_operations_u32u8/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'TEST numericIndexedVectorPointwise operations with zero values and UInt8 value type\' diff --git a/parser/testdata/03458_wkb_function/explain.txt b/parser/testdata/03458_wkb_function/explain.txt new file mode 100644 index 000000000..2081d75d6 --- /dev/null +++ b/parser/testdata/03458_wkb_function/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function readWKBPoint (children 1) + ExpressionList (children 1) + Function unhex (children 1) + ExpressionList (children 1) + Literal \'010100000000000000000000000000000000000000\' diff --git a/parser/testdata/03459-reverse-sorting-key-stable-result/explain.txt b/parser/testdata/03459-reverse-sorting-key-stable-result/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/03459-reverse-sorting-key-stable-result/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/03459_join_cannot_add_column/explain.txt b/parser/testdata/03459_join_cannot_add_column/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03459_join_cannot_add_column/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03459_numeric_indexed_vector_decode/explain.txt b/parser/testdata/03459_numeric_indexed_vector_decode/explain.txt new file mode 100644 index 000000000..edaacf688 --- /dev/null +++ b/parser/testdata/03459_numeric_indexed_vector_decode/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'TEST toVectorCompactArray\' diff --git a/parser/testdata/03459_socket_asynchronous_metrics/explain.txt b/parser/testdata/03459_socket_asynchronous_metrics/explain.txt new file mode 100644 index 000000000..a2efcc150 --- /dev/null +++ b/parser/testdata/03459_socket_asynchronous_metrics/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function greater (children 1) + ExpressionList (children 2) + Identifier value + Literal UInt64_0 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.asynchronous_metrics + Function equals (children 1) + ExpressionList (children 2) + Identifier name + Literal \'NetworkTCPSockets\' diff --git a/parser/testdata/03460_alter_materialized_view_on_cluster/explain.txt b/parser/testdata/03460_alter_materialized_view_on_cluster/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03460_alter_materialized_view_on_cluster/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03460_normal_projection_index/explain.txt b/parser/testdata/03460_normal_projection_index/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03460_normal_projection_index/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03460_normal_projection_index_bug_race_conditions/explain.txt b/parser/testdata/03460_normal_projection_index_bug_race_conditions/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03460_normal_projection_index_bug_race_conditions/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03460_numeric_indexed_vector_to_value_map/explain.txt b/parser/testdata/03460_numeric_indexed_vector_to_value_map/explain.txt new file mode 100644 index 000000000..d0020cd26 --- /dev/null +++ b/parser/testdata/03460_numeric_indexed_vector_to_value_map/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'TEST numericIndexedVectorToMap\' diff --git a/parser/testdata/03460_projection_part_filtering_and_introspection/explain.txt b/parser/testdata/03460_projection_part_filtering_and_introspection/explain.txt new file mode 100644 index 000000000..af032d457 --- /dev/null +++ b/parser/testdata/03460_projection_part_filtering_and_introspection/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_simple_projection (children 1) + Identifier test_simple_projection diff --git a/parser/testdata/03460_query_condition_cache_with_projections/explain.txt b/parser/testdata/03460_query_condition_cache_with_projections/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03460_query_condition_cache_with_projections/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03461_numeric_indexed_vector_chain/metadata.json b/parser/testdata/03461_numeric_indexed_vector_chain/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03461_numeric_indexed_vector_chain/metadata.json +++ b/parser/testdata/03461_numeric_indexed_vector_chain/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03461_pk_prefix_trivial_count/explain.txt b/parser/testdata/03461_pk_prefix_trivial_count/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/03461_pk_prefix_trivial_count/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/03461_string_to_date_time_cast_modes/explain.txt b/parser/testdata/03461_string_to_date_time_cast_modes/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03461_string_to_date_time_cast_modes/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03462_numeric_indexed_vector_serialization/explain.txt b/parser/testdata/03462_numeric_indexed_vector_serialization/explain.txt new file mode 100644 index 000000000..7d98040ae --- /dev/null +++ b/parser/testdata/03462_numeric_indexed_vector_serialization/explain.txt @@ -0,0 +1,2 @@ +DropQuery uin_value_details_int32_float64 (children 1) + Identifier uin_value_details_int32_float64 diff --git a/parser/testdata/03463_numeric_indexed_vector_overflow/explain.txt b/parser/testdata/03463_numeric_indexed_vector_overflow/explain.txt new file mode 100644 index 000000000..e82e0f3bc --- /dev/null +++ b/parser/testdata/03463_numeric_indexed_vector_overflow/explain.txt @@ -0,0 +1,2 @@ +DropQuery uin_value_details (children 1) + Identifier uin_value_details diff --git a/parser/testdata/03464_projections_with_subcolumns/explain.txt b/parser/testdata/03464_projections_with_subcolumns/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03464_projections_with_subcolumns/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03509_stripe_log_compatible_types/explain.txt b/parser/testdata/03509_stripe_log_compatible_types/explain.txt new file mode 100644 index 000000000..a6a8e13f2 --- /dev/null +++ b/parser/testdata/03509_stripe_log_compatible_types/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_tz (children 1) + Identifier test_tz diff --git a/parser/testdata/03511_formatDateTime_e_space_padding/explain.txt b/parser/testdata/03511_formatDateTime_e_space_padding/explain.txt new file mode 100644 index 000000000..bc98e7138 --- /dev/null +++ b/parser/testdata/03511_formatDateTime_e_space_padding/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function formatDateTime (alias _date) (children 1) + ExpressionList (children 2) + Function toDate (children 1) + ExpressionList (children 1) + Literal \'2024-05-07\' + Literal \'%e/%m/%Y\' + Function length (children 1) + ExpressionList (children 1) + Identifier _date diff --git a/parser/testdata/03512_bech32_functions/explain.txt b/parser/testdata/03512_bech32_functions/explain.txt new file mode 100644 index 000000000..f34851877 --- /dev/null +++ b/parser/testdata/03512_bech32_functions/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function bech32Encode (children 1) + ExpressionList (children 2) + Literal \'bc\' + Function unhex (children 1) + ExpressionList (children 1) + Literal \'751e76e8199196d454941c45d1b3a323f1433bd6\' diff --git a/parser/testdata/03512_cast_logical_error/explain.txt b/parser/testdata/03512_cast_logical_error/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03512_cast_logical_error/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03512_join_using_parent_scope_matcher/metadata.json b/parser/testdata/03512_join_using_parent_scope_matcher/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03512_join_using_parent_scope_matcher/metadata.json +++ b/parser/testdata/03512_join_using_parent_scope_matcher/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03512_naive_bayes_classifier_general/metadata.json b/parser/testdata/03512_naive_bayes_classifier_general/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03512_naive_bayes_classifier_general/metadata.json +++ b/parser/testdata/03512_naive_bayes_classifier_general/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03512_settings_max_block_size/explain.txt b/parser/testdata/03512_settings_max_block_size/explain.txt new file mode 100644 index 000000000..581bfa39b --- /dev/null +++ b/parser/testdata/03512_settings_max_block_size/explain.txt @@ -0,0 +1,8 @@ +CreateQuery tab (children 3) + Identifier tab + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration column (children 1) + DataType Int + Storage definition (children 1) + Function Memory diff --git a/parser/testdata/03513_filter_push_down_rand_bug/explain.txt b/parser/testdata/03513_filter_push_down_rand_bug/explain.txt new file mode 100644 index 000000000..ce1665753 --- /dev/null +++ b/parser/testdata/03513_filter_push_down_rand_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery users_items (children 1) + Identifier users_items diff --git a/parser/testdata/03513_fix_shard_num_column_to_function_pass_with_nulls/explain.txt b/parser/testdata/03513_fix_shard_num_column_to_function_pass_with_nulls/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03513_fix_shard_num_column_to_function_pass_with_nulls/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03513_lazy_materialization_projections_fix/explain.txt b/parser/testdata/03513_lazy_materialization_projections_fix/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03513_lazy_materialization_projections_fix/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03513_nullsafe_join_storage/explain.txt b/parser/testdata/03513_nullsafe_join_storage/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03513_nullsafe_join_storage/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03513_read_in_order_nullable/explain.txt b/parser/testdata/03513_read_in_order_nullable/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03513_read_in_order_nullable/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03513_resize_pipeline_after_totals/metadata.json b/parser/testdata/03513_resize_pipeline_after_totals/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03513_resize_pipeline_after_totals/metadata.json +++ b/parser/testdata/03513_resize_pipeline_after_totals/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03513_simple_aggregate_function_any_respect_nulls_in_aggregating_merge_tree/explain.txt b/parser/testdata/03513_simple_aggregate_function_any_respect_nulls_in_aggregating_merge_tree/explain.txt new file mode 100644 index 000000000..f2c02634d --- /dev/null +++ b/parser/testdata/03513_simple_aggregate_function_any_respect_nulls_in_aggregating_merge_tree/explain.txt @@ -0,0 +1,2 @@ +DropQuery simple_agf_any_aggregating_mt (children 1) + Identifier simple_agf_any_aggregating_mt diff --git a/parser/testdata/03513_simple_aggregate_function_any_respect_nulls_in_summing_merge_tree/explain.txt b/parser/testdata/03513_simple_aggregate_function_any_respect_nulls_in_summing_merge_tree/explain.txt new file mode 100644 index 000000000..989082b9e --- /dev/null +++ b/parser/testdata/03513_simple_aggregate_function_any_respect_nulls_in_summing_merge_tree/explain.txt @@ -0,0 +1,2 @@ +DropQuery simple_agf_any_summing_mt (children 1) + Identifier simple_agf_any_summing_mt diff --git a/parser/testdata/03514_grace_hash_join_logical_error/explain.txt b/parser/testdata/03514_grace_hash_join_logical_error/explain.txt new file mode 100644 index 000000000..b8f74c1ff --- /dev/null +++ b/parser/testdata/03514_grace_hash_join_logical_error/explain.txt @@ -0,0 +1,2 @@ +DropQuery A (children 1) + Identifier A diff --git a/parser/testdata/03515_array_join_different_sizes/explain.txt b/parser/testdata/03515_array_join_different_sizes/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03515_array_join_different_sizes/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03516_comparison_pk_bug/explain.txt b/parser/testdata/03516_comparison_pk_bug/explain.txt new file mode 100644 index 000000000..801f8bdff --- /dev/null +++ b/parser/testdata/03516_comparison_pk_bug/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Literal UInt64_1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Function equals (children 1) + ExpressionList (children 2) + Function toIntervalHour (children 1) + ExpressionList (children 1) + Identifier number + Literal UInt64_0 diff --git a/parser/testdata/03516_int_exp2_join/explain.txt b/parser/testdata/03516_int_exp2_join/explain.txt new file mode 100644 index 000000000..cf75563f8 --- /dev/null +++ b/parser/testdata/03516_int_exp2_join/explain.txt @@ -0,0 +1,6 @@ +DropQuery (children 1) + ExpressionList (children 4) + TableIdentifier t0 + TableIdentifier t1 + TableIdentifier t4 + TableIdentifier t5 diff --git a/parser/testdata/03517_logical_join_predicate_push_down_with_pre_expression_bug/explain.txt b/parser/testdata/03517_logical_join_predicate_push_down_with_pre_expression_bug/explain.txt new file mode 100644 index 000000000..c180ee00c --- /dev/null +++ b/parser/testdata/03517_logical_join_predicate_push_down_with_pre_expression_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery td (children 1) + Identifier td diff --git a/parser/testdata/03517_s3_plain_rewritable_encrypted_empty_path/explain.txt b/parser/testdata/03517_s3_plain_rewritable_encrypted_empty_path/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03517_s3_plain_rewritable_encrypted_empty_path/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03518_bad_sql_udf/explain.txt b/parser/testdata/03518_bad_sql_udf/explain.txt new file mode 100644 index 000000000..3de91c179 --- /dev/null +++ b/parser/testdata/03518_bad_sql_udf/explain.txt @@ -0,0 +1,9 @@ +CreateFunctionQuery 03518_bad_sql_udf (children 2) + Identifier 03518_bad_sql_udf + Function lambda (children 1) + ExpressionList (children 2) + Function identity (children 1) + ExpressionList (children 1) + Identifier x + Identifier x +The query succeeded but the server error '36' was expected (query: EXPLAIN AST CREATE OR REPLACE FUNCTION 03518_bad_sql_udf AS lambda(identity(x), x); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/03518_left_to_cross_incorrect/explain.txt b/parser/testdata/03518_left_to_cross_incorrect/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03518_left_to_cross_incorrect/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03518_table_function_remote_no_replicas/explain.txt b/parser/testdata/03518_table_function_remote_no_replicas/explain.txt new file mode 100644 index 000000000..103123f3e --- /dev/null +++ b/parser/testdata/03518_table_function_remote_no_replicas/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 1) + Literal \'|\' +The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT * FROM remote('|'); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/03519_analyzer_tuple_cast/explain.txt b/parser/testdata/03519_analyzer_tuple_cast/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03519_analyzer_tuple_cast/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03519_cte_allow_push_predicate_ast_for_distributed_subqueries_bug/explain.txt b/parser/testdata/03519_cte_allow_push_predicate_ast_for_distributed_subqueries_bug/explain.txt new file mode 100644 index 000000000..d1e1086ef --- /dev/null +++ b/parser/testdata/03519_cte_allow_push_predicate_ast_for_distributed_subqueries_bug/explain.txt @@ -0,0 +1,42 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 1) + WithElement (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1 + ExpressionList (children 1) + Identifier x + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier number (alias x) + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.0.0.{1,2}\' + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_2 + Function in (children 1) + ExpressionList (children 2) + Identifier x + Identifier sub + Set diff --git a/parser/testdata/03519_fulter_push_down_duplicate_column_name_bug/metadata.json b/parser/testdata/03519_fulter_push_down_duplicate_column_name_bug/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03519_fulter_push_down_duplicate_column_name_bug/metadata.json +++ b/parser/testdata/03519_fulter_push_down_duplicate_column_name_bug/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03519_left_to_cross_incorrect/explain.txt b/parser/testdata/03519_left_to_cross_incorrect/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03519_left_to_cross_incorrect/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03519_merge_engine_read_column_existing_in_subset_of_tables/explain.txt b/parser/testdata/03519_merge_engine_read_column_existing_in_subset_of_tables/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03519_merge_engine_read_column_existing_in_subset_of_tables/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03519_merge_tree_part_info_coverage/explain.txt b/parser/testdata/03519_merge_tree_part_info_coverage/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03519_merge_tree_part_info_coverage/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03519_merge_tree_part_info_unpack/explain.txt b/parser/testdata/03519_merge_tree_part_info_unpack/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03519_merge_tree_part_info_unpack/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03519_multiple_join_using/explain.txt b/parser/testdata/03519_multiple_join_using/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03519_multiple_join_using/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03519_ttl_extended_data_types/explain.txt b/parser/testdata/03519_ttl_extended_data_types/explain.txt new file mode 100644 index 000000000..a723997e4 --- /dev/null +++ b/parser/testdata/03519_ttl_extended_data_types/explain.txt @@ -0,0 +1,2 @@ +DropQuery ttl_03519_1 (children 1) + Identifier ttl_03519_1 diff --git a/parser/testdata/03519_zero_filesystem_prefetch_max_memory_usage/explain.txt b/parser/testdata/03519_zero_filesystem_prefetch_max_memory_usage/explain.txt new file mode 100644 index 000000000..ad1cb6845 --- /dev/null +++ b/parser/testdata/03519_zero_filesystem_prefetch_max_memory_usage/explain.txt @@ -0,0 +1,2 @@ +Set +The query succeeded but the server error '36' was expected (query: EXPLAIN AST SET filesystem_prefetch_max_memory_usage = 0; -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/03520_analyzer_distributed_in_cte_bug/explain.txt b/parser/testdata/03520_analyzer_distributed_in_cte_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03520_analyzer_distributed_in_cte_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03520_left_to_cross_incorrect/explain.txt b/parser/testdata/03520_left_to_cross_incorrect/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03520_left_to_cross_incorrect/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03520_pr_distinct_in_order/explain.txt b/parser/testdata/03520_pr_distinct_in_order/explain.txt new file mode 100644 index 000000000..90bc2184f --- /dev/null +++ b/parser/testdata/03520_pr_distinct_in_order/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_dio (children 1) + Identifier t_dio diff --git a/parser/testdata/03520_pr_read_in_order/explain.txt b/parser/testdata/03520_pr_read_in_order/explain.txt new file mode 100644 index 000000000..43ae5037d --- /dev/null +++ b/parser/testdata/03520_pr_read_in_order/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_rio (children 1) + Identifier t_rio diff --git a/parser/testdata/03521_bitNot_String_NUL_terminated/explain.txt b/parser/testdata/03521_bitNot_String_NUL_terminated/explain.txt new file mode 100644 index 000000000..2cecb7cd8 --- /dev/null +++ b/parser/testdata/03521_bitNot_String_NUL_terminated/explain.txt @@ -0,0 +1,33 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function uniqCombined64 (children 1) + ExpressionList (children 1) + Function bitNot (children 1) + ExpressionList (children 1) + Identifier x + Function anyHeavy (children 1) + ExpressionList (children 1) + Function bitNot (children 1) + ExpressionList (children 1) + Identifier x + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function concat (alias x) (children 1) + ExpressionList (children 2) + Literal UInt64_2 + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + Identifier Null diff --git a/parser/testdata/03521_long_partition_column_name/explain.txt b/parser/testdata/03521_long_partition_column_name/explain.txt new file mode 100644 index 000000000..174577e8a --- /dev/null +++ b/parser/testdata/03521_long_partition_column_name/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_long_partition_column_name (children 1) + Identifier t_long_partition_column_name diff --git a/parser/testdata/03521_long_statistics_name/explain.txt b/parser/testdata/03521_long_statistics_name/explain.txt new file mode 100644 index 000000000..14e62f900 --- /dev/null +++ b/parser/testdata/03521_long_statistics_name/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_long_statistics_name (children 1) + Identifier t_long_statistics_name diff --git a/parser/testdata/03521_system_unicode/explain.txt b/parser/testdata/03521_system_unicode/explain.txt new file mode 100644 index 000000000..1d2f37588 --- /dev/null +++ b/parser/testdata/03521_system_unicode/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Identifier code_point + Identifier code_point_value + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.unicode + Function equals (children 1) + ExpressionList (children 2) + Identifier code_point + Literal \'😂\' diff --git a/parser/testdata/03521_tuple_of_dynamic_with_string_comparison/explain.txt b/parser/testdata/03521_tuple_of_dynamic_with_string_comparison/explain.txt new file mode 100644 index 000000000..008eb2949 --- /dev/null +++ b/parser/testdata/03521_tuple_of_dynamic_with_string_comparison/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Literal \'a\' + Literal \'Dynamic\' + Literal \'(\\\'a\\\')\' diff --git a/parser/testdata/03522_alter_modify_column_and_materialize_projection/explain.txt b/parser/testdata/03522_alter_modify_column_and_materialize_projection/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03522_alter_modify_column_and_materialize_projection/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03522_analyzer_check_correlated_columns/explain.txt b/parser/testdata/03522_analyzer_check_correlated_columns/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03522_analyzer_check_correlated_columns/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03522_function_first_non_default/explain.txt b/parser/testdata/03522_function_first_non_default/explain.txt new file mode 100644 index 000000000..f12ab76e9 --- /dev/null +++ b/parser/testdata/03522_function_first_non_default/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function firstNonDefault (alias result) (children 1) + ExpressionList (children 4) + Literal NULL + Literal UInt64_0 + Literal UInt64_43 + Literal UInt64_256 diff --git a/parser/testdata/03522_join_resolve_matcher_recursive_bug/explain.txt b/parser/testdata/03522_join_resolve_matcher_recursive_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03522_join_resolve_matcher_recursive_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03522_join_using_bug_78907/explain.txt b/parser/testdata/03522_join_using_bug_78907/explain.txt new file mode 100644 index 000000000..6a0bbf4d6 --- /dev/null +++ b/parser/testdata/03522_join_using_bug_78907/explain.txt @@ -0,0 +1,27 @@ +CreateQuery tabc__fuzz_21 (children 3) + Identifier tabc__fuzz_21 + Columns definition (children 1) + ExpressionList (children 4) + ColumnDeclaration a (children 1) + DataType Int64 + ColumnDeclaration b (children 2) + DataType Int8 + Function plus (children 1) + ExpressionList (children 2) + Identifier a + Literal UInt64_1 + ColumnDeclaration c (children 2) + DataType DateTime + Function plus (children 1) + ExpressionList (children 2) + Identifier b + Literal UInt64_1 + ColumnDeclaration s (children 1) + DataType Nullable (children 1) + ExpressionList (children 1) + DataType DateTime64 (children 1) + ExpressionList (children 1) + Literal UInt64_3 + Storage definition (children 2) + Function MergeTree + Identifier a diff --git a/parser/testdata/03522_nullable_partition_key/explain.txt b/parser/testdata/03522_nullable_partition_key/explain.txt new file mode 100644 index 000000000..2eeb14dbd --- /dev/null +++ b/parser/testdata/03522_nullable_partition_key/explain.txt @@ -0,0 +1,14 @@ +CreateQuery t (children 3) + Identifier t + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration c0 (children 1) + DataType Nullable (children 1) + ExpressionList (children 1) + DataType Int + Storage definition (children 4) + Function MergeTree (children 1) + ExpressionList + Identifier c0 + Identifier c0 + Set diff --git a/parser/testdata/03522_window_table_arg/explain.txt b/parser/testdata/03522_window_table_arg/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03522_window_table_arg/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03524_nullable_extremes/explain.txt b/parser/testdata/03524_nullable_extremes/explain.txt new file mode 100644 index 000000000..a4ce23b8f --- /dev/null +++ b/parser/testdata/03524_nullable_extremes/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'--- int, single part\' diff --git a/parser/testdata/03524_sign_argument/metadata.json b/parser/testdata/03524_sign_argument/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03524_sign_argument/metadata.json +++ b/parser/testdata/03524_sign_argument/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03525_distributed_product_mode_local_IN_cross_replication_analyzer_bug/explain.txt b/parser/testdata/03525_distributed_product_mode_local_IN_cross_replication_analyzer_bug/explain.txt new file mode 100644 index 000000000..a7487bd7e --- /dev/null +++ b/parser/testdata/03525_distributed_product_mode_local_IN_cross_replication_analyzer_bug/explain.txt @@ -0,0 +1,2 @@ +CreateQuery shard_0 (children 1) + Identifier shard_0 diff --git a/parser/testdata/03525_json_extract_datetime64_from_numbers/explain.txt b/parser/testdata/03525_json_extract_datetime64_from_numbers/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03525_json_extract_datetime64_from_numbers/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03525_json_infer_array_of_dynamic_from_array_of_different_types/explain.txt b/parser/testdata/03525_json_infer_array_of_dynamic_from_array_of_different_types/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03525_json_infer_array_of_dynamic_from_array_of_different_types/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03525_timezoneof_illegal_type/explain.txt b/parser/testdata/03525_timezoneof_illegal_type/explain.txt new file mode 100644 index 000000000..05c595d25 --- /dev/null +++ b/parser/testdata/03525_timezoneof_illegal_type/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function timeZoneOf (children 1) + ExpressionList (children 1) + Literal UInt64_1 +The query succeeded but the server error '43' was expected (query: EXPLAIN AST SELECT timeZoneOf(1) -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }). diff --git a/parser/testdata/03525_transform_null_in_subqeury_with_not_nullable_type/explain.txt b/parser/testdata/03525_transform_null_in_subqeury_with_not_nullable_type/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03525_transform_null_in_subqeury_with_not_nullable_type/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03526_columns_substreams_in_wide_parts/explain.txt b/parser/testdata/03526_columns_substreams_in_wide_parts/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03526_columns_substreams_in_wide_parts/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03528_s3_insert_partition_by_whitespaces/metadata.json b/parser/testdata/03528_s3_insert_partition_by_whitespaces/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03528_s3_insert_partition_by_whitespaces/metadata.json +++ b/parser/testdata/03528_s3_insert_partition_by_whitespaces/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03529_quantile_deterministic_ubsan/explain.txt b/parser/testdata/03529_quantile_deterministic_ubsan/explain.txt new file mode 100644 index 000000000..a4c8d1e2c --- /dev/null +++ b/parser/testdata/03529_quantile_deterministic_ubsan/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function quantileDeterministicState (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_0 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_8193 +The query succeeded but the server error '36' was expected (query: EXPLAIN AST SELECT quantileDeterministicState(number, 0) FROM numbers(8193); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/03530_insert_into_distributed_different_types_sparseness/explain.txt b/parser/testdata/03530_insert_into_distributed_different_types_sparseness/explain.txt new file mode 100644 index 000000000..b008570f5 --- /dev/null +++ b/parser/testdata/03530_insert_into_distributed_different_types_sparseness/explain.txt @@ -0,0 +1,2 @@ +DropQuery sparse (children 1) + Identifier sparse diff --git a/parser/testdata/03531_check_count_for_parquet/explain.txt b/parser/testdata/03531_check_count_for_parquet/explain.txt new file mode 100644 index 000000000..2ed01b375 --- /dev/null +++ b/parser/testdata/03531_check_count_for_parquet/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function count (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function url (children 1) + ExpressionList (children 1) + Literal \'http://localhost:11111/test/hive_partitioning/column0=Elizabeth/sample.parquet\' diff --git a/parser/testdata/03531_insert_removing_sparse_transform/explain.txt b/parser/testdata/03531_insert_removing_sparse_transform/explain.txt new file mode 100644 index 000000000..22adbaa0d --- /dev/null +++ b/parser/testdata/03531_insert_removing_sparse_transform/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_log (children 1) + Identifier t_log diff --git a/parser/testdata/03532_create_user_query_on_wrong_parametric_grantees/explain.txt b/parser/testdata/03532_create_user_query_on_wrong_parametric_grantees/explain.txt new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/parser/testdata/03532_create_user_query_on_wrong_parametric_grantees/explain.txt @@ -0,0 +1 @@ + diff --git a/parser/testdata/03532_divideOrNull_jit_crash/explain.txt b/parser/testdata/03532_divideOrNull_jit_crash/explain.txt new file mode 100644 index 000000000..172051b3c --- /dev/null +++ b/parser/testdata/03532_divideOrNull_jit_crash/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function and (children 1) + ExpressionList (children 2) + Function not (children 1) + ExpressionList (children 1) + Function divideOrNull (children 1) + ExpressionList (children 2) + Literal UInt64_0 + Asterisk + Function not (children 1) + ExpressionList (children 1) + Function intDivOrNull (children 1) + ExpressionList (children 2) + Asterisk + Literal UInt64_1 + Set diff --git a/parser/testdata/03532_dynamic_column_inside_map_rollback/metadata.json b/parser/testdata/03532_dynamic_column_inside_map_rollback/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03532_dynamic_column_inside_map_rollback/metadata.json +++ b/parser/testdata/03532_dynamic_column_inside_map_rollback/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03532_dynamic_flattened_serialization_bug/explain.txt b/parser/testdata/03532_dynamic_flattened_serialization_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03532_dynamic_flattened_serialization_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03532_json_dynamic_updates/explain.txt b/parser/testdata/03532_json_dynamic_updates/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03532_json_dynamic_updates/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03532_pr_unused_query_cancelling_with_limit/explain.txt b/parser/testdata/03532_pr_unused_query_cancelling_with_limit/explain.txt new file mode 100644 index 000000000..4108a2e54 --- /dev/null +++ b/parser/testdata/03532_pr_unused_query_cancelling_with_limit/explain.txt @@ -0,0 +1,2 @@ +DropQuery pr_tt (children 1) + Identifier pr_tt diff --git a/parser/testdata/03532_redis_empty_variant_key/explain.txt b/parser/testdata/03532_redis_empty_variant_key/explain.txt new file mode 100644 index 000000000..f403d2a63 --- /dev/null +++ b/parser/testdata/03532_redis_empty_variant_key/explain.txt @@ -0,0 +1,17 @@ +CreateQuery t0 (children 3) + Identifier t0 + Columns definition (children 2) + ExpressionList (children 1) + ColumnDeclaration c0 (children 1) + DataType Variant (children 1) + ExpressionList + Function tuple (children 1) + ExpressionList (children 1) + Identifier c0 + Storage definition (children 1) + Function Redis (children 1) + ExpressionList (children 3) + Literal \':\' + Literal UInt64_0 + Literal \'\' +The query succeeded but the server error '36' was expected (query: EXPLAIN AST CREATE TABLE t0 (c0 Variant() PRIMARY KEY) ENGINE = Redis(':', 0, ''); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/03532_use_database_syntax/explain.txt b/parser/testdata/03532_use_database_syntax/explain.txt new file mode 100644 index 000000000..1413ea7fe --- /dev/null +++ b/parser/testdata/03532_use_database_syntax/explain.txt @@ -0,0 +1,2 @@ +CreateQuery d1 (children 1) + Identifier d1 diff --git a/parser/testdata/03532_window_function_and_null_source_max_threads/explain.txt b/parser/testdata/03532_window_function_and_null_source_max_threads/explain.txt new file mode 100644 index 000000000..edacb172e --- /dev/null +++ b/parser/testdata/03532_window_function_and_null_source_max_threads/explain.txt @@ -0,0 +1,10 @@ +CreateQuery empty (children 3) + Identifier empty + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration n (children 1) + DataType UInt64 + Storage definition (children 2) + Function MergeTree (children 1) + ExpressionList + Identifier n diff --git a/parser/testdata/03533_analyzer_correlated_column_check/explain.txt b/parser/testdata/03533_analyzer_correlated_column_check/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03533_analyzer_correlated_column_check/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03533_named_tuple_supertype/explain.txt b/parser/testdata/03533_named_tuple_supertype/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03533_named_tuple_supertype/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03533_skip_index_on_data_reading/explain.txt b/parser/testdata/03533_skip_index_on_data_reading/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03533_skip_index_on_data_reading/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03533_xirr/explain.txt b/parser/testdata/03533_xirr/explain.txt new file mode 100644 index 000000000..956684e25 --- /dev/null +++ b/parser/testdata/03533_xirr/explain.txt @@ -0,0 +1,24 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function round (alias xirr_rate) (children 1) + ExpressionList (children 2) + Function financialInternalRateOfReturnExtended (children 1) + ExpressionList (children 2) + Literal Array_[Int64_-10000, UInt64_5750, UInt64_4250, UInt64_3250] + Function array (children 1) + ExpressionList (children 4) + Function toDate (children 1) + ExpressionList (children 1) + Literal \'2020-01-01\' + Function toDate (children 1) + ExpressionList (children 1) + Literal \'2020-03-01\' + Function toDate (children 1) + ExpressionList (children 1) + Literal \'2020-10-30\' + Function toDate (children 1) + ExpressionList (children 1) + Literal \'2021-02-15\' + Literal UInt64_6 diff --git a/parser/testdata/03534_npy_output_to_url/explain.txt b/parser/testdata/03534_npy_output_to_url/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03534_npy_output_to_url/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03534_skip_index_bug89691/explain.txt b/parser/testdata/03534_skip_index_bug89691/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03534_skip_index_bug89691/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03535_system_formats/explain.txt b/parser/testdata/03535_system_formats/explain.txt new file mode 100644 index 000000000..b69a80c79 --- /dev/null +++ b/parser/testdata/03535_system_formats/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.formats diff --git a/parser/testdata/03537_kusto_ubsan/explain.txt b/parser/testdata/03537_kusto_ubsan/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03537_kusto_ubsan/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03538_analyzer_correlated_query_collect_columns_fix/explain.txt b/parser/testdata/03538_analyzer_correlated_query_collect_columns_fix/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03538_analyzer_correlated_query_collect_columns_fix/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03538_analyzer_filter_analysis_alias_columns/explain.txt b/parser/testdata/03538_analyzer_filter_analysis_alias_columns/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03538_analyzer_filter_analysis_alias_columns/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03538_analyzer_lag_lead_functions/explain.txt b/parser/testdata/03538_analyzer_lag_lead_functions/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03538_analyzer_lag_lead_functions/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03538_analyzer_scalar_correlated_subquery_fix/explain.txt b/parser/testdata/03538_analyzer_scalar_correlated_subquery_fix/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03538_analyzer_scalar_correlated_subquery_fix/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03538_array_except/explain.txt b/parser/testdata/03538_array_except/explain.txt new file mode 100644 index 000000000..24f704e4f --- /dev/null +++ b/parser/testdata/03538_array_except/explain.txt @@ -0,0 +1,2 @@ +DropQuery 3538_array_except1 (children 1) + Identifier 3538_array_except1 diff --git a/parser/testdata/03538_crash_in_parallel_hash_with_empty_using/explain.txt b/parser/testdata/03538_crash_in_parallel_hash_with_empty_using/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03538_crash_in_parallel_hash_with_empty_using/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03538_higher_order_functions_null_filter/explain.txt b/parser/testdata/03538_higher_order_functions_null_filter/explain.txt new file mode 100644 index 000000000..f555d8385 --- /dev/null +++ b/parser/testdata/03538_higher_order_functions_null_filter/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayFirst (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function notEquals (children 1) + ExpressionList (children 2) + Identifier x + Literal \'\' + Literal Array_[NULL, \'arrayFirst\'] diff --git a/parser/testdata/03538_optimize_rewrite_regexp_functions/explain.txt b/parser/testdata/03538_optimize_rewrite_regexp_functions/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03538_optimize_rewrite_regexp_functions/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03538_validate_setting_merge_max_block_size/explain.txt b/parser/testdata/03538_validate_setting_merge_max_block_size/explain.txt new file mode 100644 index 000000000..22e1efad9 --- /dev/null +++ b/parser/testdata/03538_validate_setting_merge_max_block_size/explain.txt @@ -0,0 +1,2 @@ +DropQuery validate_setting_merge_max_block_size (children 1) + Identifier validate_setting_merge_max_block_size diff --git a/parser/testdata/03539_kusto_output_format_trash/explain.txt b/parser/testdata/03539_kusto_output_format_trash/explain.txt new file mode 100644 index 000000000..516f55d29 --- /dev/null +++ b/parser/testdata/03539_kusto_output_format_trash/explain.txt @@ -0,0 +1,18 @@ +InsertQuery (children 3) + Function file (children 1) + ExpressionList (children 2) + Function concat (children 1) + ExpressionList (children 2) + Function currentDatabase (children 1) + ExpressionList + Literal \'/query.data\' + Literal \'RowBinary\' + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function toIntervalSecond (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Set + Set diff --git a/parser/testdata/03540_date_trunc_old_behaviour/explain.txt b/parser/testdata/03540_date_trunc_old_behaviour/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03540_date_trunc_old_behaviour/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03541_rename_column_start/explain.txt b/parser/testdata/03541_rename_column_start/explain.txt new file mode 100644 index 000000000..1aff7454b --- /dev/null +++ b/parser/testdata/03541_rename_column_start/explain.txt @@ -0,0 +1,8 @@ +CreateQuery rmt (children 2) + Identifier rmt + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration a (children 1) + DataType UInt64 + ColumnDeclaration b (children 1) + DataType UInt64 diff --git a/parser/testdata/03541_table_without_insertable_columns/explain.txt b/parser/testdata/03541_table_without_insertable_columns/explain.txt new file mode 100644 index 000000000..1053a66ad --- /dev/null +++ b/parser/testdata/03541_table_without_insertable_columns/explain.txt @@ -0,0 +1,10 @@ +CreateQuery no_physical (children 3) + Identifier no_physical + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration a (children 2) + DataType Int + Function defaultValueOfTypeName + Storage definition (children 1) + Function Memory +The query succeeded but the server error '90' was expected (query: EXPLAIN AST CREATE TABLE no_physical (a Int EPHEMERAL) Engine=Memory; -- { serverError EMPTY_LIST_OF_COLUMNS_PASSED }). diff --git a/parser/testdata/03542_TTL_dict/explain.txt b/parser/testdata/03542_TTL_dict/explain.txt new file mode 100644 index 000000000..24d856ee9 --- /dev/null +++ b/parser/testdata/03542_TTL_dict/explain.txt @@ -0,0 +1,2 @@ +DropQuery ttl_dict (children 1) + Identifier ttl_dict diff --git a/parser/testdata/03545_analyzer_correlated_subqueries_use_equivalence_classes/explain.txt b/parser/testdata/03545_analyzer_correlated_subqueries_use_equivalence_classes/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03545_analyzer_correlated_subqueries_use_equivalence_classes/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03545_analyzer_correlated_subqueries_use_equivalence_classes_2/explain.txt b/parser/testdata/03545_analyzer_correlated_subqueries_use_equivalence_classes_2/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03545_analyzer_correlated_subqueries_use_equivalence_classes_2/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03545_analyzer_correlated_subquery_exists_asterisk/explain.txt b/parser/testdata/03545_analyzer_correlated_subquery_exists_asterisk/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03545_analyzer_correlated_subquery_exists_asterisk/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03545_array_join_index_set_bug/explain.txt b/parser/testdata/03545_array_join_index_set_bug/explain.txt new file mode 100644 index 000000000..9bf362065 --- /dev/null +++ b/parser/testdata/03545_array_join_index_set_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery right (children 1) + Identifier right diff --git a/parser/testdata/03545_map_contains_bloom_index_bug/explain.txt b/parser/testdata/03545_map_contains_bloom_index_bug/explain.txt new file mode 100644 index 000000000..0068881ca --- /dev/null +++ b/parser/testdata/03545_map_contains_bloom_index_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_map_contains_values (children 1) + Identifier test_map_contains_values diff --git a/parser/testdata/03545_number_of_rows_in_ttltransform/explain.txt b/parser/testdata/03545_number_of_rows_in_ttltransform/explain.txt new file mode 100644 index 000000000..11ed2798b --- /dev/null +++ b/parser/testdata/03545_number_of_rows_in_ttltransform/explain.txt @@ -0,0 +1,2 @@ +CreateQuery t (children 1) + Identifier t diff --git a/parser/testdata/03545_union_allow_column_with_no_common_type/explain.txt b/parser/testdata/03545_union_allow_column_with_no_common_type/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03545_union_allow_column_with_no_common_type/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03546_03545_analyzer_correlated_subquery_exists_asterisk_crash/explain.txt b/parser/testdata/03546_03545_analyzer_correlated_subquery_exists_asterisk_crash/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03546_03545_analyzer_correlated_subquery_exists_asterisk_crash/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03546_add_distinct_to_in_clause/explain.txt b/parser/testdata/03546_add_distinct_to_in_clause/explain.txt new file mode 100644 index 000000000..6842a597d --- /dev/null +++ b/parser/testdata/03546_add_distinct_to_in_clause/explain.txt @@ -0,0 +1,2 @@ +DropQuery local_table_1 (children 1) + Identifier local_table_1 diff --git a/parser/testdata/03546_join_key_value_storage_with_casted_key/explain.txt b/parser/testdata/03546_join_key_value_storage_with_casted_key/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03546_join_key_value_storage_with_casted_key/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03546_leftover_dependencies/metadata.json b/parser/testdata/03546_leftover_dependencies/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03546_leftover_dependencies/metadata.json +++ b/parser/testdata/03546_leftover_dependencies/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03546_merge_tree_projection_shared_snapshot/explain.txt b/parser/testdata/03546_merge_tree_projection_shared_snapshot/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03546_merge_tree_projection_shared_snapshot/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03546_multiple_join_use_nulls_matcher/explain.txt b/parser/testdata/03546_multiple_join_use_nulls_matcher/explain.txt new file mode 100644 index 000000000..0f4f55643 --- /dev/null +++ b/parser/testdata/03546_multiple_join_use_nulls_matcher/explain.txt @@ -0,0 +1,2 @@ +DropQuery tableA (children 1) + Identifier tableA diff --git a/parser/testdata/03546_paimon_all_supported_type/explain.txt b/parser/testdata/03546_paimon_all_supported_type/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03546_paimon_all_supported_type/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03546_part_granule_offset/explain.txt b/parser/testdata/03546_part_granule_offset/explain.txt new file mode 100644 index 000000000..3c6f2a2f0 --- /dev/null +++ b/parser/testdata/03546_part_granule_offset/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_part_granule_offset (children 1) + Identifier test_part_granule_offset diff --git a/parser/testdata/03547_analyzer_correlated_columns_check_bug/explain.txt b/parser/testdata/03547_analyzer_correlated_columns_check_bug/explain.txt new file mode 100644 index 000000000..66d6339bd --- /dev/null +++ b/parser/testdata/03547_analyzer_correlated_columns_check_bug/explain.txt @@ -0,0 +1,12 @@ +CreateQuery users (children 3) + Identifier users + Columns definition (children 1) + ExpressionList (children 3) + ColumnDeclaration uid (children 1) + DataType Int16 + ColumnDeclaration name (children 1) + DataType String + ColumnDeclaration age (children 1) + DataType Int16 + Storage definition (children 1) + Function Memory diff --git a/parser/testdata/03547_analyzer_correlated_subqueries/explain.txt b/parser/testdata/03547_analyzer_correlated_subqueries/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03547_analyzer_correlated_subqueries/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03547_equals_optimizer_lowcardinality/explain.txt b/parser/testdata/03547_equals_optimizer_lowcardinality/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03547_equals_optimizer_lowcardinality/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03547_reinterpret_to_array/explain.txt b/parser/testdata/03547_reinterpret_to_array/explain.txt new file mode 100644 index 000000000..c6b8ba58e --- /dev/null +++ b/parser/testdata/03547_reinterpret_to_array/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'Verify correct destination type is instantiated\' diff --git a/parser/testdata/03548_analyzer_indentifier_resolution_invariant/explain.txt b/parser/testdata/03548_analyzer_indentifier_resolution_invariant/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03548_analyzer_indentifier_resolution_invariant/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03548_array_group_last_serialization/explain.txt b/parser/testdata/03548_array_group_last_serialization/explain.txt new file mode 100644 index 000000000..9211c96b1 --- /dev/null +++ b/parser/testdata/03548_array_group_last_serialization/explain.txt @@ -0,0 +1,2 @@ +DropQuery mv0 (children 1) + Identifier mv0 diff --git a/parser/testdata/03548_optimize_syntax_fuse_functions_clash/explain.txt b/parser/testdata/03548_optimize_syntax_fuse_functions_clash/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/03548_optimize_syntax_fuse_functions_clash/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/03549_aggregate_arithmetic_logical_error/explain.txt b/parser/testdata/03549_aggregate_arithmetic_logical_error/explain.txt new file mode 100644 index 000000000..1d667773b --- /dev/null +++ b/parser/testdata/03549_aggregate_arithmetic_logical_error/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function sumMerge (children 1) + ExpressionList (children 1) + Function multiply (children 1) + ExpressionList (children 2) + Function initializeAggregation (children 1) + ExpressionList (children 2) + Literal \'sumState\' + Literal UInt64_1 + Function CAST (children 1) + ExpressionList (children 2) + Literal \'1.1.1.1\' + Literal \'IPv4\' +The query succeeded but the server error '43' was expected (query: EXPLAIN AST SELECT sumMerge(initializeAggregation('sumState', 1) * CAST('1.1.1.1', 'IPv4')); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }). diff --git a/parser/testdata/03549_analyzer_fix_filter_removal/explain.txt b/parser/testdata/03549_analyzer_fix_filter_removal/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03549_analyzer_fix_filter_removal/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03549_conv_function/explain.txt b/parser/testdata/03549_conv_function/explain.txt new file mode 100644 index 000000000..c0440bc09 --- /dev/null +++ b/parser/testdata/03549_conv_function/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function conv (children 1) + ExpressionList (children 3) + Literal \'10\' + Literal UInt64_10 + Literal UInt64_2 diff --git a/parser/testdata/03549_keeper_map_column_comments/explain.txt b/parser/testdata/03549_keeper_map_column_comments/explain.txt new file mode 100644 index 000000000..204ec0f74 --- /dev/null +++ b/parser/testdata/03549_keeper_map_column_comments/explain.txt @@ -0,0 +1,2 @@ +DropQuery 03549_test (children 1) + Identifier 03549_test diff --git a/parser/testdata/03549_system_dimensional_metrics/explain.txt b/parser/testdata/03549_system_dimensional_metrics/explain.txt new file mode 100644 index 000000000..edd3fb8d3 --- /dev/null +++ b/parser/testdata/03549_system_dimensional_metrics/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function greater (children 1) + ExpressionList (children 2) + Function count (children 1) + ExpressionList + Literal UInt64_0 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.dimensional_metrics diff --git a/parser/testdata/03549_window_collation/explain.txt b/parser/testdata/03549_window_collation/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03549_window_collation/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03549_wkb_function/explain.txt b/parser/testdata/03549_wkb_function/explain.txt new file mode 100644 index 000000000..f60c1a11f --- /dev/null +++ b/parser/testdata/03549_wkb_function/explain.txt @@ -0,0 +1,2 @@ +DropQuery geom1 (children 1) + Identifier geom1 diff --git a/parser/testdata/03550_analyzer_remote_view_columns/explain.txt b/parser/testdata/03550_analyzer_remote_view_columns/explain.txt new file mode 100644 index 000000000..2dc2d2a36 --- /dev/null +++ b/parser/testdata/03550_analyzer_remote_view_columns/explain.txt @@ -0,0 +1,2 @@ +CreateQuery test (children 1) + Identifier test diff --git a/parser/testdata/03550_projection_with_part_offset_ttl/explain.txt b/parser/testdata/03550_projection_with_part_offset_ttl/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03550_projection_with_part_offset_ttl/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03550_s3queue_no_settings/explain.txt b/parser/testdata/03550_s3queue_no_settings/explain.txt new file mode 100644 index 000000000..331c77726 --- /dev/null +++ b/parser/testdata/03550_s3queue_no_settings/explain.txt @@ -0,0 +1,13 @@ +CreateQuery s3_queue (children 3) + Identifier s3_queue + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration name (children 1) + DataType String + ColumnDeclaration value (children 1) + DataType UInt32 + Storage definition (children 1) + Function S3Queue (children 1) + ExpressionList (children 1) + Literal \'http://localhost:11111/test/{a,b,c}.tsv\' +The query succeeded but the server error '36' was expected (query: EXPLAIN AST CREATE TABLE s3_queue (name String, value UInt32) ENGINE = S3Queue('http://localhost:11111/test/{a,b,c}.tsv'); -- { serverError BAD_ARGUMENTS }). diff --git a/parser/testdata/03550_union_intersect_except_default_mode_rewrite_exception_safety/explain.txt b/parser/testdata/03550_union_intersect_except_default_mode_rewrite_exception_safety/explain.txt new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/parser/testdata/03550_union_intersect_except_default_mode_rewrite_exception_safety/explain.txt @@ -0,0 +1 @@ + diff --git a/parser/testdata/03550_variant_extend_union/explain.txt b/parser/testdata/03550_variant_extend_union/explain.txt new file mode 100644 index 000000000..b55818d6b --- /dev/null +++ b/parser/testdata/03550_variant_extend_union/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Asterisk diff --git a/parser/testdata/03551_cast_decimal_to_float/explain.txt b/parser/testdata/03551_cast_decimal_to_float/explain.txt new file mode 100644 index 000000000..ac8955c58 --- /dev/null +++ b/parser/testdata/03551_cast_decimal_to_float/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Function CAST (children 1) + ExpressionList (children 2) + Literal \'9\' + Literal \'Decimal(76, 38)\' + Literal \'Float64\' diff --git a/parser/testdata/03551_no_alter_for_columns_to_sum/explain.txt b/parser/testdata/03551_no_alter_for_columns_to_sum/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03551_no_alter_for_columns_to_sum/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03552_inconsistent_formatting_operator_as_table_function/explain.txt b/parser/testdata/03552_inconsistent_formatting_operator_as_table_function/explain.txt new file mode 100644 index 000000000..18ce9d39f --- /dev/null +++ b/parser/testdata/03552_inconsistent_formatting_operator_as_table_function/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function globalIn (children 1) + ExpressionList (children 2) + Literal \'a\' + Literal UInt64_1 +The query succeeded but the server error '46' was expected (query: EXPLAIN AST SELECT * FROM globalIn('a', 1); -- { serverError UNKNOWN_FUNCTION }). diff --git a/parser/testdata/03553_inconsistent_formatting_of_dictionary/explain.txt b/parser/testdata/03553_inconsistent_formatting_of_dictionary/explain.txt new file mode 100644 index 000000000..909b7d9eb --- /dev/null +++ b/parser/testdata/03553_inconsistent_formatting_of_dictionary/explain.txt @@ -0,0 +1,11 @@ +CreateQuery d0 (children 3) + Identifier d0 + ExpressionList (children 1) + DictionaryAttributeDeclaration c1 (children 1) + DataType Nested (children 1) + ExpressionList (children 1) + NameTypePair c2 (children 1) + DataType Int + Dictionary definition (children 1) + Dictionary range +The query succeeded but the server error '489' was expected (query: EXPLAIN AST CREATE DICTIONARY d0 (c1 Nested(c2 Int)) RANGE(MIN c1 MAX `c1.c2`); -- { serverError INCORRECT_DICTIONARY_DEFINITION }). diff --git a/parser/testdata/03553_json_shared_data_advanced_serialization/explain.txt b/parser/testdata/03553_json_shared_data_advanced_serialization/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03553_json_shared_data_advanced_serialization/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03553_json_shared_data_map_serialization/explain.txt b/parser/testdata/03553_json_shared_data_map_serialization/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03553_json_shared_data_map_serialization/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03553_json_shared_data_map_with_buckets_serialization/explain.txt b/parser/testdata/03553_json_shared_data_map_with_buckets_serialization/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03553_json_shared_data_map_with_buckets_serialization/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03554_json_shared_data_advanced_serialization_compact_part_big/explain.txt b/parser/testdata/03554_json_shared_data_advanced_serialization_compact_part_big/explain.txt new file mode 100644 index 000000000..6e6e73b61 --- /dev/null +++ b/parser/testdata/03554_json_shared_data_advanced_serialization_compact_part_big/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_compact_without_substreams_advanced (children 1) + Identifier test_compact_without_substreams_advanced diff --git a/parser/testdata/03554_json_shared_data_advanced_serialization_wide_part_big/explain.txt b/parser/testdata/03554_json_shared_data_advanced_serialization_wide_part_big/explain.txt new file mode 100644 index 000000000..a8acf300e --- /dev/null +++ b/parser/testdata/03554_json_shared_data_advanced_serialization_wide_part_big/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_wide_advanced (children 1) + Identifier test_wide_advanced diff --git a/parser/testdata/03554_json_shared_data_map_serialization_compact_part_big/explain.txt b/parser/testdata/03554_json_shared_data_map_serialization_compact_part_big/explain.txt new file mode 100644 index 000000000..06a187dbc --- /dev/null +++ b/parser/testdata/03554_json_shared_data_map_serialization_compact_part_big/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_compact_map (children 1) + Identifier test_compact_map diff --git a/parser/testdata/03554_json_shared_data_map_serialization_wide_part_big/explain.txt b/parser/testdata/03554_json_shared_data_map_serialization_wide_part_big/explain.txt new file mode 100644 index 000000000..6bf9a67cd --- /dev/null +++ b/parser/testdata/03554_json_shared_data_map_serialization_wide_part_big/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_wide_map (children 1) + Identifier test_wide_map diff --git a/parser/testdata/03554_json_shared_data_map_with_buckets_serialization_compact_part_big/explain.txt b/parser/testdata/03554_json_shared_data_map_with_buckets_serialization_compact_part_big/explain.txt new file mode 100644 index 000000000..ac791ba5e --- /dev/null +++ b/parser/testdata/03554_json_shared_data_map_with_buckets_serialization_compact_part_big/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_compact_map_with_buckets (children 1) + Identifier test_compact_map_with_buckets diff --git a/parser/testdata/03554_json_shared_data_map_with_buckets_serialization_wide_part_big/explain.txt b/parser/testdata/03554_json_shared_data_map_with_buckets_serialization_wide_part_big/explain.txt new file mode 100644 index 000000000..997e38938 --- /dev/null +++ b/parser/testdata/03554_json_shared_data_map_with_buckets_serialization_wide_part_big/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_wide_map_with_buckets (children 1) + Identifier test_wide_map_with_buckets diff --git a/parser/testdata/03554_json_shared_data_tuple_advanced_serialization_compact_part_big/explain.txt b/parser/testdata/03554_json_shared_data_tuple_advanced_serialization_compact_part_big/explain.txt new file mode 100644 index 000000000..ef3dfaaa5 --- /dev/null +++ b/parser/testdata/03554_json_shared_data_tuple_advanced_serialization_compact_part_big/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_compact_advanced_tuple (children 1) + Identifier test_compact_advanced_tuple diff --git a/parser/testdata/03554_json_shared_data_tuple_advanced_serialization_wide_part_big/explain.txt b/parser/testdata/03554_json_shared_data_tuple_advanced_serialization_wide_part_big/explain.txt new file mode 100644 index 000000000..00daede02 --- /dev/null +++ b/parser/testdata/03554_json_shared_data_tuple_advanced_serialization_wide_part_big/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_wide_advanced_tuple (children 1) + Identifier test_wide_advanced_tuple diff --git a/parser/testdata/03554_json_shared_data_tuple_map_with_buckets_serialization_compact_part_big/explain.txt b/parser/testdata/03554_json_shared_data_tuple_map_with_buckets_serialization_compact_part_big/explain.txt new file mode 100644 index 000000000..766a90226 --- /dev/null +++ b/parser/testdata/03554_json_shared_data_tuple_map_with_buckets_serialization_compact_part_big/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_compact_map_with_buckets_tuple (children 1) + Identifier test_compact_map_with_buckets_tuple diff --git a/parser/testdata/03554_json_shared_data_tuple_map_with_buckets_serialization_wide_part_big/explain.txt b/parser/testdata/03554_json_shared_data_tuple_map_with_buckets_serialization_wide_part_big/explain.txt new file mode 100644 index 000000000..e0a13272c --- /dev/null +++ b/parser/testdata/03554_json_shared_data_tuple_map_with_buckets_serialization_wide_part_big/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_wide_map_with_buckets_tuple (children 1) + Identifier test_wide_map_with_buckets_tuple diff --git a/parser/testdata/03555_inconsistent_formatting_ttl/explain.txt b/parser/testdata/03555_inconsistent_formatting_ttl/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03555_inconsistent_formatting_ttl/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03555_json_shared_data_advanced_paths_indexes_1/explain.txt b/parser/testdata/03555_json_shared_data_advanced_paths_indexes_1/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03555_json_shared_data_advanced_paths_indexes_1/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03555_json_shared_data_advanced_paths_indexes_2/explain.txt b/parser/testdata/03555_json_shared_data_advanced_paths_indexes_2/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03555_json_shared_data_advanced_paths_indexes_2/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03555_json_shared_data_advanced_paths_indexes_3/explain.txt b/parser/testdata/03555_json_shared_data_advanced_paths_indexes_3/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03555_json_shared_data_advanced_paths_indexes_3/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03558_no_alias_in_single_expressions/explain.txt b/parser/testdata/03558_no_alias_in_single_expressions/explain.txt new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/parser/testdata/03558_no_alias_in_single_expressions/explain.txt @@ -0,0 +1 @@ + diff --git a/parser/testdata/03559_explain_ast_in_subquery/explain.txt b/parser/testdata/03559_explain_ast_in_subquery/explain.txt new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/parser/testdata/03559_explain_ast_in_subquery/explain.txt @@ -0,0 +1 @@ + diff --git a/parser/testdata/03560_low_cardinality_keys_filter/explain.txt b/parser/testdata/03560_low_cardinality_keys_filter/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03560_low_cardinality_keys_filter/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03560_new_analyzer_default_expression/explain.txt b/parser/testdata/03560_new_analyzer_default_expression/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03560_new_analyzer_default_expression/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03560_parallel_replicas_external_aggregation/explain.txt b/parser/testdata/03560_parallel_replicas_external_aggregation/explain.txt new file mode 100644 index 000000000..fdfcfc7c3 --- /dev/null +++ b/parser/testdata/03560_parallel_replicas_external_aggregation/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_proj_external_agg (children 1) + Identifier t_proj_external_agg diff --git a/parser/testdata/03560_parallel_replicas_memory_bound_merging_projection/explain.txt b/parser/testdata/03560_parallel_replicas_memory_bound_merging_projection/explain.txt new file mode 100644 index 000000000..608ee7d63 --- /dev/null +++ b/parser/testdata/03560_parallel_replicas_memory_bound_merging_projection/explain.txt @@ -0,0 +1,2 @@ +DropQuery pr_t (children 1) + Identifier pr_t diff --git a/parser/testdata/03560_parallel_replicas_projection/explain.txt b/parser/testdata/03560_parallel_replicas_projection/explain.txt new file mode 100644 index 000000000..34d6920d1 --- /dev/null +++ b/parser/testdata/03560_parallel_replicas_projection/explain.txt @@ -0,0 +1,2 @@ +DropQuery normal (children 1) + Identifier normal diff --git a/parser/testdata/03560_validate_max_insert_block_size/explain.txt b/parser/testdata/03560_validate_max_insert_block_size/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/03560_validate_max_insert_block_size/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/03561_analyzer_cte_cycle_resolve_bug/explain.txt b/parser/testdata/03561_analyzer_cte_cycle_resolve_bug/explain.txt new file mode 100644 index 000000000..66d6339bd --- /dev/null +++ b/parser/testdata/03561_analyzer_cte_cycle_resolve_bug/explain.txt @@ -0,0 +1,12 @@ +CreateQuery users (children 3) + Identifier users + Columns definition (children 1) + ExpressionList (children 3) + ColumnDeclaration uid (children 1) + DataType Int16 + ColumnDeclaration name (children 1) + DataType String + ColumnDeclaration age (children 1) + DataType Int16 + Storage definition (children 1) + Function Memory diff --git a/parser/testdata/03561_colorSRGBToOKLCH/explain.txt b/parser/testdata/03561_colorSRGBToOKLCH/explain.txt new file mode 100644 index 000000000..ca84b6e18 --- /dev/null +++ b/parser/testdata/03561_colorSRGBToOKLCH/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'--- Wrong arguments\' diff --git a/parser/testdata/03561_materialized_subcolumns_materialized_view/explain.txt b/parser/testdata/03561_materialized_subcolumns_materialized_view/explain.txt new file mode 100644 index 000000000..38fedcae1 --- /dev/null +++ b/parser/testdata/03561_materialized_subcolumns_materialized_view/explain.txt @@ -0,0 +1,5 @@ +DropQuery (children 1) + ExpressionList (children 3) + TableIdentifier source + TableIdentifier destination + TableIdentifier source_to_destination_mv diff --git a/parser/testdata/03561_two_mvs_bad_select/explain.txt b/parser/testdata/03561_two_mvs_bad_select/explain.txt new file mode 100644 index 000000000..ab608d609 --- /dev/null +++ b/parser/testdata/03561_two_mvs_bad_select/explain.txt @@ -0,0 +1,6 @@ +DropQuery (children 1) + ExpressionList (children 4) + TableIdentifier 03561_t0 + TableIdentifier 03561_t1 + TableIdentifier 03561_v0 + TableIdentifier 03561_v1 diff --git a/parser/testdata/03562_colorOKLCHToSRGB/explain.txt b/parser/testdata/03562_colorOKLCHToSRGB/explain.txt new file mode 100644 index 000000000..ca84b6e18 --- /dev/null +++ b/parser/testdata/03562_colorOKLCHToSRGB/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'--- Wrong arguments\' diff --git a/parser/testdata/03562_geometry_type/explain.txt b/parser/testdata/03562_geometry_type/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03562_geometry_type/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03562_json_date_as_integer/explain.txt b/parser/testdata/03562_json_date_as_integer/explain.txt new file mode 100644 index 000000000..c6f21d28e --- /dev/null +++ b/parser/testdata/03562_json_date_as_integer/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function format (children 1) + ExpressionList (children 3) + Identifier JSONEachRow + Identifier a Date + Literal \'{"a" : 52}\' diff --git a/parser/testdata/03562_parallel_replicas_remote_with_cluster/explain.txt b/parser/testdata/03562_parallel_replicas_remote_with_cluster/explain.txt new file mode 100644 index 000000000..06e02b3e4 --- /dev/null +++ b/parser/testdata/03562_parallel_replicas_remote_with_cluster/explain.txt @@ -0,0 +1,2 @@ +DropQuery tt (children 1) + Identifier tt diff --git a/parser/testdata/03562_parallel_replicas_subquery_has_final/explain.txt b/parser/testdata/03562_parallel_replicas_subquery_has_final/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03562_parallel_replicas_subquery_has_final/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03562_system_database_replicas/explain.txt b/parser/testdata/03562_system_database_replicas/explain.txt new file mode 100644 index 000000000..1b07a34f2 --- /dev/null +++ b/parser/testdata/03562_system_database_replicas/explain.txt @@ -0,0 +1,2 @@ +DropQuery db_1 (children 1) + Identifier db_1 diff --git a/parser/testdata/03563_coarser_minmax_indexes_first/explain.txt b/parser/testdata/03563_coarser_minmax_indexes_first/explain.txt new file mode 100644 index 000000000..5203a41c6 --- /dev/null +++ b/parser/testdata/03563_coarser_minmax_indexes_first/explain.txt @@ -0,0 +1,2 @@ +DropQuery skip_table (children 1) + Identifier skip_table diff --git a/parser/testdata/03565_clickhouse_smaller_indexes_first/explain.txt b/parser/testdata/03565_clickhouse_smaller_indexes_first/explain.txt new file mode 100644 index 000000000..5203a41c6 --- /dev/null +++ b/parser/testdata/03565_clickhouse_smaller_indexes_first/explain.txt @@ -0,0 +1,2 @@ +DropQuery skip_table (children 1) + Identifier skip_table diff --git a/parser/testdata/03565_iceberg_field_ids_table/explain.txt b/parser/testdata/03565_iceberg_field_ids_table/explain.txt new file mode 100644 index 000000000..ecbca6630 --- /dev/null +++ b/parser/testdata/03565_iceberg_field_ids_table/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function icebergS3 (children 1) + ExpressionList (children 3) + Identifier s3_conn + Function equals (children 1) + ExpressionList (children 2) + Identifier filename + Literal \'field_ids_table_test\' + Set + ExpressionList (children 1) + OrderByElement (children 1) + Identifier ALL diff --git a/parser/testdata/03565_union_all_nullptr/explain.txt b/parser/testdata/03565_union_all_nullptr/explain.txt new file mode 100644 index 000000000..9f0484e17 --- /dev/null +++ b/parser/testdata/03565_union_all_nullptr/explain.txt @@ -0,0 +1,6 @@ +CreateQuery t (children 2) + Identifier t + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration x (children 1) + DataType UInt8 diff --git a/parser/testdata/03566_analyzer_single_with_scope/explain.txt b/parser/testdata/03566_analyzer_single_with_scope/explain.txt new file mode 100644 index 000000000..7eb314294 --- /dev/null +++ b/parser/testdata/03566_analyzer_single_with_scope/explain.txt @@ -0,0 +1,12 @@ +CreateQuery tab (children 3) + Identifier tab + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration x (children 1) + DataType String + ColumnDeclaration y (children 1) + DataType UInt8 + Storage definition (children 2) + Function MergeTree + Function tuple (children 1) + ExpressionList diff --git a/parser/testdata/03566_inconsistent_formatting_functions_codecs/explain.txt b/parser/testdata/03566_inconsistent_formatting_functions_codecs/explain.txt new file mode 100644 index 000000000..5b9dbf0b9 --- /dev/null +++ b/parser/testdata/03566_inconsistent_formatting_functions_codecs/explain.txt @@ -0,0 +1,9 @@ +CreateQuery a (children 3) + Identifier a + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration b (children 1) + DataType UInt8 + Storage definition (children 2) + Function MergeTree + Identifier b diff --git a/parser/testdata/03566_low_cardinality_nan_unique/explain.txt b/parser/testdata/03566_low_cardinality_nan_unique/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03566_low_cardinality_nan_unique/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03566_one_row_summing_merge_tree/explain.txt b/parser/testdata/03566_one_row_summing_merge_tree/explain.txt new file mode 100644 index 000000000..d4bf1aa3f --- /dev/null +++ b/parser/testdata/03566_one_row_summing_merge_tree/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_table (children 1) + Identifier test_table diff --git a/parser/testdata/03566_system_completions_table/explain.txt b/parser/testdata/03566_system_completions_table/explain.txt new file mode 100644 index 000000000..4169f87e6 --- /dev/null +++ b/parser/testdata/03566_system_completions_table/explain.txt @@ -0,0 +1,2 @@ +CreateQuery 0003566aaadatabase (children 1) + Identifier 0003566aaadatabase diff --git a/parser/testdata/03567_analyzer_single_with_scope_cycle/explain.txt b/parser/testdata/03567_analyzer_single_with_scope_cycle/explain.txt new file mode 100644 index 000000000..7eb314294 --- /dev/null +++ b/parser/testdata/03567_analyzer_single_with_scope_cycle/explain.txt @@ -0,0 +1,12 @@ +CreateQuery tab (children 3) + Identifier tab + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration x (children 1) + DataType String + ColumnDeclaration y (children 1) + DataType UInt8 + Storage definition (children 2) + Function MergeTree + Function tuple (children 1) + ExpressionList diff --git a/parser/testdata/03567_finalize_write_buffer_valid_utf8/explain.txt b/parser/testdata/03567_finalize_write_buffer_valid_utf8/explain.txt new file mode 100644 index 000000000..a4a28ccd7 --- /dev/null +++ b/parser/testdata/03567_finalize_write_buffer_valid_utf8/explain.txt @@ -0,0 +1,15 @@ +InsertQuery (children 3) + Function file (children 1) + ExpressionList (children 3) + Function currentDatabase (children 1) + ExpressionList + Literal \'JSONColumns\' + Literal \'c0 Enum(x\\\'e2\\\' = 1)\' + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Literal Int64_-1 + Set + Set +The query succeeded but the server error '691' was expected (query: EXPLAIN AST INSERT INTO TABLE FUNCTION file(currentDatabase(), 'JSONColumns', 'c0 Enum(x\'e2\' = 1)') SELECT -1 SETTINGS output_format_json_validate_utf8 = 1; -- { serverError UNKNOWN_ELEMENT_OF_ENUM }). diff --git a/parser/testdata/03567_join_using_projection_distributed/explain.txt b/parser/testdata/03567_join_using_projection_distributed/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/03567_join_using_projection_distributed/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/03567_json_extract_case_insensitive_edge_cases/explain.txt b/parser/testdata/03567_json_extract_case_insensitive_edge_cases/explain.txt new file mode 100644 index 000000000..862fa7a50 --- /dev/null +++ b/parser/testdata/03567_json_extract_case_insensitive_edge_cases/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'--Edge cases for JSONExtractCaseInsensitive--\' diff --git a/parser/testdata/03567_nowInBlock64/explain.txt b/parser/testdata/03567_nowInBlock64/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03567_nowInBlock64/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03568_ddsketch_merge/metadata.json b/parser/testdata/03568_ddsketch_merge/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03568_ddsketch_merge/metadata.json +++ b/parser/testdata/03568_ddsketch_merge/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03568_json_extract_case_insensitive/explain.txt b/parser/testdata/03568_json_extract_case_insensitive/explain.txt new file mode 100644 index 000000000..2f851ad39 --- /dev/null +++ b/parser/testdata/03568_json_extract_case_insensitive/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'--JSONExtractCaseInsensitive--\' diff --git a/parser/testdata/03568_mutation_affected_rows_counter/explain.txt b/parser/testdata/03568_mutation_affected_rows_counter/explain.txt new file mode 100644 index 000000000..3866b5f0f --- /dev/null +++ b/parser/testdata/03568_mutation_affected_rows_counter/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_mutation_rows_counter (children 1) + Identifier t_mutation_rows_counter diff --git a/parser/testdata/03568_udf_memory_tracking/explain.txt b/parser/testdata/03568_udf_memory_tracking/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03568_udf_memory_tracking/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03569_max_joined_block_size_rows_bug/explain.txt b/parser/testdata/03569_max_joined_block_size_rows_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03569_max_joined_block_size_rows_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03570_dateTimeToUUIDv7/explain.txt b/parser/testdata/03570_dateTimeToUUIDv7/explain.txt new file mode 100644 index 000000000..e3f5a0c4d --- /dev/null +++ b/parser/testdata/03570_dateTimeToUUIDv7/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'Negative tests\' diff --git a/parser/testdata/03570_date_to_datetime64_overflow/explain.txt b/parser/testdata/03570_date_to_datetime64_overflow/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03570_date_to_datetime64_overflow/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03570_insert_into_simple_alias/explain.txt b/parser/testdata/03570_insert_into_simple_alias/explain.txt new file mode 100644 index 000000000..1bd450134 --- /dev/null +++ b/parser/testdata/03570_insert_into_simple_alias/explain.txt @@ -0,0 +1,2 @@ +DropQuery alias_insert_test (children 1) + Identifier alias_insert_test diff --git a/parser/testdata/03570_limit_by_all/explain.txt b/parser/testdata/03570_limit_by_all/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03570_limit_by_all/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03571_join_inequality_constants/explain.txt b/parser/testdata/03571_join_inequality_constants/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03571_join_inequality_constants/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03571_limit_by_all_old_planner/explain.txt b/parser/testdata/03571_limit_by_all_old_planner/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03571_limit_by_all_old_planner/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03571_lwd_and_projections/explain.txt b/parser/testdata/03571_lwd_and_projections/explain.txt new file mode 100644 index 000000000..d001019f7 --- /dev/null +++ b/parser/testdata/03571_lwd_and_projections/explain.txt @@ -0,0 +1,2 @@ +DropQuery weird_projections (children 1) + Identifier weird_projections diff --git a/parser/testdata/03571_nullable_format_digit_groups/explain.txt b/parser/testdata/03571_nullable_format_digit_groups/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03571_nullable_format_digit_groups/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03571_trying_to_get_name_of_not_a_column_asterisk/explain.txt b/parser/testdata/03571_trying_to_get_name_of_not_a_column_asterisk/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03571_trying_to_get_name_of_not_a_column_asterisk/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03572_empty_tuple_in_nested_type/explain.txt b/parser/testdata/03572_empty_tuple_in_nested_type/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03572_empty_tuple_in_nested_type/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03572_planner_merge_filter_into_join_bug/explain.txt b/parser/testdata/03572_planner_merge_filter_into_join_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03572_planner_merge_filter_into_join_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03572_pr_remote_in_subquery/explain.txt b/parser/testdata/03572_pr_remote_in_subquery/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03572_pr_remote_in_subquery/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03573_concurrent_hash_scatter_bug/explain.txt b/parser/testdata/03573_concurrent_hash_scatter_bug/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03573_concurrent_hash_scatter_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03573_create_query_parameters_in_to_in_materialized_view/explain.txt b/parser/testdata/03573_create_query_parameters_in_to_in_materialized_view/explain.txt new file mode 100644 index 000000000..90e065833 --- /dev/null +++ b/parser/testdata/03573_create_query_parameters_in_to_in_materialized_view/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function formatQuerySingleLine (children 1) + ExpressionList (children 1) + Literal \'create materialized view mv_kek to {db:Identifier}.{target_table:Identifier} as select * from null_kek\' diff --git a/parser/testdata/03573_json_keys_with_dots/explain.txt b/parser/testdata/03573_json_keys_with_dots/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03573_json_keys_with_dots/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03573_linear_regression_timeseries_functions/explain.txt b/parser/testdata/03573_linear_regression_timeseries_functions/explain.txt new file mode 100644 index 000000000..9c2838cc3 --- /dev/null +++ b/parser/testdata/03573_linear_regression_timeseries_functions/explain.txt @@ -0,0 +1,15 @@ +CreateQuery ts_raw_data (children 3) + Identifier ts_raw_data + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration timestamp (children 1) + DataType DateTime64 (children 1) + ExpressionList (children 2) + Literal UInt64_3 + Literal \'UTC\' + ColumnDeclaration value (children 1) + DataType Float64 + Storage definition (children 2) + Function MergeTree (children 1) + ExpressionList + Identifier timestamp diff --git a/parser/testdata/03573_linear_regression_timeseries_functions_various_arguments/explain.txt b/parser/testdata/03573_linear_regression_timeseries_functions_various_arguments/explain.txt new file mode 100644 index 000000000..007996823 --- /dev/null +++ b/parser/testdata/03573_linear_regression_timeseries_functions_various_arguments/explain.txt @@ -0,0 +1,18 @@ +CreateQuery ts_data (children 3) + Identifier ts_data + Columns definition (children 1) + ExpressionList (children 3) + ColumnDeclaration id (children 1) + DataType UInt64 + ColumnDeclaration timestamps (children 1) + DataType Array (children 1) + ExpressionList (children 1) + DataType DateTime + ColumnDeclaration values (children 1) + DataType Array (children 1) + ExpressionList (children 1) + DataType Float64 + Storage definition (children 2) + Function MergeTree (children 1) + ExpressionList + Identifier id diff --git a/parser/testdata/03573_planner_merge_filter_into_join_bug_2/explain.txt b/parser/testdata/03573_planner_merge_filter_into_join_bug_2/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03573_planner_merge_filter_into_join_bug_2/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03574_analyzer_merge_filter_into_join_bug/explain.txt b/parser/testdata/03574_analyzer_merge_filter_into_join_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03574_analyzer_merge_filter_into_join_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03574_parallel_replicas_last_right_join/explain.txt b/parser/testdata/03574_parallel_replicas_last_right_join/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03574_parallel_replicas_last_right_join/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03575_analyzer_merge_filter_into_join_bug_2/explain.txt b/parser/testdata/03575_analyzer_merge_filter_into_join_bug_2/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03575_analyzer_merge_filter_into_join_bug_2/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03576_analyzer_distributed_correlated_subquery/explain.txt b/parser/testdata/03576_analyzer_distributed_correlated_subquery/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03576_analyzer_distributed_correlated_subquery/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03576_analyzer_recursive_window/explain.txt b/parser/testdata/03576_analyzer_recursive_window/explain.txt new file mode 100644 index 000000000..8827c47de --- /dev/null +++ b/parser/testdata/03576_analyzer_recursive_window/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/03577_assert_on_estimated_block_size_bytes/explain.txt b/parser/testdata/03577_assert_on_estimated_block_size_bytes/explain.txt new file mode 100644 index 000000000..13bc00405 --- /dev/null +++ b/parser/testdata/03577_assert_on_estimated_block_size_bytes/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier c0 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function generateRandom (children 1) + ExpressionList (children 4) + Literal \'c0 Tuple()\' + Literal UInt64_17599311795067409937 + Literal UInt64_1 + Literal UInt64_1 + Literal UInt64_1 diff --git a/parser/testdata/03577_dynamic_json_update_issue/explain.txt b/parser/testdata/03577_dynamic_json_update_issue/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03577_dynamic_json_update_issue/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03577_hash_output_format/explain.txt b/parser/testdata/03577_hash_output_format/explain.txt new file mode 100644 index 000000000..e7b6f4907 --- /dev/null +++ b/parser/testdata/03577_hash_output_format/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_1 + Identifier Hash diff --git a/parser/testdata/03577_server_constant_folding/explain.txt b/parser/testdata/03577_server_constant_folding/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03577_server_constant_folding/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03577_temporary_table_as/explain.txt b/parser/testdata/03577_temporary_table_as/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03577_temporary_table_as/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03577_ub_max_column_in_block_size_bytes/explain.txt b/parser/testdata/03577_ub_max_column_in_block_size_bytes/explain.txt new file mode 100644 index 000000000..bea9ee68e --- /dev/null +++ b/parser/testdata/03577_ub_max_column_in_block_size_bytes/explain.txt @@ -0,0 +1,11 @@ +CreateQuery t0 (children 3) + Identifier t0 + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration c0 (children 1) + DataType Bool + Storage definition (children 2) + Function MergeTree (children 1) + ExpressionList + Function tuple (children 1) + ExpressionList diff --git a/parser/testdata/03577_vairant_lazy_materialization_bug/explain.txt b/parser/testdata/03577_vairant_lazy_materialization_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03577_vairant_lazy_materialization_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03578_distributed_kv_global_in/explain.txt b/parser/testdata/03578_distributed_kv_global_in/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03578_distributed_kv_global_in/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03578_kv_in_type_casts/explain.txt b/parser/testdata/03578_kv_in_type_casts/explain.txt new file mode 100644 index 000000000..992d31ecf --- /dev/null +++ b/parser/testdata/03578_kv_in_type_casts/explain.txt @@ -0,0 +1,2 @@ +DropQuery 03578_rocksdb (children 1) + Identifier 03578_rocksdb diff --git a/parser/testdata/03578_ttl_column_in_order_by_validation/explain.txt b/parser/testdata/03578_ttl_column_in_order_by_validation/explain.txt new file mode 100644 index 000000000..6d4a8b67c --- /dev/null +++ b/parser/testdata/03578_ttl_column_in_order_by_validation/explain.txt @@ -0,0 +1,2 @@ +CreateQuery test_break_ddl (children 1) + Identifier test_break_ddl diff --git a/parser/testdata/03579_mergeTreeIndex_params/explain.txt b/parser/testdata/03579_mergeTreeIndex_params/explain.txt new file mode 100644 index 000000000..bdc5dde8e --- /dev/null +++ b/parser/testdata/03579_mergeTreeIndex_params/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_mt_params (children 1) + Identifier t_mt_params diff --git a/parser/testdata/03579_system_columns_column_alias/explain.txt b/parser/testdata/03579_system_columns_column_alias/explain.txt new file mode 100644 index 000000000..97398935a --- /dev/null +++ b/parser/testdata/03579_system_columns_column_alias/explain.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Identifier name + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.columns + Function and (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier database + Literal \'system\' + Function equals (children 1) + ExpressionList (children 2) + Identifier table + Literal \'columns\' + Literal UInt64_1 diff --git a/parser/testdata/03579_zero_copy_aggregating_final_anyLast/metadata.json b/parser/testdata/03579_zero_copy_aggregating_final_anyLast/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03579_zero_copy_aggregating_final_anyLast/metadata.json +++ b/parser/testdata/03579_zero_copy_aggregating_final_anyLast/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03580_external_merge_sort_with_lazy_columns/explain.txt b/parser/testdata/03580_external_merge_sort_with_lazy_columns/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03580_external_merge_sort_with_lazy_columns/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03580_heredoc_ambiguity/explain.txt b/parser/testdata/03580_heredoc_ambiguity/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03580_heredoc_ambiguity/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03580_improve_prewhere/explain.txt b/parser/testdata/03580_improve_prewhere/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03580_improve_prewhere/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03580_join_runtime_filter/explain.txt b/parser/testdata/03580_join_runtime_filter/explain.txt new file mode 100644 index 000000000..1032f6fd2 --- /dev/null +++ b/parser/testdata/03580_join_runtime_filter/explain.txt @@ -0,0 +1,11 @@ +CreateQuery nation (children 3) + Identifier nation + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration n_nationkey (children 1) + DataType Int32 + ColumnDeclaration n_name (children 1) + DataType String + Storage definition (children 2) + Function MergeTree + Identifier n_nationkey diff --git a/parser/testdata/03580_join_runtime_filter_column_type/explain.txt b/parser/testdata/03580_join_runtime_filter_column_type/explain.txt new file mode 100644 index 000000000..8827c47de --- /dev/null +++ b/parser/testdata/03580_join_runtime_filter_column_type/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/03580_join_runtime_filter_prewhere/explain.txt b/parser/testdata/03580_join_runtime_filter_prewhere/explain.txt new file mode 100644 index 000000000..1032f6fd2 --- /dev/null +++ b/parser/testdata/03580_join_runtime_filter_prewhere/explain.txt @@ -0,0 +1,11 @@ +CreateQuery nation (children 3) + Identifier nation + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration n_nationkey (children 1) + DataType Int32 + ColumnDeclaration n_name (children 1) + DataType String + Storage definition (children 2) + Function MergeTree + Identifier n_nationkey diff --git a/parser/testdata/03580_join_runtime_filter_pushdown/explain.txt b/parser/testdata/03580_join_runtime_filter_pushdown/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03580_join_runtime_filter_pushdown/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03580_s3queue_settings_store/explain.txt b/parser/testdata/03580_s3queue_settings_store/explain.txt new file mode 100644 index 000000000..c1b72ee7a --- /dev/null +++ b/parser/testdata/03580_s3queue_settings_store/explain.txt @@ -0,0 +1,2 @@ +CreateQuery s3queue_test (children 1) + Identifier s3queue_test diff --git a/parser/testdata/03581_bool_literal_column_name/explain.txt b/parser/testdata/03581_bool_literal_column_name/explain.txt new file mode 100644 index 000000000..8210e347c --- /dev/null +++ b/parser/testdata/03581_bool_literal_column_name/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function toTypeName (children 1) + ExpressionList (children 1) + Literal UInt64_0 + Function toTypeName (children 1) + ExpressionList (children 1) + Literal Bool_0 diff --git a/parser/testdata/03581_iceberg_struct_fields_ids/explain.txt b/parser/testdata/03581_iceberg_struct_fields_ids/explain.txt new file mode 100644 index 000000000..c49bd8e91 --- /dev/null +++ b/parser/testdata/03581_iceberg_struct_fields_ids/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function icebergS3 (children 1) + ExpressionList (children 3) + Identifier s3_conn + Function equals (children 1) + ExpressionList (children 2) + Identifier filename + Literal \'field_ids_struct_test\' + Set + ExpressionList (children 1) + OrderByElement (children 1) + Identifier ALL diff --git a/parser/testdata/03581_nested_storage_merge_distributed_order_by/explain.txt b/parser/testdata/03581_nested_storage_merge_distributed_order_by/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03581_nested_storage_merge_distributed_order_by/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03581_parallel_replicas_read_empty_ranges/metadata.json b/parser/testdata/03581_parallel_replicas_read_empty_ranges/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03581_parallel_replicas_read_empty_ranges/metadata.json +++ b/parser/testdata/03581_parallel_replicas_read_empty_ranges/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03581_parallel_replicas_task_size/explain.txt b/parser/testdata/03581_parallel_replicas_task_size/explain.txt new file mode 100644 index 000000000..fdeb09d4c --- /dev/null +++ b/parser/testdata/03581_parallel_replicas_task_size/explain.txt @@ -0,0 +1,12 @@ +CreateQuery t (children 3) + Identifier t + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration a (children 1) + DataType UInt64 + ColumnDeclaration s (children 1) + DataType String + Storage definition (children 3) + Function MergeTree + Identifier a + Set diff --git a/parser/testdata/03581_read_in_order_use_virtual_row_WHERE/explain.txt b/parser/testdata/03581_read_in_order_use_virtual_row_WHERE/explain.txt new file mode 100644 index 000000000..8421ce705 --- /dev/null +++ b/parser/testdata/03581_read_in_order_use_virtual_row_WHERE/explain.txt @@ -0,0 +1,11 @@ +CreateQuery tab (children 3) + Identifier tab + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration x (children 1) + DataType UInt64 + ColumnDeclaration y (children 1) + DataType UInt64 + Storage definition (children 2) + Function MergeTree + Identifier x diff --git a/parser/testdata/03582_initcap_fixedstring/explain.txt b/parser/testdata/03582_initcap_fixedstring/explain.txt new file mode 100644 index 000000000..58608a58f --- /dev/null +++ b/parser/testdata/03582_initcap_fixedstring/explain.txt @@ -0,0 +1,12 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function initCap (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Function arrayJoin (children 1) + ExpressionList (children 1) + Literal Array_[\'hello\', \'world\'] + Literal \'FixedString(5)\' diff --git a/parser/testdata/03582_normalize_utf8_empty/metadata.json b/parser/testdata/03582_normalize_utf8_empty/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03582_normalize_utf8_empty/metadata.json +++ b/parser/testdata/03582_normalize_utf8_empty/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03582_pr_read_in_order_hits/explain.txt b/parser/testdata/03582_pr_read_in_order_hits/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03582_pr_read_in_order_hits/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03583_rewrite_in_to_join/explain.txt b/parser/testdata/03583_rewrite_in_to_join/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03583_rewrite_in_to_join/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03591_optimize_prewhere_row_policy/explain.txt b/parser/testdata/03591_optimize_prewhere_row_policy/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03591_optimize_prewhere_row_policy/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03592_dictionary_columns_trailing_comma/explain.txt b/parser/testdata/03592_dictionary_columns_trailing_comma/explain.txt new file mode 100644 index 000000000..09beab7b3 --- /dev/null +++ b/parser/testdata/03592_dictionary_columns_trailing_comma/explain.txt @@ -0,0 +1,21 @@ +CreateQuery t_03592 (children 3) + Identifier t_03592 + ExpressionList (children 2) + DictionaryAttributeDeclaration k (children 1) + DataType UInt64 + DictionaryAttributeDeclaration v (children 1) + DataType Decimal (children 1) + ExpressionList (children 1) + Literal UInt64_8 + Dictionary definition (children 4) + ExpressionList (children 1) + Identifier k + FunctionWithKeyValueArguments http (children 1) + ExpressionList (children 2) + pair (children 1) + Literal \'http://example.test/\' + pair (children 1) + Literal \'TSV\' + Dictionary lifetime + Dictionary layout (children 1) + ExpressionList diff --git a/parser/testdata/03592_distributed_alter_check_sharding_key/explain.txt b/parser/testdata/03592_distributed_alter_check_sharding_key/explain.txt new file mode 100644 index 000000000..1bfd913a7 --- /dev/null +++ b/parser/testdata/03592_distributed_alter_check_sharding_key/explain.txt @@ -0,0 +1,15 @@ +CreateQuery t1 (children 3) + Identifier t1 + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration c0 (children 1) + DataType Int + ColumnDeclaration c1 (children 1) + DataType Int + Storage definition (children 1) + Function Distributed (children 1) + ExpressionList (children 4) + Literal \'test_shard_localhost\' + Identifier default + Identifier t0 + Identifier c1 diff --git a/parser/testdata/03592_s3queue_large_settings/explain.txt b/parser/testdata/03592_s3queue_large_settings/explain.txt new file mode 100644 index 000000000..3a6389778 --- /dev/null +++ b/parser/testdata/03592_s3queue_large_settings/explain.txt @@ -0,0 +1,16 @@ +CreateQuery s3_queue (children 3) + Identifier s3_queue + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration name (children 1) + DataType String + ColumnDeclaration value (children 1) + DataType UInt32 + Storage definition (children 2) + Function S3Queue (children 1) + ExpressionList (children 4) + Literal \'http://localhost:11111/test/{a,b,c}.tsv\' + Literal \'user\' + Literal \'password\' + Identifier CSV + Set diff --git a/parser/testdata/03593_allow_projection_with_parent_part_offset/explain.txt b/parser/testdata/03593_allow_projection_with_parent_part_offset/explain.txt new file mode 100644 index 000000000..2b0fbef6a --- /dev/null +++ b/parser/testdata/03593_allow_projection_with_parent_part_offset/explain.txt @@ -0,0 +1,2 @@ +DropQuery 03593_t (children 1) + Identifier 03593_t diff --git a/parser/testdata/03593_any_join_swap_tables/explain.txt b/parser/testdata/03593_any_join_swap_tables/explain.txt new file mode 100644 index 000000000..4a4482c94 --- /dev/null +++ b/parser/testdata/03593_any_join_swap_tables/explain.txt @@ -0,0 +1,6 @@ +CreateQuery lhs (children 2) + Identifier lhs + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration a (children 1) + DataType UInt32 diff --git a/parser/testdata/03593_backup_with_broken_projection/explain.txt b/parser/testdata/03593_backup_with_broken_projection/explain.txt new file mode 100644 index 000000000..16d11cf53 --- /dev/null +++ b/parser/testdata/03593_backup_with_broken_projection/explain.txt @@ -0,0 +1,2 @@ +CreateQuery 03593_backup_with_broken_projection (children 1) + Identifier 03593_backup_with_broken_projection diff --git a/parser/testdata/03593_funcs_on_empty_string/explain.txt b/parser/testdata/03593_funcs_on_empty_string/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03593_funcs_on_empty_string/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03593_remote_map_in/explain.txt b/parser/testdata/03593_remote_map_in/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03593_remote_map_in/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03594_coalescing_merge_tree_segfault/explain.txt b/parser/testdata/03594_coalescing_merge_tree_segfault/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03594_coalescing_merge_tree_segfault/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03594_constraint_subqery_logical_error/explain.txt b/parser/testdata/03594_constraint_subqery_logical_error/explain.txt new file mode 100644 index 000000000..50b54641a --- /dev/null +++ b/parser/testdata/03594_constraint_subqery_logical_error/explain.txt @@ -0,0 +1,11 @@ +CreateQuery check_constraint (children 3) + Identifier check_constraint + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration c0 (children 1) + DataType Int + Storage definition (children 2) + Function MergeTree (children 1) + ExpressionList + Function tuple (children 1) + ExpressionList diff --git a/parser/testdata/03594_funcs_on_empty_arguments/explain.txt b/parser/testdata/03594_funcs_on_empty_arguments/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03594_funcs_on_empty_arguments/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03594_is_valid_ascii/explain.txt b/parser/testdata/03594_is_valid_ascii/explain.txt new file mode 100644 index 000000000..96d970cb1 --- /dev/null +++ b/parser/testdata/03594_is_valid_ascii/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function equals (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Function isValidASCII (children 1) + ExpressionList (children 1) + Literal \'\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.numbers + Literal UInt64_1 diff --git a/parser/testdata/03594_is_valid_ascii_errors/explain.txt b/parser/testdata/03594_is_valid_ascii_errors/explain.txt new file mode 100644 index 000000000..ae2e3b205 --- /dev/null +++ b/parser/testdata/03594_is_valid_ascii_errors/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function isValidASCII (children 1) + ExpressionList (children 1) + Literal Array_[UInt64_1, UInt64_2, UInt64_3] +The query succeeded but the server error '43' was expected (query: EXPLAIN AST SELECT isValidASCII([1, 2, 3]); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }). diff --git a/parser/testdata/03594_json_extract_decimal_precision/explain.txt b/parser/testdata/03594_json_extract_decimal_precision/explain.txt new file mode 100644 index 000000000..92d1888da --- /dev/null +++ b/parser/testdata/03594_json_extract_decimal_precision/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_json_decimal_precision (children 1) + Identifier test_json_decimal_precision diff --git a/parser/testdata/03594_like_perfect_affix_rewrite_pass/explain.txt b/parser/testdata/03594_like_perfect_affix_rewrite_pass/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03594_like_perfect_affix_rewrite_pass/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03594_system_grants_parameters/explain.txt b/parser/testdata/03594_system_grants_parameters/explain.txt new file mode 100644 index 000000000..24ba67fc3 --- /dev/null +++ b/parser/testdata/03594_system_grants_parameters/explain.txt @@ -0,0 +1 @@ +DROP USER query diff --git a/parser/testdata/03595_alter_drop_column_comment_if_exists/explain.txt b/parser/testdata/03595_alter_drop_column_comment_if_exists/explain.txt new file mode 100644 index 000000000..620526390 --- /dev/null +++ b/parser/testdata/03595_alter_drop_column_comment_if_exists/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_alter_drop_comment (children 1) + Identifier test_alter_drop_comment diff --git a/parser/testdata/03595_alter_if_exists_mixed_commands/explain.txt b/parser/testdata/03595_alter_if_exists_mixed_commands/explain.txt new file mode 100644 index 000000000..fbf31aabe --- /dev/null +++ b/parser/testdata/03595_alter_if_exists_mixed_commands/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_alter_mixed (children 1) + Identifier test_alter_mixed diff --git a/parser/testdata/03595_alter_if_exists_runtime_check/explain.txt b/parser/testdata/03595_alter_if_exists_runtime_check/explain.txt new file mode 100644 index 000000000..9158f2f3c --- /dev/null +++ b/parser/testdata/03595_alter_if_exists_runtime_check/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_alter_if_exists (children 1) + Identifier test_alter_if_exists diff --git a/parser/testdata/03595_analyzer_lateral_join/explain.txt b/parser/testdata/03595_analyzer_lateral_join/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03595_analyzer_lateral_join/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03595_changes_timeseries_functions/explain.txt b/parser/testdata/03595_changes_timeseries_functions/explain.txt new file mode 100644 index 000000000..9c2838cc3 --- /dev/null +++ b/parser/testdata/03595_changes_timeseries_functions/explain.txt @@ -0,0 +1,15 @@ +CreateQuery ts_raw_data (children 3) + Identifier ts_raw_data + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration timestamp (children 1) + DataType DateTime64 (children 1) + ExpressionList (children 2) + Literal UInt64_3 + Literal \'UTC\' + ColumnDeclaration value (children 1) + DataType Float64 + Storage definition (children 2) + Function MergeTree (children 1) + ExpressionList + Identifier timestamp diff --git a/parser/testdata/03595_changes_timeseries_functions_various_arguments/explain.txt b/parser/testdata/03595_changes_timeseries_functions_various_arguments/explain.txt new file mode 100644 index 000000000..007996823 --- /dev/null +++ b/parser/testdata/03595_changes_timeseries_functions_various_arguments/explain.txt @@ -0,0 +1,18 @@ +CreateQuery ts_data (children 3) + Identifier ts_data + Columns definition (children 1) + ExpressionList (children 3) + ColumnDeclaration id (children 1) + DataType UInt64 + ColumnDeclaration timestamps (children 1) + DataType Array (children 1) + ExpressionList (children 1) + DataType DateTime + ColumnDeclaration values (children 1) + DataType Array (children 1) + ExpressionList (children 1) + DataType Float64 + Storage definition (children 2) + Function MergeTree (children 1) + ExpressionList + Identifier id diff --git a/parser/testdata/03595_convert_any_join_to_semi_or_anti/explain.txt b/parser/testdata/03595_convert_any_join_to_semi_or_anti/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03595_convert_any_join_to_semi_or_anti/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03595_equality_deletes_simple/explain.txt b/parser/testdata/03595_equality_deletes_simple/explain.txt new file mode 100644 index 000000000..b499adc8b --- /dev/null +++ b/parser/testdata/03595_equality_deletes_simple/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function sum (children 1) + ExpressionList (children 1) + Identifier id + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function icebergS3 (children 1) + ExpressionList (children 2) + Identifier s3_conn + Function equals (children 1) + ExpressionList (children 2) + Identifier filename + Literal \'deletes_db/eq_deletes_table\' diff --git a/parser/testdata/03595_exists_as_scalar_subquery/explain.txt b/parser/testdata/03595_exists_as_scalar_subquery/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03595_exists_as_scalar_subquery/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03595_extract_url_parameters/explain.txt b/parser/testdata/03595_extract_url_parameters/explain.txt new file mode 100644 index 000000000..180863995 --- /dev/null +++ b/parser/testdata/03595_extract_url_parameters/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function sum (children 1) + ExpressionList (children 1) + Function cityHash64 (children 1) + ExpressionList (children 1) + Function extractURLParameters (children 1) + ExpressionList (children 1) + Identifier URL + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier test.hits diff --git a/parser/testdata/03595_funcs_on_zero/explain.txt b/parser/testdata/03595_funcs_on_zero/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03595_funcs_on_zero/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03595_parallel_replicas_join_remote/explain.txt b/parser/testdata/03595_parallel_replicas_join_remote/explain.txt new file mode 100644 index 000000000..a651c8e96 --- /dev/null +++ b/parser/testdata/03595_parallel_replicas_join_remote/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_join_remote_l (children 1) + Identifier test_join_remote_l diff --git a/parser/testdata/03595_pread_threadpool_direct_io/explain.txt b/parser/testdata/03595_pread_threadpool_direct_io/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03595_pread_threadpool_direct_io/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03595_set_query_no_eq_set_to_one/explain.txt b/parser/testdata/03595_set_query_no_eq_set_to_one/explain.txt new file mode 100644 index 000000000..256bac938 --- /dev/null +++ b/parser/testdata/03595_set_query_no_eq_set_to_one/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 4) + Identifier name + Identifier value + Identifier changed + Identifier default + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.settings + Function equals (children 1) + ExpressionList (children 2) + Identifier name + Literal \'force_index_by_date\' + Set diff --git a/parser/testdata/03596_alter_update_column_with_subcolumn_used_in_materialized_expression/explain.txt b/parser/testdata/03596_alter_update_column_with_subcolumn_used_in_materialized_expression/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03596_alter_update_column_with_subcolumn_used_in_materialized_expression/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03596_parquet_prewhere_page_skip_bug/explain.txt b/parser/testdata/03596_parquet_prewhere_page_skip_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03596_parquet_prewhere_page_skip_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03597_alter_column_with_subcolumn_in_key/explain.txt b/parser/testdata/03597_alter_column_with_subcolumn_in_key/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03597_alter_column_with_subcolumn_in_key/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03598_json_enum_default_value_in_typed_path/explain.txt b/parser/testdata/03598_json_enum_default_value_in_typed_path/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03598_json_enum_default_value_in_typed_path/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03599_bad_date_and_datetimes_inference/explain.txt b/parser/testdata/03599_bad_date_and_datetimes_inference/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03599_bad_date_and_datetimes_inference/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03599_lightweight_delete_vertical_merge/explain.txt b/parser/testdata/03599_lightweight_delete_vertical_merge/explain.txt new file mode 100644 index 000000000..461daddfe --- /dev/null +++ b/parser/testdata/03599_lightweight_delete_vertical_merge/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_lwd_vertical (children 1) + Identifier t_lwd_vertical diff --git a/parser/testdata/03600_analyzer_setting_bool/explain.txt b/parser/testdata/03600_analyzer_setting_bool/explain.txt new file mode 100644 index 000000000..f58e3fbda --- /dev/null +++ b/parser/testdata/03600_analyzer_setting_bool/explain.txt @@ -0,0 +1,6 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Literal UInt64_1 + Set diff --git a/parser/testdata/03600_replace_fixed_string_bug/explain.txt b/parser/testdata/03600_replace_fixed_string_bug/explain.txt new file mode 100644 index 000000000..3f2561f7c --- /dev/null +++ b/parser/testdata/03600_replace_fixed_string_bug/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function replace (children 1) + ExpressionList (children 3) + Function materialize (children 1) + ExpressionList (children 1) + Function toFixedString (children 1) + ExpressionList (children 2) + Literal \'a\' + Literal UInt64_1 + Literal \'\' + Literal \'\' diff --git a/parser/testdata/03601_histogram_quantile/explain.txt b/parser/testdata/03601_histogram_quantile/explain.txt new file mode 100644 index 000000000..ed632092f --- /dev/null +++ b/parser/testdata/03601_histogram_quantile/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function quantilePrometheusHistogram (children 2) + ExpressionList (children 2) + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier args + Literal UInt64_1 + Function plus (children 1) + ExpressionList (children 2) + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier args + Literal UInt64_2 + Identifier number + ExpressionList (children 1) + Literal Float64_0.9 diff --git a/parser/testdata/03601_inconsistent_table_names/explain.txt b/parser/testdata/03601_inconsistent_table_names/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03601_inconsistent_table_names/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03601_insert_squashing_remove_const/explain.txt b/parser/testdata/03601_insert_squashing_remove_const/explain.txt new file mode 100644 index 000000000..b069b821d --- /dev/null +++ b/parser/testdata/03601_insert_squashing_remove_const/explain.txt @@ -0,0 +1,2 @@ +DropQuery tbl_x (children 1) + Identifier tbl_x diff --git a/parser/testdata/03601_json_from_string_accurate_cast_or_null/explain.txt b/parser/testdata/03601_json_from_string_accurate_cast_or_null/explain.txt new file mode 100644 index 000000000..4d835b450 --- /dev/null +++ b/parser/testdata/03601_json_from_string_accurate_cast_or_null/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function accurateCastOrNull (children 1) + ExpressionList (children 2) + Literal \'{"a" : 42, "a" : 43}\' + Literal \'JSON\' diff --git a/parser/testdata/03601_replace_regex_fixedstring_empty_needle/explain.txt b/parser/testdata/03601_replace_regex_fixedstring_empty_needle/explain.txt new file mode 100644 index 000000000..d0199664b --- /dev/null +++ b/parser/testdata/03601_replace_regex_fixedstring_empty_needle/explain.txt @@ -0,0 +1,19 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function replaceRegexpAll (children 1) + ExpressionList (children 3) + Function materialize (children 1) + ExpressionList (children 1) + Function toFixedString (children 1) + ExpressionList (children 2) + Function toLowCardinality (children 1) + ExpressionList (children 1) + Function concat (children 1) + ExpressionList (children 2) + Literal \'z\' + Identifier number + Literal UInt64_2 + Literal \'\' + Literal \'aazzqa\' diff --git a/parser/testdata/03601_temporary_views/explain.txt b/parser/testdata/03601_temporary_views/explain.txt new file mode 100644 index 000000000..29ee1f487 --- /dev/null +++ b/parser/testdata/03601_temporary_views/explain.txt @@ -0,0 +1,10 @@ +CreateQuery t_src (children 3) + Identifier t_src + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration id (children 1) + DataType UInt32 + ColumnDeclaration val (children 1) + DataType String + Storage definition (children 1) + Function Memory diff --git a/parser/testdata/03602_alter_update_nullable_json/explain.txt b/parser/testdata/03602_alter_update_nullable_json/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03602_alter_update_nullable_json/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03602_embeddedrock_path/explain.txt b/parser/testdata/03602_embeddedrock_path/explain.txt new file mode 100644 index 000000000..7c0066947 --- /dev/null +++ b/parser/testdata/03602_embeddedrock_path/explain.txt @@ -0,0 +1,2 @@ +CreateQuery embeddedrock_exploit (children 1) + Identifier embeddedrock_exploit diff --git a/parser/testdata/03602_query_system_tables_definer/explain.txt b/parser/testdata/03602_query_system_tables_definer/explain.txt new file mode 100644 index 000000000..df19bf2f2 --- /dev/null +++ b/parser/testdata/03602_query_system_tables_definer/explain.txt @@ -0,0 +1,22 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function notEquals (children 1) + ExpressionList (children 2) + Function count (children 1) + ExpressionList + Literal UInt64_0 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Identifier definer + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.tables diff --git a/parser/testdata/03603_getSubcolumnType_msan/explain.txt b/parser/testdata/03603_getSubcolumnType_msan/explain.txt new file mode 100644 index 000000000..16a38543e --- /dev/null +++ b/parser/testdata/03603_getSubcolumnType_msan/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function CAST (alias x) (children 1) + ExpressionList (children 2) + Literal \'{}\' + Literal \'JSON\' + Function equals (children 1) + ExpressionList (children 2) + Identifier x.^`c0` + Literal UInt64_1 +The query succeeded but the server error '[43, 47]' was expected (query: EXPLAIN AST SELECT '{}'::JSON x QUALIFY x.^c0 = 1; -- { serverError ILLEGAL_TYPE_OF_ARGUMENT, UNKNOWN_IDENTIFIER }). diff --git a/parser/testdata/03603_ip_binary_operators/explain.txt b/parser/testdata/03603_ip_binary_operators/explain.txt new file mode 100644 index 000000000..7a5b5fc90 --- /dev/null +++ b/parser/testdata/03603_ip_binary_operators/explain.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function plus (children 1) + ExpressionList (children 2) + Function now (children 1) + ExpressionList + Function CAST (children 1) + ExpressionList (children 2) + Function toFixedString (children 1) + ExpressionList (children 2) + Function materialize (children 1) + ExpressionList (children 1) + Function toNullable (children 1) + ExpressionList (children 1) + Literal \'1\' + Literal UInt64_1 + Literal \'IPv6\' +The query succeeded but the server error '43' was expected (query: EXPLAIN AST SELECT now() + CAST(toFixedString(materialize(toNullable('1')), 1), 'IPv6'); -- {serverError ILLEGAL_TYPE_OF_ARGUMENT}). diff --git a/parser/testdata/03603_reading_s3_cluster_all_nodes_unavailable/explain.txt b/parser/testdata/03603_reading_s3_cluster_all_nodes_unavailable/explain.txt new file mode 100644 index 000000000..1683fe782 --- /dev/null +++ b/parser/testdata/03603_reading_s3_cluster_all_nodes_unavailable/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function s3Cluster (children 1) + ExpressionList (children 2) + Literal \'test_cluster_multiple_nodes_all_unavailable\' + Literal \'http://localhost:11111/test/a.tsv\' +The query succeeded but the server error '279' was expected (query: EXPLAIN AST SELECT * FROM s3Cluster('test_cluster_multiple_nodes_all_unavailable', 'http://localhost:11111/test/a.tsv'); -- { serverError ALL_CONNECTION_TRIES_FAILED }). diff --git a/parser/testdata/03604_and_join_use_nulls_bug_83977/explain.txt b/parser/testdata/03604_and_join_use_nulls_bug_83977/explain.txt new file mode 100644 index 000000000..25cbcb8af --- /dev/null +++ b/parser/testdata/03604_and_join_use_nulls_bug_83977/explain.txt @@ -0,0 +1,11 @@ +CreateQuery AA (children 3) + Identifier AA + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration key (children 1) + DataType String + ColumnDeclaration value (children 1) + DataType Int64 + Storage definition (children 2) + Function MergeTree + Identifier key diff --git a/parser/testdata/03604_dynamic_key_in_join/explain.txt b/parser/testdata/03604_dynamic_key_in_join/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03604_dynamic_key_in_join/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03604_functions_to_subcolumns_outer_join/explain.txt b/parser/testdata/03604_functions_to_subcolumns_outer_join/explain.txt new file mode 100644 index 000000000..9f4cd7313 --- /dev/null +++ b/parser/testdata/03604_functions_to_subcolumns_outer_join/explain.txt @@ -0,0 +1,2 @@ +DropQuery users (children 1) + Identifier users diff --git a/parser/testdata/03604_join_reorder_pinned_bug/explain.txt b/parser/testdata/03604_join_reorder_pinned_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03604_join_reorder_pinned_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03604_key_condition_set_tuple_bug/explain.txt b/parser/testdata/03604_key_condition_set_tuple_bug/explain.txt new file mode 100644 index 000000000..76b2579d4 --- /dev/null +++ b/parser/testdata/03604_key_condition_set_tuple_bug/explain.txt @@ -0,0 +1,20 @@ +CreateQuery t (children 3) + Identifier t + Columns definition (children 1) + ExpressionList (children 4) + ColumnDeclaration a (children 1) + DataType String + ColumnDeclaration b (children 1) + DataType String + ColumnDeclaration c (children 1) + DataType String + ColumnDeclaration d (children 1) + DataType String + Storage definition (children 2) + Function tuple (children 1) + ExpressionList (children 4) + Identifier a + Identifier b + Identifier c + Identifier d + Set diff --git a/parser/testdata/03604_parallel_with_query_lock/explain.txt b/parser/testdata/03604_parallel_with_query_lock/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03604_parallel_with_query_lock/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03604_plan_step_description_limit/explain.txt b/parser/testdata/03604_plan_step_description_limit/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03604_plan_step_description_limit/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03604_string_with_size_stream/explain.txt b/parser/testdata/03604_string_with_size_stream/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03604_string_with_size_stream/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03604_test_merge_tree_min_read_task_size_is_zero/explain.txt b/parser/testdata/03604_test_merge_tree_min_read_task_size_is_zero/explain.txt new file mode 100644 index 000000000..f960ce559 --- /dev/null +++ b/parser/testdata/03604_test_merge_tree_min_read_task_size_is_zero/explain.txt @@ -0,0 +1,2 @@ +DropQuery 03604_test (children 1) + Identifier 03604_test diff --git a/parser/testdata/03604_to_date_casts/explain.txt b/parser/testdata/03604_to_date_casts/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03604_to_date_casts/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03605_dynamic_to_nullable_low_cardinality_bug/explain.txt b/parser/testdata/03605_dynamic_to_nullable_low_cardinality_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03605_dynamic_to_nullable_low_cardinality_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03606_nullable_json_group_by/explain.txt b/parser/testdata/03606_nullable_json_group_by/explain.txt new file mode 100644 index 000000000..5f08af562 --- /dev/null +++ b/parser/testdata/03606_nullable_json_group_by/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Literal \'{"a" : 42}\' + Literal \'Nullable(JSON)\' + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/03610_disjunctions_pushdown_optimization/explain.txt b/parser/testdata/03610_disjunctions_pushdown_optimization/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03610_disjunctions_pushdown_optimization/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03610_remote_queries_with_describe_compact_output/explain.txt b/parser/testdata/03610_remote_queries_with_describe_compact_output/explain.txt new file mode 100644 index 000000000..bd7b36d55 --- /dev/null +++ b/parser/testdata/03610_remote_queries_with_describe_compact_output/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function remote (children 1) + ExpressionList (children 2) + Literal \'127.2\' + Identifier system.one + Set diff --git a/parser/testdata/03611_cte_deterministic/explain.txt b/parser/testdata/03611_cte_deterministic/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03611_cte_deterministic/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03611_null_safe_comparsion/explain.txt b/parser/testdata/03611_null_safe_comparsion/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03611_null_safe_comparsion/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03611_point_in_polygon_key_condition_bug/explain.txt b/parser/testdata/03611_point_in_polygon_key_condition_bug/explain.txt new file mode 100644 index 000000000..416729fe5 --- /dev/null +++ b/parser/testdata/03611_point_in_polygon_key_condition_bug/explain.txt @@ -0,0 +1,14 @@ +CreateQuery p3 (children 3) + Identifier p3 + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration x (children 1) + DataType Int64 + ColumnDeclaration y (children 1) + DataType Int64 + Storage definition (children 2) + Function MergeTree + Function tuple (children 1) + ExpressionList (children 2) + Identifier x + Identifier y diff --git a/parser/testdata/03611_pr_global_join/explain.txt b/parser/testdata/03611_pr_global_join/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/03611_pr_global_join/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/03611_uniqExact_bug/explain.txt b/parser/testdata/03611_uniqExact_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03611_uniqExact_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03611_verify_exception_in_iceberg_iterator/explain.txt b/parser/testdata/03611_verify_exception_in_iceberg_iterator/explain.txt new file mode 100644 index 000000000..38fc43f62 --- /dev/null +++ b/parser/testdata/03611_verify_exception_in_iceberg_iterator/explain.txt @@ -0,0 +1,15 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function icebergS3 (children 1) + ExpressionList (children 3) + Literal \'http://localhost:11111/test/corrupted_avro_files_test/\' + Literal \'clickhouse\' + Literal \'clickhouse\' + Set +The query succeeded but the server error '117' was expected (query: EXPLAIN AST SELECT * FROM icebergS3('http://localhost:11111/test/corrupted_avro_files_test/', 'clickhouse', 'clickhouse') SETTINGS use_iceberg_metadata_files_cache = False; -- { serverError INCORRECT_DATA}). diff --git a/parser/testdata/03611_window_definition_parsing/explain.txt b/parser/testdata/03611_window_definition_parsing/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03611_window_definition_parsing/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03612_explain_indexes_bugs/explain.txt b/parser/testdata/03612_explain_indexes_bugs/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03612_explain_indexes_bugs/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03612_storage_cluster_dynamic_subcolumns/explain.txt b/parser/testdata/03612_storage_cluster_dynamic_subcolumns/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03612_storage_cluster_dynamic_subcolumns/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03613_empty_tuple_permute_with_limit/explain.txt b/parser/testdata/03613_empty_tuple_permute_with_limit/explain.txt new file mode 100644 index 000000000..de41399a6 --- /dev/null +++ b/parser/testdata/03613_empty_tuple_permute_with_limit/explain.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 1) + Literal UInt64_1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_3 + ExpressionList (children 1) + OrderByElement (children 1) + Function array (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Function tuple (children 1) + ExpressionList + Literal UInt64_1 + Set diff --git a/parser/testdata/03620_json_advanced_shared_data_seek_bug/explain.txt b/parser/testdata/03620_json_advanced_shared_data_seek_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03620_json_advanced_shared_data_seek_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03622_generic_aggregate_functions__state_compatibility/explain.txt b/parser/testdata/03622_generic_aggregate_functions__state_compatibility/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03622_generic_aggregate_functions__state_compatibility/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03622_ttl_infos_where/explain.txt b/parser/testdata/03622_ttl_infos_where/explain.txt new file mode 100644 index 000000000..9f4cd7313 --- /dev/null +++ b/parser/testdata/03622_ttl_infos_where/explain.txt @@ -0,0 +1,2 @@ +DropQuery users (children 1) + Identifier users diff --git a/parser/testdata/03623_convert_any_join_to_semi_or_anti_2/explain.txt b/parser/testdata/03623_convert_any_join_to_semi_or_anti_2/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03623_convert_any_join_to_semi_or_anti_2/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03623_datetime64_preepoch_fractional_precision/explain.txt b/parser/testdata/03623_datetime64_preepoch_fractional_precision/explain.txt new file mode 100644 index 000000000..3d34fd4bd --- /dev/null +++ b/parser/testdata/03623_datetime64_preepoch_fractional_precision/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function parseDateTime64BestEffort (children 1) + ExpressionList (children 3) + Literal \'1969-01-01 00:00:00.468\' + Literal UInt64_3 + Literal \'UTC\' diff --git a/parser/testdata/03623_header_filtering/metadata.json b/parser/testdata/03623_header_filtering/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03623_header_filtering/metadata.json +++ b/parser/testdata/03623_header_filtering/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03623_lazy_materialization_array_sizes_bug/explain.txt b/parser/testdata/03623_lazy_materialization_array_sizes_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03623_lazy_materialization_array_sizes_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03623_parquet_bool/explain.txt b/parser/testdata/03623_parquet_bool/explain.txt new file mode 100644 index 000000000..53d582743 --- /dev/null +++ b/parser/testdata/03623_parquet_bool/explain.txt @@ -0,0 +1,11 @@ +InsertQuery (children 3) + Function file (children 1) + ExpressionList (children 1) + Literal \'03626_parquet_bool.parquet\' + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Literal Bool_1 (alias x) + Set + Set diff --git a/parser/testdata/03623_pr_join_with_group_by_subquery/explain.txt b/parser/testdata/03623_pr_join_with_group_by_subquery/explain.txt new file mode 100644 index 000000000..9f4cd7313 --- /dev/null +++ b/parser/testdata/03623_pr_join_with_group_by_subquery/explain.txt @@ -0,0 +1,2 @@ +DropQuery users (children 1) + Identifier users diff --git a/parser/testdata/03623_setting_boolean_shorthand_err_test/explain.txt b/parser/testdata/03623_setting_boolean_shorthand_err_test/explain.txt new file mode 100644 index 000000000..107d673c3 --- /dev/null +++ b/parser/testdata/03623_setting_boolean_shorthand_err_test/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'-- Test against Boolean Setting\' diff --git a/parser/testdata/03624_csv_empty_array_from_empty_string/explain.txt b/parser/testdata/03624_csv_empty_array_from_empty_string/explain.txt new file mode 100644 index 000000000..95dcb6d34 --- /dev/null +++ b/parser/testdata/03624_csv_empty_array_from_empty_string/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function format (children 1) + ExpressionList (children 3) + Identifier CSV + Literal \'c0 Array(Int)\' + Literal \'""\' +The query succeeded but the server error '130' was expected (query: EXPLAIN AST SELECT * FROM format(CSV, 'c0 Array(Int)', '""'); -- {serverError CANNOT_READ_ARRAY_FROM_TEXT}). diff --git a/parser/testdata/03624_parquet_row_number/explain.txt b/parser/testdata/03624_parquet_row_number/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03624_parquet_row_number/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03624_pr_lefl_right_joins_chain/explain.txt b/parser/testdata/03624_pr_lefl_right_joins_chain/explain.txt new file mode 100644 index 000000000..0a00b06d1 --- /dev/null +++ b/parser/testdata/03624_pr_lefl_right_joins_chain/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab (children 1) + Identifier tab diff --git a/parser/testdata/03624_resource_exhaustion_window_function/explain.txt b/parser/testdata/03624_resource_exhaustion_window_function/explain.txt new file mode 100644 index 000000000..fdf505f04 --- /dev/null +++ b/parser/testdata/03624_resource_exhaustion_window_function/explain.txt @@ -0,0 +1,2 @@ +CreateQuery table_test (children 1) + Identifier table_test diff --git a/parser/testdata/03625_auto_statistics/explain.txt b/parser/testdata/03625_auto_statistics/explain.txt new file mode 100644 index 000000000..d4bf1aa3f --- /dev/null +++ b/parser/testdata/03625_auto_statistics/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_table (children 1) + Identifier test_table diff --git a/parser/testdata/03625_auto_statistics_alter/explain.txt b/parser/testdata/03625_auto_statistics_alter/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03625_auto_statistics_alter/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03625_auto_statistics_alter_rmt/explain.txt b/parser/testdata/03625_auto_statistics_alter_rmt/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03625_auto_statistics_alter_rmt/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03625_auto_statistics_rmt/explain.txt b/parser/testdata/03625_auto_statistics_rmt/explain.txt new file mode 100644 index 000000000..d4bf1aa3f --- /dev/null +++ b/parser/testdata/03625_auto_statistics_rmt/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_table (children 1) + Identifier test_table diff --git a/parser/testdata/03625_auto_statistics_validation/explain.txt b/parser/testdata/03625_auto_statistics_validation/explain.txt new file mode 100644 index 000000000..5fbb6f949 --- /dev/null +++ b/parser/testdata/03625_auto_statistics_validation/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_auto_statistics_validation (children 1) + Identifier t_auto_statistics_validation diff --git a/parser/testdata/03625_case_without_condition_non_constant_branches/explain.txt b/parser/testdata/03625_case_without_condition_non_constant_branches/explain.txt new file mode 100644 index 000000000..f7d63f6a9 --- /dev/null +++ b/parser/testdata/03625_case_without_condition_non_constant_branches/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Identifier CASE (alias number) diff --git a/parser/testdata/03625_prewhere-and-default-bug/explain.txt b/parser/testdata/03625_prewhere-and-default-bug/explain.txt new file mode 100644 index 000000000..0a00b06d1 --- /dev/null +++ b/parser/testdata/03625_prewhere-and-default-bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab (children 1) + Identifier tab diff --git a/parser/testdata/03625_upper_lower_utf8_different_number_of_code_points/explain.txt b/parser/testdata/03625_upper_lower_utf8_different_number_of_code_points/explain.txt new file mode 100644 index 000000000..ea4e9d059 --- /dev/null +++ b/parser/testdata/03625_upper_lower_utf8_different_number_of_code_points/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function upperUTF8 (children 1) + ExpressionList (children 1) + Literal \'ff\' diff --git a/parser/testdata/03626_case_function_with_dynamic_argument/explain.txt b/parser/testdata/03626_case_function_with_dynamic_argument/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03626_case_function_with_dynamic_argument/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03627_non_constant_replacement_in_replace_regexp/explain.txt b/parser/testdata/03627_non_constant_replacement_in_replace_regexp/explain.txt new file mode 100644 index 000000000..cbb615ffa --- /dev/null +++ b/parser/testdata/03627_non_constant_replacement_in_replace_regexp/explain.txt @@ -0,0 +1,27 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function replaceRegexpAll (children 1) + ExpressionList (children 3) + Literal \'1 2 3 123 5 100\' + Literal \'\\\\d+\' + Function if (children 1) + ExpressionList (children 3) + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + Function toString (children 1) + ExpressionList (children 1) + Identifier number + Function repeat (children 1) + ExpressionList (children 2) + Literal \'\\\\0\' + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 diff --git a/parser/testdata/03628_named_tuple_element_in_order_by_key/explain.txt b/parser/testdata/03628_named_tuple_element_in_order_by_key/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03628_named_tuple_element_in_order_by_key/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03628_parse_date_time_short_circuit/explain.txt b/parser/testdata/03628_parse_date_time_short_circuit/explain.txt new file mode 100644 index 000000000..1726a0c64 --- /dev/null +++ b/parser/testdata/03628_parse_date_time_short_circuit/explain.txt @@ -0,0 +1,26 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function if (children 1) + ExpressionList (children 3) + Function greater (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_10 + Function parseDateTime (children 1) + ExpressionList (children 2) + Function materialize (children 1) + ExpressionList (children 1) + Literal \'\' + Literal \'%d-%m-%Y\' + Function CAST (children 1) + ExpressionList (children 2) + Literal \'2020-01-01\' + Literal \'DateTime\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_2 diff --git a/parser/testdata/03628_subcolumns_of_columns_with_dot_in_name/explain.txt b/parser/testdata/03628_subcolumns_of_columns_with_dot_in_name/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03628_subcolumns_of_columns_with_dot_in_name/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03629_duplicate_partition_keys_crash/explain.txt b/parser/testdata/03629_duplicate_partition_keys_crash/explain.txt new file mode 100644 index 000000000..265b6107f --- /dev/null +++ b/parser/testdata/03629_duplicate_partition_keys_crash/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_duplicate_partition_keys (children 1) + Identifier test_duplicate_partition_keys diff --git a/parser/testdata/03629_starts_endswith_caseinsensitive/explain.txt b/parser/testdata/03629_starts_endswith_caseinsensitive/explain.txt new file mode 100644 index 000000000..3ffb704fa --- /dev/null +++ b/parser/testdata/03629_starts_endswith_caseinsensitive/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'-- Test startsWithCaseInsensitive ASCII\' diff --git a/parser/testdata/03629_storage_s3_disallow_index_alter/explain.txt b/parser/testdata/03629_storage_s3_disallow_index_alter/explain.txt new file mode 100644 index 000000000..6c9fd7415 --- /dev/null +++ b/parser/testdata/03629_storage_s3_disallow_index_alter/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_03629 (children 1) + Identifier test_03629 diff --git a/parser/testdata/03630_hash_join_max_block_size/explain.txt b/parser/testdata/03630_hash_join_max_block_size/explain.txt new file mode 100644 index 000000000..98a5a1ba5 --- /dev/null +++ b/parser/testdata/03630_hash_join_max_block_size/explain.txt @@ -0,0 +1,2 @@ +DropQuery b_customers (children 1) + Identifier b_customers diff --git a/parser/testdata/03630_join_blocks_with_different_constness/metadata.json b/parser/testdata/03630_join_blocks_with_different_constness/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03630_join_blocks_with_different_constness/metadata.json +++ b/parser/testdata/03630_join_blocks_with_different_constness/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03630_parquet_bool_bug/explain.txt b/parser/testdata/03630_parquet_bool_bug/explain.txt new file mode 100644 index 000000000..1899b3f79 --- /dev/null +++ b/parser/testdata/03630_parquet_bool_bug/explain.txt @@ -0,0 +1,7 @@ +InsertQuery (children 2) + Function file (children 1) + ExpressionList (children 3) + Literal \'03630_parquet_bool_bug.parquet\' + Identifier Parquet + Literal \'tags Array(Bool)\' + Set diff --git a/parser/testdata/03631_array_of_empty_tuples/explain.txt b/parser/testdata/03631_array_of_empty_tuples/explain.txt new file mode 100644 index 000000000..e4c685918 --- /dev/null +++ b/parser/testdata/03631_array_of_empty_tuples/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function array (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList + Function tuple (children 1) + ExpressionList + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_2 diff --git a/parser/testdata/03631_hive_columns_not_in_format_header/metadata.json b/parser/testdata/03631_hive_columns_not_in_format_header/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03631_hive_columns_not_in_format_header/metadata.json +++ b/parser/testdata/03631_hive_columns_not_in_format_header/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03631_select_replace_comprehensive/explain.txt b/parser/testdata/03631_select_replace_comprehensive/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03631_select_replace_comprehensive/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03632_default_minmax_indices_alter/explain.txt b/parser/testdata/03632_default_minmax_indices_alter/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/03632_default_minmax_indices_alter/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/03632_insert_select_cte_bug/explain.txt b/parser/testdata/03632_insert_select_cte_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03632_insert_select_cte_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03632_join_logical_assert_85403/explain.txt b/parser/testdata/03632_join_logical_assert_85403/explain.txt new file mode 100644 index 000000000..45253c35f --- /dev/null +++ b/parser/testdata/03632_join_logical_assert_85403/explain.txt @@ -0,0 +1,32 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Literal UInt64_1 + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias a) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Literal UInt64_1 (alias x) + Literal UInt64_1 (alias y) + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias b) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 (alias y) + TableJoin (children 1) + ExpressionList (children 1) + Identifier y + Function equals (children 1) + ExpressionList (children 2) + Function round (children 1) + ExpressionList (children 1) + Asterisk + Identifier b.y diff --git a/parser/testdata/03632_lowcard_join/explain.txt b/parser/testdata/03632_lowcard_join/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03632_lowcard_join/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03632_temporary_table_not_allowed_columns/explain.txt b/parser/testdata/03632_temporary_table_not_allowed_columns/explain.txt new file mode 100644 index 000000000..5a8ff31b7 --- /dev/null +++ b/parser/testdata/03632_temporary_table_not_allowed_columns/explain.txt @@ -0,0 +1,11 @@ +CreateQuery test (children 3) + Identifier test + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration _row_exists (children 1) + DataType UInt32 + Storage definition (children 2) + Function MergeTree + Function tuple (children 1) + ExpressionList +The query succeeded but the server error '44' was expected (query: EXPLAIN AST create temporary table test (_row_exists UInt32) engine=MergeTree order by tuple(); -- {serverError ILLEGAL_COLUMN}). diff --git a/parser/testdata/03633_keeepr_host_server_setting/explain.txt b/parser/testdata/03633_keeepr_host_server_setting/explain.txt new file mode 100644 index 000000000..e1034b25b --- /dev/null +++ b/parser/testdata/03633_keeepr_host_server_setting/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function or (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier value + Literal \'127.0.0.1:9181\' + Function equals (children 1) + ExpressionList (children 2) + Identifier value + Literal \'localhost:9181,localhost:19181,localhost:29181\' diff --git a/parser/testdata/03633_mv_squash_parallel_inserts/explain.txt b/parser/testdata/03633_mv_squash_parallel_inserts/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03633_mv_squash_parallel_inserts/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03633_negative_limit_offset/metadata.json b/parser/testdata/03633_negative_limit_offset/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03633_negative_limit_offset/metadata.json +++ b/parser/testdata/03633_negative_limit_offset/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03633_set_index_bulk_filtering/explain.txt b/parser/testdata/03633_set_index_bulk_filtering/explain.txt new file mode 100644 index 000000000..5922caded --- /dev/null +++ b/parser/testdata/03633_set_index_bulk_filtering/explain.txt @@ -0,0 +1,2 @@ +DropQuery tbulk (children 1) + Identifier tbulk diff --git a/parser/testdata/03634_subcolumns_in_temporary_table_parallel_replicas/explain.txt b/parser/testdata/03634_subcolumns_in_temporary_table_parallel_replicas/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03634_subcolumns_in_temporary_table_parallel_replicas/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03635_in_function_different_types_many_columns/explain.txt b/parser/testdata/03635_in_function_different_types_many_columns/explain.txt new file mode 100644 index 000000000..d4bf1aa3f --- /dev/null +++ b/parser/testdata/03635_in_function_different_types_many_columns/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_table (children 1) + Identifier test_table diff --git a/parser/testdata/03636_empty_projection_block/explain.txt b/parser/testdata/03636_empty_projection_block/explain.txt new file mode 100644 index 000000000..b1e2d9ab4 --- /dev/null +++ b/parser/testdata/03636_empty_projection_block/explain.txt @@ -0,0 +1,2 @@ +CreateQuery post_state (children 1) + Identifier post_state diff --git a/parser/testdata/03636_index_analysis_with_session_tz/explain.txt b/parser/testdata/03636_index_analysis_with_session_tz/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03636_index_analysis_with_session_tz/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03636_storage_alias_basic/explain.txt b/parser/testdata/03636_storage_alias_basic/explain.txt new file mode 100644 index 000000000..a533b631d --- /dev/null +++ b/parser/testdata/03636_storage_alias_basic/explain.txt @@ -0,0 +1,2 @@ +DropQuery source_table (children 1) + Identifier source_table diff --git a/parser/testdata/03636_storage_alias_syntax/explain.txt b/parser/testdata/03636_storage_alias_syntax/explain.txt new file mode 100644 index 000000000..a533b631d --- /dev/null +++ b/parser/testdata/03636_storage_alias_syntax/explain.txt @@ -0,0 +1,2 @@ +DropQuery source_table (children 1) + Identifier source_table diff --git a/parser/testdata/03638_merge_max_dynamic_subcolumns_in_wide_part/explain.txt b/parser/testdata/03638_merge_max_dynamic_subcolumns_in_wide_part/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03638_merge_max_dynamic_subcolumns_in_wide_part/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03639_hash_of_dynamic_column/explain.txt b/parser/testdata/03639_hash_of_dynamic_column/explain.txt new file mode 100644 index 000000000..15e68cdae --- /dev/null +++ b/parser/testdata/03639_hash_of_dynamic_column/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function sipHash64 (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Literal \'42\' + Literal \'Dynamic\' diff --git a/parser/testdata/03639_hash_of_json_column/explain.txt b/parser/testdata/03639_hash_of_json_column/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03639_hash_of_json_column/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03640_alter_table_rewrite_parts/explain.txt b/parser/testdata/03640_alter_table_rewrite_parts/explain.txt new file mode 100644 index 000000000..3722c4ab8 --- /dev/null +++ b/parser/testdata/03640_alter_table_rewrite_parts/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_materialize (children 1) + Identifier test_materialize diff --git a/parser/testdata/03640_load_marks_synchronously/explain.txt b/parser/testdata/03640_load_marks_synchronously/explain.txt new file mode 100644 index 000000000..7034c7c31 --- /dev/null +++ b/parser/testdata/03640_load_marks_synchronously/explain.txt @@ -0,0 +1,11 @@ +CreateQuery data (children 3) + Identifier data + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration key (children 1) + DataType int + Storage definition (children 3) + Function MergeTree (children 1) + ExpressionList + Identifier key + Set diff --git a/parser/testdata/03640_multiple_mutations_with_error_with_rewrite_parts/explain.txt b/parser/testdata/03640_multiple_mutations_with_error_with_rewrite_parts/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03640_multiple_mutations_with_error_with_rewrite_parts/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03640_multiple_mutations_with_rewrite_parts/explain.txt b/parser/testdata/03640_multiple_mutations_with_rewrite_parts/explain.txt new file mode 100644 index 000000000..3722c4ab8 --- /dev/null +++ b/parser/testdata/03640_multiple_mutations_with_rewrite_parts/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_materialize (children 1) + Identifier test_materialize diff --git a/parser/testdata/03640_skip_indexes_data_types_with_or/explain.txt b/parser/testdata/03640_skip_indexes_data_types_with_or/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03640_skip_indexes_data_types_with_or/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03640_skip_indexes_with_or/explain.txt b/parser/testdata/03640_skip_indexes_with_or/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03640_skip_indexes_with_or/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03640_variant_array_null_map_subcolumn/explain.txt b/parser/testdata/03640_variant_array_null_map_subcolumn/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03640_variant_array_null_map_subcolumn/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03641_analyzer_issue_85834/explain.txt b/parser/testdata/03641_analyzer_issue_85834/explain.txt new file mode 100644 index 000000000..14384dd64 --- /dev/null +++ b/parser/testdata/03641_analyzer_issue_85834/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_generic_events_all (children 1) + Identifier test_generic_events_all diff --git a/parser/testdata/03641_group_by_injective_functoon_bad_arguments/explain.txt b/parser/testdata/03641_group_by_injective_functoon_bad_arguments/explain.txt new file mode 100644 index 000000000..41c8f823c --- /dev/null +++ b/parser/testdata/03641_group_by_injective_functoon_bad_arguments/explain.txt @@ -0,0 +1,10 @@ +CreateQuery test (children 3) + Identifier test + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration json (children 1) + DataType JSON + Storage definition (children 2) + Function MergeTree + Function tuple (children 1) + ExpressionList diff --git a/parser/testdata/03641_json_array_of_float_and_bool/explain.txt b/parser/testdata/03641_json_array_of_float_and_bool/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03641_json_array_of_float_and_bool/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03642_column_ttl_sparse/explain.txt b/parser/testdata/03642_column_ttl_sparse/explain.txt new file mode 100644 index 000000000..69b4e97aa --- /dev/null +++ b/parser/testdata/03642_column_ttl_sparse/explain.txt @@ -0,0 +1,2 @@ +DropQuery ttl_sparse_repro (children 1) + Identifier ttl_sparse_repro diff --git a/parser/testdata/03642_system_instrument_symbols/explain.txt b/parser/testdata/03642_system_instrument_symbols/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03642_system_instrument_symbols/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03643_paste_join_disable_filter_pushdown/explain.txt b/parser/testdata/03643_paste_join_disable_filter_pushdown/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03643_paste_join_disable_filter_pushdown/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03644_join_order_mixed_comma_and_left/explain.txt b/parser/testdata/03644_join_order_mixed_comma_and_left/explain.txt new file mode 100644 index 000000000..89c14025c --- /dev/null +++ b/parser/testdata/03644_join_order_mixed_comma_and_left/explain.txt @@ -0,0 +1,2 @@ +DropQuery n1 (children 1) + Identifier n1 diff --git a/parser/testdata/03644_min_level_for_wide_part/explain.txt b/parser/testdata/03644_min_level_for_wide_part/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03644_min_level_for_wide_part/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03644_object_storage_correlated_subqueries/explain.txt b/parser/testdata/03644_object_storage_correlated_subqueries/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03644_object_storage_correlated_subqueries/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03644_rows_before_aggregation_in_order/explain.txt b/parser/testdata/03644_rows_before_aggregation_in_order/explain.txt new file mode 100644 index 000000000..b5123b1df --- /dev/null +++ b/parser/testdata/03644_rows_before_aggregation_in_order/explain.txt @@ -0,0 +1,2 @@ +DropQuery 03644_data (children 1) + Identifier 03644_data diff --git a/parser/testdata/03646_array_join_empty/explain.txt b/parser/testdata/03646_array_join_empty/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03646_array_join_empty/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03647_morton_encode_empty_tuple/explain.txt b/parser/testdata/03647_morton_encode_empty_tuple/explain.txt new file mode 100644 index 000000000..06dd504ad --- /dev/null +++ b/parser/testdata/03647_morton_encode_empty_tuple/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function mortonEncode (children 1) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList +The query succeeded but the server error '43' was expected (query: EXPLAIN AST SELECT mortonEncode(()); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }). diff --git a/parser/testdata/03651_merge_tree_compact_read_string_size_subcolumn/explain.txt b/parser/testdata/03651_merge_tree_compact_read_string_size_subcolumn/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03651_merge_tree_compact_read_string_size_subcolumn/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03651_positional_argument_agg_projection/explain.txt b/parser/testdata/03651_positional_argument_agg_projection/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03651_positional_argument_agg_projection/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03652_coalescing_merge_tree_fix_empty_tuple/explain.txt b/parser/testdata/03652_coalescing_merge_tree_fix_empty_tuple/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03652_coalescing_merge_tree_fix_empty_tuple/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03652_explain_input_header/explain.txt b/parser/testdata/03652_explain_input_header/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03652_explain_input_header/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03652_generate_serial_id_non_constant_zookeeper/explain.txt b/parser/testdata/03652_generate_serial_id_non_constant_zookeeper/explain.txt new file mode 100644 index 000000000..669bea146 --- /dev/null +++ b/parser/testdata/03652_generate_serial_id_non_constant_zookeeper/explain.txt @@ -0,0 +1,36 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 2) + Function concat (alias key1) (children 1) + ExpressionList (children 3) + Function currentDatabase (children 1) + ExpressionList + Literal \'_test1_\' + Function modulo (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_3 + Function concat (alias key2) (children 1) + ExpressionList (children 3) + Function currentDatabase (children 1) + ExpressionList + Literal \'_test2_\' + Function intDiv (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_3 + ExpressionList (children 3) + Identifier number + Function generateSerialID (children 1) + ExpressionList (children 1) + Identifier key1 + Function generateSerialID (children 1) + ExpressionList (children 1) + Identifier key2 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 diff --git a/parser/testdata/03652_join_using_legacy_step/explain.txt b/parser/testdata/03652_join_using_legacy_step/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03652_join_using_legacy_step/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03653_fractional_limit_offset/metadata.json b/parser/testdata/03653_fractional_limit_offset/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03653_fractional_limit_offset/metadata.json +++ b/parser/testdata/03653_fractional_limit_offset/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03653_keeper_histogram_metrics/explain.txt b/parser/testdata/03653_keeper_histogram_metrics/explain.txt new file mode 100644 index 000000000..1df486d59 --- /dev/null +++ b/parser/testdata/03653_keeper_histogram_metrics/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function greater (children 1) + ExpressionList (children 2) + Identifier value + Literal UInt64_0 diff --git a/parser/testdata/03653_updating_minmax_idx_after_mutation/explain.txt b/parser/testdata/03653_updating_minmax_idx_after_mutation/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03653_updating_minmax_idx_after_mutation/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03654_case_non_constant_null/explain.txt b/parser/testdata/03654_case_non_constant_null/explain.txt new file mode 100644 index 000000000..5cbd34a73 --- /dev/null +++ b/parser/testdata/03654_case_non_constant_null/explain.txt @@ -0,0 +1,2 @@ +DropQuery test1 (children 1) + Identifier test1 diff --git a/parser/testdata/03654_grouping_sets_any_min_max/explain.txt b/parser/testdata/03654_grouping_sets_any_min_max/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03654_grouping_sets_any_min_max/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03655_keeper_map_alter_comment/explain.txt b/parser/testdata/03655_keeper_map_alter_comment/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03655_keeper_map_alter_comment/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03655_system_databases_is_external/explain.txt b/parser/testdata/03655_system_databases_is_external/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03655_system_databases_is_external/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03656_nan_comparison/explain.txt b/parser/testdata/03656_nan_comparison/explain.txt new file mode 100644 index 000000000..eb2b45cd4 --- /dev/null +++ b/parser/testdata/03656_nan_comparison/explain.txt @@ -0,0 +1,2 @@ +DropQuery t7 (children 1) + Identifier t7 diff --git a/parser/testdata/03657_gby_overflow_any_sparse/explain.txt b/parser/testdata/03657_gby_overflow_any_sparse/explain.txt new file mode 100644 index 000000000..9ed046542 --- /dev/null +++ b/parser/testdata/03657_gby_overflow_any_sparse/explain.txt @@ -0,0 +1,2 @@ +DropQuery 03657_gby_overflow (children 1) + Identifier 03657_gby_overflow diff --git a/parser/testdata/03657_hash_vs_full_sorting_merge_join/explain.txt b/parser/testdata/03657_hash_vs_full_sorting_merge_join/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/03657_hash_vs_full_sorting_merge_join/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/03657_merge_tree_disk_support_transaction/explain.txt b/parser/testdata/03657_merge_tree_disk_support_transaction/explain.txt new file mode 100644 index 000000000..3301acc74 --- /dev/null +++ b/parser/testdata/03657_merge_tree_disk_support_transaction/explain.txt @@ -0,0 +1,9 @@ +CreateQuery t (children 3) + Identifier t + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration x (children 1) + DataType INT + Storage definition (children 2) + Function MergeTree + Identifier x diff --git a/parser/testdata/03657_rollup_constant/explain.txt b/parser/testdata/03657_rollup_constant/explain.txt new file mode 100644 index 000000000..84a4e45fd --- /dev/null +++ b/parser/testdata/03657_rollup_constant/explain.txt @@ -0,0 +1,2 @@ +DropQuery my_first_table (children 1) + Identifier my_first_table diff --git a/parser/testdata/03658_joined_block_split_single_row_bytes/explain.txt b/parser/testdata/03658_joined_block_split_single_row_bytes/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03658_joined_block_split_single_row_bytes/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03658_negative_limit_offset_distributed/metadata.json b/parser/testdata/03658_negative_limit_offset_distributed/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03658_negative_limit_offset_distributed/metadata.json +++ b/parser/testdata/03658_negative_limit_offset_distributed/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03660_udf_subquery/explain.txt b/parser/testdata/03660_udf_subquery/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03660_udf_subquery/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03663_parameterized_views_formatting_of_substitutions_excessive_backticks/explain.txt b/parser/testdata/03663_parameterized_views_formatting_of_substitutions_excessive_backticks/explain.txt new file mode 100644 index 000000000..a6c6c8eeb --- /dev/null +++ b/parser/testdata/03663_parameterized_views_formatting_of_substitutions_excessive_backticks/explain.txt @@ -0,0 +1,2 @@ +DropQuery audit_size_column (children 1) + Identifier audit_size_column diff --git a/parser/testdata/03664_parameterized_view_restart/explain.txt b/parser/testdata/03664_parameterized_view_restart/explain.txt new file mode 100644 index 000000000..d565cf874 --- /dev/null +++ b/parser/testdata/03664_parameterized_view_restart/explain.txt @@ -0,0 +1,2 @@ +DropQuery view_order_attribution (children 1) + Identifier view_order_attribution diff --git a/parser/testdata/03666_count_matches_complexity/explain.txt b/parser/testdata/03666_count_matches_complexity/explain.txt new file mode 100644 index 000000000..0a12ee65e --- /dev/null +++ b/parser/testdata/03666_count_matches_complexity/explain.txt @@ -0,0 +1,11 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function countMatches (children 1) + ExpressionList (children 2) + Function repeat (children 1) + ExpressionList (children 2) + Literal \'\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\' + Literal UInt64_1000000 + Literal \'a\' diff --git a/parser/testdata/03667_accurate_cast_datetime_overflow/explain.txt b/parser/testdata/03667_accurate_cast_datetime_overflow/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03667_accurate_cast_datetime_overflow/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03667_drop_inner_table_size_limits/explain.txt b/parser/testdata/03667_drop_inner_table_size_limits/explain.txt new file mode 100644 index 000000000..046bd1e46 --- /dev/null +++ b/parser/testdata/03667_drop_inner_table_size_limits/explain.txt @@ -0,0 +1,9 @@ +CreateQuery t (children 3) + Identifier t + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration id (children 1) + DataType UInt64 + Storage definition (children 2) + Function MergeTree + Identifier id diff --git a/parser/testdata/03667_insert_columns_description/explain.txt b/parser/testdata/03667_insert_columns_description/explain.txt new file mode 100644 index 000000000..04c094109 --- /dev/null +++ b/parser/testdata/03667_insert_columns_description/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'-- remote table function columns description\' diff --git a/parser/testdata/03667_join_with_subquery_and_final/metadata.json b/parser/testdata/03667_join_with_subquery_and_final/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03667_join_with_subquery_and_final/metadata.json +++ b/parser/testdata/03667_join_with_subquery_and_final/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03667_pr_join_with_cross_join_on_left/explain.txt b/parser/testdata/03667_pr_join_with_cross_join_on_left/explain.txt new file mode 100644 index 000000000..89c14025c --- /dev/null +++ b/parser/testdata/03667_pr_join_with_cross_join_on_left/explain.txt @@ -0,0 +1,2 @@ +DropQuery n1 (children 1) + Identifier n1 diff --git a/parser/testdata/03667_text_index_validation/explain.txt b/parser/testdata/03667_text_index_validation/explain.txt new file mode 100644 index 000000000..c94569f95 --- /dev/null +++ b/parser/testdata/03667_text_index_validation/explain.txt @@ -0,0 +1,2 @@ +DropQuery text_index_validation (children 1) + Identifier text_index_validation diff --git a/parser/testdata/03668_shard_join_in_reverse_order/explain.txt b/parser/testdata/03668_shard_join_in_reverse_order/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03668_shard_join_in_reverse_order/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03669_min_max_projection_with_reverse_order_key/explain.txt b/parser/testdata/03669_min_max_projection_with_reverse_order_key/explain.txt new file mode 100644 index 000000000..5fd74f83b --- /dev/null +++ b/parser/testdata/03669_min_max_projection_with_reverse_order_key/explain.txt @@ -0,0 +1,2 @@ +DropQuery desc_pk (children 1) + Identifier desc_pk diff --git a/parser/testdata/03671_dict_in_subquery_in_index_analysis_context_expired/explain.txt b/parser/testdata/03671_dict_in_subquery_in_index_analysis_context_expired/explain.txt new file mode 100644 index 000000000..eb2592c57 --- /dev/null +++ b/parser/testdata/03671_dict_in_subquery_in_index_analysis_context_expired/explain.txt @@ -0,0 +1,2 @@ +DropQuery dict (children 1) + Identifier dict diff --git a/parser/testdata/03671_pk_in_subquery_context_expired/explain.txt b/parser/testdata/03671_pk_in_subquery_context_expired/explain.txt new file mode 100644 index 000000000..ff737eb65 --- /dev/null +++ b/parser/testdata/03671_pk_in_subquery_context_expired/explain.txt @@ -0,0 +1,2 @@ +DropQuery tbl (children 1) + Identifier tbl diff --git a/parser/testdata/03672_columns_same_as_subcolumns/explain.txt b/parser/testdata/03672_columns_same_as_subcolumns/explain.txt new file mode 100644 index 000000000..8b9cbc38c --- /dev/null +++ b/parser/testdata/03672_columns_same_as_subcolumns/explain.txt @@ -0,0 +1,2 @@ +DropQuery opentelemetry_span_log_9997438610282160742 (children 1) + Identifier opentelemetry_span_log_9997438610282160742 diff --git a/parser/testdata/03672_nested_array_nested_tuple/explain.txt b/parser/testdata/03672_nested_array_nested_tuple/explain.txt new file mode 100644 index 000000000..a31181a25 --- /dev/null +++ b/parser/testdata/03672_nested_array_nested_tuple/explain.txt @@ -0,0 +1,2 @@ +DropQuery nest (children 1) + Identifier nest diff --git a/parser/testdata/03673_columns_description_cache/explain.txt b/parser/testdata/03673_columns_description_cache/explain.txt new file mode 100644 index 000000000..51210661a --- /dev/null +++ b/parser/testdata/03673_columns_description_cache/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_mem (children 1) + Identifier t_mem diff --git a/parser/testdata/03680_mergetree_shrink_const_from_prewhere/explain.txt b/parser/testdata/03680_mergetree_shrink_const_from_prewhere/explain.txt new file mode 100644 index 000000000..fb991ff3a --- /dev/null +++ b/parser/testdata/03680_mergetree_shrink_const_from_prewhere/explain.txt @@ -0,0 +1,2 @@ +DropQuery const_node (children 1) + Identifier const_node diff --git a/parser/testdata/03681_distributed_fractional_limit_offset/metadata.json b/parser/testdata/03681_distributed_fractional_limit_offset/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03681_distributed_fractional_limit_offset/metadata.json +++ b/parser/testdata/03681_distributed_fractional_limit_offset/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03681_lazy_materialization_with_read_in_order/explain.txt b/parser/testdata/03681_lazy_materialization_with_read_in_order/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03681_lazy_materialization_with_read_in_order/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03699_reverse_utf8/explain.txt b/parser/testdata/03699_reverse_utf8/explain.txt new file mode 100644 index 000000000..9f1996880 --- /dev/null +++ b/parser/testdata/03699_reverse_utf8/explain.txt @@ -0,0 +1,7 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function reverseUTF8 (children 1) + ExpressionList (children 1) + Literal \'привіт\' diff --git a/parser/testdata/03700_vertical_format_pretty_print_json/explain.txt b/parser/testdata/03700_vertical_format_pretty_print_json/explain.txt new file mode 100644 index 000000000..dd70fedf1 --- /dev/null +++ b/parser/testdata/03700_vertical_format_pretty_print_json/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_vertical_json (children 1) + Identifier test_vertical_json diff --git a/parser/testdata/03701_analyzer_correlated_subquery_plan_reference/explain.txt b/parser/testdata/03701_analyzer_correlated_subquery_plan_reference/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03701_analyzer_correlated_subquery_plan_reference/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03701_column_ttl_fully_expired/explain.txt b/parser/testdata/03701_column_ttl_fully_expired/explain.txt new file mode 100644 index 000000000..a60ff027e --- /dev/null +++ b/parser/testdata/03701_column_ttl_fully_expired/explain.txt @@ -0,0 +1,2 @@ +DropQuery x (children 1) + Identifier x diff --git a/parser/testdata/03701_create_or_replace_temporary_table/explain.txt b/parser/testdata/03701_create_or_replace_temporary_table/explain.txt new file mode 100644 index 000000000..69ae832e0 --- /dev/null +++ b/parser/testdata/03701_create_or_replace_temporary_table/explain.txt @@ -0,0 +1,17 @@ +CreateQuery tmp (children 3) + Identifier tmp + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration n (children 1) + DataType UInt32 + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 diff --git a/parser/testdata/03701_distinct_but_no_group_by_projection_table_use_check/explain.txt b/parser/testdata/03701_distinct_but_no_group_by_projection_table_use_check/explain.txt new file mode 100644 index 000000000..9385f7097 --- /dev/null +++ b/parser/testdata/03701_distinct_but_no_group_by_projection_table_use_check/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'Simple:\' diff --git a/parser/testdata/03701_json_duplicate_path_insert_select/explain.txt b/parser/testdata/03701_json_duplicate_path_insert_select/explain.txt new file mode 100644 index 000000000..3b6561e32 --- /dev/null +++ b/parser/testdata/03701_json_duplicate_path_insert_select/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_json_duplicates (children 1) + Identifier test_json_duplicates diff --git a/parser/testdata/03701_limit_by_in_order/explain.txt b/parser/testdata/03701_limit_by_in_order/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03701_limit_by_in_order/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03701_optimize_inverse_dictionary_lookup_basic/explain.txt b/parser/testdata/03701_optimize_inverse_dictionary_lookup_basic/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03701_optimize_inverse_dictionary_lookup_basic/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03701_parallel_replicas_in_shard_scope/explain.txt b/parser/testdata/03701_parallel_replicas_in_shard_scope/explain.txt new file mode 100644 index 000000000..a255b5883 --- /dev/null +++ b/parser/testdata/03701_parallel_replicas_in_shard_scope/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_shard_scope (children 1) + Identifier test_shard_scope diff --git a/parser/testdata/03701_replicated_column_short_circuit_filter/explain.txt b/parser/testdata/03701_replicated_column_short_circuit_filter/explain.txt new file mode 100644 index 000000000..672afa907 --- /dev/null +++ b/parser/testdata/03701_replicated_column_short_circuit_filter/explain.txt @@ -0,0 +1,29 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 2) + Identifier number + Function intDiv (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Function minus (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_4 + TablesInSelectQueryElement (children 1) + ArrayJoin (children 1) + ExpressionList (children 1) + Function range (alias x) (children 1) + ExpressionList (children 1) + Identifier number + Function notEquals (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2 + Set diff --git a/parser/testdata/03701_temporary_files_buffer_size/explain.txt b/parser/testdata/03701_temporary_files_buffer_size/explain.txt new file mode 100644 index 000000000..b97afb988 --- /dev/null +++ b/parser/testdata/03701_temporary_files_buffer_size/explain.txt @@ -0,0 +1,9 @@ +CreateQuery t0 (children 3) + Identifier t0 + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration c0 (children 1) + DataType Int + Storage definition (children 1) + Function Memory (children 1) + ExpressionList diff --git a/parser/testdata/03702_alter_codec_index/explain.txt b/parser/testdata/03702_alter_codec_index/explain.txt new file mode 100644 index 000000000..31b26ea10 --- /dev/null +++ b/parser/testdata/03702_alter_codec_index/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_alter_codec_index (children 1) + Identifier test_alter_codec_index diff --git a/parser/testdata/03702_alter_codec_pk/explain.txt b/parser/testdata/03702_alter_codec_pk/explain.txt new file mode 100644 index 000000000..62ff376e1 --- /dev/null +++ b/parser/testdata/03702_alter_codec_pk/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_alter_codec_pk (children 1) + Identifier test_alter_codec_pk diff --git a/parser/testdata/03702_alter_column_modify_secondary_index_general/explain.txt b/parser/testdata/03702_alter_column_modify_secondary_index_general/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03702_alter_column_modify_secondary_index_general/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03702_alter_column_update_and_delete_secondary_index_general/explain.txt b/parser/testdata/03702_alter_column_update_and_delete_secondary_index_general/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03702_alter_column_update_and_delete_secondary_index_general/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03702_encode_decode_memory_usage/explain.txt b/parser/testdata/03702_encode_decode_memory_usage/explain.txt new file mode 100644 index 000000000..e4d58aa25 --- /dev/null +++ b/parser/testdata/03702_encode_decode_memory_usage/explain.txt @@ -0,0 +1,27 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function base32Decode (children 1) + ExpressionList (children 1) + Identifier s + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function base32Encode (alias s) (children 1) + ExpressionList (children 1) + Function randomString (children 1) + ExpressionList (children 1) + Literal UInt64_100 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_100000 + Identifier Null diff --git a/parser/testdata/03702_function_dict_get_keys_basic/explain.txt b/parser/testdata/03702_function_dict_get_keys_basic/explain.txt new file mode 100644 index 000000000..e972097e9 --- /dev/null +++ b/parser/testdata/03702_function_dict_get_keys_basic/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'Negative\' diff --git a/parser/testdata/03702_geometry_functions/explain.txt b/parser/testdata/03702_geometry_functions/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03702_geometry_functions/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03702_inject_random_orderby_doesnt_change_limit/explain.txt b/parser/testdata/03702_inject_random_orderby_doesnt_change_limit/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03702_inject_random_orderby_doesnt_change_limit/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03702_json_datetime_format_settings/explain.txt b/parser/testdata/03702_json_datetime_format_settings/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03702_json_datetime_format_settings/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03702_optimize_inverse_dictionary_lookup_composite_and_layouts/explain.txt b/parser/testdata/03702_optimize_inverse_dictionary_lookup_composite_and_layouts/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03702_optimize_inverse_dictionary_lookup_composite_and_layouts/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03702_text_index_hint_basics/explain.txt b/parser/testdata/03702_text_index_hint_basics/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03702_text_index_hint_basics/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03702_text_index_hint_events/explain.txt b/parser/testdata/03702_text_index_hint_events/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03702_text_index_hint_events/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03702_text_index_hint_low_cardinality/explain.txt b/parser/testdata/03702_text_index_hint_low_cardinality/explain.txt new file mode 100644 index 000000000..0515befe8 --- /dev/null +++ b/parser/testdata/03702_text_index_hint_low_cardinality/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_direct_read_lc (children 1) + Identifier t_direct_read_lc diff --git a/parser/testdata/03703_function_dict_get_keys_large/explain.txt b/parser/testdata/03703_function_dict_get_keys_large/explain.txt new file mode 100644 index 000000000..e017884a2 --- /dev/null +++ b/parser/testdata/03703_function_dict_get_keys_large/explain.txt @@ -0,0 +1,2 @@ +DropQuery dict_big (children 1) + Identifier dict_big diff --git a/parser/testdata/03703_optimize_inverse_dictionary_lookup_dictget_family/explain.txt b/parser/testdata/03703_optimize_inverse_dictionary_lookup_dictget_family/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03703_optimize_inverse_dictionary_lookup_dictget_family/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03703_prelimit_explain_message/metadata.json b/parser/testdata/03703_prelimit_explain_message/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03703_prelimit_explain_message/metadata.json +++ b/parser/testdata/03703_prelimit_explain_message/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03703_statistics_low_cardinality/explain.txt b/parser/testdata/03703_statistics_low_cardinality/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03703_statistics_low_cardinality/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03704_default_empty_order_by/explain.txt b/parser/testdata/03704_default_empty_order_by/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03704_default_empty_order_by/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03704_fractional_limit_with_ties/explain.txt b/parser/testdata/03704_fractional_limit_with_ties/explain.txt new file mode 100644 index 000000000..72e83a9aa --- /dev/null +++ b/parser/testdata/03704_fractional_limit_with_ties/explain.txt @@ -0,0 +1,2 @@ +DropQuery ties (children 1) + Identifier ties diff --git a/parser/testdata/03704_function_dict_get_keys_cache_type/explain.txt b/parser/testdata/03704_function_dict_get_keys_cache_type/explain.txt new file mode 100644 index 000000000..40f16fae8 --- /dev/null +++ b/parser/testdata/03704_function_dict_get_keys_cache_type/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'Cache Persistence Only Within A Single Query\' diff --git a/parser/testdata/03705_count_if_asterisk/explain.txt b/parser/testdata/03705_count_if_asterisk/explain.txt new file mode 100644 index 000000000..4dbb09c02 --- /dev/null +++ b/parser/testdata/03705_count_if_asterisk/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function countIf (children 1) + ExpressionList (children 2) + Asterisk + Function less (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_5 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 diff --git a/parser/testdata/03705_fix_compression_T64_unaligned/explain.txt b/parser/testdata/03705_fix_compression_T64_unaligned/explain.txt new file mode 100644 index 000000000..9f5f371ee --- /dev/null +++ b/parser/testdata/03705_fix_compression_T64_unaligned/explain.txt @@ -0,0 +1,2 @@ +DropQuery compression_estimate_example (children 1) + Identifier compression_estimate_example diff --git a/parser/testdata/03705_function_dict_get_keys_multiple_dict_and_no_caching/explain.txt b/parser/testdata/03705_function_dict_get_keys_multiple_dict_and_no_caching/explain.txt new file mode 100644 index 000000000..f1c40658e --- /dev/null +++ b/parser/testdata/03705_function_dict_get_keys_multiple_dict_and_no_caching/explain.txt @@ -0,0 +1,2 @@ +DropQuery dict_products (children 1) + Identifier dict_products diff --git a/parser/testdata/03707_analyzer_convert_outer_any_to_inner/explain.txt b/parser/testdata/03707_analyzer_convert_outer_any_to_inner/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03707_analyzer_convert_outer_any_to_inner/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03707_empty_parts_with_non_empty_projections_merge/explain.txt b/parser/testdata/03707_empty_parts_with_non_empty_projections_merge/explain.txt new file mode 100644 index 000000000..7e7113939 --- /dev/null +++ b/parser/testdata/03707_empty_parts_with_non_empty_projections_merge/explain.txt @@ -0,0 +1,2 @@ +DropQuery mt1 (children 1) + Identifier mt1 diff --git a/parser/testdata/03707_function_array_remove/explain.txt b/parser/testdata/03707_function_array_remove/explain.txt new file mode 100644 index 000000000..64dcde287 --- /dev/null +++ b/parser/testdata/03707_function_array_remove/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayRemove (children 1) + ExpressionList (children 2) + Function array (children 1) + ExpressionList + Literal UInt64_1 diff --git a/parser/testdata/03707_statistics_cache/explain.txt b/parser/testdata/03707_statistics_cache/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03707_statistics_cache/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03708_analyzer_convert_any_outer_to_inner_2/explain.txt b/parser/testdata/03708_analyzer_convert_any_outer_to_inner_2/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03708_analyzer_convert_any_outer_to_inner_2/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03708_exact_rows_before_limit_in/explain.txt b/parser/testdata/03708_exact_rows_before_limit_in/explain.txt new file mode 100644 index 000000000..244374292 --- /dev/null +++ b/parser/testdata/03708_exact_rows_before_limit_in/explain.txt @@ -0,0 +1,30 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 5) + ExpressionList (children 1) + Literal UInt64_1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias v0) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Literal UInt64_1 (alias c0) + Function exists (children 1) + ExpressionList (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Literal UInt64_1 + ExpressionList (children 1) + Identifier v0.c0 + Function equals (children 1) + ExpressionList (children 2) + Identifier v0.c0 + Literal UInt64_1 + Set diff --git a/parser/testdata/03708_flush_async_insert_queue_for_table/explain.txt b/parser/testdata/03708_flush_async_insert_queue_for_table/explain.txt new file mode 100644 index 000000000..c950dede9 --- /dev/null +++ b/parser/testdata/03708_flush_async_insert_queue_for_table/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_table with spaces (children 1) + Identifier test_table with spaces diff --git a/parser/testdata/03708_join_or_to_right_any_bug/explain.txt b/parser/testdata/03708_join_or_to_right_any_bug/explain.txt new file mode 100644 index 000000000..b55818d6b --- /dev/null +++ b/parser/testdata/03708_join_or_to_right_any_bug/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Asterisk diff --git a/parser/testdata/03708_low_cardinality_aggregate_state_compatibility/explain.txt b/parser/testdata/03708_low_cardinality_aggregate_state_compatibility/explain.txt new file mode 100644 index 000000000..c87d9e43e --- /dev/null +++ b/parser/testdata/03708_low_cardinality_aggregate_state_compatibility/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function hex (children 1) + ExpressionList (children 1) + Function maxDistinctState (children 1) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Literal \'str\' + Literal \'Variant(LowCardinality(String))\' diff --git a/parser/testdata/03708_statistics_estimator_cast_type/explain.txt b/parser/testdata/03708_statistics_estimator_cast_type/explain.txt new file mode 100644 index 000000000..89737611f --- /dev/null +++ b/parser/testdata/03708_statistics_estimator_cast_type/explain.txt @@ -0,0 +1,2 @@ +CreateQuery dt64test (children 1) + Identifier dt64test diff --git a/parser/testdata/03709_anti_join_runtime_filters/explain.txt b/parser/testdata/03709_anti_join_runtime_filters/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03709_anti_join_runtime_filters/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03709_coalescing_final/explain.txt b/parser/testdata/03709_coalescing_final/explain.txt new file mode 100644 index 000000000..d4bf1aa3f --- /dev/null +++ b/parser/testdata/03709_coalescing_final/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_table (children 1) + Identifier test_table diff --git a/parser/testdata/03709_parallel_replicas_right_join_with_distributed/explain.txt b/parser/testdata/03709_parallel_replicas_right_join_with_distributed/explain.txt new file mode 100644 index 000000000..c752dfcda --- /dev/null +++ b/parser/testdata/03709_parallel_replicas_right_join_with_distributed/explain.txt @@ -0,0 +1,2 @@ +DropQuery local_table_l (children 1) + Identifier local_table_l diff --git a/parser/testdata/03709_replicated_columns_right_join/explain.txt b/parser/testdata/03709_replicated_columns_right_join/explain.txt new file mode 100644 index 000000000..e713db59e --- /dev/null +++ b/parser/testdata/03709_replicated_columns_right_join/explain.txt @@ -0,0 +1,47 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (alias left) (children 1) + ExpressionList (children 2) + Literal UInt64_10 + Literal UInt64_10 + TablesInSelectQueryElement (children 2) + TableExpression (children 1) + Subquery (alias right) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 4) + Identifier number + Identifier number (alias x) + Function concat (alias str) (children 1) + ExpressionList (children 2) + Literal \'str\' + Identifier number + Function arrayJoin (alias i) (children 1) + ExpressionList (children 1) + Function range (children 1) + ExpressionList (children 1) + Identifier number + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 + TableJoin (children 1) + Function equals (children 1) + ExpressionList (children 2) + Identifier left.number + Identifier right.number + ExpressionList (children 2) + OrderByElement (children 1) + Identifier right.number + OrderByElement (children 1) + Identifier i + Set diff --git a/parser/testdata/03710_analyzer_limit_by_aggregate_validation/explain.txt b/parser/testdata/03710_analyzer_limit_by_aggregate_validation/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03710_analyzer_limit_by_aggregate_validation/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03710_argAndMinMax/explain.txt b/parser/testdata/03710_argAndMinMax/explain.txt new file mode 100644 index 000000000..6439726ec --- /dev/null +++ b/parser/testdata/03710_argAndMinMax/explain.txt @@ -0,0 +1,45 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 2) + Function argAndMin (children 1) + ExpressionList (children 2) + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_1 + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_2 + Function argAndMax (children 1) + ExpressionList (children 2) + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_1 + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier x + Literal UInt64_2 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function tuple (alias x) (children 1) + ExpressionList (children 2) + Identifier number + Function plus (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_10 diff --git a/parser/testdata/03710_array_join_in_map_bug/explain.txt b/parser/testdata/03710_array_join_in_map_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03710_array_join_in_map_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03710_empty_tuple_lhs_in_function/explain.txt b/parser/testdata/03710_empty_tuple_lhs_in_function/explain.txt new file mode 100644 index 000000000..6aa9dbfc9 --- /dev/null +++ b/parser/testdata/03710_empty_tuple_lhs_in_function/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function in (children 1) + ExpressionList (children 2) + Function CAST (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList + Literal \'Tuple()\' + Function tuple (children 1) + ExpressionList diff --git a/parser/testdata/03710_midpoint/explain.txt b/parser/testdata/03710_midpoint/explain.txt new file mode 100644 index 000000000..5c2336467 --- /dev/null +++ b/parser/testdata/03710_midpoint/explain.txt @@ -0,0 +1,2 @@ +DropQuery midpoint_test (children 1) + Identifier midpoint_test diff --git a/parser/testdata/03710_pr_insert_into_mv_with_join/explain.txt b/parser/testdata/03710_pr_insert_into_mv_with_join/explain.txt new file mode 100644 index 000000000..4ef0197c6 --- /dev/null +++ b/parser/testdata/03710_pr_insert_into_mv_with_join/explain.txt @@ -0,0 +1,2 @@ +DropQuery mv (children 1) + Identifier mv diff --git a/parser/testdata/03710_pr_join_with_mv/explain.txt b/parser/testdata/03710_pr_join_with_mv/explain.txt new file mode 100644 index 000000000..0438b1455 --- /dev/null +++ b/parser/testdata/03710_pr_join_with_mv/explain.txt @@ -0,0 +1,2 @@ +DropQuery mv2 (children 1) + Identifier mv2 diff --git a/parser/testdata/03711_deduplication_blocks_part_log/explain.txt b/parser/testdata/03711_deduplication_blocks_part_log/explain.txt new file mode 100644 index 000000000..0209b88e5 --- /dev/null +++ b/parser/testdata/03711_deduplication_blocks_part_log/explain.txt @@ -0,0 +1,2 @@ +DropQuery 03710_database (children 1) + Identifier 03710_database diff --git a/parser/testdata/03711_json_skip_invalid_fields/explain.txt b/parser/testdata/03711_json_skip_invalid_fields/explain.txt new file mode 100644 index 000000000..d3a48237a --- /dev/null +++ b/parser/testdata/03711_json_skip_invalid_fields/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'Test 1: Skip invalid typed path - string cannot be coerced to Int64\' diff --git a/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain.txt b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03711_top_k_by_dynamic_filter/explain.txt b/parser/testdata/03711_top_k_by_dynamic_filter/explain.txt new file mode 100644 index 000000000..f16d15dac --- /dev/null +++ b/parser/testdata/03711_top_k_by_dynamic_filter/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab1 (children 1) + Identifier tab1 diff --git a/parser/testdata/03711_top_k_by_skip_index/explain.txt b/parser/testdata/03711_top_k_by_skip_index/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03711_top_k_by_skip_index/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03711_top_k_by_skip_index_dynamic/explain.txt b/parser/testdata/03711_top_k_by_skip_index_dynamic/explain.txt new file mode 100644 index 000000000..f16d15dac --- /dev/null +++ b/parser/testdata/03711_top_k_by_skip_index_dynamic/explain.txt @@ -0,0 +1,2 @@ +DropQuery tab1 (children 1) + Identifier tab1 diff --git a/parser/testdata/03712_json_advanced_shared_data_bug/explain.txt b/parser/testdata/03712_json_advanced_shared_data_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03712_json_advanced_shared_data_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03713_data_types_binary_deserialization_stack_overflow/explain.txt b/parser/testdata/03713_data_types_binary_deserialization_stack_overflow/explain.txt new file mode 100644 index 000000000..421f2198a --- /dev/null +++ b/parser/testdata/03713_data_types_binary_deserialization_stack_overflow/explain.txt @@ -0,0 +1,20 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function format (children 1) + ExpressionList (children 2) + Identifier RowBinaryWithNamesAndTypes + Function concat (children 1) + ExpressionList (children 2) + Literal \'x\' + Function repeat (children 1) + ExpressionList (children 2) + Literal \'\' + Literal UInt64_1000000 + Set +The query succeeded but the server error '636' was expected (query: EXPLAIN AST select * from format(RowBinaryWithNamesAndTypes, x'010178' || repeat(x'1e', 1000000)) settings input_format_binary_decode_types_in_binary_format=1; -- {serverError CANNOT_EXTRACT_TABLE_STRUCTURE}). diff --git a/parser/testdata/03713_group_by_injective_function_old_analyzer/metadata.json b/parser/testdata/03713_group_by_injective_function_old_analyzer/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03713_group_by_injective_function_old_analyzer/metadata.json +++ b/parser/testdata/03713_group_by_injective_function_old_analyzer/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03713_optimize_inverse_dictionary_lookup_setting_rewrite_in_to_join/explain.txt b/parser/testdata/03713_optimize_inverse_dictionary_lookup_setting_rewrite_in_to_join/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03713_optimize_inverse_dictionary_lookup_setting_rewrite_in_to_join/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03713_replicated_columns_in_external_data_bug/explain.txt b/parser/testdata/03713_replicated_columns_in_external_data_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03713_replicated_columns_in_external_data_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03714_base32_base58_short_string/explain.txt b/parser/testdata/03714_base32_base58_short_string/explain.txt new file mode 100644 index 000000000..82b6d757e --- /dev/null +++ b/parser/testdata/03714_base32_base58_short_string/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function base32Encode (children 1) + ExpressionList (children 1) + Function randomString (children 1) + ExpressionList (children 2) + Literal UInt64_1 + Literal UInt64_100 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_1000 + Identifier Null diff --git a/parser/testdata/03714_empty_tuple_reverse_function/explain.txt b/parser/testdata/03714_empty_tuple_reverse_function/explain.txt new file mode 100644 index 000000000..d43daa139 --- /dev/null +++ b/parser/testdata/03714_empty_tuple_reverse_function/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function reverse (children 1) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList diff --git a/parser/testdata/03714_queries_escaping_1/explain.txt b/parser/testdata/03714_queries_escaping_1/explain.txt new file mode 100644 index 000000000..96200a0c7 --- /dev/null +++ b/parser/testdata/03714_queries_escaping_1/explain.txt @@ -0,0 +1 @@ +ShowColumns diff --git a/parser/testdata/03714_queries_escaping_2/explain.txt b/parser/testdata/03714_queries_escaping_2/explain.txt new file mode 100644 index 000000000..7d8945f59 --- /dev/null +++ b/parser/testdata/03714_queries_escaping_2/explain.txt @@ -0,0 +1 @@ +ShowFunctions diff --git a/parser/testdata/03715_empty_tuple_functions_conversion/explain.txt b/parser/testdata/03715_empty_tuple_functions_conversion/explain.txt new file mode 100644 index 000000000..bdae95c55 --- /dev/null +++ b/parser/testdata/03715_empty_tuple_functions_conversion/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList + Literal \'SimpleAggregateFunction(min, Tuple())\' diff --git a/parser/testdata/03716_anti_join_runtime_filters_2/explain.txt b/parser/testdata/03716_anti_join_runtime_filters_2/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03716_anti_join_runtime_filters_2/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03716_bson_each_row_empty_tuple_column/explain.txt b/parser/testdata/03716_bson_each_row_empty_tuple_column/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03716_bson_each_row_empty_tuple_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03716_join_duplicate_columns_89411/explain.txt b/parser/testdata/03716_join_duplicate_columns_89411/explain.txt new file mode 100644 index 000000000..a2542b834 --- /dev/null +++ b/parser/testdata/03716_join_duplicate_columns_89411/explain.txt @@ -0,0 +1,6 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Identifier t1.k + Identifier t2.k diff --git a/parser/testdata/03716_join_right_side_sorting/explain.txt b/parser/testdata/03716_join_right_side_sorting/explain.txt new file mode 100644 index 000000000..8827c47de --- /dev/null +++ b/parser/testdata/03716_join_right_side_sorting/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 diff --git a/parser/testdata/03716_multiple_joins_using_top_level_identifier/explain.txt b/parser/testdata/03716_multiple_joins_using_top_level_identifier/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03716_multiple_joins_using_top_level_identifier/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03716_text_index_drop_caches/explain.txt b/parser/testdata/03716_text_index_drop_caches/explain.txt new file mode 100644 index 000000000..7ea0b57fd --- /dev/null +++ b/parser/testdata/03716_text_index_drop_caches/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_text_index_drop_caches (children 1) + Identifier t_text_index_drop_caches diff --git a/parser/testdata/03716_topk_bad_data/explain.txt b/parser/testdata/03716_topk_bad_data/explain.txt new file mode 100644 index 000000000..ac0ce535b --- /dev/null +++ b/parser/testdata/03716_topk_bad_data/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function finalizeAggregation (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Function unhex (children 1) + ExpressionList (children 1) + Literal \'012A0300000000000000030000000000000043434303000000000000004141410400000000000000414141410100800200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\' + Literal \'AggregateFunction(approx_top_k(3), Array(Array(String)))\' +The query succeeded but the server error '190' was expected (query: EXPLAIN AST SELECT finalizeAggregation(CAST(unhex('012A0300000000000000030000000000000043434303000000000000004141410400000000000000414141410100800200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'), 'AggregateFunction(approx_top_k(3), Array(Array(String)))')); -- { serverError SIZES_OF_ARRAYS_DONT_MATCH }). diff --git a/parser/testdata/03717_msgpack_empty_tuple_column/explain.txt b/parser/testdata/03717_msgpack_empty_tuple_column/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03717_msgpack_empty_tuple_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03717_system_unicode_enums/explain.txt b/parser/testdata/03717_system_unicode_enums/explain.txt new file mode 100644 index 000000000..f0594f485 --- /dev/null +++ b/parser/testdata/03717_system_unicode_enums/explain.txt @@ -0,0 +1,25 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 4) + Identifier code_point + Identifier code_point_value + Identifier name + Identifier block + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.unicode + Function and (children 1) + ExpressionList (children 2) + Function equals (children 1) + ExpressionList (children 2) + Identifier numeric_type + Literal \'Digit\' + Function equals (children 1) + ExpressionList (children 2) + Identifier block + Literal \'Ethiopic\' + ExpressionList (children 1) + OrderByElement (children 1) + Identifier code_point diff --git a/parser/testdata/03719_generic_hash_over_constant_and_non_constant/explain.txt b/parser/testdata/03719_generic_hash_over_constant_and_non_constant/explain.txt new file mode 100644 index 000000000..785e75493 --- /dev/null +++ b/parser/testdata/03719_generic_hash_over_constant_and_non_constant/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function sipHash64 (children 1) + ExpressionList (children 2) + Identifier number + Function CAST (children 1) + ExpressionList (children 2) + Literal \'42\' + Literal \'Variant(UInt64, String)\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_2 diff --git a/parser/testdata/03719_ntile_no_partition_by_check/explain.txt b/parser/testdata/03719_ntile_no_partition_by_check/explain.txt new file mode 100644 index 000000000..79f69fff6 --- /dev/null +++ b/parser/testdata/03719_ntile_no_partition_by_check/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'With Partition By\' diff --git a/parser/testdata/03720_const_limit_to_scalar/explain.txt b/parser/testdata/03720_const_limit_to_scalar/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03720_const_limit_to_scalar/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03720_datetime64_bad_inference/explain.txt b/parser/testdata/03720_datetime64_bad_inference/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03720_datetime64_bad_inference/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03720_file_engine_second_crash/explain.txt b/parser/testdata/03720_file_engine_second_crash/explain.txt new file mode 100644 index 000000000..490628c72 --- /dev/null +++ b/parser/testdata/03720_file_engine_second_crash/explain.txt @@ -0,0 +1,61 @@ +CreateQuery t141 (children 3) + Identifier t141 + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration c0 (children 1) + DataType Date + Storage definition (children 1) + Function File (children 1) + ExpressionList (children 2) + Identifier c0 + Function greaterOrEquals (children 1) + ExpressionList (children 2) + Function tupleElement (children 1) + ExpressionList (children 2) + Identifier c0 + Literal UInt64_2 + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 4) + ExpressionList (children 1) + Function min (children 1) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Function CAST (children 1) + ExpressionList (children 2) + Literal \'307:21:40.753024937\' + Literal \'Time64(3)\' + Literal \'Time64(3)\' + Literal UInt64_0 + ExpressionList (children 1) + Function min (children 1) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Function CAST (children 1) + ExpressionList (children 2) + Literal \'307:21:40.753024937\' + Literal \'Time64(3)\' + Literal \'Time64(3)\' + Literal UInt64_0 +The query succeeded but the server error '36' was expected (query: EXPLAIN AST CREATE TABLE `t141` (`c0` Date) ENGINE = File(`c0`, (+`c0`.2) >= ANY(SELECT '307:21:40.753024937'::Time64(3)::Time64(3) OFFSET 0 ROWS)); -- {serverError BAD_ARGUMENTS}). diff --git a/parser/testdata/03720_ntile_double_order_by_check/metadata.json b/parser/testdata/03720_ntile_double_order_by_check/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03720_ntile_double_order_by_check/metadata.json +++ b/parser/testdata/03720_ntile_double_order_by_check/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03720_numbers_table_function_with_step_edge_cases/explain.txt b/parser/testdata/03720_numbers_table_function_with_step_edge_cases/explain.txt new file mode 100644 index 000000000..9478a0d9f --- /dev/null +++ b/parser/testdata/03720_numbers_table_function_with_step_edge_cases/explain.txt @@ -0,0 +1,8 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function multiply (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_1 diff --git a/parser/testdata/03720_ubsan_dictionary_parameters/metadata.json b/parser/testdata/03720_ubsan_dictionary_parameters/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03720_ubsan_dictionary_parameters/metadata.json +++ b/parser/testdata/03720_ubsan_dictionary_parameters/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03721_aggregate_projection_actions_dag/explain.txt b/parser/testdata/03721_aggregate_projection_actions_dag/explain.txt new file mode 100644 index 000000000..2dc2d2a36 --- /dev/null +++ b/parser/testdata/03721_aggregate_projection_actions_dag/explain.txt @@ -0,0 +1,2 @@ +CreateQuery test (children 1) + Identifier test diff --git a/parser/testdata/03721_concurrent_right_join_flags_per_row_bug/explain.txt b/parser/testdata/03721_concurrent_right_join_flags_per_row_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03721_concurrent_right_join_flags_per_row_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03721_insert_replicated_array_nested_sizes_check/explain.txt b/parser/testdata/03721_insert_replicated_array_nested_sizes_check/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03721_insert_replicated_array_nested_sizes_check/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03721_join_residual_condition_bug_88635/explain.txt b/parser/testdata/03721_join_residual_condition_bug_88635/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03721_join_residual_condition_bug_88635/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03721_right_join_logical_step/explain.txt b/parser/testdata/03721_right_join_logical_step/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03721_right_join_logical_step/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03721_statistics_alter_type_bug/explain.txt b/parser/testdata/03721_statistics_alter_type_bug/explain.txt new file mode 100644 index 000000000..0d9599f6d --- /dev/null +++ b/parser/testdata/03721_statistics_alter_type_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery column_modify_test (children 1) + Identifier column_modify_test diff --git a/parser/testdata/03722_function_trim_ltrim_rtrim_alias/explain.txt b/parser/testdata/03722_function_trim_ltrim_rtrim_alias/explain.txt new file mode 100644 index 000000000..0d7664461 --- /dev/null +++ b/parser/testdata/03722_function_trim_ltrim_rtrim_alias/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 2) + Function trimLeft (children 1) + ExpressionList (children 1) + Literal \' leading \' + Function trimLeft (children 1) + ExpressionList (children 1) + Literal \' leading \' diff --git a/parser/testdata/03722_json_compact_part_substreams_cache_bug/explain.txt b/parser/testdata/03722_json_compact_part_substreams_cache_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03722_json_compact_part_substreams_cache_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03722_random_utf8_bug/explain.txt b/parser/testdata/03722_random_utf8_bug/explain.txt new file mode 100644 index 000000000..457cbefa8 --- /dev/null +++ b/parser/testdata/03722_random_utf8_bug/explain.txt @@ -0,0 +1,23 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function randomStringUTF8 (children 1) + ExpressionList (children 1) + Function plus (children 1) + ExpressionList (children 2) + Function minus (children 1) + ExpressionList (children 2) + Literal UInt64_18446744073709551615 + Literal UInt64_1000 + Function multiply (children 1) + ExpressionList (children 2) + Identifier number + Literal UInt64_2003 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_2 +The query succeeded but the server error '131' was expected (query: EXPLAIN AST select randomStringUTF8(18446744073709551615-1000+number*2003) from numbers(2); -- { serverError TOO_LARGE_STRING_SIZE }). diff --git a/parser/testdata/03723_incorrect_implicit_projection/explain.txt b/parser/testdata/03723_incorrect_implicit_projection/explain.txt new file mode 100644 index 000000000..691271b6a --- /dev/null +++ b/parser/testdata/03723_incorrect_implicit_projection/explain.txt @@ -0,0 +1,2 @@ +DropQuery prd_bid_events_simple_no_partition (children 1) + Identifier prd_bid_events_simple_no_partition diff --git a/parser/testdata/03724_filter_assume_not_null_materialize/explain.txt b/parser/testdata/03724_filter_assume_not_null_materialize/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03724_filter_assume_not_null_materialize/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03724_parallel_replicas_duplicate_requests/explain.txt b/parser/testdata/03724_parallel_replicas_duplicate_requests/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03724_parallel_replicas_duplicate_requests/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03724_to_date_time_or_null_negative_arg_bug/explain.txt b/parser/testdata/03724_to_date_time_or_null_negative_arg_bug/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03724_to_date_time_or_null_negative_arg_bug/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03725_empty_tuple_some_limit_with_ties_distinct/explain.txt b/parser/testdata/03725_empty_tuple_some_limit_with_ties_distinct/explain.txt new file mode 100644 index 000000000..fc8145a59 --- /dev/null +++ b/parser/testdata/03725_empty_tuple_some_limit_with_ties_distinct/explain.txt @@ -0,0 +1,10 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Function tuple (children 1) + ExpressionList + ExpressionList (children 1) + OrderByElement (children 1) + Literal UInt64_1 + Literal UInt64_1 diff --git a/parser/testdata/03725_json_dynamic_subcolumn_prewhere_zero_index_granularity_bytes/explain.txt b/parser/testdata/03725_json_dynamic_subcolumn_prewhere_zero_index_granularity_bytes/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03725_json_dynamic_subcolumn_prewhere_zero_index_granularity_bytes/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03725_variant_element_null_map_subcolumn_prewhere_zero_index_granularity_bytes/explain.txt b/parser/testdata/03725_variant_element_null_map_subcolumn_prewhere_zero_index_granularity_bytes/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03725_variant_element_null_map_subcolumn_prewhere_zero_index_granularity_bytes/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03726_array_union_with_dynamic_argument/explain.txt b/parser/testdata/03726_array_union_with_dynamic_argument/explain.txt new file mode 100644 index 000000000..50a4a046b --- /dev/null +++ b/parser/testdata/03726_array_union_with_dynamic_argument/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayUnion (children 1) + ExpressionList (children 2) + Literal Array_[UInt64_1] + Function array (children 1) + ExpressionList (children 1) + Function CAST (children 1) + ExpressionList (children 2) + Literal \'a\' + Literal \'Dynamic\' diff --git a/parser/testdata/03727_alter_with_localhost_remote/explain.txt b/parser/testdata/03727_alter_with_localhost_remote/explain.txt new file mode 100644 index 000000000..24ba67fc3 --- /dev/null +++ b/parser/testdata/03727_alter_with_localhost_remote/explain.txt @@ -0,0 +1 @@ +DROP USER query diff --git a/parser/testdata/03727_block_structure_mismatch_after_filter_push_down/explain.txt b/parser/testdata/03727_block_structure_mismatch_after_filter_push_down/explain.txt new file mode 100644 index 000000000..b55818d6b --- /dev/null +++ b/parser/testdata/03727_block_structure_mismatch_after_filter_push_down/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Asterisk diff --git a/parser/testdata/03727_concat_with_separator_subquery/explain.txt b/parser/testdata/03727_concat_with_separator_subquery/explain.txt new file mode 100644 index 000000000..ea17bff5f --- /dev/null +++ b/parser/testdata/03727_concat_with_separator_subquery/explain.txt @@ -0,0 +1,18 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function concatWithSeparator (children 1) + ExpressionList (children 3) + Identifier c0 + Literal \'b\' + Literal UInt64_1 + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (alias tx) (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal \'a\' (alias c0) diff --git a/parser/testdata/03727_ipv4_parsing_bug/explain.txt b/parser/testdata/03727_ipv4_parsing_bug/explain.txt new file mode 100644 index 000000000..8c50befcf --- /dev/null +++ b/parser/testdata/03727_ipv4_parsing_bug/explain.txt @@ -0,0 +1,17 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function IPv6NumToString (children 1) + ExpressionList (children 1) + Function IPv6StringToNumOrDefault (children 1) + ExpressionList (children 1) + Identifier x + TablesInSelectQuery (children 2) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + TableIdentifier system.one + TablesInSelectQueryElement (children 1) + ArrayJoin (children 1) + ExpressionList (children 1) + Literal Array_[\'24\', \'5.123.234\'] (alias x) diff --git a/parser/testdata/03727_rename_nested_and_modify_in_one_later/explain.txt b/parser/testdata/03727_rename_nested_and_modify_in_one_later/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03727_rename_nested_and_modify_in_one_later/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03727_tolowcardinality_nullable_cast/explain.txt b/parser/testdata/03727_tolowcardinality_nullable_cast/explain.txt new file mode 100644 index 000000000..c2332cdec --- /dev/null +++ b/parser/testdata/03727_tolowcardinality_nullable_cast/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_tolowcardinality_nullable (children 1) + Identifier test_tolowcardinality_nullable diff --git a/parser/testdata/03728_analyzer_identifier_resolution_join/explain.txt b/parser/testdata/03728_analyzer_identifier_resolution_join/explain.txt new file mode 100644 index 000000000..25d25bff8 --- /dev/null +++ b/parser/testdata/03728_analyzer_identifier_resolution_join/explain.txt @@ -0,0 +1,2 @@ +DropQuery address (children 1) + Identifier address diff --git a/parser/testdata/03728_explain_column_structure/explain.txt b/parser/testdata/03728_explain_column_structure/explain.txt new file mode 100644 index 000000000..fa9917a6e --- /dev/null +++ b/parser/testdata/03728_explain_column_structure/explain.txt @@ -0,0 +1,31 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 3) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function viewExplain (children 1) + ExpressionList (children 3) + Literal \'EXPLAIN\' + Literal \'header = 1, input_headers = 1\' + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Literal UInt64_1 + Function notLike (children 1) + ExpressionList (children 2) + Identifier explain + Literal \'Expression%\' diff --git a/parser/testdata/03729_function_hmac/metadata.json b/parser/testdata/03729_function_hmac/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03729_function_hmac/metadata.json +++ b/parser/testdata/03729_function_hmac/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03730_qbit_in_order_by_and_comparison_functions/explain.txt b/parser/testdata/03730_qbit_in_order_by_and_comparison_functions/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03730_qbit_in_order_by_and_comparison_functions/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03731_null_parts_in_storage_snapshot_with_only_analyze/explain.txt b/parser/testdata/03731_null_parts_in_storage_snapshot_with_only_analyze/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03731_null_parts_in_storage_snapshot_with_only_analyze/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03731_query_condition_cache_folded_constants/metadata.json b/parser/testdata/03731_query_condition_cache_folded_constants/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03731_query_condition_cache_folded_constants/metadata.json +++ b/parser/testdata/03731_query_condition_cache_folded_constants/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03732_join_on_exists_bug/explain.txt b/parser/testdata/03732_join_on_exists_bug/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03732_join_on_exists_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03732_json_duplicated_path_in_dynamic_paths_and_shared_data_bug/explain.txt b/parser/testdata/03732_json_duplicated_path_in_dynamic_paths_and_shared_data_bug/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03732_json_duplicated_path_in_dynamic_paths_and_shared_data_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03732_json_duplicated_path_in_dynamic_paths_and_shared_data_compact_part_bug/explain.txt b/parser/testdata/03732_json_duplicated_path_in_dynamic_paths_and_shared_data_compact_part_bug/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03732_json_duplicated_path_in_dynamic_paths_and_shared_data_compact_part_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03733_anti_join_runtime_filter_3/explain.txt b/parser/testdata/03733_anti_join_runtime_filter_3/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03733_anti_join_runtime_filter_3/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03733_base58_decode_bug/explain.txt b/parser/testdata/03733_base58_decode_bug/explain.txt new file mode 100644 index 000000000..89d20b8d2 --- /dev/null +++ b/parser/testdata/03733_base58_decode_bug/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 2) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Function base58Decode (children 1) + ExpressionList (children 1) + Function materialize (children 1) + ExpressionList (children 1) + Literal \'11111111111111\' + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function numbers (children 1) + ExpressionList (children 1) + Literal UInt64_100000 + Identifier Null diff --git a/parser/testdata/03733_join_order_dp/explain.txt b/parser/testdata/03733_join_order_dp/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03733_join_order_dp/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03733_summing_merge_tree_nested_low_cardinality/explain.txt b/parser/testdata/03733_summing_merge_tree_nested_low_cardinality/explain.txt new file mode 100644 index 000000000..ffdb4c6c3 --- /dev/null +++ b/parser/testdata/03733_summing_merge_tree_nested_low_cardinality/explain.txt @@ -0,0 +1,22 @@ +CreateQuery sums (children 3) + Identifier sums + Columns definition (children 1) + ExpressionList (children 3) + ColumnDeclaration key (children 1) + DataType LowCardinality (children 1) + ExpressionList (children 1) + DataType String + ColumnDeclaration sumOfSums (children 1) + DataType UInt64 + ColumnDeclaration sumsMap (children 1) + DataType Nested (children 1) + ExpressionList (children 2) + NameTypePair key (children 1) + DataType LowCardinality (children 1) + ExpressionList (children 1) + DataType String + NameTypePair sum (children 1) + DataType UInt64 + Storage definition (children 2) + Function SummingMergeTree + Identifier key diff --git a/parser/testdata/03735_excessive_buffer_flush/explain.txt b/parser/testdata/03735_excessive_buffer_flush/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03735_excessive_buffer_flush/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03740_alter_modify_query_dict_name_in_cse/explain.txt b/parser/testdata/03740_alter_modify_query_dict_name_in_cse/explain.txt new file mode 100644 index 000000000..4ef0197c6 --- /dev/null +++ b/parser/testdata/03740_alter_modify_query_dict_name_in_cse/explain.txt @@ -0,0 +1,2 @@ +DropQuery mv (children 1) + Identifier mv diff --git a/parser/testdata/03741_adaptive_write_buffer_initial_size_zero/explain.txt b/parser/testdata/03741_adaptive_write_buffer_initial_size_zero/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03741_adaptive_write_buffer_initial_size_zero/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03741_dict_get_in_cte_with_no_arguments_old_analyzer/explain.txt b/parser/testdata/03741_dict_get_in_cte_with_no_arguments_old_analyzer/explain.txt new file mode 100644 index 000000000..b4e47aab3 --- /dev/null +++ b/parser/testdata/03741_dict_get_in_cte_with_no_arguments_old_analyzer/explain.txt @@ -0,0 +1,13 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Subquery (children 1) + SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function dictGet (children 1) + ExpressionList + Set +The query succeeded but the server error '42' was expected (query: EXPLAIN AST SELECT ( SELECT dictGet() ) settings enable_analyzer=0; -- {serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH}). diff --git a/parser/testdata/03741_insert_select_subquery_from_file/explain.txt b/parser/testdata/03741_insert_select_subquery_from_file/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03741_insert_select_subquery_from_file/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03741_s3_glob_table_path_pushdown/metadata.json b/parser/testdata/03741_s3_glob_table_path_pushdown/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03741_s3_glob_table_path_pushdown/metadata.json +++ b/parser/testdata/03741_s3_glob_table_path_pushdown/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03741_subcolumns_of_materialized_columns_in_mutation/explain.txt b/parser/testdata/03741_subcolumns_of_materialized_columns_in_mutation/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03741_subcolumns_of_materialized_columns_in_mutation/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03742_array_filter_is_null_empty_array/explain.txt b/parser/testdata/03742_array_filter_is_null_empty_array/explain.txt new file mode 100644 index 000000000..9c62a8226 --- /dev/null +++ b/parser/testdata/03742_array_filter_is_null_empty_array/explain.txt @@ -0,0 +1,16 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Function arrayFilter (children 1) + ExpressionList (children 2) + Function lambda (children 1) + ExpressionList (children 2) + Function tuple (children 1) + ExpressionList (children 1) + Identifier x + Function isNotNull (children 1) + ExpressionList (children 1) + Identifier x + Function array (children 1) + ExpressionList diff --git a/parser/testdata/03742_array_join_empty_tuple/explain.txt b/parser/testdata/03742_array_join_empty_tuple/explain.txt new file mode 100644 index 000000000..aabc0afd8 --- /dev/null +++ b/parser/testdata/03742_array_join_empty_tuple/explain.txt @@ -0,0 +1,16 @@ +CreateQuery t0 (children 3) + Identifier t0 + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration c0 (children 1) + DataType Array (children 1) + ExpressionList (children 1) + DataType Int + ColumnDeclaration c1 (children 1) + DataType Tuple (children 1) + ExpressionList + Storage definition (children 2) + Function MergeTree (children 1) + ExpressionList + Function tuple (children 1) + ExpressionList diff --git a/parser/testdata/03742_lazy_materialization_of_array_after_alter_add_column/explain.txt b/parser/testdata/03742_lazy_materialization_of_array_after_alter_add_column/explain.txt new file mode 100644 index 000000000..734577c5d --- /dev/null +++ b/parser/testdata/03742_lazy_materialization_of_array_after_alter_add_column/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_lazy (children 1) + Identifier test_lazy diff --git a/parser/testdata/03742_test_flattened_crash/explain.txt b/parser/testdata/03742_test_flattened_crash/explain.txt new file mode 100644 index 000000000..51d7bf6b6 --- /dev/null +++ b/parser/testdata/03742_test_flattened_crash/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_flatten_nested_crash (children 1) + Identifier test_flatten_nested_crash diff --git a/parser/testdata/03743_fix_estimator_crash/explain.txt b/parser/testdata/03743_fix_estimator_crash/explain.txt new file mode 100644 index 000000000..65c8d7ba7 --- /dev/null +++ b/parser/testdata/03743_fix_estimator_crash/explain.txt @@ -0,0 +1,11 @@ +CreateQuery t0 (children 3) + Identifier t0 + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration c0 (children 1) + DataType Int + Storage definition (children 2) + Function MergeTree (children 1) + ExpressionList + Function tuple (children 1) + ExpressionList diff --git a/parser/testdata/03743_summing_and_aggregating_merge_tree_with_json_merge/explain.txt b/parser/testdata/03743_summing_and_aggregating_merge_tree_with_json_merge/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03743_summing_and_aggregating_merge_tree_with_json_merge/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03745_fix_dynamic_structure_in_compact_part/explain.txt b/parser/testdata/03745_fix_dynamic_structure_in_compact_part/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03745_fix_dynamic_structure_in_compact_part/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03747_float_parsing_subnormal/explain.txt b/parser/testdata/03747_float_parsing_subnormal/explain.txt new file mode 100644 index 000000000..0cd4c50b2 --- /dev/null +++ b/parser/testdata/03747_float_parsing_subnormal/explain.txt @@ -0,0 +1,9 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 3) + Literal \'FLOAT NORMAL DBL MIN\' + Literal Float64_2.2250738585072014e-308 + Function toTypeName (children 1) + ExpressionList (children 1) + Literal Float64_2.2250738585072014e-308 diff --git a/parser/testdata/03747_optimize_functions_to_subcolumns_columns_as_substreams/explain.txt b/parser/testdata/03747_optimize_functions_to_subcolumns_columns_as_substreams/explain.txt new file mode 100644 index 000000000..37381f351 --- /dev/null +++ b/parser/testdata/03747_optimize_functions_to_subcolumns_columns_as_substreams/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_empty_array (children 1) + Identifier test_empty_array diff --git a/parser/testdata/03748_coalescing_merge_tree_tuple_low_cardinality_and_dynamic/explain.txt b/parser/testdata/03748_coalescing_merge_tree_tuple_low_cardinality_and_dynamic/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03748_coalescing_merge_tree_tuple_low_cardinality_and_dynamic/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03748_default_minmax_indices_alter/explain.txt b/parser/testdata/03748_default_minmax_indices_alter/explain.txt new file mode 100644 index 000000000..682ecd254 --- /dev/null +++ b/parser/testdata/03748_default_minmax_indices_alter/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_implicit (children 1) + Identifier t_implicit diff --git a/parser/testdata/03748_tuple_of_sparse_elements_bug/explain.txt b/parser/testdata/03748_tuple_of_sparse_elements_bug/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03748_tuple_of_sparse_elements_bug/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03749_implicit_index_ephemeral_alias/explain.txt b/parser/testdata/03749_implicit_index_ephemeral_alias/explain.txt new file mode 100644 index 000000000..f439b69ae --- /dev/null +++ b/parser/testdata/03749_implicit_index_ephemeral_alias/explain.txt @@ -0,0 +1,2 @@ +DropQuery test_string (children 1) + Identifier test_string diff --git a/parser/testdata/03749_in_function_rewrite_lambda_lhs_non_const_rhs/explain.txt b/parser/testdata/03749_in_function_rewrite_lambda_lhs_non_const_rhs/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03749_in_function_rewrite_lambda_lhs_non_const_rhs/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03749_materialized_view_not_supports_parallel_write/explain.txt b/parser/testdata/03749_materialized_view_not_supports_parallel_write/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03749_materialized_view_not_supports_parallel_write/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03749_table_function_argument_asterisk/explain.txt b/parser/testdata/03749_table_function_argument_asterisk/explain.txt new file mode 100644 index 000000000..b55818d6b --- /dev/null +++ b/parser/testdata/03749_table_function_argument_asterisk/explain.txt @@ -0,0 +1,5 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 1) + ExpressionList (children 1) + Asterisk diff --git a/parser/testdata/03751_summing_coalescing_merge_tree_sparse_columns_in_header/explain.txt b/parser/testdata/03751_summing_coalescing_merge_tree_sparse_columns_in_header/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03751_summing_coalescing_merge_tree_sparse_columns_in_header/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03752_constant_expression_with_untuple/explain.txt b/parser/testdata/03752_constant_expression_with_untuple/explain.txt new file mode 100644 index 000000000..cb1142253 --- /dev/null +++ b/parser/testdata/03752_constant_expression_with_untuple/explain.txt @@ -0,0 +1 @@ +Set diff --git a/parser/testdata/03752_join_part/explain.txt b/parser/testdata/03752_join_part/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03752_join_part/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03753_merge_selector_amm/explain.txt b/parser/testdata/03753_merge_selector_amm/explain.txt new file mode 100644 index 000000000..38773513b --- /dev/null +++ b/parser/testdata/03753_merge_selector_amm/explain.txt @@ -0,0 +1,2 @@ +DropQuery mt (children 1) + Identifier mt diff --git a/parser/testdata/03753_replacing_empty_order_by/explain.txt b/parser/testdata/03753_replacing_empty_order_by/explain.txt new file mode 100644 index 000000000..684c2a871 --- /dev/null +++ b/parser/testdata/03753_replacing_empty_order_by/explain.txt @@ -0,0 +1,2 @@ +DropQuery t_empty_order_key (children 1) + Identifier t_empty_order_key diff --git a/parser/testdata/03753_segfault_with_empty_callback/explain.txt b/parser/testdata/03753_segfault_with_empty_callback/explain.txt new file mode 100644 index 000000000..1684cb9d8 --- /dev/null +++ b/parser/testdata/03753_segfault_with_empty_callback/explain.txt @@ -0,0 +1 @@ +SYSTEM query diff --git a/parser/testdata/03754_h3_polygon_to_cells_const/metadata.json b/parser/testdata/03754_h3_polygon_to_cells_const/metadata.json index ef120d978..f3254bcc3 100644 --- a/parser/testdata/03754_h3_polygon_to_cells_const/metadata.json +++ b/parser/testdata/03754_h3_polygon_to_cells_const/metadata.json @@ -1 +1 @@ -{"todo": true} +{"explain":false,"todo": true} diff --git a/parser/testdata/03755_circular_dictionary/explain.txt b/parser/testdata/03755_circular_dictionary/explain.txt new file mode 100644 index 000000000..eeb76d903 --- /dev/null +++ b/parser/testdata/03755_circular_dictionary/explain.txt @@ -0,0 +1,2 @@ +DropQuery filesystem_dict (children 1) + Identifier filesystem_dict diff --git a/parser/testdata/03755_enable_sparse_nullable_consistently/explain.txt b/parser/testdata/03755_enable_sparse_nullable_consistently/explain.txt new file mode 100644 index 000000000..a2d267175 --- /dev/null +++ b/parser/testdata/03755_enable_sparse_nullable_consistently/explain.txt @@ -0,0 +1,2 @@ +DropQuery t (children 1) + Identifier t diff --git a/parser/testdata/03755_final_prewhere_duplicate_columns/explain.txt b/parser/testdata/03755_final_prewhere_duplicate_columns/explain.txt new file mode 100644 index 000000000..c3e07655a --- /dev/null +++ b/parser/testdata/03755_final_prewhere_duplicate_columns/explain.txt @@ -0,0 +1,10 @@ +CreateQuery 03755_final_prewhere_duplicate_columns (children 3) + Identifier 03755_final_prewhere_duplicate_columns + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration c0 (children 1) + DataType UInt8 + Storage definition (children 2) + Function AggregatingMergeTree (children 1) + ExpressionList + Identifier c0 diff --git a/parser/testdata/03755_nested_recursive_cte/explain.txt b/parser/testdata/03755_nested_recursive_cte/explain.txt new file mode 100644 index 000000000..5c0f9eaf5 --- /dev/null +++ b/parser/testdata/03755_nested_recursive_cte/explain.txt @@ -0,0 +1,2 @@ +DropQuery t0 (children 1) + Identifier t0 diff --git a/parser/testdata/03755_pr_join_with_view/explain.txt b/parser/testdata/03755_pr_join_with_view/explain.txt new file mode 100644 index 000000000..78b2a1ef0 --- /dev/null +++ b/parser/testdata/03755_pr_join_with_view/explain.txt @@ -0,0 +1,2 @@ +DropQuery v (children 1) + Identifier v diff --git a/parser/testdata/03756_capn_proto_message_size_limit/explain.txt b/parser/testdata/03756_capn_proto_message_size_limit/explain.txt new file mode 100644 index 000000000..e7e2bb44b --- /dev/null +++ b/parser/testdata/03756_capn_proto_message_size_limit/explain.txt @@ -0,0 +1,11 @@ +CreateQuery 03756_capn_proto_message_size_limit (children 3) + Identifier 03756_capn_proto_message_size_limit + Columns definition (children 1) + ExpressionList (children 1) + ColumnDeclaration c0 (children 1) + DataType Decimal32 (children 1) + ExpressionList (children 1) + Literal UInt64_8 + Storage definition (children 1) + Function Memory (children 1) + ExpressionList diff --git a/parser/testdata/03756_mongodb_secret_arguments/explain.txt b/parser/testdata/03756_mongodb_secret_arguments/explain.txt new file mode 100644 index 000000000..d4f23399a --- /dev/null +++ b/parser/testdata/03756_mongodb_secret_arguments/explain.txt @@ -0,0 +1,14 @@ +SelectWithUnionQuery (children 1) + ExpressionList (children 1) + SelectQuery (children 2) + ExpressionList (children 1) + Asterisk + TablesInSelectQuery (children 1) + TablesInSelectQueryElement (children 1) + TableExpression (children 1) + Function mongodb (children 1) + ExpressionList (children 2) + Identifier some_named_collection + Function now (children 1) + ExpressionList +The query succeeded but the server error '42' was expected (query: EXPLAIN AST SELECT * FROM mongodb(some_named_collection, now()); -- { serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH }). diff --git a/parser/testdata/03756_update_query_formatting/explain.txt b/parser/testdata/03756_update_query_formatting/explain.txt new file mode 100644 index 000000000..aea7dfa01 --- /dev/null +++ b/parser/testdata/03756_update_query_formatting/explain.txt @@ -0,0 +1,12 @@ +CreateQuery 03756_update_query_formatting (children 3) + Identifier 03756_update_query_formatting + Columns definition (children 1) + ExpressionList (children 2) + ColumnDeclaration a (children 1) + DataType UInt64 + ColumnDeclaration b (children 1) + DataType UInt64 + Storage definition (children 3) + Function MergeTree + Identifier a + Set diff --git a/parser/testdata/03757_optimize_skip_unused_shards_with_type_cast/explain.txt b/parser/testdata/03757_optimize_skip_unused_shards_with_type_cast/explain.txt new file mode 100644 index 000000000..33989dd7d --- /dev/null +++ b/parser/testdata/03757_optimize_skip_unused_shards_with_type_cast/explain.txt @@ -0,0 +1,2 @@ +DropQuery t1 (children 1) + Identifier t1 diff --git a/parser/testdata/03758_positional_argument_agg_projection/explain.txt b/parser/testdata/03758_positional_argument_agg_projection/explain.txt new file mode 100644 index 000000000..3737a8cf5 --- /dev/null +++ b/parser/testdata/03758_positional_argument_agg_projection/explain.txt @@ -0,0 +1,2 @@ +DropQuery test (children 1) + Identifier test diff --git a/parser/testdata/03759_marks_cache_events/explain.txt b/parser/testdata/03759_marks_cache_events/explain.txt new file mode 100644 index 000000000..5092c825d --- /dev/null +++ b/parser/testdata/03759_marks_cache_events/explain.txt @@ -0,0 +1,2 @@ +DropQuery data (children 1) + Identifier data diff --git a/scripts/generate_explain.sh b/scripts/generate_explain.sh new file mode 100755 index 000000000..eca1c7238 --- /dev/null +++ b/scripts/generate_explain.sh @@ -0,0 +1,94 @@ +#!/bin/bash +# Generate explain.txt for all test queries in batches + +SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" +PROJECT_DIR="$(dirname "$SCRIPT_DIR")" +TESTDATA_DIR="$PROJECT_DIR/parser/testdata" +CLICKHOUSE_BIN="$PROJECT_DIR/clickhouse" + +BATCH_SIZE=${1:-100} +START_BATCH=${2:-0} + +# Get all test directories sorted +mapfile -t TEST_DIRS < <(find "$TESTDATA_DIR" -type d -mindepth 1 | sort) +TOTAL=${#TEST_DIRS[@]} + +echo "Total test directories: $TOTAL" +echo "Batch size: $BATCH_SIZE" +echo "Starting from batch: $START_BATCH" + +SUCCESS=0 +FAILED=0 +SKIPPED=0 + +START_IDX=$((START_BATCH * BATCH_SIZE)) +END_IDX=$((START_IDX + BATCH_SIZE)) +if [ $END_IDX -gt $TOTAL ]; then + END_IDX=$TOTAL +fi + +echo "Processing indices $START_IDX to $((END_IDX - 1))" + +for ((i=START_IDX; i&1) + exit_code=$? + + if [ $exit_code -eq 0 ]; then + echo "$result" > "$explain_file" + echo "[$i] OK $name" + ((SUCCESS++)) + else + # Update metadata.json with explain: false + if [ -f "$metadata_file" ]; then + # Read existing metadata and merge with explain: false + existing=$(cat "$metadata_file" | tr -d '\n') + if [[ "$existing" == "{}"* ]]; then + echo '{"explain":false}' > "$metadata_file" + elif [[ "$existing" == "{"* ]]; then + # Remove leading { and prepend with {"explain":false, + rest="${existing#\{}" + echo "{\"explain\":false,$rest" > "$metadata_file" + else + echo '{"explain":false}' > "$metadata_file" + fi + else + echo '{"explain":false}' > "$metadata_file" + fi + echo "[$i] FAIL $name" + ((FAILED++)) + fi +done + +echo "" +echo "Batch complete: Success=$SUCCESS, Failed=$FAILED, Skipped=$SKIPPED"