Commit Graph

2488 Commits

Author SHA1 Message Date
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
alexey-milovidov
ae4d66ac9d
Merge pull request #16047 from ClickHouse/suggest-destruction-order
Fix destruction order of Suggest #16035
2020-10-29 09:10:23 +03:00
alesapin
cd05cab09d
Merge pull request #16455 from den-crane/test/bug_14144
test for #14144
2020-10-28 14:55:15 +03:00
tavplubix
22847613d1
Merge pull request #16437 from ClickHouse/addition_to_16127
Addition to #16127
2020-10-28 13:03:13 +03:00
alexey-milovidov
0cb377da6e
Merge pull request #16452 from ClickHouse/fuzz-cast
Add a test for #13342
2020-10-28 09:26:19 +03:00
alexey-milovidov
7c4b0e559d
Merge pull request #16453 from ClickHouse/fuzz-countEqual
Add a test for #13893
2020-10-28 09:26:03 +03:00
alexey-milovidov
6667261b02
Merge pull request #16454 from ClickHouse/fuzz-aggregate-desc
Add a test for #15540
2020-10-28 09:25:44 +03:00
alexey-milovidov
512dddb2b8
Merge pull request #16445 from ClickHouse/fuzz-lambda-array-join
Added a test for #11364
2020-10-28 09:24:57 +03:00
alexey-milovidov
df828a6a6c
Merge pull request #16410 from ClickHouse/fix-quantile-deterministic
Fix debug assertion in quantileDeterministic function.
2020-10-28 09:24:46 +03:00
alexey-milovidov
8951c9b0c7
Merge pull request #16439 from den-crane/test/bug_13492
test for bug_13492
2020-10-28 09:24:30 +03:00
Alexander Kuzmenkov
ba34145817
Merge pull request #16425 from filimonov/minumum
Fix typos reported by codespell
2020-10-28 08:07:18 +03:00
Denis Zhuravlev
62e7e0637f test for #14144 2020-10-27 23:34:19 -03:00
Alexey Milovidov
b767efd889 Add a test for #15540 2020-10-28 04:35:40 +03:00
Alexey Milovidov
81cd172af1 Add a test for #13893 2020-10-28 04:31:47 +03:00
Alexey Milovidov
dec51cdb0b Add a test for #13342 2020-10-28 04:27:10 +03:00
Alexey Milovidov
690a3b4310 Fix test 2020-10-28 04:24:30 +03:00
Alexey Milovidov
bd8cc278cc Merge branch 'suggest-destruction-order' of github.com:yandex/ClickHouse into suggest-destruction-order 2020-10-28 04:22:23 +03:00
Alexey Milovidov
c703c052b4 Merge branch 'master' into suggest-destruction-order 2020-10-28 04:21:43 +03:00
Alexander Tokmakov
05099bebcf fix 2020-10-28 03:29:18 +03:00
Alexey Milovidov
309e1c622f Added a test for #11364 2020-10-28 03:13:59 +03:00
alexey-milovidov
4911f334bf
Merge pull request #16429 from ClickHouse/dict-get-load-exception
Fix another double free for shared exception message in case of dictGet from not loaded dictionary
2020-10-28 02:07:03 +03:00
Denis Zhuravlev
ff6499cdc4 test for bug_13492 2020-10-27 19:02:56 -03:00
Alexey Milovidov
2352c144e8 Update reference 2020-10-27 22:28:40 +03:00
Alexander Kuzmenkov
6509f1eb39
Merge branch 'master' into minumum 2020-10-27 21:38:23 +03:00
Nikolai Kochetov
b39b2932bc Added test. 2020-10-27 16:49:08 +03:00
Alexander Kuzmenkov
e35be8eae3
Merge pull request #16407 from ClickHouse/agg-functions-case-sensitive
Some aggregate functions were erroneously marked as case-insensitive
2020-10-27 16:36:03 +03:00
Alexander Kuzmenkov
766560c138
Merge pull request #14195 from ClickHouse/aku/opentelemetry
[wip] add some opentelemetry support
2020-10-27 16:14:21 +03:00
Mikhail Filimonov
41971e073a
Fix typos reported by codespell 2020-10-27 12:04:03 +01:00
alexey-milovidov
30325689c4
Merge pull request #16397 from CurtizJ/fix-group-by-modifiers
Fix group by with modifiers.
2020-10-27 02:10:44 +03:00
Alexey Milovidov
f78e0d48b7 Added a test 2020-10-27 00:14:49 +03:00
Alexey Milovidov
25da82328c Adjust tests 2020-10-26 22:26:01 +03:00
Alexander Kuzmenkov
5a70e26c70 Merge remote-tracking branch 'origin/master' into HEAD 2020-10-26 19:21:13 +03:00
Alexander Kuzmenkov
6552613118
Merge pull request #16280 from filimonov/clickhouse-local-tmp-folder
clickhouse-local can work without tmp directory
2020-10-26 19:10:15 +03:00
alesapin
6226377ac3
Merge pull request #16261 from ClickHouse/check_flaky_test
Checking flaky stateless tests
2020-10-26 18:07:36 +03:00
Anton Popov
ab4c43cb81 fix group by with totals/rollup/cube modifers and min/max functions over group by keys 2020-10-26 16:48:11 +03:00
Anton Popov
5fbca7d62d
Merge pull request #16337 from kitaisreal/uuid-safe-cast-functions-added
UUID safe cast functions added
2020-10-26 16:03:27 +03:00
tavplubix
cb94359903
Update 01107_atomic_db_detach_attach.sh 2020-10-26 12:45:30 +03:00
tavplubix
54f823aafa
Update 01114_database_atomic.sh 2020-10-26 12:42:54 +03:00
Nikolai Kochetov
02bd35924e
Merge pull request #16242 from ClickHouse/another-one-untuple
Another one untuple implementation
2020-10-26 12:26:43 +03:00
alesapin
7b456e6663 Merge branch 'check_flaky_test' of github.com:ClickHouse/ClickHouse into check_flaky_test 2020-10-26 09:23:52 +03:00
alesapin
265f84fd88 Merge branch 'master' into check_flaky_test 2020-10-26 09:23:21 +03:00
alexey-milovidov
bfe17d7dca
Merge pull request #16358 from azat/dist-insert-fix
Fix async Distributed INSERT w/ prefer_localhost_replica=0 and internal_replication
2020-10-26 05:07:35 +03:00
Azat Khuzhin
edc8d6e5e7 Fix async Distributed INSERT w/ prefer_localhost_replica=0 and internal_replication 2020-10-25 14:27:06 +03:00
Maksim Kita
440ae2bc57 UUID safe cast functions added
1. Added readUUIDTextImpl, readUUIDText, tryReadUUIDText functions in
ReadHelpers.
2. Added toUUIDOrNull, toUUIDOrZero functions based on ReadHelpers read
implementations.
3. Updated documentation.
2020-10-25 11:45:29 +03:00
alexey-milovidov
6762f96768
Update 01526_client_start_and_exit.sh 2020-10-25 08:25:21 +03:00
Alexey Milovidov
8cc463f549 Better test 2020-10-25 05:31:58 +03:00
Alexey Milovidov
90a3e95aab Add missing file 2020-10-25 05:07:52 +03:00
Alexey Milovidov
2efd740dc7 Added a test 2020-10-25 05:07:52 +03:00
Ivan
1d170f5745
ASTTableIdentifier Part #1: improve internal representation of ASTIdentifier name (#16149)
* Use only |name_parts| as primary name source

* Restore legacy logic for table restoration

* Fix build

* Fix tests

* Add pytest server config

* Fix tests

* Fixes due to review
2020-10-24 21:46:10 +03:00
alexey-milovidov
e00f6c4a0d
Merge branch 'master' into total_memory_tracker-by-default 2020-10-24 21:17:53 +03:00