Commit 5b41f0d
committed
Enable 365 format roundtrip tests by adding missing Format support
- Add case-insensitive comparison for format tests to handle keyword
capitalization differences
- Add SETTINGS clause output for SELECT, CREATE TABLE, and table
functions
- Add alias output for identifiers (AS clause)
- These changes allow 365 additional tests with todo_format to pass
and be enabled1 parent aa2f543 commit 5b41f0d
File tree
368 files changed
+383
-366
lines changed- internal/format
- parser
- testdata
- 00012_array_join_alias_2
- 00020_distinct_order_by_distributed
- 00021_1_select_with_in
- 00021_2_select_with_in
- 00021_3_select_with_in
- 00022_func_higher_order_and_constants
- 00025_implicitly_used_subquery_column
- 00032_aggregate_key64
- 00033_aggregate_key_string
- 00035_aggregate_keys128
- 00036_aggregate_hashed
- 00053_replicate_segfault
- 00072_compare_date_and_string_index
- 00075_left_array_join
- 00078_group_by_arrays
- 00078_string_concat
- 00081_int_div_or_zero
- 00082_append_trailing_char_if_absent
- 00125_array_element_of_array_of_tuple
- 00128_group_by_number_and_fixed_string
- 00129_quantile_timing_weighted
- 00149_function_url_hash
- 00164_quantileBfloat16
- 00178_quantile_ddsketch
- 00207_left_array_join
- 00228_shard_quantiles_deterministic_merge_overflow
- 00230_array_functions_has_count_equal_index_of_non_const_second_arg
- 00233_position_function_family
- 00235_create_temporary_table_as
- 00254_tuple_extremes
- 00255_array_concat_string
- 00266_read_overflow_mode
- 00279_quantiles_permuted_args
- 00284_external_aggregation
- 00286_format_long_negative_float
- 00287_column_const_with_nan
- 00324_hashing_enums
- 00357_to_string_complex_types
- 00378_json_quote_64bit_integers
- 00396_uuid
- 00402_nan_and_extremes
- 00425_count_nullable
- 00442_filter_by_nullable
- 00451_left_array_join_and_constants
- 00452_left_array_join_and_nullable
- 00500_point_in_polygon_bug_2
- 00502_string_concat_with_array
- 00515_gcd_lcm
- 00522_multidimensional
- 00526_array_join_with_arrays_of_nullable
- 00534_exp10
- 00556_array_intersect
- 00557_array_resize
- 00583_limit_by_expressions
- 00589_removal_unused_columns_aggregation
- 00590_limit_by_column_removal
- 00627_recursive_alias
- 00634_rename_view
- 00685_output_format_json_escape_forward_slashes
- 00688_low_cardinality_alter_add_column
- 00688_low_cardinality_defaults
- 00688_low_cardinality_dictionary_deserialization
- 00688_low_cardinality_prewhere
- 00700_decimal_round
- 00710_array_enumerate_dense
- 00718_format_datetime_1
- 00718_format_datetime
- 00751_low_cardinality_nullable_group_by
- 00755_avg_value_size_hint_passing
- 00800_function_java_hash
- 00800_low_cardinality_join
- 00804_test_delta_codec_no_type_alter
- 00805_round_down
- 00840_top_k_weighted
- 00863_comma_join_in
- 00879_cast_to_decimal_crash
- 00903_array_with_constant_function
- 00905_field_with_aggregate_function_state
- 00906_low_cardinality_const_argument
- 00917_least_sqr
- 00950_bad_alloc_when_truncate_join_storage
- 00954_resample_combinator
- 00957_coalesce_const_nullable_crash
- 00974_low_cardinality_cast
- 00980_crash_nullable_decimal
- 00981_topK_topKWeighted_long
- 00990_function_current_user
- 01011_group_uniq_array_memsan
- 01015_random_constant
- 01016_macros
- 01018_empty_aggregation_filling
- 01025_array_compact_generic
- 01030_final_mark_empty_primary_key
- 01032_cityHash64_for_decimal
- 01041_h3_is_valid
- 01047_nullable_rand
- 01050_group_array_sample
- 01051_same_name_alias_with_joins
- 01076_array_join_prewhere_const_folding
- 01078_merge_tree_read_one_thread
- 01079_new_range_reader_segfault
- 01086_modulo_or_zero
- 01088_array_slice_of_aggregate_functions
- 01098_sum
- 01114_alter_modify_compact_parts
- 01178_int_field_to_decimal
- 01222_system_codecs
- 01231_distributed_aggregation_memory_efficient_mix_levels
- 01252_weird_time_zone
- 01259_datetime64_ubsan
- 01268_DateTime64_in_WHERE
- 01277_fromUnixTimestamp64
- 01277_toUnixTimestamp64
- 01280_opencl_bitonic_order_by
- 01292_quantile_array_bug
- 01312_case_insensitive_regexp
- 01322_cast_keep_nullable
- 01323_too_many_threads_bug
- 01324_if_transform_strings_to_enum
- 01328_bad_peephole_optimization
- 01333_select_abc_asterisk
- 01350_intdiv_nontrivial_fpe
- 01353_nullable_tuple
- 01356_view_threads
- 01357_result_rows
- 01397_in_bad_arguments
- 01412_mod_float
- 01415_overlimiting_threads_for_repica_bug
- 01417_update_permutation_crash
- 01418_query_scope_constants_and_remote
- 01422_map_skip_null
- 01423_if_nullable_cond
- 01424_parse_date_time_bad_date
- 01427_pk_and_expression_with_different_type
- 01442_h3kring_range_check
- 01447_json_strings
- 01449_json_compact_strings
- 01456_min_negative_decimal_formatting
- 01463_resample_overflow
- 01470_show_databases_like
- 01492_array_join_crash_13829
- 01493_table_function_null
- 01513_ilike_like_cache
- 01518_cast_nullable_virtual_system_column
- 01567_system_processes_current_database
- 01570_aggregator_combinator_simple_state
- 01576_if_null_external_aggregation
- 01580_column_const_comparision
- 01592_toUnixTimestamp_Date
- 01595_countMatches
- 01600_min_max_compress_block_size
- 01615_random_one_shard_insertion
- 01634_sum_map_nulls
- 01645_system_table_engines
- 01652_ignore_and_low_cardinality
- 01654_bar_nan
- 01661_arraySlice_ubsan
- 01662_join_mixed
- 01683_intdiv_ubsan
- 01692_DateTime64_from_DateTime
- 01700_mod_negative_type_promotion
- 01706_optimize_normalize_count_variants
- 01717_global_with_subquery_fix
- 01746_convert_type_with_default
- 01774_ip_address_in_range_2
- 01774_ip_address_in_range
- 01780_column_sparse_distinct
- 01801_s3_cluster_count
- 01801_s3_cluster
- 01851_s2_to_geo
- 01852_s2_get_neighbours
- 01853_s2_cells_intersect
- 01866_bit_positions_to_array
- 01888_read_int_safe
- 01890_cross_join_explain_crash
- 01891_echo
- 01913_if_int_decimal
- 01915_json_extract_raw_string
- 01922_sum_null_for_remote
- 01925_test_group_by_const_consistency
- 01942_dateTimeToSnowflakeID
- 01958_partial_hour_timezone
- 01961_roaring_memory_tracking
- 02004_max_hyperscan_regex_length
- 02006_client_test_hint_error_name
- 02007_ipv4_and_ipv6_to_and_from_string
- 02012_get_server_port
- 02013_json_function_null_column
- 02032_short_circuit_least_greatest_bug
- 02041_conversion_between_date32_and_datetime64
- 02096_date_time_1970_saturation2
- 02096_date_time_1970_saturation
- 02096_totals_global_in_bug
- 02113_format_row_bug
- 02118_show_create_table_rocksdb
- 02128_hex_bin_on_uuid
- 02131_remove_columns_in_subquery
- 02148_issue_32737
- 02150_replace_regexp_all_empty_match
- 02154_bitmap_contains
- 02158_contingency
- 02185_split_by_char
- 02206_array_starts_ends_with
- 02209_short_circuit_node_without_parents
- 02242_negative_datetime64
- 02244_make_datetime
- 02248_nullable_custom_types_to_string
- 02252_executable_user_defined_function_short_circuit
- 02252_jit_profile_events
- 02267_type_inference_for_insert_into_function_null
- 02268_json_wrong_root_type_in_schema_inference
- 02285_executable_user_defined_function_group_by
- 02292_create_function_validate
- 02296_nullable_arguments_in_array_filter
- 02303_cast_nullable_to_custom_types
- 02313_displayname
- 02316_values_table_func_bug
- 02320_mapped_array_witn_const_nullable
- 02321_nested_short_circuit_functions
- 02347_rank_corr_nan
- 02353_ascii
- 02360_small_notation_h_for_hour_interval
- 02364_window_case
- 02365_multisearch_random_tests
- 02391_recursive_buffer
- 02407_array_element_from_map_wrong_type
- 02408_to_fixed_string_short_circuit
- 02428_partial_sort_optimization_bug
- 02429_offset_pipeline_stuck_bug
- 02430_initialize_aggregation_with_combinators
- 02456_datetime_schema_inference
- 02457_filesystem_function
- 02457_parse_date_time_best_effort
- 02462_number_to_datetype
- 02465_limit_trivial_max_rows_to_read
- 02475_date_time_schema_inference_bug
- 02477_age_datetime64
- 02478_factorial
- 02480_analyzer_alias_nullptr
- 02482_if_with_nothing_argument
- 02494_combinators_with_null_argument
- 02494_query_cache_case_agnostic_matching
- 02494_query_cache_explain
- 02494_query_cache_sparse_columns
- 02494_query_cache_system_tables
- 02496_from_unixtime_in_joda_syntax
- 02505_forbid_paths_in_datetime_timezone
- 02506_date_time64_floating_point_negative_value
- 02513_broken_datetime64_init_on_mac
- 02514_tsv_zero_started_number
- 02515_and_or_if_multiif_not_return_lc
- 02521_to_custom_day_of_week
- 02531_ipv4_arithmetic
- 02534_s3_heap_use_after_free
- 02536_system_sync_file_cache
- 02542_transform_old
- 02554_format_json_columns_for_empty
- 02554_log_faminy_support_storage_policy
- 02568_json_array_length
- 02591_bson_long_tuple
- 02662_sparse_columns_mutations_4
- 02662_sparse_columns_mutations_5
- 02668_parse_datetime_in_joda_syntax
- 02668_parse_datetime
- 02680_instr_alias_for_position_case_insensitive
- 02705_settings_check_changed_flag
- 02709_generate_random_valid_decimals_and_bools
- 02725_url_support_virtual_column
- 02734_optimize_group_by
- 02771_if_constant_folding
- 02783_parsedatetimebesteffort_syslog
- 02786_transform_float
- 02790_keyed_hash_bug
- 02797_range_nullable
- 02798_generic_transform
- 02798_substring_index
- 02801_transform_nullable
- 02809_has_subsequence
- 02810_convert_uuid_to_uint128
- 02810_initcap
- 02812_large_varints
- 02813_any_value
- 02832_integer_type_inference
- 02834_sparse_columns_sort_with_limit
- 02841_remote_parameter_parsing_error
- 02842_filesystem_cache_validate_path
- 02873_s3_presigned_url_and_url_with_special_characters
- 02875_json_array_as_string
- 02889_datetime64_from_string
- 02889_parts_columns_filenames
- 02893_system_drop_schema_cache_format
- 02900_decimal_sort_with_multiple_columns
- 02900_issue_55858
- 02916_date_text_parsing
- 02916_to_start_of_interval_with_origin
- 02922_respect_nulls_states
- 02933_compare_with_bool_as_string
- 02947_parallel_replicas_remote
- 02956_fix_to_start_of_milli_microsecond
- 02963_single_value_destructor
- 02981_vertical_merges_memory_usage
- 02985_if_over_big_int_decimal
- 02986_leftpad_fixedstring
- 02994_cosineDistanceNullable
- 02996_nullable_arrayReduce
- 02998_ipv6_hashing
- 03000_too_big_max_execution_time_setting
- 03009_storage_memory_circ_buffer_usage
- 03011_adaptative_timeout_compatibility
- 03013_addDays_with_timezone
- 03014_analyzer_group_by_use_nulls
- 03015_with_fill_invalid_expression
- 03018_analyzer_distributed_query_with_positional_arguments
- 03031_distinguish_bool_and_int_in_settings
- 03033_from_unixtimestamp_joda_by_int64
- 03034_json_extract_variant
- 03037_dot_product_overflow
- 03037_zero_step_in_numbers_table_function
- 03094_transform_return_first
- 03095_group_by_server_constants_bug
- 03096_largest_triangle_3b_crash
- 03144_alter_column_and_read
- 03164_linestring_geometry
- 03171_indexing_by_hilbert_curve
- 03215_varian_as_common_type_integers
- 03217_primary_index_memory_leak
- 03229_empty_tuple_in_array
- 03230_array_zip_unaligned
- 03230_date_trunc_and_to_start_of_interval_on_date32
- 03234_get_setting_or_default
- 03237_max_map_state_decimal_serialization
- 03243_compatibility_setting_with_alias
- 03247_json_extract_lc_nullable
- 03252_merge_tree_min_bytes_to_seek
- 03261_json_hints_types_check
- 03262_const_adaptive_index_granularity
- 03262_system_functions_should_not_fill_query_log_functions
- 03277_dead_letter_queue_unsupported
- 03280_dynamic_if_null
- 03286_format_datetime_timezones
- 03286_serialization_hint_system_columns
- 03292_nullable_json_schema_inference
- 03304_compare_substrings
- 03321_system_tables_parametrized_view_params
- 03363_estimate_compression_ratio_validation
- 03399_divide_zero_or_null
- 03403_toInterval
- 03405_bool_array_to_fixed_strings
- 03454_global_join_index_subqueries
- 03457_bug79403_marks_compress_block_is_zero
- 03511_formatDateTime_e_space_padding
- 03521_system_unicode
- 03546_add_distinct_to_in_clause
- 03546_part_granule_offset
- 03577_hash_output_format
- 03579_system_columns_column_alias
- 03581_bool_literal_column_name
- 03601_json_from_string_accurate_cast_or_null
- 03611_verify_exception_in_iceberg_iterator
- 03628_parse_date_time_short_circuit
- 03631_array_of_empty_tuples
- 03632_default_minmax_indices_alter
- 03708_low_cardinality_aggregate_state_compatibility
- 03719_generic_hash_over_constant_and_non_constant
- 03727_ipv4_parsing_bug
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
368 files changed
+383
-366
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
148 | 152 | | |
149 | 153 | | |
150 | 154 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
550 | 550 | | |
551 | 551 | | |
552 | 552 | | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
553 | 565 | | |
554 | 566 | | |
555 | 567 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
| 272 | + | |
272 | 273 | | |
273 | 274 | | |
274 | | - | |
| 275 | + | |
275 | 276 | | |
276 | 277 | | |
277 | 278 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
0 commit comments