ClickHouse/tests/fuzz
Robert Schulze c16707ff00
chore: delete obsolete modelEvaluate() function + SYSTEM.MODELS view
- The deleted function modelEvaluate() was superseded by
  catboostEvaluate().

- Also delete the external model repository, as modelEvaluate() was it's
  last user. Additionally remove the system view SYSTEM.MODELS for
  inspecting the repository.

- SYSTEM RELOAD MODELS is also obsolete. HOWEVER, it was retained and
  made a no-op instead of deleted.

  Why?
  The reason is that RBAC in distributed setups works by storing
  privileges (granted and revoked) as plain SQL statements in Keeper.
  Nodes read these statements at startup and parse them. If a privilege
  for SYSTEM RELOAD MODELS exists but parser doesn't recognize it
  nodes would fail to come up.

  Considered but rejected alternatives:
  - Ignore SYSTEM RELOAD MODELS during parsing RBAC privileges and
    return an error for regular SYSTEM RELOAD MODELS SQL. Special-case
    of no-op behavior, too brittle.
  - Remove SYSTEM RELOAD MODELS manually from Keeper via command-line
    manipulation of Keeper nodes or via SQL by dropping the privileges.
    Needs user intervention during upgrade.
2022-09-08 09:10:11 +00:00
..
dictionaries chore: delete obsolete modelEvaluate() function + SYSTEM.MODELS view 2022-09-08 09:10:11 +00: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 chore: delete obsolete modelEvaluate() function + SYSTEM.MODELS view 2022-09-08 09:10:11 +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 Better dictionary 2021-10-04 17:57:58 +00:00
select_parser_fuzzer.options Better dictionary 2021-10-04 17:57:58 +00:00

The list of funtions generated via following query

    clickhouse-client -q "select concat('\"', name, '\"') from system.functions union all select concat('\"', alias_to, '\"') from system.functions where alias_to != '' " > functions.dict

The list of datatypes generated via following query:

    clickhouse-client -q "select concat('\"', name, '\"') from system.data_type_families union all select concat('\"', alias_to, '\"') from system.data_type_families where alias_to != '' " > datatypes.dict

Then merge all dictionaries into one (all.dict)