Commit Graph

95540 Commits

Author SHA1 Message Date
Nikolai Kochetov
5a85531ef7
Merge pull request #38286 from Avogar/schema-inference-cache
Add schema inference cache for s3/hdfs/file/url
2022-08-18 13:07:50 +02:00
Kseniia Sumarokova
d8fd1f9c37
Merge pull request #36171 from kssenii/make-cache-composable
Make cache composable, allow not to evict certain files (regarding .idx, .mrk, ..), delete old cache version
2022-08-18 12:37:34 +02:00
Kruglov Pavel
d7056376eb
Merge pull request #40068 from Avogar/schema-inference-hints
Allow to specify structure hints in schema inference
2022-08-18 12:19:45 +02:00
Vladimir C
87605d12fb
Merge pull request #40326 from c8ef/patch-1
update path in test.md
2022-08-18 10:56:00 +02:00
Vladimir C
7ac0eb1af1
Merge pull request #40035 from ClickHouse/vdimir/cluster-discovery-observer
Add observer mode to (zoo)keeper cluster discovery feature
2022-08-18 10:53:49 +02:00
Alexey Milovidov
aaf6a3c862
Merge pull request #40184 from ClickHouse/update-cctz
Update cctz
2022-08-18 10:13:04 +03:00
546
0c11645867
update path in test.md
`lexer_fuzzer.cpp` path has changed.
2022-08-18 14:56:22 +08:00
Nikita Taranov
ce89660432
Update "Queries with Parameter" docs (#40317)
* impl

* Update docs/en/interfaces/cli.md

Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>

Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>
2022-08-17 22:31:50 +02:00
Alexander Gololobov
ff87d3b8bf Update the test accoding to fixes for Asia/Tehran tz 2022-08-17 20:34:03 +02:00
Kseniia Sumarokova
07c5184b6e
Merge pull request #40306 from den-crane/patch-32
Doc. fix enable_positional_arguments default value
2022-08-17 17:32:14 +02:00
vdimir
7305158a58
More robust ClusterDiscovery::updateCluster 2022-08-17 14:46:06 +00:00
kssenii
d63d34f7bb Merge master 2022-08-17 15:49:32 +02:00
Denny Crane
f584ebd031
Merge branch 'master' into patch-32 2022-08-17 10:35:15 -03:00
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
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
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
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
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