Commit Graph

152818 Commits

Author SHA1 Message Date
Nikita Taranov
5ef98cd275
Merge pull request #69413 from ClickHouse/fix_test
Fix 01603_read_with_backoff_bug
2024-09-10 12:20:12 +00:00
Nikita Fomichev
24d81fe00b
Merge pull request #69394 from ClickHouse/rows-before-aggregation-compatibility
Fix 24.8 setting compatibility `rows_before_aggregation`
2024-09-10 11:33:33 +00:00
Robert Schulze
4d0941072f
Merge pull request #69367 from rschu1ze/bump-libarchive
Bump libarchive to v3.7.4
2024-09-10 11:09:37 +00:00
Sergei Trifonov
db42cf12fd
Merge pull request #68933 from Blargian/docs_toRelativeXYZ
[Docs] update `toReference*Num` docs
2024-09-10 10:48:24 +00:00
Pablo Marcos
ac3cfef8c1
Merge pull request #69390 from pamarcos/fix-invalid-connection-logical-error
Fix undefined behavior if all connection tries fail
2024-09-10 09:45:37 +00:00
Nikita Taranov
49ea016a3d impl 2024-09-10 10:19:23 +01:00
Daniil Ivanik
25a5768adc
Merge pull request #68952 from Blargian/docs_toDateTime64XYZ
[Docs] update docs for `DateTime64OrZero/Null/Default` functions
2024-09-10 09:15:34 +00:00
Daniil Ivanik
8263815451
Merge pull request #69007 from jww0924/patch-1
[Docs] Add CKibana as third-party GUI
2024-09-10 09:14:37 +00:00
alesapin
41798be63f
Merge pull request #69339 from ClickHouse/cp-mv-docs
Docs: Add cp/mv to keeper client docs
2024-09-10 09:10:32 +00:00
Robert Schulze
6464d47d34
Bump to v3.7.4 2024-09-09 20:33:20 +00:00
Robert Schulze
e252bdc30d
Bump to v3.7.3 2024-09-09 20:27:10 +00:00
Alexander Tokmakov
9ab3ee1b13
Merge pull request #66104 from ClickHouse/break_compatibility
Don't allow explicit UUIDs and ReplicatedMergeTree arguments in Replicated databases
2024-09-09 18:29:16 +00:00
Robert Schulze
2b2cd8e3e0
Merge pull request #69377 from JackyWoo/rename_statistics_count_min
Rename `count_min` statistics to `countmin`
2024-09-09 18:25:11 +00:00
Alexander Tokmakov
7fe8775361
Merge pull request #69306 from ClickHouse/tavplubix-patch-14
Update StackTrace.cpp
2024-09-09 17:55:07 +00:00
Kseniia Sumarokova
ef94d3422c
Merge pull request #69305 from ClickHouse/fix-segfault-deltalake
Add checks against segfault in DeltaLakeMetadata
2024-09-09 16:23:29 +00:00
Kruglov Pavel
804012b2e4
Merge pull request #69311 from Avogar/dynamic-primary-key
Mark Dynamic type as not safe primary key type to avoid issues with Fields
2024-09-09 15:33:48 +00:00
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
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
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
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