Commit Graph

153035 Commits

Author SHA1 Message Date
Alexander Tokmakov
936c63fd33
Merge pull request #69393 from ClickHouse/revert-69344-remove-multiquery-arg
Revert "Remove obsolete `--multiquery` parameter (follow-up to #63898), pt. V"
2024-09-09 15:33:09 +00:00
Alexander Tokmakov
d2ee805d8f
Revert "Remove obsolete --multiquery parameter (follow-up to #63898), pt. V" 2024-09-09 17:32:22 +02:00
avogar
72dbc8205b Fix unit tests 2024-09-09 15:12:17 +00:00
Robert Schulze
0a9faf05aa
Merge pull request #69361 from rschu1ze/remove-multiquery-arg-2
Remove obsolete `--multiquery` parameter (follow-up to #63898), pt. VI
2024-09-09 14:51:58 +00:00
Robert Schulze
40e887d218
Merge pull request #69344 from rschu1ze/remove-multiquery-arg
Remove obsolete `--multiquery` parameter (follow-up to #63898), pt. V
2024-09-09 14:51:50 +00:00
Robert Schulze
965977500b
Merge pull request #69240 from rschu1ze/update-icu-cmake
CMake: Update ICU build description
2024-09-09 14:40:13 +00:00
Pablo Marcos
f7dee10030 Make a more assertive exception text 2024-09-09 14:38:06 +00:00
Robert Schulze
d749869f00
Merge pull request #67707 from bigo-sg/opt_array_map
Optimize function `array()` and `map()`
2024-09-09 14:37:50 +00:00
Pablo Marcos
67b57eb89f Fix undefined behavior if all connection tries fail
For some reason, getManyCheckedForInsert was calling getManyImpl with
skip_unavailable_endpoints=nullptr, which resulted in getManyImpl using
the `skip_unavailable_shards` settings. Since this is true by default,
min_entries was set to 0.

Having min_entries set to 0 while using PoolMode::GET_ONE was strange,
to say the least. There was an edge case where if all connection
attempts failed and min_entries was 0, it was returning an empty vector.
That was not considered to be possible by the caller and it was getting
the front entry of an empty vector, causing undefined behavior.

Conclusion: set `skip_unavailable_endpoints=false` explicitly in
getManyCheckedForInsert so that min_entries=1. In case all connections
fail, an exception will be thrown. Also, add some defensive programming
to ensure we never ever try to get the front element of an empty vector.
2024-09-09 14:00:35 +00:00
Pablo Marcos
e6e79c3c4a Fix minor typos 2024-09-09 13:35:45 +00:00
Nikita Fomichev
66572aa029 Fix 24.8 setting compatibility rows_before_aggregation
https://github.com/ClickHouse/ClickHouse/pull/66084
2024-09-09 15:25:14 +02:00
imddba
942d0fab4a
spelling fixes 2024-09-09 20:24:16 +08:00
Robert Schulze
420bc3a072
Merge pull request #69382 from rschu1ze/doc-from
Docs: Document per-logger level overrides
2024-09-09 12:21:22 +00:00
Nikita Taranov
43d057ed0f impl 2024-09-09 13:04:45 +01:00
Miсhael Stetsyuk
2364949c95
Merge pull request #69102 from ClickHouse/make-replicated-database-creation-operations-idempotent
Make `Replicated` database creation operations idempotent
2024-09-09 11:19:15 +00:00
Robert Schulze
c4720d9728
Minor doc fixups 2024-09-09 11:18:42 +00:00
Robert Schulze
3363fe3388
Docs: Document per-logger level overriding 2024-09-09 11:14:25 +00:00
Kruglov Pavel
7bf6bdf639
Merge pull request #69149 from Avogar/values-respect-settings
Respect format settings in Values format during conversion from expression to the destination type
2024-09-09 11:02:39 +00:00
Nikita Taranov
57e3812087
Merge pull request #68441 from jiebinn/parallelMergeWithKey
Add thread pool and cancellation to support parallel merge with key
2024-09-09 10:41:45 +00:00
Robert Schulze
5639fed2a5
Merge pull request #69379 from rschu1ze/doc-from
Docs: Mention `FROM`-before-`SELECT` syntax
2024-09-09 10:13:48 +00:00
Igor Nikonov
eda6dabe41 Merge remote-tracking branch 'origin/master' into pr-local-plan 2024-09-09 09:58:36 +00:00
JackyWoo
6539cbd1ce Add CountMin to dictionary file and a little fixup 2024-09-09 17:34:15 +08:00
Raúl Marín
d968de6d26
Merge pull request #66205 from alexkorep/output-format-json-compact-with-progress
JSONCompactWithProgress query output format
2024-09-09 09:30:42 +00:00
Yarik Briukhovetskyi
2c35d53bf6
Merge pull request #56738 from yariks5s/time_buckets_impl
Add time-bucket overload to function `toStartOfInterval()`
2024-09-09 09:18:35 +00:00
Robert Schulze
c5f8802ac8
Docs: Mention FROM-before-SELECT 2024-09-09 08:05:18 +00:00
JackyWoo
077b8239f5 Rename in tests 2024-09-09 11:52:58 +08:00
JackyWoo
eb800d9e39 Rename statistics of type count_min to countmin 2024-09-09 11:45:39 +08:00
taiyang-li
774ec08faf fix style 2024-09-09 11:37:27 +08:00
taiyang-li
d04997bc98 Merge branch 'opt_array_map' of https://github.com/bigo-sg/ClickHouse into opt_array_map 2024-09-09 11:36:28 +08:00
taiyang-li
f1c43472d8 change as request 2024-09-09 11:35:54 +08:00
Alexey Korepanov
1eb7cdbd42 Merge branch 'master' into output-format-json-compact-with-progress 2024-09-08 17:12:51 +02:00
Robert Schulze
2bbede2d93
Remove superfluous --multiquery/-n 2024-09-08 13:09:44 +00:00
Robert Schulze
26f21a0d94
Merge pull request #69326 from rschu1ze/overlay-followup
Minor follow-up for #66933
2024-09-08 09:07:54 +00:00
Robert Schulze
483dd7eebe
Bump to v3.7.2 2024-09-08 08:55:59 +00:00
Robert Schulze
33866fb5bd
Fix config.h for v3.7.1 2024-09-08 08:38:05 +00:00
Alexey Milovidov
7d670bf3c2
Merge pull request #69136 from ilejn/kdc_network_reject
Do not use docker pause for Kerberos KDC container in integration tests
2024-09-08 05:00:29 +00:00
Alexey Milovidov
47c91ffa70
Merge pull request #69334 from rschu1ze/citation
Add CITATION.cff
2024-09-08 00:26:03 +00:00
Robert Schulze
2910580b12
Merge pull request #69318 from rschu1ze/bump-libarchive
Bump libarchive from v3.7.0 to v3.7.1
2024-09-07 18:53:18 +00:00
Robert Schulze
654f8b98de
Update docs/en/sql-reference/functions/string-replace-functions.md
Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>
2024-09-07 20:47:03 +02:00
Robert Schulze
7ff244d7a3
Update docs/en/sql-reference/functions/string-replace-functions.md
Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>
2024-09-07 20:46:56 +02:00
Robert Schulze
65161dc085
Merge pull request #69323 from rschu1ze/bump-grpc
Bump grpc to v1.59.5
2024-09-07 18:44:39 +00:00
Robert Schulze
d464bb5138
Merge pull request #69345 from rschu1ze/bump-libuv
Bump libuv to v1.48.0
2024-09-07 18:43:51 +00:00
Robert Schulze
b13df0b462
Merge pull request #69341 from rschu1ze/bump-openssl
Bump OpenSSL to v3.2.3
2024-09-07 18:39:40 +00:00
Nikita Mikhaylov
16c21ef135
Merge pull request #69359 from tbragin/patch-14
Update README.md - Meetups
2024-09-07 18:29:49 +00:00
Robert Schulze
5362b117bf
Remove superfluous --multiquery/-n 2024-09-07 16:20:46 +00:00
Robert Schulze
8a87cffb82
Merge pull request #69336 from rschu1ze/fix-icu-memleak
Fix memleak in `lower/upperUTF8`
2024-09-07 15:40:01 +00:00
Tanya Bragin
c335f4b1e4
Update README.md - Meetups
Adjusting meetup listings per latest
2024-09-07 07:39:31 -07:00
Nikita Mikhaylov
b161ce0c4c
Merge pull request #69356 from ClickHouse/revert-69324-speed-up-slightly-kafka-tests
Revert "Speed up some Kafka tests with multiprocessing"
2024-09-07 11:27:47 +00:00
Nikita Mikhaylov
9667c19b6e
Revert "Speed up some Kafka tests with multiprocessing" 2024-09-07 09:16:38 +02:00
Julia Kartseva
cc165f9349
Merge pull request #68917 from jkartseva/02378_part_log_profile_events
Fix `02378_part_log_profile_events` flakiness
2024-09-06 23:49:40 +00:00