Commit Graph

124944 Commits

Author SHA1 Message Date
Alexey Milovidov
5a47803a80
Update HashJoin.h 2023-09-15 09:03:08 +00:00
Alexey Milovidov
57991f2e1d
Update IColumn.h 2023-09-15 09:03:07 +00:00
vdimir
ac3c12e8b2
Shrink blocks in HashJoin on consuming half of maximum memory 2023-09-15 09:03:07 +00:00
yur3k
f6c4fba890
Made shrinkToFit interface mutable. Improved shrinkToFit implementation. 2023-09-15 09:03:07 +00:00
yur3k
e2ce8ed9aa
Added shrinkToFit methods to IColumn and Block. shrinkToFit now used unconditionally in HashJoin. 2023-09-15 09:03:06 +00:00
vdimir
3414aa6f14
Analyzer: send constant columns to initiator in case of isToAggregationState 2023-09-15 08:59:30 +00:00
lgbo-ustc
8f057f17fd update 2023-09-15 16:05:17 +08:00
LaurieLY
646c07981c
Update stddevsamp.md, fix a broken url in md. 2023-09-15 09:44:28 +08:00
avogar
b9c28ef1f7 Fix for analyzer 2023-09-14 20:10:07 +00:00
avogar
93c49dfeaa Fix using structure from insertion tables in case of defaults and explicit insert columns 2023-09-14 19:31:12 +00:00
Robert Schulze
945179be46
Annoy: Fix LOGICAL_ERROR with default values #52258 2023-09-14 19:23:32 +00:00
Robert Schulze
c422a8f0dc
Cosmetics 2023-09-14 18:05:20 +00:00
Robert Schulze
f0eadd4b22
Merge pull request #54103 from ClickHouse/ustweaks
Small usearch index improvements: metrics and configurable internal data type
2023-09-14 19:58:53 +02:00
Sema Checherinda
d9e15c00c9 limit the delay before next try in S3 2023-09-14 19:45:07 +02:00
Alexey Milovidov
f6d5ed281c
Merge pull request #54546 from kitaisreal/function-helpers-remove-are-types-equal-function
FunctionHelpers remove areTypesEqual function
2023-09-14 20:37:37 +03:00
Yarik Briukhovetskyi
f758839b8c
style check 2023-09-14 20:36:47 +03:00
Robert Schulze
9fc3d8d90d
Bump abseil to latest HEAD 2023-09-14 17:10:40 +00:00
yariks5s
0faedd0b94 Merge branch 'arr_scalar_mult_div_modulo' of github.com:yariks5s/ClickHouse into arr_scalar_mult_div_modulo 2023-09-14 17:01:17 +00:00
yariks5s
3a9e41a684 fixed review and added reversed order 2023-09-14 17:00:35 +00:00
Kseniia Sumarokova
de9662f7a4
Merge pull request #54343 from aiven-sal/aiven-sal/fix_cache_test
Fix filesystem cache test
2023-09-14 18:45:51 +02:00
vdimir
1aa18e0eb6
Analyzer: Remove constants from header in StorageDistributed 2023-09-14 16:44:18 +00:00
vdimir
e8422414b0
Revert "Materialize column in header for not isSuitableForConstantFolding"
This reverts commit 04afd6a3bfeb2c3f4d78a153056bb1217028f0cc.
2023-09-14 16:44:17 +00:00
vdimir
e438eff93c
Materialize column in header for not isSuitableForConstantFolding 2023-09-14 16:44:16 +00:00
vdimir
50fb2d996c
Revert "FunctionConstantBase return non const column in case of distributed"
This reverts commit dcec7ea4cd54b121c579bb35360a79acb2035a5a.
2023-09-14 16:44:16 +00:00
vdimir
56e7218101
FunctionConstantBase return non const column in case of distributed 2023-09-14 16:44:15 +00:00
Robert Schulze
7b378dbad3
Remove broken lockless variant of re2 2023-09-14 16:40:42 +00:00
Alexander Tokmakov
52de64c2bd remove unneeded code 2023-09-14 18:30:12 +02:00
Robert Schulze
9f8881e795
Bump absl and s2geometry
Fixes: #54623
2023-09-14 15:44:32 +00:00
János Benjamin Antal
328f675473 Temporarily disable cron 2023-09-14 15:09:42 +00:00
János Benjamin Antal
13868e4d1d Fix review comments 2023-09-14 14:45:23 +00:00
Azat Khuzhin
5d3e3113b2 Fix possible CANNOT_READ_ALL_DATA exception during ZooKeeper client finalization
Right now it is possible to get this error CANNOT_READ_ALL_DATA if
timings will goes wrong.

The problem is that finalize() firstly calls shutdown() on the socket,
this will trigger poll(POLLIN) (EOF) and the receiveThread() will
trigger a receiveEvent which will fail because read will return 0
(while reading length).

Note, that rearrange the code in the finalize (i.e. call shutdown()
after) since the client sends CLOSE_XID before, and the server may close
the connection already, and this will also trigger poll(POLLIN) (EOF),
and read will return 0 also.

So checking for the requests_queue.isFinished() is not enough,
finalization_started should be checked instead.

Easy reproducer:

    $ yes /keeper/api_version | head -n10000 | xargs -P30 -i clickhouse-keeper-client -q 'get {}' > /dev/null

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-09-14 16:36:16 +02:00
Nikolay Degterinsky
7643e216be
Better test 2023-09-14 15:58:00 +02:00
Nikolay Degterinsky
ca57eb9546
Fix addData function 2023-09-14 15:55:37 +02:00
Kruglov Pavel
6419f91cfc
Merge pull request #54585 from ClickHouse/Avogar-patch-1
Remove output_format_markdown_escape_special_characters from settings changes history
2023-09-14 15:45:05 +02:00
Mikhail f. Shiryaev
bf962a8674
Merge pull request #54517 from HarryLeeIBM/hlee-s390x-jemalloc-bins
Fix endian issue in jemalloc_bins for s390x
2023-09-14 15:43:50 +02:00
János Benjamin Antal
f7ceb76dcb Fix pylint and mypy issues 2023-09-14 13:41:34 +00:00
avogar
7e6c41fd15 Better test 2023-09-14 13:37:26 +00:00
avogar
f240243c86 Fix schema inference for *Cluster functions for column names with spaces 2023-09-14 13:34:11 +00:00
Antonio Andelic
ae88bd3da5
Merge pull request #54572 from ClickHouse/fix-install-backup
Fix snapshot install in Keeper
2023-09-14 14:44:45 +02:00
Robert Schulze
e018f1d913
Fix spelling 2023-09-14 12:42:22 +00:00
Azat Khuzhin
929d5d6097 Add stateless test for clickhouse keeper-client --no-confirmation (resubmit)
Reverts: #54616
Resubmits: #54547

This reverts commit d23daca082, reversing
changes made to e111d4abd3.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-09-14 14:25:09 +02:00
János Benjamin Antal
699bf031c9 Remove accidentally committed code 2023-09-14 12:07:15 +00:00
János Benjamin Antal
51781a6a86 Add workflow 2023-09-14 12:05:50 +00:00
János Benjamin Antal
078c16760f Add --remote-protocol arg 2023-09-14 12:05:49 +00:00
Ilya Yatsishin
67e6725284
Merge pull request #54622 from ClickHouse/vdimir/cluster_discovery_doc
Add cluster discovery documentation
2023-09-14 14:00:07 +02:00
robot-clickhouse
0fda5e4bf2 Automatic style fix 2023-09-14 11:44:34 +00:00
János Benjamin Antal
da802b2688 Do the release 2023-09-14 11:28:35 +00:00
Michael Kolupaev
8997464867
Small usearch index improvements: metrics and f16 2023-09-14 11:24:47 +00:00
Kseniia Sumarokova
eeb2c5b223
Merge pull request #53220 from valbok/double-to-single
MaterializedMySQL: Introduce Character Set Introducers
2023-09-14 13:18:08 +02:00
János Benjamin Antal
b13a07863d Add gh_cache to gitignore to pass dirty check 2023-09-14 11:17:20 +00:00