ClickHouse/tests/fuzz
Yakov Olkhovskiy b246f7c17c merge master
2024-08-07 16:25:31 +00:00
..
dictionaries Add groupConcat to fuzzer 2024-07-30 12:44:43 +02:00
mergetree_checksum_fuzzer.in lexer, ast, checksum and column specs fuzzers added 2020-04-28 02:12:18 +03:00
names_and_types_fuzzer.in lexer, ast, checksum and column specs fuzzers added 2020-04-28 02:12:18 +03:00
all.dict Update the dictionary for OSSFuzz (#61672) 2024-03-20 23:13:17 +01:00
build.sh libFuzzer infrastructure 2023-09-17 16:36:49 +00:00
create_parser_fuzzer.options Better dictionary 2021-10-04 17:57:58 +00:00
execute_query_fuzzer.options Better dictionary 2021-10-04 17:57:58 +00:00
lexer_fuzzer.options Better dictionary 2021-10-04 17:57:58 +00:00
names_and_types_fuzzer.options Better dictionary 2021-10-04 17:57:58 +00:00
README.md Update the dictionary for OSSFuzz (#61672) 2024-03-20 23:13:17 +01:00
runner.py Automatic style fix 2024-07-16 15:16:19 +00:00
select_parser_fuzzer.options Better dictionary 2021-10-04 17:57:58 +00:00
tcp_protocol_fuzzer.options add fuzzer_arguments to fuzzer runner 2024-07-13 23:44:13 +00:00

The list of functions generated via the following query

    clickhouse client -q "SELECT * FROM (SELECT DISTINCT concat('\"', name, '\"') as res FROM system.functions ORDER BY name UNION ALL SELECT concat('\"', a.name, b.name, '\"') as res FROM system.functions as a CROSS JOIN system.aggregate_function_combinators as b WHERE a.is_aggregate = 1) ORDER BY res" > functions.dict

The list of datatypes generated via the following query:

    clickhouse client -q "SELECT DISTINCT concat('\"', name, '\"') as res FROM system.data_type_families ORDER BY name" > datatypes.dict

The list of keywords generated via the following query:

    clickhouse client -q "SELECT DISTINCT concat('\"', keyword, '\"') as res FROM system.keywords ORDER BY keyword" > key_words.dict

Then merge all dictionaries into one (all.dict)

    cat ./dictionaries/* | sort | uniq > all.dict