ClickHouse/tests/queries
Azat Khuzhin 3fb8d08dd4 Add errorCodeToName() function
This patch adds errorCode() function that will return macro name by the
exception code, useful for analyzing query_log and similar.

Later some descriptions can be added.

v2: replace hana::map/fusion::vector with external script
v3:
- use binary cmake dir for .sh
- use jump table over suboptimal std::unordered_map (with very poor hash
  function for int -- std::hash)
- cleanup errorCodeToName (drop extra templates and headers)
- rename errorCode -> errorCodeToName
- fix arcadia build (by not providing those helpers there)
- fix build on CI, by using CMAKE_CXX_COMPILER for parsing the file
2020-10-29 10:55:00 +03:00
..
0_stateless Add errorCodeToName() function 2020-10-29 10:55:00 +03:00
1_stateful
bugs
__init__.py
.gitignore
conftest.py
query_test.py Fix after migration to Python 3 2020-10-19 15:34:17 +03:00
server.py ASTTableIdentifier Part #1: improve internal representation of ASTIdentifier name (#16149) 2020-10-24 21:46:10 +03:00
shell_config.sh Merge origin/master into tmp (using imerge) 2020-10-12 21:15:31 +03:00
skip_list.json Add a test for max_untracked_memory (both HTTP and TCP) 2020-10-17 15:01:53 +03:00