Commit Graph

75218 Commits

Author SHA1 Message Date
alexey-milovidov
f31bf32687
Update CHANGELOG.md 2021-10-15 22:37:25 +03:00
Nikita Mikhaylov
882c876090
Update codegen_select_fuzzer.cpp 2021-10-15 21:21:08 +03:00
Nikita Mikhaylov
ec188000b6 Style + more uncomment 2021-10-15 17:06:20 +00:00
Raúl Marín
01fbd52758 Fix crash with shortcircuit and locardinality in multiIf 2021-10-15 18:52:23 +02:00
Maksim Kita
e66735e21e Fixed style check 2021-10-15 18:55:28 +03:00
Maksim Kita
33ef3edcfa Updated tests 2021-10-15 18:54:41 +03:00
Maksim Kita
c9638bacbf Added HashedArray dictionary 2021-10-15 18:53:17 +03:00
Ivan Blinkov
574970a852
Update clickhouse-v21.10-released.md 2021-10-15 18:37:38 +03:00
Maksim Kita
8dde0a5dfb ComplexKeyHashedDictionary fix keys copy 2021-10-15 18:35:20 +03:00
Maksim Kita
f3c568fbe6 PolygonDictionary fix bytes_allocated 2021-10-15 18:33:10 +03:00
avogar
be4fc79d32 Better handling exceptions, update tests 2021-10-15 18:30:32 +03:00
Maksim Kita
09b8d697bd Flat Hashed dictionary fix bytes_allocated for nullable attributes 2021-10-15 18:26:56 +03:00
Ivan Blinkov
f0452b34d5
Update clickhouse-v21.10-released.md 2021-10-15 18:21:02 +03:00
Ivan Blinkov
a374d8a2a8
Merge pull request #30186 from flickerbox/crb-blog-post-v21-10
Add blog post for v21.10 release
2021-10-15 18:19:25 +03:00
Pavel Cheremushkin
058081bcb2 fixed typo in gen.py; clickhouse.g applying Nikita's in build-time generation 2021-10-15 18:18:02 +03:00
mergify[bot]
477ea62257
Merge branch 'master' into remove-sample-by 2021-10-15 15:14:17 +00:00
Nikita Mikhaylov
e9bf496d42 Added an ability to generate data in build time 2021-10-15 14:35:50 +00:00
Artur Filatenkov
f69daace7b attemp to fix build 2021-10-15 16:01:28 +03:00
Maksim Kita
a744097fb6 Fixed build 2021-10-15 15:34:13 +03:00
Anton Popov
5b6b8cf564 fix clang-tidy 2021-10-15 15:14:44 +03:00
avogar
df81d3f74a Fix build in fast test 2021-10-15 14:52:59 +03:00
Nikita Mikhaylov
d1138a8a25
Merge pull request #29691 from azat/fix-merge-mutate-memory-tracking
Fix memory tracking for merges and mutations
2021-10-15 13:53:52 +03:00
Maksim Kita
97fa53d6b2
Merge pull request #27961 from amosbird/indexcache
Dedicated Mark/Uncompressed cache for skip indices
2021-10-15 13:31:44 +03:00
Nikolai Kochetov
41dc195b34 Fix build. 2021-10-15 13:15:14 +03:00
Maksim Kita
65aec857ec FunctionsJSON updated 2021-10-15 13:12:59 +03:00
Nikolai Kochetov
ad8a344b46 Move TTL streams and algo 2021-10-15 13:11:57 +03:00
Maksim Kita
7beaeb8b13
Merge branch 'master' into indexcache 2021-10-15 12:59:09 +03:00
Ivan Blinkov
20798ac9f1
Merge pull request #30221 from Tentoshka/patch-1
Translation external-dicts-dict-sources.md
2021-10-15 12:57:08 +03:00
Maksim Kita
27fdeef4b6
Merge pull request #29650 from kitaisreal/add-default-database-visitor-support-dict-get
AddDefaultDatabaseVisitor support dictGet
2021-10-15 12:28:58 +03:00
Maksim Kita
8d9f593a61
Merge pull request #30217 from azat/fix-clang-tidy-json
Fix clang-tidy warnings in FunctionsJSON code
2021-10-15 12:27:24 +03:00
Nikolay Degterinsky
6b9a1ab60b
Merge pull request #30222 from PaVeL-Ekt/patch-2
Fixed a typo in the string-functions.md
2021-10-15 12:10:24 +03:00
Pavel
49e9ea40ac
Update string-functions.md 2021-10-15 14:02:57 +05:00
Tentoshka
0d635cf34e
Translation external-dicts-dict-sources.md
Translation of untranslated texts
2021-10-15 15:55:03 +07:00
Nikolai Kochetov
769be69f15
Merge pull request #30029 from karnevil13/karnevil-DOCSUP-14788
DOCSUP-14788: Edit and translate to Russian
2021-10-15 11:38:43 +03:00
Nikolai Kochetov
03a7f24fa3 Fix build. 2021-10-15 11:14:15 +03:00
liang.huang
f82d79854c
Merge branch 'ClickHouse:master' into master 2021-10-15 16:11:15 +08:00
lhuang09287750
766e08567c complete date32 comparison with date/datetime/string and give a test file 2021-10-15 08:09:37 +00:00
Kseniia Sumarokova
0e228a2369
Merge pull request #30189 from azat/fix-INSERT-SELECT-MATERIALIZED
Fix INSERT SELECT incorrectly fills MATERIALIZED column based of Nullable column
2021-10-15 10:48:23 +03:00
mergify[bot]
8246aacb90
Merge branch 'master' into debug_keeper 2021-10-15 07:40:26 +00:00
alesapin
4ab6f7d771 Finally fix test 2021-10-15 10:39:31 +03:00
Azat Khuzhin
07adc847db Fix clang-tidy warnings in FunctionsJSON code 2021-10-15 10:11:03 +03:00
Maksim Kita
8db2c844d3 Fixed test 2021-10-15 02:07:52 +03:00
Azat Khuzhin
2a7a1d8df5 Avoid losing any allocations context from merges/mutations 2021-10-15 01:43:28 +03:00
Azat Khuzhin
8a209a78d7 Set query_id for mutations/merges
This will allow to distinguish allocations in trace_log.
2021-10-15 01:43:28 +03:00
Azat Khuzhin
3477ab52a7 Add StorageID::getShortName() 2021-10-15 01:43:28 +03:00
Azat Khuzhin
8cc45bea7b Avoid accounting memory from another mutation/merge
Before this path it was possible that one merge/mutation may account
memory from another, due to ThreadStatus::untracked_memory.

And this cause flakiness of 01200_mutations_memory_consumption.
2021-10-15 01:43:28 +03:00
Azat Khuzhin
fd38cbb0df Fix memory tracking for merges and mutations (by destroying earlier)
It fixes only some tiny allocations, and so it should not affect any
huge mutations/merges.

And plus, this should not be a real fix, since peak_memory_usage is
obtained before even destrying this objects, and destroing objects will
unlikely update peak memory usage (although it is possible).

v0: do this in dtors
v2: do this earlier
2021-10-15 01:43:27 +03:00
Azat Khuzhin
e4b39ca99c Remove unused Block member from MutateTask
v0: Fix excessive memory usage in MutateTask
    This is relevant only for 01200_mutations_memory_consumption test, since
    this is just a block.
v2: just remove unused Block member, since other part had been fixed in #29768
2021-10-15 01:43:27 +03:00
Azat Khuzhin
ae980fcd62 Move 01200_mutations_memory_consumption out from bugs 2021-10-15 01:43:27 +03:00
Azat Khuzhin
5d5f94f456 Mark 01200_mutations_memory_consumption as long and allow run in fasttest 2021-10-15 01:43:27 +03:00