Commit Graph

132899 Commits

Author SHA1 Message Date
Raúl Marín
6aa5ac4cc6 Merge remote-tracking branch 'blessed/master' into argmin_optimization 2024-01-18 12:04:19 +01:00
Raúl Marín
1105be0e73 Recover lost JIT performance 2024-01-18 12:01:52 +01:00
Robert Schulze
316669b90f
Merge pull request #58396 from zenmiao7/u/zhengmiao/AddArrayFunctionShingles
Add function `arrayShingles()`
2024-01-18 11:38:56 +01:00
vdimir
1595dd8a3f
Merge pull request #56396 from ClickHouse/vdimir/disable_max_rows_in_set_to_optimize_join
Disable max_rows_in_set_to_optimize_join
2024-01-18 10:32:28 +01:00
Antonio Andelic
30a04471ac
Merge pull request #58806 from ClickHouse/fix-keeper-data-race
Fix data race in Keeper
2024-01-18 08:48:16 +01:00
robot-ch-test-poll
fba4d3f427
Merge pull request #58896 from ClickHouse/fix-data-race-aggregatetransform
Fix data race in `AggregatingTransform`
2024-01-18 07:46:49 +01:00
Srikanth Chekuri
c23c7e0b6f
feat: add DDSketch quantile (#56342)
* feat: add DDSketch quantile

* Fix StyleCheck

* Move quantileddsketch.md under right dir

* Update stateless test number and add stateful test

* Throw exception when relative accuracy is too low

* Update test number

* Fix undefined behaviour for empty store

* Fix quantileGK test

* Update test numbers

* Update src/AggregateFunctions/

* Throw exception on out of range values

* Update relative accuracy docs and add encoding details

* Address review comments and suggestions

* Remove unused function

* Address alexey review comments

* Remove unused function isFloat64FieldType

* Throw error on invalid relative accuracy

* Simplify mapping

* Address remaining review comments

* Add effective memory usage suggestions

* Fix Stylecheck

* Fix fast test

* Incorporate bins capacity suggestion

* Fix fuzzer

* Remove inheritance in Mapping, Store and DDSketch

* Add checks for bin resizing

* Add note about the binary compatible implementation
2024-01-17 19:51:32 -08:00
Yakov Olkhovskiy
490bb809c3
Merge pull request #58846 from ClickHouse/fix-compress-destructor
Fix HTTP compressors finalization
2024-01-17 17:49:12 -05:00
Alexey Milovidov
67f74b5520
Merge pull request #58362 from ClickHouse/fix-suspended-workers
Fix suspended workers for AsyncLoader
2024-01-17 22:10:43 +01:00
Robert Schulze
33bfe9cc76
Merge pull request #58922 from rschu1ze/realistic-norm_dist
Extend performance test norm_dist.xml
2024-01-17 22:03:33 +01:00
Alexey Milovidov
7731297aef
Merge pull request #58894 from ClickHouse/whitespace-4
Whitespaces
2024-01-17 21:01:22 +01:00
Alexey Milovidov
e98140beb2
Merge pull request #58899 from Algunenano/more_analyzer_fuzz
Add tests for #57193
2024-01-17 19:38:42 +01:00
Robert Schulze
abcb1b5c9f
Extend performance test norm_dist.xml
Dimension = 200 (instead of 10) is more realistic for vector search use cases.
2024-01-17 18:16:29 +00:00
Mikhail f. Shiryaev
0b52dc0e33
Merge pull request #58920 from ClickHouse/cancel-MasterCI-in-prs
Cancel MasterCI in PRs
2024-01-17 18:58:23 +01:00
Raúl Marín
09e9e716a5 Stability was never promised 2024-01-17 18:09:42 +01:00
Mikhail f. Shiryaev
1d57666b19
Cancel MasterCI in PRs 2024-01-17 17:40:23 +01:00
Anton Popov
72b0fed4ef
Merge pull request #58729 from CurtizJ/nested-size0
Fix reading of offsets subcolumn (`size0`) from `Nested`
2024-01-17 17:16:27 +01:00
Alexey Milovidov
4ac063ffe9
Merge pull request #58890 from chhetripradeep/pchhetri/add-keeper-soft-limit-metric
Add metric for keeper memory soft limit
2024-01-17 17:11:53 +01:00
Alexey Milovidov
1161dbbd54
Merge pull request #57993 from mkmkme/mkmkme/reload-config-again
Update `query_masking_rules` when reloading the config, attempt 2
2024-01-17 17:09:36 +01:00
Robert Schulze
226f1804b7
Fix spelling and style 2024-01-17 15:26:18 +00:00
Antonio Andelic
b3dc2f6870
Merge pull request #58648 from ClickHouse/jemalloc-disable-muzzy-decay
Try disabling `muzzy_decay_ms` in jemalloc
2024-01-17 16:23:25 +01:00
Raúl Marín
849ac1fe99 Implement findExtremeMinIndex / findExtremeMaxIndex 2024-01-17 16:22:40 +01:00
Alexey Milovidov
339fcdcf98
Merge pull request #58893 from ClickHouse/add-test-47988
Add a test for #47988
2024-01-17 16:21:18 +01:00
Kruglov Pavel
c701633955
Merge pull request #58805 from ucasfl/avro-zstd
Avro format support Zstd codec
2024-01-17 14:55:54 +01:00
Raúl Marín
6daaf3dc72 Self review to improve style and bug in ArgMax combinator 2024-01-17 14:21:25 +01:00
Antonio Andelic
3efe102fde
Merge pull request #58901 from ClickHouse/add-jepsen-log
Add log for already download binary in Jepsen
2024-01-17 14:11:42 +01:00
Yakov Olkhovskiy
d5d060a17e fix memory leak in bzip2 2024-01-17 12:53:37 +00:00
Kruglov Pavel
6d064512e1
Merge pull request #58614 from Blargian/58363_disable_ansi_pretty_automatically
58363 Automatically disable ANSI escape sequences in Pretty formats if the output is not a terminal
2024-01-17 13:45:41 +01:00
Nikita Taranov
bb124b544c
Merge pull request #58077 from nickitat/revert_rest
Remove unneeded parameter `use_external_buffer` from `AsynchronousReadBuffer*`
2024-01-17 13:45:07 +01:00
Robert Schulze
84ab20ff77
Some fixups 2024-01-17 12:01:52 +00:00
Antonio Andelic
c8a313da5a
Merge pull request #58873 from ClickHouse/fix-00089_group_by_arrays_of_fixed
Fix `00089_group_by_arrays_of_fixed` with external aggregation
2024-01-17 12:50:30 +01:00
Antonio Andelic
2d16b34a7f Add log for already download binary 2024-01-17 11:49:58 +00:00
Antonio Andelic
5e020476d3
Merge pull request #58810 from ClickHouse/heap-profiler-docs
Add docs for allocation profiling
2024-01-17 12:26:55 +01:00
Dmitry Novik
a5e0be484a
Merge pull request #58875 from ClickHouse/fix-indexhint-rpn-builder
Fix RPN construction for indexHint
2024-01-17 12:24:28 +01:00
Kseniia Sumarokova
2f68086db8
Merge pull request #58898 from ClickHouse/kssenii-patch-8
Update SLRUFileCachePriority.cpp
2024-01-17 12:01:52 +01:00
Raúl Marín
ae1e19f42b
Merge pull request #58849 from ClickHouse/fix-bad-log-message-3
Fix bad log message
2024-01-17 11:58:11 +01:00
Robert Schulze
22534c69c4
Merge remote-tracking branch 'ClickHouse/master' into u/zhengmiao/AddArrayFunctionShingles 2024-01-17 10:49:11 +00:00
Raúl Marín
29eb3347cd Add tests for #57193 2024-01-17 11:39:51 +01:00
Raúl Marín
cb9cc7a4cc Fix table names 2024-01-17 11:36:07 +01:00
Kseniia Sumarokova
0b3ebcda08
Update SLRUFileCachePriority.cpp 2024-01-17 11:13:57 +01:00
Antonio Andelic
1e180d9a7e Atomically test and set is_generate_initialized 2024-01-17 09:42:12 +00:00
Dmitry Novik
ed1221ef4c
Merge pull request #58876 from ClickHouse/analyzer-test-group-by-shards
Analyzer: add test with GROUP BY on shards
2024-01-17 10:08:00 +01:00
Antonio Andelic
ded830ba33 Correctly handle shutdown 2024-01-17 08:56:36 +00:00
Yakov Olkhovskiy
7706840dd9 fix test 2024-01-17 06:33:41 +00:00
Alexey Milovidov
28b27e34ee Whitespaces 2024-01-17 07:29:45 +01:00
Mikhail Koviazin
5ef9478a2e
SensitiveDataMasker: replace shared_ptr with MultiVersion 2024-01-17 08:10:50 +02:00
Mikhail Koviazin
a83f6be97c
SensitiveDataMasker: replace mutex with atomic_{load,store} 2024-01-17 08:10:50 +02:00
Mikhail Koviazin
9e0414f557
fix data race in SensitiveDataMasker
This commit fixes the data race that was introduced in 3067ca6. That commit
added scope lock for `getInstance` and `setInstance`, but `getInstance`
returned a pointer that could be invalidated between call for `getInstance` and
actual usage of the pointer.

This commit changes `SensitiveDataMasker` singleton from `unique_ptr` to
`shared_ptr`, so even if `setInstance` will be called right after
`getInstance`, the pointer returned from `getInstance` will live long enough to
call `wipeSensitiveData` on it.
2024-01-17 08:10:50 +02:00
Mikhail Koviazin
6e6197019c
Reintroduce commit 3067ca6
Update `query_masking_rules` when reloading the config

This reverts commit 7e55eab1c3.
2024-01-17 08:10:49 +02:00
Pradeep Chhetri
09f29b4502 Update nomenclature of variables 2024-01-17 13:52:10 +08:00