Commit Graph

95710 Commits

Author SHA1 Message Date
kssenii
f9b60916ab Update .reference 2022-08-17 15:34:13 +02:00
Kruglov Pavel
89eb9e8c32
Merge pull request #40303 from ramazanpolat/patch-2
Fix default value of enable_positional_arguments in documentation
2022-08-17 14:41:37 +02:00
Denny Crane
fa718ffc6e
Update settings.md 2022-08-17 09:40:01 -03:00
Denny Crane
d5465d32e1
Update settings.md 2022-08-17 09:38:06 -03:00
Kruglov Pavel
19af748737
Fix typo 2022-08-17 14:29:09 +02:00
Kruglov Pavel
00d04456ff
Try reduce code duplication 2022-08-17 14:28:15 +02:00
avogar
4c64b7a69e Try fix s3 test 2022-08-17 12:25:58 +00:00
Vladimir C
b876cc17c9
Merge pull request #39593 from quickhouse/fixexponentialdecaywindowfunctions
Fixed point of origin for exponential decay window functions to the last value in window
2022-08-17 14:19:59 +02:00
Ramazan Polat
5a1ac13072
By default, enable_positional_arguments=1 2022-08-17 15:12:19 +03:00
avogar
8dd54c043d Merge branch 'master' of github.com:ClickHouse/ClickHouse into schema-inference-cache 2022-08-17 11:47:40 +00:00
Kruglov Pavel
018402c093
Merge pull request #40299 from cyber-moon/patch-2
Provide missing documentation for `arrayWithConstant`
2022-08-17 13:35:46 +02:00
avogar
fd2220b7ce Update test reference 2022-08-17 11:29:53 +00:00
Stephan
5252d41fdb
Provide missing documentation for arrayWithConstant
Documentation of `arrayWithConstant(l, const)`-function, as this was not part of the documentation so far.
2022-08-17 13:21:03 +02:00
Igor Nikonov
46ed4f6cdf
Merge pull request #38719 from ClickHouse/skipping_sorting_step
SortingStep: deduce way to sort based on input stream sort description
2022-08-17 12:58:11 +02:00
Nikolai Kochetov
8ec3f0821c
Merge pull request #40249 from azat/fix-memory-account-on-error
Fix memory accounting in case of MEMORY_LIMIT_EXCEEDED errors
2022-08-17 12:51:40 +02:00
Nikolai Kochetov
8762b4e2ca
Update 02400_memory_accounting_on_error.sql 2022-08-17 12:50:37 +02:00
Alexander Tokmakov
e2c1d06032
Merge pull request #40297 from ClickHouse/fix_build_37198_39933
Fix build
2022-08-17 13:28:43 +03:00
Alexander Tokmakov
d1ffa21e2f fix 2022-08-17 12:17:37 +02:00
Nikolai Kochetov
335a5e3d0a
Merge pull request #40070 from kitaisreal/write-buffer-from-s3-potential-deadlock-fix
WriteBufferFromS3 potential deadlock fix
2022-08-17 12:14:17 +02:00
alesapin
4398a357c8
Merge pull request #40151 from ClickHouse/fix_cannot_quickly_remove_directory
Fix "Cannot quickly remove directory"
2022-08-17 12:11:18 +02:00
Alexander Tokmakov
caa270b72a
Merge pull request #39933 from ClickHouse/auto_convert_ordinary_to_atomic
Add flag that enables automatic conversion from Ordinary to Atomic
2022-08-17 12:40:49 +03:00
Alexander Tokmakov
d23296ef85
Merge pull request #37198 from ClickHouse/replicated_database_improvements
Improvements for Replicated database engine and ON CLUSTER queries
2022-08-17 12:30:04 +03:00
Robert Schulze
7589c49bca
Merge pull request #40264 from ClickHouse/vectorscan-cachetable
Replace unbounded vectorscan cache by bounded cache
2022-08-17 10:58:29 +02:00
Robert Schulze
2110d4334b
Merge pull request #40272 from ClibMouse/librdkafka_update
(negligible) rdkafka library: update lz4.c from upstream, cve fixes
2022-08-17 10:32:33 +02:00
Yakov Olkhovskiy
216a6ce8a4 test is added 2022-08-17 07:52:34 +00:00
Antonio Andelic
78ed49419c
Merge pull request #40261 from ClickHouse/extract-common-kv-storage-logic
Extract common KV storage logic
2022-08-17 08:15:57 +02:00
Josh Taylor
628d2bbff5 Add support for LARGE_BINARY/LARGE_STRING with Arrow 2022-08-17 10:25:06 +08:00
Nikita Mikhaylov
a7c3f23dfb
Merge branch 'master' into auto_convert_ordinary_to_atomic 2022-08-17 00:38:25 +02:00
Rich Raposa
a3a124cc34
Added --ask-password option to documentation (#40289) 2022-08-17 00:20:10 +02:00
kssenii
d193eee887 Better test 2022-08-17 00:16:46 +02:00
Robert Schulze
df889351ad
feat: replace unbounded vectorscan cache by bounded cache
VectorScan patterns can grow large (up to multiple MBs) and queries
involving different VectorScan patterns lead to an ever increasing
pattern cache size.

With this commit, the unbounded cache for vectorscan patterns is
replaced by a bounded cache with "CacheTable" eviction strategy, similar
to what we have for re2 patterns. The cache size is currently hard-coded
to 500 entries.

Fixes #19869
2022-08-16 21:09:47 +00:00
Robert Schulze
89bf69c35f
style: improve code aesthetics and make it slightly safer 2022-08-16 21:09:32 +00:00
Alexander Tokmakov
4482465ce3
Merge pull request #40134 from arthurpassos/fix_cares_reverse_dns_race_condition
Fix CaresPTRResolver race condition
2022-08-16 21:06:17 +03:00
Kruglov Pavel
afd5221d58
FIx check black 2022-08-16 18:53:55 +02:00
Nikolai Kochetov
feab1eb0a3
Update CurrentMemoryTracker.cpp 2022-08-16 18:40:06 +02:00
Igor Nikonov
fdd699e8a3 Rename tests according to new setting name 2022-08-16 16:37:31 +00:00
Igor Nikonov
d4367de7bb Rename setting to optimize_sorting_by_input_stream_properties 2022-08-16 16:27:41 +00:00
Nikolai Kochetov
8e4c967fc9 Try to account untracked memory (per thread) more correctly. 2022-08-16 18:09:05 +02:00
Azat Khuzhin
ded70fbd53 Fix memory accounting in case of MEMORY_LIMIT_EXCEEDED errors
In case of memory allocation had been failed, it should not be take into
account anywhere, otherwise it will report incorrect memory usage for
query and in logs.

I found this while was digging into OOM in stress tests, and saw memory
allocations that had been significantly greater the memory limit (even
with overcommit).

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-08-16 18:08:56 +02:00
Alexander Tokmakov
0136262a2a fix 2022-08-16 18:03:02 +02:00
kssenii
43991729ef Fix 2022-08-16 17:08:12 +02:00
Igor Nikonov
51f4716b29 Fix review comments 2022-08-16 14:59:53 +00:00
avogar
d5f7337ba3 Try fix tests 2022-08-16 14:57:19 +00:00
Yakov Olkhovskiy
18c3ae5b37
Merge pull request #40269 from ClickHouse/ci-mergeable-add-unit-1
Add update_mergeable_check trigger for Unit tests
2022-08-16 10:52:59 -04:00
Kruglov Pavel
cebe9d273c
Fix build 2022-08-16 16:46:17 +02:00
Kruglov Pavel
af2bc42ee1
Fix special build 2022-08-16 16:32:13 +02:00
Kruglov Pavel
b580789802
Fix special build 2022-08-16 16:31:22 +02:00
Suzy Wang
6539273c86 update lz4.c from upstream, cve fixes 2022-08-16 06:50:37 -07:00
Alexander Tokmakov
832d7c6e7c Merge branch 'master' into replicated_database_improvements 2022-08-16 15:49:13 +02:00
Vladimir Chebotaryov
3cc03b141e Fixed tests on Debug build type. 2022-08-16 15:43:37 +02:00