Repository: ClickHouse/ClickHouse
File: src/Client/BuzzHouse/Generator/SessionSettings.cpp (C++)

Code before:
    {"input_format_try_infer_exponent_floats", trueOrFalseSettingNoOracle},
    {"input_format_try_infer_integers", trueOrFalseSettingNoOracle},
    {"input_format_try_infer_variants", trueOrFalseSettingNoOracle},
    {"input_format_tsv_allow_variable_number_of_columns", trueOrFalseSettingNoOracle},
    {"input_format_tsv_empty_as_default", trueOrFalseSettingNoOracle},
    {"input_format_tsv_enum_as_number", trueOrFalseSettingNoOracle},
    {"input_format_tsv_skip_trailing_empty_lines", trueOrFalseSettingNoOracle},
    {"input_format_tsv_use_best_effort_in_schema_inference", trueOrFalseSettingNoOracle},
    {"input_format_values_accurate_types_of_literals", trueOrFalseSettingNoOracle},
    {"input_format_values_deduce_templates_of_expressions", trueOrFalseSettingNoOracle},
    {"insert_allow_materialized_columns", trueOrFalseSettingNoOracle},
    {"insert_deduplicate", trueOrFalseSettingNoOracle},
    {"insert_select_deduplicate",
     CHSetting(
         [](RandomGenerator & rg, FuzzConfig &)
         {
             static const DB::Strings & choices = {"0", "1", "'auto'"};
             return rg.pickRandomly(choices);
         },
         {},
         false)},
    {"insert_distributed_one_random_shard", trueOrFalseSettingNoOracle},
    {"insert_null_as_default", trueOrFalseSettingNoOracle},
    {"insert_quorum",
     CHSetting(
         [](RandomGenerator & rg, FuzzConfig &)
         {
             static const DB::Strings & choices = {"0", "1", "2", "'auto'"};
             return rg.pickRandomly(choices);
         },
         {},
         false)},
    {"insert_quorum_parallel", trueOrFalseSettingNoOracle},
    {"insert_shard_id",
     CHSetting(
         [](RandomGenerator & rg, FuzzConfig &) { return std::to_string(rg.thresholdGenerator<uint64_t>(0.2, 0.2, 1, 2)); }, {}, false)},
    {"intersect_default_mode", setSetting},
    {"interval_output_format",
     CHSetting([](RandomGenerator & rg, FuzzConfig &) { return rg.nextBool() ? "'kusto'" : "'numeric'"; }, {}, false)},
    {"join_default_strictness",
     CHSetting(
         [](RandomGenerator & rg, FuzzConfig &)
         {
             static const DB::Strings & choices = {"'ALL'", "'ANY'", "''"};
             return rg.pickRandomly(choices);
         },
         {},
         false)},
    {"join_on_disk_max_files_to_merge",
     CHSetting(
         [](RandomGenerator & rg, FuzzConfig &) { return std::to_string(rg.thresholdGenerator<uint64_t>(0.2, 0.2, 0, 32)); }, {}, false)},

Review comment (suggestion):
Just remember to add quotes to the choice values. They are not added because for some settings, I set more than one setting at once.

Code after:
    {"input_format_try_infer_exponent_floats", trueOrFalseSettingNoOracle},
    {"input_format_try_infer_integers", trueOrFalseSettingNoOracle},
    {"input_format_try_infer_variants", trueOrFalseSettingNoOracle},
    {"input_format_tsv_allow_variable_number_of_columns", trueOrFalseSettingNoOracle},
    {"input_format_tsv_empty_as_default", trueOrFalseSettingNoOracle},
    {"input_format_tsv_enum_as_number", trueOrFalseSettingNoOracle},
    {"input_format_tsv_skip_trailing_empty_lines", trueOrFalseSettingNoOracle},
    {"input_format_tsv_use_best_effort_in_schema_inference", trueOrFalseSettingNoOracle},
    {"input_format_values_accurate_types_of_literals", trueOrFalseSettingNoOracle},
    {"input_format_values_deduce_templates_of_expressions", trueOrFalseSettingNoOracle},
    {"insert_allow_materialized_columns", trueOrFalseSettingNoOracle},
    {"insert_deduplicate", trueOrFalseSettingNoOracle},
    {"insert_select_deduplicate",
     CHSetting(
         [](RandomGenerator & rg, FuzzConfig &)
         {
             static const DB::Strings & choices = {"0", "1", "'auto'"};
             return rg.pickRandomly(choices);
         },
         {},
         false)},
    {"deduplicate_insert_select",
     CHSetting(
        [](RandomGenerator & rg, FuzzConfig &)
        {
            static const DB::Strings & choices = {"enable_when_possible", "force_enable", "disable", "enable_even_for_bad_queries"};
            return rg.pickRandomly(choices);
        },
        {},
        false)},
    {"insert_distributed_one_random_shard", trueOrFalseSettingNoOracle},
    {"insert_null_as_default", trueOrFalseSettingNoOracle},
    {"insert_quorum",
     CHSetting(
         [](RandomGenerator & rg, FuzzConfig &)
         {
             static const DB::Strings & choices = {"0", "1", "2", "'auto'"};
             return rg.pickRandomly(choices);
         },
         {},
         false)},
    {"insert_quorum_parallel", trueOrFalseSettingNoOracle},
    {"insert_shard_id",
     CHSetting(
         [](RandomGenerator & rg, FuzzConfig &) { return std::to_string(rg.thresholdGenerator<uint64_t>(0.2, 0.2, 1, 2)); }, {}, false)},
    {"intersect_default_mode", setSetting},
    {"interval_output_format",
     CHSetting([](RandomGenerator & rg, FuzzConfig &) { return rg.nextBool() ? "'kusto'" : "'numeric'"; }, {}, false)},
    {"join_default_strictness",
     CHSetting(
         [](RandomGenerator & rg, FuzzConfig &)