mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
Merge pull request #60154 from Algunenano/settings_check
Add setting history check to stateless tests
This commit is contained in:
commit
33cd7c25b1
940
tests/queries/0_stateless/02995_baseline_23_12_1.tsv
Normal file
940
tests/queries/0_stateless/02995_baseline_23_12_1.tsv
Normal file
@ -0,0 +1,940 @@
|
||||
add_http_cors_header 0
|
||||
additional_result_filter
|
||||
additional_table_filters {}
|
||||
aggregate_functions_null_for_empty 0
|
||||
aggregation_in_order_max_block_bytes 50000000
|
||||
aggregation_memory_efficient_merge_threads 0
|
||||
allow_aggregate_partitions_independently 0
|
||||
allow_asynchronous_read_from_io_pool_for_merge_tree 0
|
||||
allow_changing_replica_until_first_data_packet 0
|
||||
allow_create_index_without_type 0
|
||||
allow_custom_error_code_in_throwif 0
|
||||
allow_ddl 1
|
||||
allow_deprecated_database_ordinary 0
|
||||
allow_deprecated_syntax_for_merge_tree 0
|
||||
allow_distributed_ddl 1
|
||||
allow_drop_detached 0
|
||||
allow_execute_multiif_columnar 1
|
||||
allow_experimental_alter_materialized_view_structure 1
|
||||
allow_experimental_analyzer 0
|
||||
allow_experimental_annoy_index 0
|
||||
allow_experimental_bigint_types 1
|
||||
allow_experimental_codecs 0
|
||||
allow_experimental_database_atomic 1
|
||||
allow_experimental_database_materialized_mysql 0
|
||||
allow_experimental_database_materialized_postgresql 0
|
||||
allow_experimental_database_replicated 0
|
||||
allow_experimental_funnel_functions 0
|
||||
allow_experimental_geo_types 1
|
||||
allow_experimental_hash_functions 0
|
||||
allow_experimental_inverted_index 0
|
||||
allow_experimental_lightweight_delete 1
|
||||
allow_experimental_live_view 0
|
||||
allow_experimental_map_type 1
|
||||
allow_experimental_materialized_postgresql_table 0
|
||||
allow_experimental_nlp_functions 0
|
||||
allow_experimental_object_type 0
|
||||
allow_experimental_parallel_reading_from_replicas 0
|
||||
allow_experimental_projection_optimization 1
|
||||
allow_experimental_query_cache 1
|
||||
allow_experimental_query_deduplication 0
|
||||
allow_experimental_refreshable_materialized_view 0
|
||||
allow_experimental_s3queue 1
|
||||
allow_experimental_shared_merge_tree 0
|
||||
allow_experimental_statistic 0
|
||||
allow_experimental_undrop_table_query 1
|
||||
allow_experimental_usearch_index 0
|
||||
allow_experimental_window_functions 1
|
||||
allow_experimental_window_view 0
|
||||
allow_hyperscan 1
|
||||
allow_introspection_functions 0
|
||||
allow_named_collection_override_by_default 1
|
||||
allow_non_metadata_alters 1
|
||||
allow_nonconst_timezone_arguments 0
|
||||
allow_nondeterministic_mutations 0
|
||||
allow_nondeterministic_optimize_skip_unused_shards 0
|
||||
allow_prefetched_read_pool_for_local_filesystem 0
|
||||
allow_prefetched_read_pool_for_remote_filesystem 1
|
||||
allow_push_predicate_when_subquery_contains_with 1
|
||||
allow_settings_after_format_in_insert 0
|
||||
allow_simdjson 1
|
||||
allow_statistic_optimize 0
|
||||
allow_suspicious_codecs 0
|
||||
allow_suspicious_fixed_string_types 0
|
||||
allow_suspicious_indices 0
|
||||
allow_suspicious_low_cardinality_types 0
|
||||
allow_suspicious_ttl_expressions 0
|
||||
allow_unrestricted_reads_from_keeper 0
|
||||
alter_move_to_space_execute_async 0
|
||||
alter_partition_verbose_result 0
|
||||
alter_sync 1
|
||||
analyze_index_with_space_filling_curves 1
|
||||
annoy_index_search_k_nodes -1
|
||||
any_join_distinct_right_table_keys 0
|
||||
apply_deleted_mask 1
|
||||
apply_mutations_on_fly 0
|
||||
asterisk_include_alias_columns 0
|
||||
asterisk_include_materialized_columns 0
|
||||
async_insert 0
|
||||
async_insert_busy_timeout_ms 200
|
||||
async_insert_cleanup_timeout_ms 1000
|
||||
async_insert_deduplicate 0
|
||||
async_insert_max_data_size 1000000
|
||||
async_insert_max_query_number 450
|
||||
async_insert_stale_timeout_ms 0
|
||||
async_insert_threads 16
|
||||
async_query_sending_for_remote 1
|
||||
async_socket_for_remote 1
|
||||
azure_create_new_file_on_insert 0
|
||||
azure_list_object_keys_size 1000
|
||||
azure_max_single_part_upload_size 104857600
|
||||
azure_max_single_read_retries 4
|
||||
azure_truncate_on_insert 0
|
||||
background_buffer_flush_schedule_pool_size 16
|
||||
background_common_pool_size 8
|
||||
background_distributed_schedule_pool_size 16
|
||||
background_fetches_pool_size 8
|
||||
background_merges_mutations_concurrency_ratio 2
|
||||
background_message_broker_schedule_pool_size 16
|
||||
background_move_pool_size 8
|
||||
background_pool_size 16
|
||||
background_schedule_pool_size 128
|
||||
backup_restore_batch_size_for_keeper_multi 1000
|
||||
backup_restore_batch_size_for_keeper_multiread 10000
|
||||
backup_restore_keeper_fault_injection_probability 0
|
||||
backup_restore_keeper_fault_injection_seed 0
|
||||
backup_restore_keeper_max_retries 20
|
||||
backup_restore_keeper_retry_initial_backoff_ms 100
|
||||
backup_restore_keeper_retry_max_backoff_ms 5000
|
||||
backup_restore_keeper_value_max_size 1048576
|
||||
backup_threads 16
|
||||
bool_false_representation false
|
||||
bool_true_representation true
|
||||
cache_warmer_threads 4
|
||||
calculate_text_stack_trace 1
|
||||
cancel_http_readonly_queries_on_client_close 0
|
||||
cast_ipv4_ipv6_default_on_conversion_error 0
|
||||
cast_keep_nullable 0
|
||||
check_query_single_value_result 1
|
||||
check_referential_table_dependencies 0
|
||||
check_table_dependencies 1
|
||||
checksum_on_read 1
|
||||
cloud_mode 0
|
||||
cloud_mode_engine 1
|
||||
cluster_for_parallel_replicas
|
||||
collect_hash_table_stats_during_aggregation 1
|
||||
column_names_for_schema_inference
|
||||
compatibility
|
||||
compatibility_ignore_auto_increment_in_create_table 0
|
||||
compatibility_ignore_collation_in_create_table 1
|
||||
compile_aggregate_expressions 1
|
||||
compile_expressions 0
|
||||
compile_sort_description 1
|
||||
connect_timeout 10
|
||||
connect_timeout_with_failover_ms 1000
|
||||
connect_timeout_with_failover_secure_ms 1000
|
||||
connection_pool_max_wait_ms 0
|
||||
connections_with_failover_max_tries 3
|
||||
convert_query_to_cnf 0
|
||||
count_distinct_implementation uniqExact
|
||||
count_distinct_optimization 0
|
||||
create_index_ignore_unique 0
|
||||
create_replicated_merge_tree_fault_injection_probability 0
|
||||
create_table_empty_primary_key_by_default 0
|
||||
cross_to_inner_join_rewrite 1
|
||||
data_type_default_nullable 0
|
||||
database_atomic_wait_for_drop_and_detach_synchronously 0
|
||||
database_replicated_allow_only_replicated_engine 0
|
||||
database_replicated_allow_replicated_engine_arguments 1
|
||||
database_replicated_always_detach_permanently 0
|
||||
database_replicated_ddl_output 1
|
||||
database_replicated_enforce_synchronous_settings 0
|
||||
database_replicated_initial_query_timeout_sec 300
|
||||
date_time_input_format basic
|
||||
date_time_output_format simple
|
||||
date_time_overflow_behavior ignore
|
||||
decimal_check_overflow 1
|
||||
deduplicate_blocks_in_dependent_materialized_views 0
|
||||
default_database_engine Atomic
|
||||
default_max_bytes_in_join 1000000000
|
||||
default_table_engine None
|
||||
default_temporary_table_engine Memory
|
||||
describe_compact_output 0
|
||||
describe_extend_object_types 0
|
||||
describe_include_subcolumns 0
|
||||
describe_include_virtual_columns 0
|
||||
dialect clickhouse
|
||||
dictionary_use_async_executor 0
|
||||
distinct_overflow_mode throw
|
||||
distributed_aggregation_memory_efficient 1
|
||||
distributed_background_insert_batch 0
|
||||
distributed_background_insert_max_sleep_time_ms 30000
|
||||
distributed_background_insert_sleep_time_ms 100
|
||||
distributed_background_insert_split_batch_on_failure 0
|
||||
distributed_background_insert_timeout 0
|
||||
distributed_connections_pool_size 1024
|
||||
distributed_ddl_entry_format_version 5
|
||||
distributed_ddl_output_mode throw
|
||||
distributed_ddl_task_timeout 180
|
||||
distributed_directory_monitor_batch_inserts 0
|
||||
distributed_directory_monitor_max_sleep_time_ms 30000
|
||||
distributed_directory_monitor_sleep_time_ms 100
|
||||
distributed_directory_monitor_split_batch_on_failure 0
|
||||
distributed_foreground_insert 0
|
||||
distributed_group_by_no_merge 0
|
||||
distributed_product_mode deny
|
||||
distributed_push_down_limit 1
|
||||
distributed_replica_error_cap 1000
|
||||
distributed_replica_error_half_life 60
|
||||
distributed_replica_max_ignored_errors 0
|
||||
do_not_merge_across_partitions_select_final 0
|
||||
drain_timeout 3
|
||||
empty_result_for_aggregation_by_constant_keys_on_empty_set 1
|
||||
empty_result_for_aggregation_by_empty_set 0
|
||||
enable_debug_queries 0
|
||||
enable_deflate_qpl_codec 0
|
||||
enable_early_constant_folding 1
|
||||
enable_extended_results_for_datetime_functions 0
|
||||
enable_filesystem_cache 1
|
||||
enable_filesystem_cache_log 0
|
||||
enable_filesystem_cache_on_write_operations 0
|
||||
enable_filesystem_read_prefetches_log 0
|
||||
enable_global_with_statement 1
|
||||
enable_http_compression 0
|
||||
enable_job_stack_trace 0
|
||||
enable_lightweight_delete 1
|
||||
enable_memory_bound_merging_of_aggregation_results 1
|
||||
enable_multiple_prewhere_read_steps 1
|
||||
enable_optimize_predicate_expression 1
|
||||
enable_optimize_predicate_expression_to_final_subquery 1
|
||||
enable_order_by_all 1
|
||||
enable_positional_arguments 1
|
||||
enable_reads_from_query_cache 1
|
||||
enable_s3_requests_logging 0
|
||||
enable_scalar_subquery_optimization 1
|
||||
enable_sharing_sets_for_mutations 1
|
||||
enable_software_prefetch_in_aggregation 1
|
||||
enable_unaligned_array_join 0
|
||||
enable_url_encoding 1
|
||||
enable_writes_to_query_cache 1
|
||||
engine_file_allow_create_multiple_files 0
|
||||
engine_file_empty_if_not_exists 0
|
||||
engine_file_skip_empty_files 0
|
||||
engine_file_truncate_on_insert 0
|
||||
engine_url_skip_empty_files 0
|
||||
errors_output_format CSV
|
||||
exact_rows_before_limit 0
|
||||
except_default_mode ALL
|
||||
external_storage_connect_timeout_sec 10
|
||||
external_storage_max_read_bytes 0
|
||||
external_storage_max_read_rows 0
|
||||
external_storage_rw_timeout_sec 300
|
||||
external_table_functions_use_nulls 1
|
||||
external_table_strict_query 0
|
||||
extract_kvp_max_pairs_per_row 1000
|
||||
extremes 0
|
||||
fallback_to_stale_replicas_for_distributed_queries 1
|
||||
filesystem_cache_max_download_size 137438953472
|
||||
filesystem_cache_segments_batch_size 20
|
||||
filesystem_prefetch_max_memory_usage 1073741824
|
||||
filesystem_prefetch_min_bytes_for_single_read_task 2097152
|
||||
filesystem_prefetch_step_bytes 0
|
||||
filesystem_prefetch_step_marks 0
|
||||
filesystem_prefetches_limit 200
|
||||
final 0
|
||||
flatten_nested 1
|
||||
force_aggregate_partitions_independently 0
|
||||
force_aggregation_in_order 0
|
||||
force_data_skipping_indices
|
||||
force_grouping_standard_compatibility 1
|
||||
force_index_by_date 0
|
||||
force_optimize_projection 0
|
||||
force_optimize_projection_name
|
||||
force_optimize_skip_unused_shards 0
|
||||
force_optimize_skip_unused_shards_nesting 0
|
||||
force_primary_key 0
|
||||
force_remove_data_recursively_on_drop 0
|
||||
format_avro_schema_registry_url
|
||||
format_binary_max_array_size 1073741824
|
||||
format_binary_max_string_size 1073741824
|
||||
format_capn_proto_enum_comparising_mode by_values
|
||||
format_capn_proto_use_autogenerated_schema 1
|
||||
format_csv_allow_double_quotes 1
|
||||
format_csv_allow_single_quotes 0
|
||||
format_csv_delimiter ,
|
||||
format_csv_null_representation \\N
|
||||
format_custom_escaping_rule Escaped
|
||||
format_custom_field_delimiter \t
|
||||
format_custom_result_after_delimiter
|
||||
format_custom_result_before_delimiter
|
||||
format_custom_row_after_delimiter \n
|
||||
format_custom_row_before_delimiter
|
||||
format_custom_row_between_delimiter
|
||||
format_display_secrets_in_show_and_select 0
|
||||
format_json_object_each_row_column_for_object_name
|
||||
format_protobuf_use_autogenerated_schema 1
|
||||
format_regexp
|
||||
format_regexp_escaping_rule Raw
|
||||
format_regexp_skip_unmatched 0
|
||||
format_schema
|
||||
format_template_resultset
|
||||
format_template_row
|
||||
format_template_rows_between_delimiter \n
|
||||
format_tsv_null_representation \\N
|
||||
formatdatetime_f_prints_single_zero 0
|
||||
formatdatetime_format_without_leading_zeros 0
|
||||
formatdatetime_parsedatetime_m_is_month_name 1
|
||||
fsync_metadata 1
|
||||
function_implementation
|
||||
function_json_value_return_type_allow_complex 0
|
||||
function_json_value_return_type_allow_nullable 0
|
||||
function_range_max_elements_in_block 500000000
|
||||
function_sleep_max_microseconds_per_block 3000000
|
||||
glob_expansion_max_elements 1000
|
||||
grace_hash_join_initial_buckets 1
|
||||
grace_hash_join_max_buckets 1024
|
||||
group_by_overflow_mode throw
|
||||
group_by_two_level_threshold 100000
|
||||
group_by_two_level_threshold_bytes 50000000
|
||||
group_by_use_nulls 0
|
||||
handle_kafka_error_mode default
|
||||
handshake_timeout_ms 10000
|
||||
hdfs_create_new_file_on_insert 0
|
||||
hdfs_replication 0
|
||||
hdfs_skip_empty_files 0
|
||||
hdfs_truncate_on_insert 0
|
||||
hedged_connection_timeout_ms 50
|
||||
hsts_max_age 0
|
||||
http_connection_timeout 1
|
||||
http_headers_progress_interval_ms 100
|
||||
http_make_head_request 1
|
||||
http_max_chunk_size 107374182400
|
||||
http_max_field_name_size 131072
|
||||
http_max_field_value_size 131072
|
||||
http_max_fields 1000000
|
||||
http_max_multipart_form_data_size 1073741824
|
||||
http_max_request_param_data_size 10485760
|
||||
http_max_tries 10
|
||||
http_max_uri_size 1048576
|
||||
http_native_compression_disable_checksumming_on_decompress 0
|
||||
http_receive_timeout 30
|
||||
http_response_buffer_size 0
|
||||
http_retry_initial_backoff_ms 100
|
||||
http_retry_max_backoff_ms 10000
|
||||
http_send_timeout 30
|
||||
http_skip_not_found_url_for_globs 1
|
||||
http_wait_end_of_query 0
|
||||
http_write_exception_in_output_format 1
|
||||
http_zlib_compression_level 3
|
||||
idle_connection_timeout 3600
|
||||
ignore_cold_parts_seconds 0
|
||||
ignore_data_skipping_indices
|
||||
ignore_on_cluster_for_replicated_access_entities_queries 0
|
||||
ignore_on_cluster_for_replicated_udf_queries 0
|
||||
implicit_transaction 0
|
||||
input_format_allow_errors_num 0
|
||||
input_format_allow_errors_ratio 0
|
||||
input_format_allow_seeks 1
|
||||
input_format_arrow_allow_missing_columns 1
|
||||
input_format_arrow_case_insensitive_column_matching 0
|
||||
input_format_arrow_import_nested 0
|
||||
input_format_arrow_skip_columns_with_unsupported_types_in_schema_inference 0
|
||||
input_format_avro_allow_missing_fields 0
|
||||
input_format_avro_null_as_default 0
|
||||
input_format_bson_skip_fields_with_unsupported_types_in_schema_inference 0
|
||||
input_format_capn_proto_skip_fields_with_unsupported_types_in_schema_inference 0
|
||||
input_format_csv_allow_cr_end_of_line 0
|
||||
input_format_csv_allow_variable_number_of_columns 0
|
||||
input_format_csv_allow_whitespace_or_tab_as_delimiter 0
|
||||
input_format_csv_arrays_as_nested_csv 0
|
||||
input_format_csv_detect_header 1
|
||||
input_format_csv_empty_as_default 1
|
||||
input_format_csv_enum_as_number 0
|
||||
input_format_csv_skip_first_lines 0
|
||||
input_format_csv_skip_trailing_empty_lines 0
|
||||
input_format_csv_trim_whitespaces 1
|
||||
input_format_csv_try_infer_numbers_from_strings 0
|
||||
input_format_csv_use_best_effort_in_schema_inference 1
|
||||
input_format_csv_use_default_on_bad_values 0
|
||||
input_format_custom_allow_variable_number_of_columns 0
|
||||
input_format_custom_detect_header 1
|
||||
input_format_custom_skip_trailing_empty_lines 0
|
||||
input_format_defaults_for_omitted_fields 1
|
||||
input_format_hive_text_collection_items_delimiter
|
||||
input_format_hive_text_fields_delimiter
|
||||
input_format_hive_text_map_keys_delimiter
|
||||
input_format_import_nested_json 0
|
||||
input_format_ipv4_default_on_conversion_error 0
|
||||
input_format_ipv6_default_on_conversion_error 0
|
||||
input_format_json_compact_allow_variable_number_of_columns 0
|
||||
input_format_json_defaults_for_missing_elements_in_named_tuple 1
|
||||
input_format_json_ignore_unknown_keys_in_named_tuple 1
|
||||
input_format_json_infer_incomplete_types_as_strings 1
|
||||
input_format_json_named_tuples_as_objects 1
|
||||
input_format_json_read_arrays_as_strings 1
|
||||
input_format_json_read_bools_as_numbers 1
|
||||
input_format_json_read_numbers_as_strings 1
|
||||
input_format_json_read_objects_as_strings 1
|
||||
input_format_json_try_infer_named_tuples_from_objects 1
|
||||
input_format_json_try_infer_numbers_from_strings 0
|
||||
input_format_json_validate_types_from_metadata 1
|
||||
input_format_max_bytes_to_read_for_schema_inference 33554432
|
||||
input_format_max_rows_to_read_for_schema_inference 25000
|
||||
input_format_msgpack_number_of_columns 0
|
||||
input_format_mysql_dump_map_column_names 1
|
||||
input_format_mysql_dump_table_name
|
||||
input_format_native_allow_types_conversion 1
|
||||
input_format_null_as_default 1
|
||||
input_format_orc_allow_missing_columns 1
|
||||
input_format_orc_case_insensitive_column_matching 0
|
||||
input_format_orc_filter_push_down 1
|
||||
input_format_orc_import_nested 0
|
||||
input_format_orc_row_batch_size 100000
|
||||
input_format_orc_skip_columns_with_unsupported_types_in_schema_inference 0
|
||||
input_format_orc_use_fast_decoder 1
|
||||
input_format_parallel_parsing 1
|
||||
input_format_parquet_allow_missing_columns 1
|
||||
input_format_parquet_case_insensitive_column_matching 0
|
||||
input_format_parquet_filter_push_down 1
|
||||
input_format_parquet_import_nested 0
|
||||
input_format_parquet_local_file_min_bytes_for_seek 8192
|
||||
input_format_parquet_max_block_size 8192
|
||||
input_format_parquet_preserve_order 0
|
||||
input_format_parquet_skip_columns_with_unsupported_types_in_schema_inference 0
|
||||
input_format_protobuf_flatten_google_wrappers 0
|
||||
input_format_protobuf_skip_fields_with_unsupported_types_in_schema_inference 0
|
||||
input_format_record_errors_file_path
|
||||
input_format_skip_unknown_fields 1
|
||||
input_format_try_infer_dates 1
|
||||
input_format_try_infer_datetimes 1
|
||||
input_format_try_infer_integers 1
|
||||
input_format_tsv_allow_variable_number_of_columns 0
|
||||
input_format_tsv_detect_header 1
|
||||
input_format_tsv_empty_as_default 0
|
||||
input_format_tsv_enum_as_number 0
|
||||
input_format_tsv_skip_first_lines 0
|
||||
input_format_tsv_skip_trailing_empty_lines 0
|
||||
input_format_tsv_use_best_effort_in_schema_inference 1
|
||||
input_format_values_accurate_types_of_literals 1
|
||||
input_format_values_allow_data_after_semicolon 0
|
||||
input_format_values_deduce_templates_of_expressions 1
|
||||
input_format_values_interpret_expressions 1
|
||||
input_format_with_names_use_header 1
|
||||
input_format_with_types_use_header 1
|
||||
insert_allow_materialized_columns 0
|
||||
insert_deduplicate 1
|
||||
insert_deduplication_token
|
||||
insert_distributed_one_random_shard 0
|
||||
insert_distributed_sync 0
|
||||
insert_distributed_timeout 0
|
||||
insert_keeper_fault_injection_probability 0
|
||||
insert_keeper_fault_injection_seed 0
|
||||
insert_keeper_max_retries 20
|
||||
insert_keeper_retry_initial_backoff_ms 100
|
||||
insert_keeper_retry_max_backoff_ms 10000
|
||||
insert_null_as_default 1
|
||||
insert_quorum 0
|
||||
insert_quorum_parallel 1
|
||||
insert_quorum_timeout 600000
|
||||
insert_shard_id 0
|
||||
interactive_delay 100000
|
||||
intersect_default_mode ALL
|
||||
interval_output_format numeric
|
||||
join_algorithm default
|
||||
join_any_take_last_row 0
|
||||
join_default_strictness ALL
|
||||
join_on_disk_max_files_to_merge 64
|
||||
join_overflow_mode throw
|
||||
join_use_nulls 0
|
||||
joined_subquery_requires_alias 1
|
||||
kafka_disable_num_consumers_limit 0
|
||||
kafka_max_wait_ms 5000
|
||||
keeper_map_strict_mode 0
|
||||
legacy_column_name_of_tuple_literal 0
|
||||
limit 0
|
||||
live_view_heartbeat_interval 15
|
||||
load_balancing random
|
||||
load_balancing_first_offset 0
|
||||
load_marks_asynchronously 0
|
||||
local_filesystem_read_method pread_threadpool
|
||||
local_filesystem_read_prefetch 0
|
||||
lock_acquire_timeout 120
|
||||
log_comment
|
||||
log_formatted_queries 0
|
||||
log_processors_profiles 0
|
||||
log_profile_events 1
|
||||
log_queries 1
|
||||
log_queries_cut_to_length 100000
|
||||
log_queries_min_query_duration_ms 0
|
||||
log_queries_min_type QUERY_START
|
||||
log_queries_probability 1
|
||||
log_query_settings 1
|
||||
log_query_threads 0
|
||||
log_query_views 1
|
||||
low_cardinality_allow_in_native_format 1
|
||||
low_cardinality_max_dictionary_size 8192
|
||||
low_cardinality_use_single_dictionary_for_part 0
|
||||
materialize_ttl_after_modify 1
|
||||
materialized_views_ignore_errors 0
|
||||
max_alter_threads \'auto(16)\'
|
||||
max_analyze_depth 5000
|
||||
max_ast_depth 1000
|
||||
max_ast_elements 50000
|
||||
max_backup_bandwidth 0
|
||||
max_block_size 65409
|
||||
max_bytes_before_external_group_by 0
|
||||
max_bytes_before_external_sort 0
|
||||
max_bytes_before_remerge_sort 1000000000
|
||||
max_bytes_in_distinct 0
|
||||
max_bytes_in_join 0
|
||||
max_bytes_in_set 0
|
||||
max_bytes_to_read 0
|
||||
max_bytes_to_read_leaf 0
|
||||
max_bytes_to_sort 0
|
||||
max_bytes_to_transfer 0
|
||||
max_columns_to_read 0
|
||||
max_compress_block_size 1048576
|
||||
max_concurrent_queries_for_all_users 0
|
||||
max_concurrent_queries_for_user 0
|
||||
max_distributed_connections 1024
|
||||
max_distributed_depth 5
|
||||
max_download_buffer_size 10485760
|
||||
max_download_threads 4
|
||||
max_entries_for_hash_table_stats 10000
|
||||
max_execution_speed 0
|
||||
max_execution_speed_bytes 0
|
||||
max_execution_time 0
|
||||
max_execution_time_leaf 0
|
||||
max_expanded_ast_elements 500000
|
||||
max_fetch_partition_retries_count 5
|
||||
max_final_threads \'auto(16)\'
|
||||
max_http_get_redirects 0
|
||||
max_hyperscan_regexp_length 0
|
||||
max_hyperscan_regexp_total_length 0
|
||||
max_insert_block_size 1048449
|
||||
max_insert_delayed_streams_for_parallel_write 0
|
||||
max_insert_threads 0
|
||||
max_joined_block_size_rows 65409
|
||||
max_limit_for_ann_queries 1000000
|
||||
max_live_view_insert_blocks_before_refresh 64
|
||||
max_local_read_bandwidth 0
|
||||
max_local_write_bandwidth 0
|
||||
max_memory_usage 0
|
||||
max_memory_usage_for_all_queries 0
|
||||
max_memory_usage_for_user 0
|
||||
max_network_bandwidth 0
|
||||
max_network_bandwidth_for_all_users 0
|
||||
max_network_bandwidth_for_user 0
|
||||
max_network_bytes 0
|
||||
max_number_of_partitions_for_independent_aggregation 128
|
||||
max_parallel_replicas 1
|
||||
max_parser_depth 1000
|
||||
max_partition_size_to_drop 50000000000
|
||||
max_partitions_per_insert_block 100
|
||||
max_partitions_to_read -1
|
||||
max_pipeline_depth 0
|
||||
max_query_size 262144
|
||||
max_read_buffer_size 1048576
|
||||
max_read_buffer_size_local_fs 131072
|
||||
max_read_buffer_size_remote_fs 0
|
||||
max_remote_read_network_bandwidth 0
|
||||
max_remote_read_network_bandwidth_for_server 0
|
||||
max_remote_write_network_bandwidth 0
|
||||
max_remote_write_network_bandwidth_for_server 0
|
||||
max_replica_delay_for_distributed_queries 300
|
||||
max_replicated_fetches_network_bandwidth_for_server 0
|
||||
max_replicated_sends_network_bandwidth_for_server 0
|
||||
max_result_bytes 0
|
||||
max_result_rows 0
|
||||
max_rows_in_distinct 0
|
||||
max_rows_in_join 0
|
||||
max_rows_in_set 0
|
||||
max_rows_in_set_to_optimize_join 100000
|
||||
max_rows_to_group_by 0
|
||||
max_rows_to_read 0
|
||||
max_rows_to_read_leaf 0
|
||||
max_rows_to_sort 0
|
||||
max_rows_to_transfer 0
|
||||
max_sessions_for_user 0
|
||||
max_size_to_preallocate_for_aggregation 100000000
|
||||
max_streams_for_merge_tree_reading 0
|
||||
max_streams_multiplier_for_merge_tables 5
|
||||
max_streams_to_max_threads_ratio 1
|
||||
max_subquery_depth 100
|
||||
max_table_size_to_drop 50000000000
|
||||
max_temporary_columns 0
|
||||
max_temporary_data_on_disk_size_for_query 0
|
||||
max_temporary_data_on_disk_size_for_user 0
|
||||
max_temporary_non_const_columns 0
|
||||
max_threads \'auto(16)\'
|
||||
max_threads_for_annoy_index_creation 4
|
||||
max_threads_for_indexes 0
|
||||
max_untracked_memory 4194304
|
||||
memory_overcommit_ratio_denominator 1073741824
|
||||
memory_overcommit_ratio_denominator_for_user 1073741824
|
||||
memory_profiler_sample_max_allocation_size 0
|
||||
memory_profiler_sample_min_allocation_size 0
|
||||
memory_profiler_sample_probability 0
|
||||
memory_profiler_step 4194304
|
||||
memory_tracker_fault_probability 0
|
||||
memory_usage_overcommit_max_wait_microseconds 5000000
|
||||
merge_tree_clear_old_parts_interval_seconds 1
|
||||
merge_tree_clear_old_temporary_directories_interval_seconds 60
|
||||
merge_tree_coarse_index_granularity 8
|
||||
merge_tree_compact_parts_min_granules_to_multibuffer_read 16
|
||||
merge_tree_determine_task_size_by_prewhere_columns 1
|
||||
merge_tree_max_bytes_to_use_cache 2013265920
|
||||
merge_tree_max_rows_to_use_cache 1048576
|
||||
merge_tree_min_bytes_for_concurrent_read 251658240
|
||||
merge_tree_min_bytes_for_concurrent_read_for_remote_filesystem 251658240
|
||||
merge_tree_min_bytes_for_seek 0
|
||||
merge_tree_min_bytes_per_task_for_remote_reading 4194304
|
||||
merge_tree_min_rows_for_concurrent_read 163840
|
||||
merge_tree_min_rows_for_concurrent_read_for_remote_filesystem 163840
|
||||
merge_tree_min_rows_for_seek 0
|
||||
merge_tree_use_const_size_tasks_for_remote_reading 1
|
||||
metrics_perf_events_enabled 0
|
||||
metrics_perf_events_list
|
||||
min_bytes_to_use_direct_io 0
|
||||
min_bytes_to_use_mmap_io 0
|
||||
min_chunk_bytes_for_parallel_parsing 10485760
|
||||
min_compress_block_size 65536
|
||||
min_count_to_compile_aggregate_expression 3
|
||||
min_count_to_compile_expression 3
|
||||
min_count_to_compile_sort_description 3
|
||||
min_execution_speed 0
|
||||
min_execution_speed_bytes 0
|
||||
min_free_disk_space_for_temporary_data 0
|
||||
min_hit_rate_to_use_consecutive_keys_optimization 0.5
|
||||
min_insert_block_size_bytes 268402944
|
||||
min_insert_block_size_bytes_for_materialized_views 0
|
||||
min_insert_block_size_rows 1048449
|
||||
min_insert_block_size_rows_for_materialized_views 0
|
||||
move_all_conditions_to_prewhere 1
|
||||
move_primary_key_columns_to_end_of_prewhere 1
|
||||
multiple_joins_rewriter_version 0
|
||||
multiple_joins_try_to_keep_original_names 0
|
||||
mutations_execute_nondeterministic_on_initiator 0
|
||||
mutations_execute_subqueries_on_initiator 0
|
||||
mutations_max_literal_size_to_replace 16384
|
||||
mutations_sync 0
|
||||
mysql_datatypes_support_level
|
||||
mysql_map_fixed_string_to_text_in_show_columns 0
|
||||
mysql_map_string_to_text_in_show_columns 0
|
||||
mysql_max_rows_to_insert 65536
|
||||
network_compression_method LZ4
|
||||
network_zstd_compression_level 1
|
||||
normalize_function_names 1
|
||||
number_of_mutations_to_delay 0
|
||||
number_of_mutations_to_throw 0
|
||||
odbc_bridge_connection_pool_size 16
|
||||
odbc_bridge_use_connection_pooling 1
|
||||
odbc_max_field_size 0
|
||||
offset 0
|
||||
opentelemetry_start_trace_probability 0
|
||||
opentelemetry_trace_processors 0
|
||||
optimize_aggregation_in_order 0
|
||||
optimize_aggregators_of_group_by_keys 1
|
||||
optimize_append_index 0
|
||||
optimize_arithmetic_operations_in_aggregate_functions 1
|
||||
optimize_count_from_files 1
|
||||
optimize_distinct_in_order 1
|
||||
optimize_distributed_group_by_sharding_key 1
|
||||
optimize_duplicate_order_by_and_distinct 0
|
||||
optimize_functions_to_subcolumns 0
|
||||
optimize_fuse_sum_count_avg 0
|
||||
optimize_group_by_constant_keys 1
|
||||
optimize_group_by_function_keys 1
|
||||
optimize_if_chain_to_multiif 0
|
||||
optimize_if_transform_strings_to_enum 0
|
||||
optimize_injective_functions_inside_uniq 1
|
||||
optimize_min_equality_disjunction_chain_length 3
|
||||
optimize_min_inequality_conjunction_chain_length 3
|
||||
optimize_monotonous_functions_in_order_by 0
|
||||
optimize_move_functions_out_of_any 0
|
||||
optimize_move_to_prewhere 1
|
||||
optimize_move_to_prewhere_if_final 0
|
||||
optimize_multiif_to_if 1
|
||||
optimize_normalize_count_variants 1
|
||||
optimize_on_insert 1
|
||||
optimize_or_like_chain 0
|
||||
optimize_read_in_order 1
|
||||
optimize_read_in_window_order 1
|
||||
optimize_redundant_functions_in_order_by 1
|
||||
optimize_respect_aliases 1
|
||||
optimize_rewrite_aggregate_function_with_if 1
|
||||
optimize_rewrite_array_exists_to_has 0
|
||||
optimize_rewrite_sum_if_to_count_if 0
|
||||
optimize_skip_merged_partitions 0
|
||||
optimize_skip_unused_shards 0
|
||||
optimize_skip_unused_shards_limit 1000
|
||||
optimize_skip_unused_shards_nesting 0
|
||||
optimize_skip_unused_shards_rewrite_in 1
|
||||
optimize_sorting_by_input_stream_properties 1
|
||||
optimize_substitute_columns 0
|
||||
optimize_syntax_fuse_functions 0
|
||||
optimize_throw_if_noop 0
|
||||
optimize_trivial_approximate_count_query 0
|
||||
optimize_trivial_count_query 1
|
||||
optimize_trivial_insert_select 1
|
||||
optimize_uniq_to_count 1
|
||||
optimize_use_implicit_projections 1
|
||||
optimize_use_projections 1
|
||||
optimize_using_constraints 0
|
||||
os_thread_priority 0
|
||||
output_format_arrow_compression_method lz4_frame
|
||||
output_format_arrow_fixed_string_as_fixed_byte_array 1
|
||||
output_format_arrow_low_cardinality_as_dictionary 0
|
||||
output_format_arrow_string_as_string 0
|
||||
output_format_avro_codec
|
||||
output_format_avro_rows_in_file 1
|
||||
output_format_avro_string_column_pattern
|
||||
output_format_avro_sync_interval 16384
|
||||
output_format_bson_string_as_string 0
|
||||
output_format_csv_crlf_end_of_line 0
|
||||
output_format_decimal_trailing_zeros 0
|
||||
output_format_enable_streaming 0
|
||||
output_format_json_array_of_rows 0
|
||||
output_format_json_escape_forward_slashes 1
|
||||
output_format_json_named_tuples_as_objects 1
|
||||
output_format_json_quote_64bit_floats 0
|
||||
output_format_json_quote_64bit_integers 1
|
||||
output_format_json_quote_decimals 0
|
||||
output_format_json_quote_denormals 0
|
||||
output_format_json_skip_null_value_in_named_tuples 0
|
||||
output_format_json_validate_utf8 0
|
||||
output_format_markdown_escape_special_characters 0
|
||||
output_format_msgpack_uuid_representation ext
|
||||
output_format_orc_compression_method lz4
|
||||
output_format_orc_row_index_stride 10000
|
||||
output_format_orc_string_as_string 0
|
||||
output_format_parallel_formatting 1
|
||||
output_format_parquet_batch_size 1024
|
||||
output_format_parquet_compliant_nested_types 1
|
||||
output_format_parquet_compression_method lz4
|
||||
output_format_parquet_data_page_size 1048576
|
||||
output_format_parquet_fixed_string_as_fixed_byte_array 1
|
||||
output_format_parquet_parallel_encoding 1
|
||||
output_format_parquet_row_group_size 1000000
|
||||
output_format_parquet_row_group_size_bytes 536870912
|
||||
output_format_parquet_string_as_string 0
|
||||
output_format_parquet_use_custom_encoder 0
|
||||
output_format_parquet_version 2.latest
|
||||
output_format_pretty_color 1
|
||||
output_format_pretty_grid_charset UTF-8
|
||||
output_format_pretty_max_column_pad_width 250
|
||||
output_format_pretty_max_rows 10000
|
||||
output_format_pretty_max_value_width 10000
|
||||
output_format_pretty_row_numbers 0
|
||||
output_format_protobuf_nullables_with_google_wrappers 0
|
||||
output_format_schema
|
||||
output_format_sql_insert_include_column_names 1
|
||||
output_format_sql_insert_max_batch_size 65409
|
||||
output_format_sql_insert_quote_names 1
|
||||
output_format_sql_insert_table_name table
|
||||
output_format_sql_insert_use_replace 0
|
||||
output_format_tsv_crlf_end_of_line 0
|
||||
output_format_write_statistics 1
|
||||
parallel_distributed_insert_select 0
|
||||
parallel_replica_offset 0
|
||||
parallel_replicas_count 0
|
||||
parallel_replicas_custom_key
|
||||
parallel_replicas_custom_key_filter_type default
|
||||
parallel_replicas_for_non_replicated_merge_tree 0
|
||||
parallel_replicas_min_number_of_granules_to_enable 0
|
||||
parallel_replicas_min_number_of_rows_per_replica 0
|
||||
parallel_replicas_single_task_marks_count_multiplier 2
|
||||
parallel_view_processing 0
|
||||
parallelize_output_from_storages 1
|
||||
parsedatetime_parse_without_leading_zeros 1
|
||||
partial_merge_join_left_table_buffer_bytes 0
|
||||
partial_merge_join_optimizations 0
|
||||
partial_merge_join_rows_in_right_blocks 65536
|
||||
partial_result_on_first_cancel 0
|
||||
parts_to_delay_insert 0
|
||||
parts_to_throw_insert 0
|
||||
periodic_live_view_refresh 60
|
||||
poll_interval 10
|
||||
postgresql_connection_pool_auto_close_connection 0
|
||||
postgresql_connection_pool_size 16
|
||||
postgresql_connection_pool_wait_timeout 5000
|
||||
precise_float_parsing 0
|
||||
prefer_column_name_to_alias 0
|
||||
prefer_global_in_and_join 0
|
||||
prefer_localhost_replica 1
|
||||
prefer_warmed_unmerged_parts_seconds 0
|
||||
preferred_block_size_bytes 1000000
|
||||
preferred_max_column_in_block_size_bytes 0
|
||||
preferred_optimize_projection_name
|
||||
prefetch_buffer_size 1048576
|
||||
print_pretty_type_names 0
|
||||
priority 0
|
||||
query_cache_compress_entries 1
|
||||
query_cache_max_entries 0
|
||||
query_cache_max_size_in_bytes 0
|
||||
query_cache_min_query_duration 0
|
||||
query_cache_min_query_runs 0
|
||||
query_cache_nondeterministic_function_handling throw
|
||||
query_cache_share_between_users 0
|
||||
query_cache_squash_partial_results 1
|
||||
query_cache_store_results_of_queries_with_nondeterministic_functions 0
|
||||
query_cache_ttl 60
|
||||
query_plan_aggregation_in_order 1
|
||||
query_plan_enable_multithreading_after_window_functions 1
|
||||
query_plan_enable_optimizations 1
|
||||
query_plan_execute_functions_after_sorting 1
|
||||
query_plan_filter_push_down 1
|
||||
query_plan_lift_up_array_join 1
|
||||
query_plan_lift_up_union 1
|
||||
query_plan_max_optimizations_to_apply 10000
|
||||
query_plan_merge_expressions 1
|
||||
query_plan_optimize_primary_key 1
|
||||
query_plan_optimize_projection 1
|
||||
query_plan_push_down_limit 1
|
||||
query_plan_read_in_order 1
|
||||
query_plan_remove_redundant_distinct 1
|
||||
query_plan_remove_redundant_sorting 1
|
||||
query_plan_reuse_storage_ordering_for_window_functions 1
|
||||
query_plan_split_filter 1
|
||||
query_profiler_cpu_time_period_ns 1000000000
|
||||
query_profiler_real_time_period_ns 1000000000
|
||||
queue_max_wait_ms 0
|
||||
rabbitmq_max_wait_ms 5000
|
||||
read_backoff_max_throughput 1048576
|
||||
read_backoff_min_concurrency 1
|
||||
read_backoff_min_events 2
|
||||
read_backoff_min_interval_between_events_ms 1000
|
||||
read_backoff_min_latency_ms 1000
|
||||
read_from_filesystem_cache_if_exists_otherwise_bypass_cache 0
|
||||
read_in_order_two_level_merge_threshold 100
|
||||
read_overflow_mode throw
|
||||
read_overflow_mode_leaf throw
|
||||
read_priority 0
|
||||
readonly 0
|
||||
receive_data_timeout_ms 2000
|
||||
receive_timeout 300
|
||||
regexp_dict_allow_hyperscan 1
|
||||
regexp_dict_flag_case_insensitive 0
|
||||
regexp_dict_flag_dotall 0
|
||||
regexp_max_matches_per_row 1000
|
||||
reject_expensive_hyperscan_regexps 1
|
||||
remerge_sort_lowered_memory_bytes_ratio 2
|
||||
remote_filesystem_read_method threadpool
|
||||
remote_filesystem_read_prefetch 1
|
||||
remote_fs_read_backoff_max_tries 5
|
||||
remote_fs_read_max_backoff_ms 10000
|
||||
remote_read_min_bytes_for_seek 4194304
|
||||
rename_files_after_processing
|
||||
replace_running_query 0
|
||||
replace_running_query_max_wait_ms 5000
|
||||
replication_alter_columns_timeout 60
|
||||
replication_alter_partitions_sync 1
|
||||
replication_wait_for_inactive_replica_timeout 120
|
||||
restore_threads 16
|
||||
result_overflow_mode throw
|
||||
rewrite_count_distinct_if_with_count_distinct_implementation 0
|
||||
s3_allow_parallel_part_upload 1
|
||||
s3_check_objects_after_upload 0
|
||||
s3_create_new_file_on_insert 0
|
||||
s3_disable_checksum 0
|
||||
s3_http_connection_pool_size 1000
|
||||
s3_list_object_keys_size 1000
|
||||
s3_max_connections 1024
|
||||
s3_max_get_burst 0
|
||||
s3_max_get_rps 0
|
||||
s3_max_inflight_parts_for_one_file 20
|
||||
s3_max_put_burst 0
|
||||
s3_max_put_rps 0
|
||||
s3_max_redirects 10
|
||||
s3_max_single_part_upload_size 33554432
|
||||
s3_max_single_read_retries 4
|
||||
s3_max_unexpected_write_error_retries 4
|
||||
s3_max_upload_part_size 5368709120
|
||||
s3_min_upload_part_size 16777216
|
||||
s3_request_timeout_ms 30000
|
||||
s3_retry_attempts 100
|
||||
s3_skip_empty_files 0
|
||||
s3_strict_upload_part_size 0
|
||||
s3_throw_on_zero_files_match 0
|
||||
s3_truncate_on_insert 0
|
||||
s3_upload_part_size_multiply_factor 2
|
||||
s3_upload_part_size_multiply_parts_count_threshold 500
|
||||
s3_use_adaptive_timeouts 1
|
||||
s3queue_default_zookeeper_path /clickhouse/s3queue/
|
||||
s3queue_enable_logging_to_s3queue_log 0
|
||||
schema_inference_cache_require_modification_time_for_url 1
|
||||
schema_inference_hints
|
||||
schema_inference_make_columns_nullable 1
|
||||
schema_inference_mode default
|
||||
schema_inference_use_cache_for_azure 1
|
||||
schema_inference_use_cache_for_file 1
|
||||
schema_inference_use_cache_for_hdfs 1
|
||||
schema_inference_use_cache_for_s3 1
|
||||
schema_inference_use_cache_for_url 1
|
||||
select_sequential_consistency 0
|
||||
send_logs_level fatal
|
||||
send_logs_source_regexp
|
||||
send_progress_in_http_headers 0
|
||||
send_timeout 300
|
||||
session_timezone
|
||||
set_overflow_mode throw
|
||||
short_circuit_function_evaluation enable
|
||||
show_table_uuid_in_table_create_query_if_not_nil 0
|
||||
single_join_prefer_left_table 1
|
||||
skip_download_if_exceeds_query_cache 1
|
||||
skip_unavailable_shards 0
|
||||
sleep_after_receiving_query_ms 0
|
||||
sleep_in_send_data_ms 0
|
||||
sleep_in_send_tables_status_ms 0
|
||||
sort_overflow_mode throw
|
||||
splitby_max_substrings_includes_remaining_string 0
|
||||
stop_refreshable_materialized_views_on_startup 0
|
||||
storage_file_read_method pread
|
||||
storage_system_stack_trace_pipe_read_timeout_ms 100
|
||||
stream_flush_interval_ms 7500
|
||||
stream_like_engine_allow_direct_select 0
|
||||
stream_like_engine_insert_queue
|
||||
stream_poll_timeout_ms 500
|
||||
system_events_show_zero_values 0
|
||||
table_function_remote_max_addresses 1000
|
||||
tcp_keep_alive_timeout 290
|
||||
temporary_files_codec LZ4
|
||||
temporary_live_view_timeout 1
|
||||
throw_if_no_data_to_insert 1
|
||||
throw_on_error_from_cache_on_write_operations 0
|
||||
throw_on_max_partitions_per_insert_block 1
|
||||
throw_on_unsupported_query_inside_transaction 1
|
||||
timeout_before_checking_execution_speed 10
|
||||
timeout_overflow_mode throw
|
||||
timeout_overflow_mode_leaf throw
|
||||
totals_auto_threshold 0.5
|
||||
totals_mode after_having_exclusive
|
||||
trace_profile_events 0
|
||||
transfer_overflow_mode throw
|
||||
transform_null_in 0
|
||||
union_default_mode
|
||||
unknown_packet_in_send_data 0
|
||||
use_cache_for_count_from_files 1
|
||||
use_client_time_zone 0
|
||||
use_compact_format_in_distributed_parts_names 1
|
||||
use_concurrency_control 1
|
||||
use_hedged_requests 1
|
||||
use_index_for_in_with_subqueries 1
|
||||
use_index_for_in_with_subqueries_max_values 0
|
||||
use_local_cache_for_remote_storage 1
|
||||
use_mysql_types_in_show_columns 0
|
||||
use_query_cache 0
|
||||
use_skip_indexes 1
|
||||
use_skip_indexes_if_final 0
|
||||
use_structure_from_insertion_table_in_table_functions 2
|
||||
use_uncompressed_cache 0
|
||||
use_with_fill_by_sorting_prefix 1
|
||||
validate_polygons 1
|
||||
wait_changes_become_visible_after_commit_mode wait_unknown
|
||||
wait_for_async_insert 1
|
||||
wait_for_async_insert_timeout 120
|
||||
wait_for_window_view_fire_signal_timeout 10
|
||||
window_view_clean_interval 60
|
||||
window_view_heartbeat_interval 15
|
||||
workload default
|
||||
zstd_window_log_max 0
|
|
46
tests/queries/0_stateless/02995_new_settings_history.sh
Executable file
46
tests/queries/0_stateless/02995_new_settings_history.sh
Executable file
@ -0,0 +1,46 @@
|
||||
#!/usr/bin/env bash
|
||||
# Tags: no-tsan, no-asan, no-ubsan, no-msan, no-cpu-aarch64, no-random-settings
|
||||
# Some settings can be different for builds with sanitizers or aarch64
|
||||
|
||||
CUR_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
||||
# shellcheck source=../shell_config.sh
|
||||
. "$CUR_DIR"/../shell_config.sh
|
||||
|
||||
# Note that this is a broad check. A per version check is done in the upgrade test
|
||||
# Baseline generated with 23.12.1
|
||||
# clickhouse local --query "select name, default from system.settings order by name format TSV" > 02995_baseline_23_12_1.tsv
|
||||
$CLICKHOUSE_LOCAL --query "
|
||||
WITH old_settings AS
|
||||
(
|
||||
SELECT * FROM file('${CUR_DIR}/02995_baseline_23_12_1.tsv', 'TSV', 'name String, default String')
|
||||
),
|
||||
new_settings AS
|
||||
(
|
||||
-- Ignore settings that depend on the machine config (max_threads and similar)
|
||||
SELECT name, default FROM system.settings WHERE default NOT LIKE '%auto(%'
|
||||
)
|
||||
SELECT * FROM
|
||||
(
|
||||
SELECT 'PLEASE ADD THE NEW SETTING TO SettingsChangesHistory.h: ' || name || ' WAS ADDED',
|
||||
FROM new_settings
|
||||
WHERE (name NOT IN (
|
||||
SELECT name
|
||||
FROM old_settings
|
||||
)) AND (name NOT IN (
|
||||
SELECT arrayJoin(tupleElement(changes, 'name'))
|
||||
FROM system.settings_changes
|
||||
WHERE splitByChar('.', version())[1] >= '24'
|
||||
))
|
||||
UNION ALL
|
||||
(
|
||||
SELECT 'PLEASE ADD THE SETTING VALUE CHANGE TO SettingsChangesHistory.h: ' || name || ' WAS CHANGED FROM ' || old_settings.default || ' TO ' || new_settings.default,
|
||||
FROM new_settings
|
||||
LEFT JOIN old_settings ON new_settings.name = old_settings.name
|
||||
WHERE (new_settings.default != old_settings.default) AND (name NOT IN (
|
||||
SELECT arrayJoin(tupleElement(changes, 'name'))
|
||||
FROM system.settings_changes
|
||||
WHERE splitByChar('.', version())[1] >= '24'
|
||||
))
|
||||
)
|
||||
)
|
||||
"
|
Loading…
Reference in New Issue
Block a user