Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
246 commits
Select commit Hold shift + click to select a range
6c21040
Backport #87895 to 25.8: Forbid clear column for iceberg
robot-clickhouse Dec 4, 2025
b9a0def
Backport #90761 to 25.8: Fix access validation for ALTER UPDATE with …
robot-clickhouse Dec 8, 2025
4713e8b
Update 03727_alter_with_localhost_remote.sql
pufit Dec 17, 2025
82f2339
Backport #89429 to 25.8: Fix `Bad get: has Null` from skip index set.
robot-clickhouse Dec 17, 2025
c6fbb13
Backport #94599 to 25.8: Fix crash on CREATE WORKLOAD in an active wo…
robot-clickhouse Jan 23, 2026
95fed4b
Backport #95480 to 25.8: Add missing SELECT grant check in `mergeTree…
robot-clickhouse Jan 29, 2026
5e71cd1
Update autogenerated version to 25.8.16.34 and contributors
robot-clickhouse Feb 2, 2026
90aaa68
Backport #95535 to 25.8: Mark task as done without parent ProcessList…
robot-clickhouse Feb 2, 2026
01e189d
Backport #95157 to 25.8: Fix qualified column resolution for multiple…
robot-clickhouse Feb 2, 2026
03a78d9
Backport #95574 to 25.8: Bump libxml2
robot-clickhouse Feb 2, 2026
0af37aa
Merge pull request #95830 from ClickHouse/backport/25.8/95574
rschu1ze Feb 2, 2026
1f3aca8
Merge pull request #95793 from ClickHouse/backport/25.8/95535
serxa Feb 2, 2026
4807b62
Backport #95563 to 25.8: Fix contention in CancellationChecker thread
robot-clickhouse Feb 2, 2026
a9ae4f7
Merge pull request #91754 from ClickHouse/backport/25.8/90761
pufit Feb 3, 2026
dbe1502
Backport #95846 to 25.8: Fix assertion failure in `applyUncommittedSt…
robot-clickhouse Feb 3, 2026
5f312bb
Fix 02374_analyzer_join_using
vdimir Feb 3, 2026
8b84349
Merge branch '25.8' into backport/25.8/95563
serxa Feb 3, 2026
bc8c825
Merge pull request #95814 from ClickHouse/backport/25.8/95157
clickhouse-gh[bot] Feb 3, 2026
e0f98bc
Merge pull request #95859 from ClickHouse/backport/25.8/95563
serxa Feb 3, 2026
ff6e84d
Merge pull request #95889 from ClickHouse/backport/25.8/95846
antonio2368 Feb 4, 2026
22c8b3f
Backport #95773 to 25.8: Fix squashing partitioned delta lake data
robot-clickhouse Feb 5, 2026
3f6ddd6
Backport #96048 to 25.8: Fix global profiler values
robot-clickhouse Feb 5, 2026
c80e145
Backport #96133 to 25.8: Fix use-of-uninitialized-value in `formatDat…
robot-clickhouse Feb 6, 2026
349bdf3
Backport #96098 to 25.8: Trim size of CachedOnDiskReadBufferFromFile …
robot-clickhouse Feb 6, 2026
6242457
Merge pull request #96052 from ClickHouse/backport/25.8/95773
kssenii Feb 6, 2026
e173701
Merge pull request #96076 from ClickHouse/backport/25.8/96048
antonio2368 Feb 6, 2026
5675020
Update src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp
azat Feb 6, 2026
1200828
Update CachedOnDiskReadBufferFromFile.cpp
azat Feb 6, 2026
eb78e81
Backport #95948 to 25.8: Fix skipping paths in JSON data type
robot-clickhouse Feb 6, 2026
703ac6d
Merge pull request #96174 from ClickHouse/backport/25.8/96098
clickhouse-gh[bot] Feb 6, 2026
1235b95
Backport #96182 to 25.8: Fix lock inversion in ProcessList
robot-clickhouse Feb 7, 2026
f032afb
Backport #96172 to 25.8: Fix query condition cache hash collision for…
robot-clickhouse Feb 7, 2026
f78c55e
Backport #90204 to 25.8: Fix applying patch parts with query conditio…
robot-clickhouse Feb 8, 2026
6d89ad3
Merge pull request #96400 from ClickHouse/backport/25.8/90204
clickhouse-gh[bot] Feb 8, 2026
c7d3dd9
Merge pull request #96276 from ClickHouse/backport/25.8/96182
antonio2368 Feb 9, 2026
841b255
Backport #95899 to 25.8: Skip S3 reads when querying DeltaLake from s…
robot-clickhouse Feb 9, 2026
2e69b15
Merge pull request #96209 from ClickHouse/backport/25.8/95948
kssenii Feb 9, 2026
f760bf2
Backport #92103 to 25.8: Fix crash in WriteBufferFromHTTPServerRespon…
robot-clickhouse Feb 9, 2026
9601ebb
Merge pull request #96467 from ClickHouse/backport/25.8/92103
clickhouse-gh[bot] Feb 9, 2026
daa3abd
Backport #96479 to 25.8: Fix null pointer dereference in `DataTypeFun…
robot-clickhouse Feb 10, 2026
5ee3f71
Backport #96103 to 25.8: Fix revoking default roles
robot-clickhouse Feb 10, 2026
1e70af0
Backport #96405 to 25.8: Crash with old analyzer if JOIN and duplicat…
robot-clickhouse Feb 10, 2026
be31e9d
Backport #96450 to 25.8: Fix livelock in CancellationChecker caused b…
robot-clickhouse Feb 10, 2026
49e9cab
Merge pull request #96555 from ClickHouse/backport/25.8/96405
clickhouse-gh[bot] Feb 10, 2026
1c48e3c
Merge pull request #96578 from ClickHouse/backport/25.8/96450
serxa Feb 11, 2026
b840f86
Backport #96671 to 25.8: Validate witness version in bech32 to avoid …
robot-clickhouse Feb 11, 2026
7a0c7c7
Merge pull request #96689 from ClickHouse/backport/25.8/96671
clickhouse-gh[bot] Feb 11, 2026
efe78eb
Merge branch '25.8' into backport/25.8/95899
kssenii Feb 13, 2026
6e06615
Backport #96840 to 25.8: Better jemalloc introspection
robot-clickhouse Feb 14, 2026
a845d70
Backport #96877 to 25.8: Fix std::terminate in indexOfAssumeSorted wi…
robot-clickhouse Feb 15, 2026
4774c64
Merge pull request #96934 from ClickHouse/backport/25.8/96877
clickhouse-gh[bot] Feb 15, 2026
07d0046
Backport #96878 to 25.8: Fix exception in window functions with group…
robot-clickhouse Feb 15, 2026
3801638
Backport #90010 to 25.8: Fix logical error with join_using_top_level_…
robot-clickhouse Feb 16, 2026
5e896e4
Merge pull request #97109 from ClickHouse/backport/25.8/90010
clickhouse-gh[bot] Feb 16, 2026
55fd56a
Backport #96170 to 25.8: Fix `AccessRights::contains` returning incor…
robot-clickhouse Feb 17, 2026
21ed234
Merge pull request #97149 from ClickHouse/backport/25.8/96170
clickhouse-gh[bot] Feb 17, 2026
9677f47
Backport #96703 to 25.8: Fix min(timestamp) returning epoch via _minm…
robot-clickhouse Feb 17, 2026
8cc4ca6
Merge pull request #97202 from ClickHouse/backport/25.8/96703
pamarcos Feb 18, 2026
ffc72eb
Merge pull request #96538 from ClickHouse/backport/25.8/96103
pufit Feb 18, 2026
048f8cb
Backport #94865 to 25.8: Remove skip permissions check from SQL secur…
robot-clickhouse Feb 19, 2026
6875fd6
Delete tests/queries/0_stateless/03812_mergetree_introspection_grants.sh
pufit Feb 19, 2026
c2017a7
Delete tests/queries/0_stateless/03812_mergetree_introspection_grants…
pufit Feb 19, 2026
1ac9dac
Backport #97336 to 25.8: Fix use-after-free in StorageKeeperMap backup
robot-clickhouse Feb 19, 2026
d1041de
Backport #97282 to 25.8: Add additional validations of ColumnVariant …
robot-clickhouse Feb 19, 2026
2359ac9
Backport #97323 to 25.8: Remove TABLE_UUID_MISMATCH check for non-ana…
robot-clickhouse Feb 19, 2026
5db639b
Merge pull request #97434 from ClickHouse/backport/25.8/97323
clickhouse-gh[bot] Feb 20, 2026
7af5b77
Backport #97281 to 25.8: Fix SEGFAULT in supportsTrivialCountOptimiza…
robot-clickhouse Feb 20, 2026
80cc654
Delete src/Storages/MergeTree/tests/gtest_trivial_count_null_snapshot…
pamarcos Feb 20, 2026
2d9616d
Merge pull request #97463 from ClickHouse/backport/25.8/97281
clickhouse-gh[bot] Feb 20, 2026
40ffdf8
Merge pull request #97395 from ClickHouse/backport/25.8/97282
Avogar Feb 20, 2026
8ba72c6
Merge pull request #96901 from ClickHouse/backport/25.8/96840
azat Feb 22, 2026
fe82714
Backport #97583 to 25.8: Fix null pointer dereference in applyPatches…
robot-clickhouse Feb 22, 2026
846e292
Backport #97520 to 25.8: fix a possible use after free in StorageKafk…
robot-clickhouse Feb 22, 2026
e7c08d0
Merge pull request #97597 from ClickHouse/backport/25.8/97583
clickhouse-gh[bot] Feb 22, 2026
3f65fc6
Merge pull request #97607 from ClickHouse/backport/25.8/97520
clickhouse-gh[bot] Feb 22, 2026
49f3100
Merge pull request #97327 from ClickHouse/backport/25.8/94865
pufit Feb 23, 2026
0ce5ad4
Merge pull request #95484 from ClickHouse/backport/25.8/95480
pufit Feb 23, 2026
027cd72
Backport #97585 to 25.8: Fix crash in BaseSettings::readBinary
robot-clickhouse Feb 23, 2026
1693ab2
Merge pull request #97713 from ClickHouse/backport/25.8/97585
mstetsyuk Feb 23, 2026
6283000
Backport #92339 to 25.8: Check and mark the interserver IO address ac…
robot-clickhouse Feb 24, 2026
2425527
Update DDLWorker.cpp
tuanpach Feb 24, 2026
8e5550e
Merge pull request #97815 from ClickHouse/backport/25.8/92339
tuanpach Feb 24, 2026
ffb41dd
Backport #97866 to 25.8: Handle unprocessed left blocks in `GraceHash…
robot-clickhouse Feb 25, 2026
90de77f
Backport #97523 to 25.8: Fix logical error about missing stream durin…
robot-clickhouse Feb 25, 2026
0a6f4be
Backport #97826 to 25.8: Fix crash with mapContainsKey/mapContainsKey…
robot-clickhouse Feb 26, 2026
094885e
Backport #97546 to 25.8: Remove incorrect replaceRegexpOne to extract…
robot-clickhouse Feb 26, 2026
fa7bbea
Merge pull request #97911 from ClickHouse/backport/25.8/97866
antaljanosbenjamin Feb 26, 2026
e1830b4
Backport #97887 to 25.8: Fix data race in ZooKeeper client between se…
robot-clickhouse Feb 26, 2026
ed90be3
Merge pull request #98072 from ClickHouse/backport/25.8/97887
clickhouse-gh[bot] Feb 26, 2026
459f02f
Backport #98147 to 25.8: Fix segfault in outer-to-inner join optimiza…
robot-clickhouse Feb 27, 2026
3216796
Merge pull request #97952 from ClickHouse/backport/25.8/97523
Avogar Feb 27, 2026
73400b8
Backport #97778 to 25.8: Fix reading empty granules in advanced share…
robot-clickhouse Feb 27, 2026
b20c145
Merge pull request #98194 from ClickHouse/backport/25.8/98147
clickhouse-gh[bot] Feb 27, 2026
5dfbd35
Backport #98276 to 25.8: Fix off-by-one in ToDateMonotonicity boundar…
robot-clickhouse Mar 1, 2026
b4cc081
Merge pull request #98382 from ClickHouse/backport/25.8/98276
clickhouse-gh[bot] Mar 1, 2026
557fdf6
Update autogenerated version to 25.8.17.37 and contributors
robot-clickhouse Mar 1, 2026
cd9f540
Update autogenerated version to 25.8.18.1 and contributors
robot-clickhouse Mar 2, 2026
d1797da
Backport #98306 to 25.8: Use `postgres` REL_18_3
robot-clickhouse Mar 3, 2026
2f467ae
Merge pull request #98590 from ClickHouse/backport/25.8/98306
clickhouse-gh[bot] Mar 3, 2026
c6a93ee
Merge pull request #96432 from ClickHouse/backport/25.8/95899
antonio2368 Mar 3, 2026
479d00d
Merge pull request #98219 from ClickHouse/backport/25.8/97778
Avogar Mar 3, 2026
57693c4
Backport #98551 to 25.8: Fix column rollback in StorageBuffer::append…
robot-clickhouse Mar 3, 2026
7e4e3ec
Merge pull request #98645 from ClickHouse/backport/25.8/98551
clickhouse-gh[bot] Mar 4, 2026
7366afc
Backport #98115 to 25.8: Enforce READ ON FILE checks for scalar file(…
robot-clickhouse Mar 4, 2026
c88135e
Update FunctionFile.cpp
evillique Mar 4, 2026
40a1390
Backport #98304 to 25.8: Use `mongo-c-driver` 2.2.2
robot-clickhouse Mar 4, 2026
f89110e
Backport #98740 to 25.8: CI: skip all jobs for release PRs in filter_…
robot-clickhouse Mar 4, 2026
4e830ec
Merge pull request #98760 from ClickHouse/backport/25.8/98740
clickhouse-gh[bot] Mar 4, 2026
3bdeb67
Update mongo-cxx-driver submodule to match master
thevar1able Mar 4, 2026
4f1dab5
Merge pull request #98716 from ClickHouse/backport/25.8/98115
evillique Mar 5, 2026
d4c5834
Merge pull request #98751 from ClickHouse/backport/25.8/98304
thevar1able Mar 5, 2026
e5e2fc4
Backport #98514 to 25.8: Fix unexpected result with read_in_order_use…
robot-clickhouse Mar 6, 2026
321cfb4
Backport #98770 to 25.8: Fix reverseUTF8 exception on invalid UTF-8 i…
robot-clickhouse Mar 13, 2026
8cac6ab
Backport #99081 to 25.8: Fix segfault in recursive CTE with `remote()…
robot-clickhouse Mar 13, 2026
b0277b9
Accept `COMMENT` before `AS SELECT` in view parser for forward compat…
alexey-milovidov Mar 16, 2026
faa34da
Merge pull request #99562 from ClickHouse/backport/25.8/97843
clickhouse-gh[bot] Mar 16, 2026
2139879
Backport #99471 to 25.8: Fix heap-use-after-free in IntersectOrExcept…
robot-clickhouse Mar 16, 2026
30870c6
Merge pull request #98029 from ClickHouse/backport/25.8/97546
alexey-milovidov Mar 17, 2026
abef476
Merge pull request #98017 from ClickHouse/backport/25.8/97826
alexey-milovidov Mar 17, 2026
9a08a71
Merge pull request #97363 from ClickHouse/backport/25.8/97336
alexey-milovidov Mar 17, 2026
0c2a2aa
Merge pull request #97045 from ClickHouse/backport/25.8/96878
alexey-milovidov Mar 17, 2026
568d3f4
Merge pull request #96515 from ClickHouse/backport/25.8/96479
alexey-milovidov Mar 17, 2026
cdc0101
Merge pull request #96153 from ClickHouse/backport/25.8/96133
alexey-milovidov Mar 17, 2026
7617b79
Merge pull request #99414 from ClickHouse/backport/25.8/98770
alexey-milovidov Mar 17, 2026
196ead4
Merge pull request #99665 from ClickHouse/backport/25.8/99471
clickhouse-gh[bot] Mar 17, 2026
3d71697
Backport #99351 to 25.8: Fix CHECK TABLE with sparse serialization in…
robot-clickhouse Mar 17, 2026
63c9a44
Merge pull request #98924 from ClickHouse/backport/25.8/98514
vdimir Mar 17, 2026
c21005c
Backport #99036 to 25.8: Fix server crash when dropping a patch part…
robot-clickhouse Mar 17, 2026
4fdc1f6
Merge pull request #99767 from ClickHouse/backport/25.8/99036
clickhouse-gh[bot] Mar 18, 2026
3c25b7f
Update 04038_check_table_sparse_tuple_dynamic.reference
Avogar Mar 18, 2026
cedb493
Backport #99739 to 25.8: Fix logical error with datalakes tables iter…
robot-clickhouse Mar 18, 2026
9a1f6a2
Merge remote-tracking branch 'origin/25.8' into backport/25.8/99081
thevar1able Mar 18, 2026
30bab73
Backport #99678 to 25.8: Fix incorrect seek in AsynchronousReadBuffer…
robot-clickhouse Mar 18, 2026
228561f
Merge pull request #99893 from ClickHouse/backport/25.8/99739
clickhouse-gh[bot] Mar 18, 2026
009f461
Backport #99587 to 25.8: Prune unused columns from ARRAY JOIN
robot-clickhouse Mar 18, 2026
205291a
Merge pull request #99441 from ClickHouse/backport/25.8/99081
clickhouse-gh[bot] Mar 18, 2026
72e8baa
Backport #99164 to 25.8: Fix LOGICAL_ERROR due to patch parts column …
robot-clickhouse Mar 18, 2026
656d7f3
Fix missing backslash in APPLY_FOR_FAILPOINTS macro continuation
CurtizJ Mar 18, 2026
be93af7
Merge pull request #99950 from ClickHouse/backport/25.8/99678
alexey-milovidov Mar 19, 2026
243936f
Update autogenerated version to 25.8.19.20 and contributors
robot-clickhouse Mar 19, 2026
2e1cd63
Merge pull request #99989 from ClickHouse/backport/25.8/99164
CurtizJ Mar 19, 2026
e14fb74
Backport #99380 to 25.8: Fix ignoring of TABLE_UUID_MISMATCH for non …
robot-clickhouse Mar 19, 2026
75eb6d2
Backport #99976 to 25.8: Fix assertion failure in CRoaring on self-me…
robot-clickhouse Mar 19, 2026
e82cde6
Update 04038_check_table_sparse_tuple_dynamic.reference
Avogar Mar 19, 2026
ff26d68
Merge pull request #99728 from ClickHouse/backport/25.8/99351
clickhouse-gh[bot] Mar 19, 2026
1fe0b1d
Backport #100024 to 25.8: Fix cross-user data leak in `system.asynchr…
robot-clickhouse Mar 20, 2026
ac0803a
Merge pull request #100164 from ClickHouse/backport/25.8/100024
clickhouse-gh[bot] Mar 20, 2026
5094f25
Update autogenerated version to 25.8.20.4 and contributors
robot-clickhouse Mar 20, 2026
0240da4
Merge pull request #100076 from ClickHouse/backport/25.8/99380
azat Mar 22, 2026
2141781
Backport #100234 to 25.8: Fix shared variant column pointers in `Colu…
robot-clickhouse Mar 22, 2026
472539e
Backport #99542 to 25.8: Fix incorrect partition pruning for toWeek()…
robot-clickhouse Mar 22, 2026
5e04dc8
Merge pull request #100352 from ClickHouse/backport/25.8/99542
clickhouse-gh[bot] Mar 22, 2026
d7d5364
Backport #99344 to 25.8: Mask secrets for XDBC and NATS engines
robot-clickhouse Mar 23, 2026
6d30f87
Remove incorrectly handled test cases
antaljanosbenjamin Mar 24, 2026
687e609
Backport #100475 to 25.8: Fix missing stream exception for nested JSO…
robot-clickhouse Mar 24, 2026
80e3af2
Merge pull request #100590 from ClickHouse/backport/25.8/100475
Avogar Mar 24, 2026
ae86bf2
Update 04042_hash_join_allocated_size_tracking.sql
Avogar Mar 24, 2026
29edc33
Update 04051_variant_filter_shared_columns_bug.sql
Avogar Mar 24, 2026
099badc
Merge pull request #100093 from ClickHouse/backport/25.8/99976
Avogar Mar 24, 2026
faecd3f
Merge pull request #100487 from ClickHouse/backport/25.8/99344
antaljanosbenjamin Mar 25, 2026
6b04d02
Backport #100483 to 25.8: Validate file paths in backup metadata to r…
robot-clickhouse Mar 27, 2026
6a0e0b1
Fix test
novikd Mar 27, 2026
202723f
Merge pull request #100885 from ClickHouse/backport/25.8/100483
pamarcos Mar 27, 2026
36f7e2f
Backport #100760 to 25.8: Fix crash in has() with LowCardinality tupl…
robot-clickhouse Mar 27, 2026
cbbce86
Merge pull request #100916 from ClickHouse/backport/25.8/100760
clickhouse-gh[bot] Mar 27, 2026
e325d37
Update autogenerated version to 25.8.21.7 and contributors
robot-clickhouse Mar 28, 2026
95eb73c
Backport #100843 to 25.8: Sanitize input in `ULIDStringToDateTime`
robot-clickhouse Mar 29, 2026
1727aa0
Update 03903_query_condition_cache_cte_constant_folding.sql
alexey-milovidov Mar 29, 2026
19684d9
Merge pull request #96287 from ClickHouse/backport/25.8/96172
clickhouse-gh[bot] Mar 29, 2026
e575315
Merge pull request #91514 from ClickHouse/backport/25.8/87895
nikitamikhaylov Mar 31, 2026
49a5fc0
Merge pull request #92409 from ClickHouse/backport/25.8/89429
nikitamikhaylov Mar 31, 2026
f727c10
Merge pull request #94969 from ClickHouse/backport/25.8/94599
nikitamikhaylov Mar 31, 2026
7b955d1
Merge pull request #99963 from ClickHouse/backport/25.8/99587
nikitamikhaylov Mar 31, 2026
44d85e4
Merge pull request #100338 from ClickHouse/backport/25.8/100234
nikitamikhaylov Mar 31, 2026
40de911
Merge pull request #101085 from ClickHouse/backport/25.8/100843
nikitamikhaylov Mar 31, 2026
c97ec78
feat: add distroless Docker image variant for server and keeper
motsc Mar 31, 2026
6ca49bd
Backport #100800 to 25.8: Dont show secrets in select from system.dat…
robot-clickhouse Apr 1, 2026
0f5cd8d
Merge pull request #101426 from motsc/backport/distroless/25.8
motsc Apr 1, 2026
822abf0
Backport #100901 to 25.8: Subtract slab_reclaimable from kernel memor…
robot-clickhouse Apr 2, 2026
8bb552c
Backport #100582 to 25.8: Use `aws-sdk-cpp` 1.11.771
robot-clickhouse Apr 5, 2026
4ca4928
Backport #101662 to 25.8: Bump curl from 8.18 to 8.19
robot-clickhouse Apr 6, 2026
c3c85e0
Backport #99484 to 25.8: Keeper: fix race between read requests and s…
robot-ch-test-poll4 Apr 6, 2026
3f210a0
Merge pull request #101864 from ClickHouse/backport/25.8/101662
rschu1ze Apr 7, 2026
e130c1e
Backport #100948 to 25.8: Fix undefined behaviour in DateTimeBestEffo…
robot-clickhouse Apr 7, 2026
d4900e3
Backport #101658 to 25.8: Bump libarchive from 3.8.5 to 3.8.6
robot-clickhouse Apr 7, 2026
75457ff
Fix build
thevar1able Apr 7, 2026
4f70d34
poke
thevar1able Apr 7, 2026
61a4296
Merge pull request #101597 from ClickHouse/backport/25.8/100901
antonio2368 Apr 8, 2026
b262869
Merge pull request #101929 from ClickHouse/backport/25.8/101658
rschu1ze Apr 8, 2026
6ff5884
Backport #101823 to 25.8: Fix use-after-scope in parallel Object type…
robot-clickhouse Apr 8, 2026
52c4878
Backport #101847 to 25.8: `formatDateTime`: Treat `%W` unconditionall…
robot-clickhouse Apr 8, 2026
9e16e21
Merge pull request #102096 from ClickHouse/backport/25.8/101847
rschu1ze Apr 8, 2026
96658bd
Backport #101655 to 25.8: Bump MongoDB driver
robot-clickhouse Apr 8, 2026
7bae0d1
One more change to adapt to a new SDK
alesapin Sep 26, 2025
a872767
Fix Md5 checksums calculation
alesapin Sep 26, 2025
8e55301
Merge pull request #102134 from ClickHouse/backport/25.8/101655
rschu1ze Apr 9, 2026
7140fd8
Merge pull request #102069 from ClickHouse/backport/25.8/101823
antonio2368 Apr 9, 2026
0cdeedc
Merge pull request #101826 from ClickHouse/backport/25.8/100582
thevar1able Apr 9, 2026
388a5c7
Backport #100290 to 25.8: Disable AI SQL generation in embedded client
robot-clickhouse Apr 10, 2026
f66ce8d
Merge pull request #102323 from ClickHouse/backport/25.8/100290
alexey-milovidov Apr 10, 2026
6f9244b
Backport #101936 to 25.8: Fix SIGSEGV in MergeTreeDataPartWriterWide:…
robot-clickhouse Apr 10, 2026
1847b52
Merge pull request #101926 from ClickHouse/backport/25.8/100948
Avogar Apr 10, 2026
8306a72
Merge pull request #101528 from ClickHouse/backport/25.8/100800
fm4v Apr 10, 2026
0b23876
Backport #100837 to 25.8: Try fixing use-after-free in RemoteQueryExe…
robot-clickhouse Apr 13, 2026
d224987
Backport #99119 to 25.8: Fix LOGICAL_ERROR exception in `ASTColumnsEx…
robot-clickhouse Apr 14, 2026
6162314
Backport #101761 to 25.8: Fix use-after-free in CPULeaseAllocation wa…
robot-clickhouse Apr 14, 2026
41c31bd
Merge pull request #102619 from ClickHouse/backport/25.8/100837
thevar1able Apr 14, 2026
e5b00b9
Merge pull request #102675 from ClickHouse/backport/25.8/101761
antonio2368 Apr 15, 2026
e84af35
Backport #102681 to 25.8: Fix SYSTEM WAIT VIEW hanging forever when t…
robot-clickhouse Apr 15, 2026
cc2a871
Merge pull request #102741 from ClickHouse/backport/25.8/102681
evillique Apr 15, 2026
1ef0dd0
Merge pull request #102653 from ClickHouse/backport/25.8/99119
pamarcos Apr 15, 2026
fb6469f
Backport #102606 to 25.8: Use `openssl` 3.5.6
robot-clickhouse Apr 15, 2026
879c46a
Pick changes from `bump-openssl-3.5.6`
thevar1able Apr 15, 2026
88b09dd
Fix build
thevar1able Apr 15, 2026
3f492ad
Fix build
thevar1able Apr 15, 2026
cb8bc2a
Backport #102607 to 25.8: Use `xz` 5.8.3
robot-clickhouse Apr 15, 2026
9a12454
Fix build
thevar1able Apr 15, 2026
6d29497
Merge pull request #102829 from ClickHouse/backport/25.8/102607
thevar1able Apr 15, 2026
360cc02
Merge pull request #102819 from ClickHouse/backport/25.8/102606
thevar1able Apr 16, 2026
e83a9e5
Backport #102674 to 25.8: Fix wrong date data type inference in case …
robot-clickhouse Apr 17, 2026
659b38c
Backport #102915 to 25.8: Optimize row policy OR-chains to IN in the …
robot-clickhouse Apr 17, 2026
3f6c029
Update autogenerated version to 25.8.22.28 and contributors
robot-clickhouse Apr 17, 2026
9201c77
Upgrade distroless base image from cc-debian12 to cc-debian13
motsc Apr 20, 2026
15e6e32
Merge pull request #103154 from ClickHouse/backport/25.8/distroless-d…
clickhouse-gh[bot] Apr 20, 2026
42b3a5f
Backport #103160 to 25.8: CI: disable automerge for backport branches
robot-clickhouse Apr 20, 2026
e01d4a3
Merge pull request #102968 from ClickHouse/backport/25.8/102674
Avogar Apr 20, 2026
bb6aa71
Backport #101918 to 25.8: Fix using wrong extreams in min-max index c…
robot-clickhouse Apr 20, 2026
9bb23d7
Merge pull request #103175 from ClickHouse/backport/25.8/103160
maxknv Apr 21, 2026
ac8c55c
Update 04098_row_policy_disjunction_optimization
azat Apr 21, 2026
44d8b06
Merge pull request #103018 from ClickHouse/backport/25.8/102915
azat Apr 21, 2026
e854a5f
Backport #102692 to 25.8: Fix flattened Dynamic type serialization wi…
robot-clickhouse Apr 21, 2026
5005b3c
Merge pull request #103300 from ClickHouse/backport/25.8/102692
Avogar Apr 22, 2026
4cce3bd
Update test reference
Avogar Apr 22, 2026
457bc28
Backport #103392 to 25.8: Check for malformed flattened Dynamic data …
robot-clickhouse Apr 23, 2026
a7ab2db
Merge pull request #103408 from ClickHouse/backport/25.8/103392
Avogar Apr 23, 2026
d4be641
Merge pull request #103184 from ClickHouse/backport/25.8/101918
Avogar Apr 23, 2026
5f8b23c
Refresh distroless base image digests to pick up libssl3t64 3.5.5-1~d…
motsc Apr 27, 2026
ce36607
Merge pull request #103582 from ClickHouse/backport/25.8/distroless-d…
motsc Apr 27, 2026
ebe77ef
Backport #103334 to 25.8: Fix Parquet ColumnIndex stats min_value > m…
robot-ch-test-poll1 Apr 28, 2026
e69ef71
Backport #103834 to 25.8: Reliable key receiving from a chain of keys…
robot-clickhouse May 1, 2026
df70b65
Merge pull request #103868 from ClickHouse/backport/25.8/103834
alexey-milovidov May 1, 2026
443620d
Merge pull request #102352 from ClickHouse/backport/25.8/101936
Algunenano May 4, 2026
47e2b1f
Merge tag 'v25.8.23.13-lts' into releases/25.8
zvonand May 7, 2026
28716f3
Fix two stateless test references for 25.8
zvonand May 7, 2026
a7c15fc
Fix 02735_parquet_encoder reference for new string stats behavior
zvonand May 10, 2026
9b09c0f
Cherry-pick aws-sdk-cpp 1.11.771 checksum config fix
zvonand May 11, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@
url = https://github.com/ClickHouse/rocksdb
[submodule "contrib/xz"]
path = contrib/xz
url = https://github.com/xz-mirror/xz
url = https://github.com/tukaani-project/xz
[submodule "contrib/abseil-cpp"]
path = contrib/abseil-cpp
url = https://github.com/ClickHouse/abseil-cpp.git
Expand Down
16 changes: 16 additions & 0 deletions ci/jobs/scripts/docker_server/config.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/usr/bin/env bash

# Get current file directory
currentDir="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"

# iterate over all directories in current path
clickhouseTests=$( find "$currentDir"/tests/ -maxdepth 1 -name 'clickhouse-*' -not -name 'clickhouse-distroless-*' -type d -exec basename {} \; )
clickhouseDistrolessTests=$( find "$currentDir"/tests/ -maxdepth 1 -name 'clickhouse-distroless-*' -type d -exec basename {} \; )
keeperTests=$( find "$currentDir"/tests/ -maxdepth 1 -name 'keeper-*' -type d -exec basename {} \; )

imageTests+=(
['clickhouse/clickhouse-server']="${clickhouseTests}"
['clickhouse/clickhouse-server:distroless']="${clickhouseTests} ${clickhouseDistrolessTests}"
['clickhouse/clickhouse-keeper']="${keeperTests}"
['clickhouse/clickhouse-keeper:distroless']="${keeperTests}"
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
CREATE DATABASE IF NOT EXISTS test_db;
CREATE TABLE IF NOT EXISTS test_db.test_table (id UInt32, value UInt32) ENGINE = MergeTree ORDER BY id;
INSERT INTO test_db.test_table VALUES (1, 100), (2, 200);
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
#!/bin/bash
# Verify that clickhouse docker-init executes SQL initdb scripts correctly.
# The distroless image has no shell so initdb scripts must be handled
# by the compiled docker-init entrypoint, not by entrypoint.sh.
set -eo pipefail

dir="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"
source "$dir/../lib.sh"

image="$1"

export CLICKHOUSE_USER='init_test_user'
export CLICKHOUSE_PASSWORD='init_test_password'

cid="$(
docker run -d \
-e CLICKHOUSE_USER \
-e CLICKHOUSE_PASSWORD \
-v "$dir/initdb.sql":/docker-entrypoint-initdb.d/initdb.sql:ro \
--name "$(cname)" \
"$image"
)"
trap 'docker rm -vf $cid > /dev/null' EXIT

chCli() {
docker run --rm -i \
--link "$cid":clickhouse \
-e CLICKHOUSE_USER \
-e CLICKHOUSE_PASSWORD \
"$image" \
clickhouse-client \
--host clickhouse \
--user "$CLICKHOUSE_USER" \
--password "$CLICKHOUSE_PASSWORD" \
--query "$*"
}

# shellcheck source=../../../../../tmp/docker-library/official-images/test/retry.sh
. "$TESTS_LIB_DIR/retry.sh" \
--tries "$CLICKHOUSE_TEST_TRIES" \
--sleep "$CLICKHOUSE_TEST_SLEEP" \
chCli SELECT 1

# Verify the initdb script ran and created the table with the expected data
chCli SHOW TABLES IN test_db | grep '^test_table$' >/dev/null
[ "$(chCli 'SELECT SUM(value) FROM test_db.test_table')" = 300 ]
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/bash
# Verify the distroless production image contains no shell.
# This is the key property of a distroless image: /bin/sh, /bin/bash,
# and other shells must be absent to reduce the attack surface.
set -eo pipefail

image="$1"

if docker run --rm --entrypoint /bin/sh "$image" -c "echo bad" 2>/dev/null; then
echo "FAIL: /bin/sh should not exist in the distroless image" >&2
exit 1
fi

if docker run --rm --entrypoint /bin/bash "$image" -c "echo bad" 2>/dev/null; then
echo "FAIL: /bin/bash should not exist in the distroless image" >&2
exit 1
fi
9 changes: 9 additions & 0 deletions ci/jobs/scripts/workflow_hooks/filter_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,15 @@ def should_skip_job(job_name):
if _info_cache is None:
_info_cache = Info()

# There is no way to prevent GitHub Actions from running the PR workflow on
# release branches, so we skip all jobs here. The ReleaseCI workflow is used
# for testing on release branches instead.
if (
Labels.RELEASE in _info_cache.pr_labels
or Labels.RELEASE_LTS in _info_cache.pr_labels
):
return True, "Skipped for release PR"

changed_files = _info_cache.get_kv_data("changed_files")
if not changed_files:
print("WARNING: no changed files found for PR - do not filter jobs")
Expand Down
2 changes: 1 addition & 1 deletion ci/workflows/backport_branches.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
enable_job_filtering_by_changes=True,
enable_cache=True,
enable_report=True,
enable_automerge=True,
enable_automerge=False,
enable_cidb=True,
enable_commit_status_on_failure=True,
pre_hooks=[
Expand Down
12 changes: 6 additions & 6 deletions cmake/autogenerated_versions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

# NOTE: VERSION_REVISION has nothing common with DBMS_TCP_PROTOCOL_VERSION,
# only DBMS_TCP_PROTOCOL_VERSION should be incremented on protocol changes.
SET(VERSION_REVISION 54516)
SET(VERSION_REVISION 54523)
SET(VERSION_MAJOR 25)
SET(VERSION_MINOR 8)
SET(VERSION_PATCH 16)
SET(VERSION_GITHASH 7a0b36cf8934881236312e9fea094baaf5c709a4)
SET(VERSION_DESCRIBE v25.8.16.10002.altinitytest)
SET(VERSION_STRING 25.8.16.10002.altinitytest)
SET(VERSION_PATCH 23)
SET(VERSION_GITHASH 6d29497525664acca46a1d1cd0d5787e9ad0857d)
SET(VERSION_DESCRIBE v25.8.23.10001.altinitytest)
SET(VERSION_STRING 25.8.23.10001.altinitytest)
# end of autochange

SET(VERSION_TWEAK 10002)
SET(VERSION_TWEAK 10001)
SET(VERSION_FLAVOUR altinitytest)

2 changes: 1 addition & 1 deletion contrib/aws
Submodule aws updated from a86b91 to 22f694
2 changes: 1 addition & 1 deletion contrib/aws-c-auth
Submodule aws-c-auth updated 240 files
2 changes: 1 addition & 1 deletion contrib/aws-c-cal
Submodule aws-c-cal updated 77 files
+8 −0 .github/ISSUE_TEMPLATE/bug-report.yml
+290 −69 .github/workflows/ci.yml
+4 −6 .github/workflows/clang-format.yml
+32 −0 .github/workflows/codecov.yml
+2 −2 .github/workflows/handle-stale-discussions.yml
+32 −0 .github/workflows/issue-regression-labeler.yml
+4 −1 .github/workflows/stale_issue.yml
+89 −40 CMakeLists.txt
+2 −2 README.md
+1 −11 bin/produce_x_platform_fuzz_corpus/CMakeLists.txt
+1 −11 bin/run_x_platform_fuzz_corpus/CMakeLists.txt
+1 −11 bin/sha256_profile/CMakeLists.txt
+80 −3 builder.json
+2 −2 cmake/aws-c-cal-config.cmake
+3 −3 cmake/modules/Findcrypto.cmake
+47 −0 format-check.py
+0 −25 format-check.sh
+1 −0 include/aws/cal/cal.h
+49 −7 include/aws/cal/ecc.h
+88 −0 include/aws/cal/ed25519.h
+5 −5 include/aws/cal/exports.h
+29 −0 include/aws/cal/hash.h
+55 −0 include/aws/cal/hkdf.h
+34 −0 include/aws/cal/hmac.h
+43 −0 include/aws/cal/private/der.h
+8 −2 include/aws/cal/private/ecc.h
+6 −0 include/aws/cal/private/opensslcrypto_common.h
+9 −0 include/aws/cal/private/symmetric_cipher_priv.h
+10 −0 include/aws/cal/rsa.h
+43 −26 include/aws/cal/symmetric_cipher.h
+2 −1 source/cal.c
+32 −75 source/darwin/commoncrypto_aes.c
+24 −4 source/darwin/commoncrypto_hmac.c
+25 −2 source/darwin/commoncrypto_platform_init.c
+0 −4 source/darwin/commoncrypto_sha1.c
+1 −4 source/darwin/commoncrypto_sha256.c
+72 −0 source/darwin/commoncrypto_sha512.c
+27 −54 source/darwin/securityframework_ecc.c
+3 −0 source/darwin/securityframework_rsa.c
+75 −14 source/der.c
+918 −66 source/ecc.c
+147 −0 source/ed25519.c
+20 −1 source/hash.c
+61 −0 source/hkdf.c
+40 −0 source/hmac.c
+139 −5 source/rsa.c
+398 −0 source/shared/ed25519.c
+51 −0 source/shared/ed25519_noop.c
+116 −0 source/shared/lccrypto_common.c
+149 −0 source/shared/ref_hkdf.c
+30 −16 source/symmetric_cipher.c
+66 −50 source/unix/openssl_aes.c
+169 −78 source/unix/openssl_platform_init.c
+66 −101 source/unix/openssl_rsa.c
+77 −59 source/unix/opensslcrypto_ecc.c
+30 −25 source/unix/opensslcrypto_hash.c
+40 −5 source/unix/opensslcrypto_hmac.c
+173 −144 source/windows/bcrypt_aes.c
+6 −27 source/windows/bcrypt_ecc.c
+47 −12 source/windows/bcrypt_hash.c
+65 −6 source/windows/bcrypt_hmac.c
+7 −0 source/windows/bcrypt_platform_init.c
+9 −2 source/windows/bcrypt_rsa.c
+57 −0 tests/CMakeLists.txt
+322 −12 tests/aes256_test.c
+96 −2 tests/der_test.c
+267 −27 tests/ecc_test.c
+82 −0 tests/ed25519_test.c
+128 −0 tests/hkdf_test.c
+5 −5 tests/md5_test.c
+247 −15 tests/rsa_test.c
+8 −8 tests/sha1_test.c
+5 −5 tests/sha256_hmac_test.c
+8 −8 tests/sha256_test.c
+354 −0 tests/sha512_hmac_test.c
+300 −0 tests/sha512_test.c
+35 −2 tests/test_case_helper.h
2 changes: 1 addition & 1 deletion contrib/aws-c-common
Submodule aws-c-common updated 215 files
2 changes: 1 addition & 1 deletion contrib/aws-c-http
Submodule aws-c-http updated 92 files
+5 −4 .builder/action/local-server-setup.py
+8 −0 .github/ISSUE_TEMPLATE/bug-report.yml
+145 −0 .github/workflows/cert-renewal.yml
+164 −64 .github/workflows/ci.yml
+4 −6 .github/workflows/clang-format.yml
+0 −1 .github/workflows/closed-issue-message.yml
+2 −2 .github/workflows/handle-stale-discussions.yml
+32 −0 .github/workflows/issue-regression-labeler.yml
+6 −3 .github/workflows/stale_issue.yml
+0 −30 .travis/travis_build.sh
+9 −26 CMakeLists.txt
+2 −2 README.md
+1 −3 bin/elasticurl/CMakeLists.txt
+1 −1 bin/elasticurl/main.c
+22 −0 bin/h2benchmark/CMakeLists.txt
+10 −0 bin/h2benchmark/README.md
+529 −0 bin/h2benchmark/main.c
+1 −1 builder.json
+47 −0 format-check.py
+0 −24 format-check.sh
+45 −13 include/aws/http/connection.h
+38 −1 include/aws/http/connection_manager.h
+4 −4 include/aws/http/exports.h
+10 −0 include/aws/http/http.h
+12 −2 include/aws/http/http2_stream_manager.h
+14 −2 include/aws/http/private/h1_connection.h
+7 −4 include/aws/http/private/h1_encoder.h
+18 −15 include/aws/http/private/h1_stream.h
+24 −4 include/aws/http/private/h2_connection.h
+7 −3 include/aws/http/private/h2_frames.h
+27 −5 include/aws/http/private/h2_stream.h
+8 −5 include/aws/http/private/hpack.h
+2 −0 include/aws/http/private/http_impl.h
+33 −0 include/aws/http/private/no_proxy.h
+4 −2 include/aws/http/private/proxy_impl.h
+1 −0 include/aws/http/private/request_response_impl.h
+17 −9 include/aws/http/proxy.h
+33 −9 include/aws/http/request_response.h
+15 −4 include/aws/http/server.h
+1 −1 include/aws/http/websocket.h
+43 −17 integration-testing/http_client_test.py
+60 −22 source/connection.c
+257 −82 source/connection_manager.c
+169 −41 source/h1_connection.c
+33 −15 source/h1_decoder.c
+143 −21 source/h1_encoder.c
+58 −22 source/h1_stream.c
+149 −82 source/h2_connection.c
+13 −9 source/h2_frames.c
+177 −114 source/h2_stream.c
+23 −2 source/http.c
+5 −3 source/http2_stream_manager.c
+293 −0 source/no_proxy.c
+66 −28 source/proxy_connection.c
+28 −14 source/proxy_strategy.c
+10 −4 source/request_response.c
+61 −59 source/websocket.c
+1 −1 source/websocket_bootstrap.c
+145 −101 tests/CMakeLists.txt
+9 −2 tests/fuzz/fuzz_h2_decoder_correct.c
+5 −2 tests/h2_test_helper.c
+126 −0 tests/mock_server/README.md
+259 −0 tests/mock_server/h11mock_server.py
+0 −1 tests/mock_server/h2non_tls_server.py
+105 −51 tests/mock_server/h2tls_mock_server.py
+21 −3 tests/proxy_test_helper.c
+10 −4 tests/proxy_test_helper.h
+0 −40 tests/py_localhost/README.md
+23 −0 tests/resources/README
+22 −21 tests/resources/unittests.crt
+ tests/resources/unittests.p12
+0 −16 tests/resources/unittests.readme
+1 −0 tests/stream_test_helper.c
+1 −0 tests/stream_test_helper.h
+33 −14 tests/test_connection.c
+343 −37 tests/test_connection_manager.c
+17 −19 tests/test_connection_monitor.c
+738 −18 tests/test_h1_client.c
+88 −46 tests/test_h1_decoder.c
+90 −173 tests/test_h1_encoder.c
+614 −91 tests/test_h2_client.c
+17 −7 tests/test_h2_encoder.c
+2 −1 tests/test_h2_headers.c
+31 −0 tests/test_http.c
+25 −15 tests/test_localhost_integ.c
+4 −1 tests/test_message.c
+446 −0 tests/test_no_proxy.c
+100 −24 tests/test_proxy.c
+6 −6 tests/test_random_access_set.c
+215 −38 tests/test_stream_manager.c
+142 −33 tests/test_tls.c
+35 −1 tests/test_websocket_handler.c
2 changes: 1 addition & 1 deletion contrib/aws-c-io
Submodule aws-c-io updated 113 files
2 changes: 1 addition & 1 deletion contrib/aws-c-mqtt
Submodule aws-c-mqtt updated 69 files
+8 −0 .github/ISSUE_TEMPLATE/bug-report.yml
+100 −39 .github/workflows/ci.yml
+4 −6 .github/workflows/clang-format.yml
+18 −12 .github/workflows/codecov.yml
+32 −0 .github/workflows/issue-regression-labeler.yml
+29 −39 CMakeLists.txt
+4 −4 README.md
+1 −3 bin/elastipubsub/CMakeLists.txt
+1 −1 bin/elastipubsub/main.c
+1 −3 bin/elastipubsub5/CMakeLists.txt
+1 −1 bin/elastipubsub5/main.c
+27 −0 bin/elastishadow/CMakeLists.txt
+1,271 −0 bin/elastishadow/main.c
+1 −3 bin/mqtt5canary/CMakeLists.txt
+2 −2 bin/mqtt5canary/main.c
+1 −1 codebuild/mqtt-canary-test.yml
+47 −0 format-check.py
+0 −24 format-check.sh
+1 −1 include/aws/mqtt/client.h
+5 −5 include/aws/mqtt/exports.h
+13 −0 include/aws/mqtt/mqtt.h
+55 −1 include/aws/mqtt/private/client_impl.h
+24 −0 include/aws/mqtt/private/client_impl_shared.h
+204 −0 include/aws/mqtt/private/mqtt311_listener.h
+211 −0 include/aws/mqtt/private/request-response/protocol_adapter.h
+23 −0 include/aws/mqtt/private/request-response/request_response_client.h
+140 −0 include/aws/mqtt/private/request-response/request_response_subscription_set.h
+264 −0 include/aws/mqtt/private/request-response/subscription_manager.h
+2 −0 include/aws/mqtt/private/shared.h
+1 −5 include/aws/mqtt/private/v5/mqtt5_options_storage.h
+290 −0 include/aws/mqtt/request-response/request_response_client.h
+4 −9 include/aws/mqtt/v5/mqtt5_client.h
+0 −8 include/aws/mqtt/v5/mqtt5_packet_storage.h
+0 −8 include/aws/mqtt/v5/mqtt5_types.h
+212 −61 source/client.c
+10 −2 source/client_channel_handler.c
+9 −0 source/client_impl_shared.c
+38 −1 source/mqtt.c
+329 −0 source/mqtt311_listener.c
+2 −3 source/packets.c
+973 −0 source/request-response/protocol_adapter.c
+2,138 −0 source/request-response/request_response_client.c
+336 −0 source/request-response/request_response_subscription_set.c
+822 −0 source/request-response/subscription_manager.c
+1 −1 source/shared.c
+23 −41 source/v5/mqtt5_client.c
+1 −0 source/v5/mqtt5_listener.c
+91 −39 source/v5/mqtt5_options_storage.c
+24 −14 source/v5/mqtt5_to_mqtt3_adapter.c
+1 −1 source/v5/mqtt5_topic_alias.c
+163 −4 tests/CMakeLists.txt
+1,785 −0 tests/request-response/protocol_adapter_tests.c
+4,428 −0 tests/request-response/request_response_client_tests.c
+2,877 −0 tests/request-response/subscription_manager_tests.c
+1 −1 tests/v3-client/aws_iot_client_test.c
+1 −1 tests/v3-client/paho_client_test.c
+847 −991 tests/v3/connection_state_test.c
+488 −0 tests/v3/mqtt311_listener_test.c
+582 −0 tests/v3/mqtt311_testing_utils.c
+155 −0 tests/v3/mqtt311_testing_utils.h
+51 −2 tests/v3/mqtt_mock_server_handler.c
+18 −0 tests/v3/mqtt_mock_server_handler.h
+262 −57 tests/v5/mqtt5_client_tests.c
+70 −0 tests/v5/mqtt5_operation_and_storage_tests.c
+4 −11 tests/v5/mqtt5_operation_validation_failure_tests.c
+26 −2 tests/v5/mqtt5_testing_utils.c
+20 −0 tests/v5/mqtt5_testing_utils.h
+80 −4 tests/v5/mqtt5_to_mqtt3_adapter_tests.c
+2 −1 tests/v5/mqtt5_topic_alias_tests.c
2 changes: 1 addition & 1 deletion contrib/aws-c-s3
Submodule aws-c-s3 updated 143 files
2 changes: 1 addition & 1 deletion contrib/aws-c-sdkutils
Submodule aws-c-sdkutils updated 36 files
+8 −0 .github/ISSUE_TEMPLATE/bug-report.yml
+91 −32 .github/workflows/ci.yml
+4 −6 .github/workflows/clang-format.yml
+18 −12 .github/workflows/codecov.yml
+32 −0 .github/workflows/issue-regression-labeler.yml
+9 −28 CMakeLists.txt
+2 −2 README.md
+47 −0 format-check.py
+0 −24 format-check.sh
+1 −0 include/aws/sdkutils/aws_profile.h
+24 −2 include/aws/sdkutils/endpoints_rule_engine.h
+4 −5 include/aws/sdkutils/exports.h
+47 −0 include/aws/sdkutils/private/endpoints_regex.h
+48 −31 include/aws/sdkutils/private/endpoints_types_impl.h
+1 −21 include/aws/sdkutils/private/endpoints_util.h
+3 −0 include/aws/sdkutils/sdkutils.h
+47 −29 source/aws_profile.c
+435 −0 source/endpoints_regex.c
+62 −30 source/endpoints_rule_engine.c
+67 −50 source/endpoints_ruleset.c
+21 −7 source/endpoints_standard_lib.c
+39 −4 source/endpoints_types_impl.c
+1 −182 source/endpoints_util.c
+42 −8 source/partitions.c
+16 −0 source/sdkutils.c
+10 −5 tests/CMakeLists.txt
+297 −299 tests/aws_profile_tests.c
+138 −0 tests/endpoints_regex_tests.c
+89 −11 tests/endpoints_rule_engine_tests.c
+0 −97 tests/endpoints_util_tests.c
+26 −0 tests/resources/malformed-rules/no_default_on_required.json
+2 −2 tests/resources/sample_partitions.json
+45 −0 tests/resources/sample_partitions_bad_regex.json
+1 −1 tests/resources/test-cases/partition-fn.json
+45 −0 tests/resources/test-cases/string_array.json
+38 −0 tests/resources/valid-rules/string_array.json
2 changes: 1 addition & 1 deletion contrib/aws-checksums
Submodule aws-checksums updated 44 files
+8 −0 .github/ISSUE_TEMPLATE/bug-report.yml
+242 −49 .github/workflows/ci.yml
+4 −6 .github/workflows/clang-format.yml
+18 −0 .github/workflows/handle-stale-discussions.yml
+32 −0 .github/workflows/issue-regression-labeler.yml
+1 −1 .github/workflows/stale_issue.yml
+77 −77 CMakeLists.txt
+27 −0 bin/benchmark/CMakeLists.txt
+151 −0 bin/benchmark/main.c
+15 −1 builder.json
+0 −53 cmake/AwsSharedLibSetup.cmake
+47 −0 format-check.py
+0 −24 format-check.sh
+30 −0 include/aws/checksums/checksums.h
+105 −3 include/aws/checksums/crc.h
+5 −6 include/aws/checksums/exports.h
+62 −0 include/aws/checksums/private/crc32_priv.h
+58 −0 include/aws/checksums/private/crc64_priv.h
+0 −33 include/aws/checksums/private/crc_priv.h
+132 −0 include/aws/checksums/private/crc_util.h
+18 −0 include/aws/checksums/private/xxhash_priv.h
+87 −0 include/aws/checksums/xxhash.h
+5 −5 source/arm/crc32c_arm.c
+265 −0 source/arm/crc64_arm.c
+36 −0 source/checksums.c
+0 −33 source/crc.c
+649 −0 source/crc32.c
+450 −0 source/crc64.c
+1,189 −0 source/crc64_sw.c
+78 −8 source/crc_sw.c
+63 −0 source/crc_util.c
+4 −0 source/external/how_to_update.md
+7,442 −0 source/external/xxhash.h
+0 −18 source/generic/crc32c_null.c
+6 −29 source/intel/asm/crc32c_sse42_asm.c
+227 −0 source/intel/intrin/crc32c_sse42_avx512.c
+130 −0 source/intel/intrin/crc64nvme_avx512.c
+147 −0 source/intel/intrin/crc64nvme_clmul.c
+0 −77 source/intel/visualc/visualc_crc32c_sse42.c
+460 −0 source/xxhash.c
+16 −0 tests/CMakeLists.txt
+206 −0 tests/crc64_test.c
+248 −44 tests/crc_test.c
+204 −0 tests/xxhash_test.c
24 changes: 24 additions & 0 deletions contrib/aws-cmake/AwsGetVersion.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0.

function(aws_get_version var_version_major var_version_minor var_version_patch var_version_full var_git_hash)
# Simple version is "MAJOR.MINOR.PATCH" from VERSION file
file(READ "${AWS_CRT_DIR}/VERSION" version_simple)
string(STRIP ${version_simple} version_simple)
set(${var_version_simple} ${version_simple} PARENT_SCOPE)

string(REPLACE "." ";" VERSION_LIST ${version_simple})
list(GET VERSION_LIST 0 version_major)
list(GET VERSION_LIST 1 version_minor)
list(GET VERSION_LIST 2 version_patch)
set(${var_version_major} ${version_major} PARENT_SCOPE)
set(${var_version_minor} ${version_minor} PARENT_SCOPE)
set(${var_version_patch} ${version_patch} PARENT_SCOPE)

# By default, full version is same as simple version.
# But we'll make it more specific later, if we determine that we're not at an exact tagged commit.
set(${var_version_full} ${version_simple} PARENT_SCOPE)

# Don't include the hash of HEAD in a config file. It's just terrible for build caching and useless
set(var_git_hash "" PARENT_SCOPE)
endfunction()
58 changes: 45 additions & 13 deletions contrib/aws-cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ include("${ClickHouse_SOURCE_DIR}/contrib/aws-cmake/AwsFeatureTests.cmake")
include("${ClickHouse_SOURCE_DIR}/contrib/aws-cmake/AwsThreadAffinity.cmake")
include("${ClickHouse_SOURCE_DIR}/contrib/aws-cmake/AwsThreadName.cmake")
include("${ClickHouse_SOURCE_DIR}/contrib/aws-cmake/AwsSIMD.cmake")
include("${ClickHouse_SOURCE_DIR}/contrib/aws-crt-cpp/cmake/AwsGetVersion.cmake")
include("${ClickHouse_SOURCE_DIR}/contrib/aws-cmake/AwsGetVersion.cmake")

set (AWS_STUBS "${ClickHouse_SOURCE_DIR}/contrib/aws-cmake/aws_stubs.cpp")

Expand All @@ -44,6 +44,12 @@ if (CMAKE_BUILD_TYPE_UC STREQUAL "DEBUG")
list(APPEND AWS_PRIVATE_COMPILE_DEFS "-DDEBUG_BUILD")
endif()

if (OS_LINUX)
list(APPEND AWS_PRIVATE_COMPILE_DEFS "-DAWS_ENABLE_EPOLL")
elseif (OS_DARWIN)
list(APPEND AWS_PRIVATE_COMPILE_DEFS "-DAWS_ENABLE_KQUEUE")
endif()

set(ENABLE_OPENSSL_ENCRYPTION ON)
if (ENABLE_OPENSSL_ENCRYPTION)
list(APPEND AWS_PRIVATE_COMPILE_DEFS "-DENABLE_OPENSSL_ENCRYPTION")
Expand Down Expand Up @@ -76,8 +82,8 @@ file(GLOB AWS_SDK_CORE_SRC
"${AWS_SDK_CORE_DIR}/source/*.cpp"
"${AWS_SDK_CORE_DIR}/source/auth/*.cpp"
"${AWS_SDK_CORE_DIR}/source/auth/bearer-token-provider/*.cpp"
"${AWS_SDK_CORE_DIR}/source/auth/signer/*.cpp"
"${AWS_SDK_CORE_DIR}/source/auth/signer-provider/*.cpp"
"${AWS_SDK_CORE_DIR}/source/auth/signer/*.cpp"
"${AWS_SDK_CORE_DIR}/source/client/*.cpp"
"${AWS_SDK_CORE_DIR}/source/config/*.cpp"
"${AWS_SDK_CORE_DIR}/source/config/defaults/*.cpp"
Expand All @@ -96,8 +102,11 @@ file(GLOB AWS_SDK_CORE_SRC
"${AWS_SDK_CORE_DIR}/source/smithy/tracing/*.cpp"
"${AWS_SDK_CORE_DIR}/source/utils/*.cpp"
"${AWS_SDK_CORE_DIR}/source/utils/base64/*.cpp"
"${AWS_SDK_CORE_DIR}/source/utils/cbor/*.cpp"
"${AWS_SDK_CORE_DIR}/source/utils/checksum/*.cpp"
"${AWS_SDK_CORE_DIR}/source/utils/component-registry/*.cpp"
"${AWS_SDK_CORE_DIR}/source/utils/crypto/*.cpp"
"${AWS_SDK_CORE_DIR}/source/utils/crypto/crt/*.cpp"
"${AWS_SDK_CORE_DIR}/source/utils/crypto/factory/*.cpp"
"${AWS_SDK_CORE_DIR}/source/utils/crypto/openssl/*.cpp"
"${AWS_SDK_CORE_DIR}/source/utils/event/*.cpp"
Expand All @@ -123,8 +132,6 @@ configure_file("${AWS_SDK_CORE_DIR}/include/aws/core/SDKConfig.h.in"
"${CMAKE_CURRENT_BINARY_DIR}/include/aws/core/SDKConfig.h" @ONLY)

aws_get_version(AWS_CRT_CPP_VERSION_MAJOR AWS_CRT_CPP_VERSION_MINOR AWS_CRT_CPP_VERSION_PATCH FULL_VERSION GIT_HASH)
# Don't include the hash of HEAD in a config file. It's just terrible for build caching and useless
set(GIT_HASH "")
set(FULL_VERSION "${AWS_CRT_CPP_VERSION_MAJOR}.${AWS_CRT_CPP_VERSION_MINOR}.${AWS_CRT_CPP_VERSION_PATCH}-clickhouse")
configure_file("${AWS_CRT_DIR}/include/aws/crt/Config.h.in" "${CMAKE_CURRENT_BINARY_DIR}/include/aws/crt/Config.h" @ONLY)

Expand Down Expand Up @@ -168,12 +175,19 @@ list(APPEND AWS_PUBLIC_INCLUDES "${AWS_AUTH_DIR}/include/")
# aws-c-cal
file(GLOB AWS_CAL_SRC
"${AWS_CAL_DIR}/source/*.c"
"${AWS_CAL_DIR}/source/shared/*.c"
)

if (ENABLE_OPENSSL_ENCRYPTION)
file(GLOB AWS_CAL_OS_SRC
"${AWS_CAL_DIR}/source/unix/*.c"
)
if (OS_LINUX)
file(GLOB AWS_CAL_OS_SRC
"${AWS_CAL_DIR}/source/unix/*.c"
)
else (OS_DARWIN)
file(GLOB AWS_CAL_OS_SRC
"${AWS_CAL_DIR}/source/darwin/*.c"
)
endif()
list(APPEND AWS_PRIVATE_LIBS OpenSSL::Crypto)
endif()

Expand All @@ -196,6 +210,9 @@ file(GLOB AWS_COMMON_SRC
"${AWS_COMMON_DIR}/source/external/*.c"
"${AWS_COMMON_DIR}/source/posix/*.c"
"${AWS_COMMON_DIR}/source/linux/*.c"
"${AWS_COMMON_DIR}/source/external/libcbor/*.c"
"${AWS_COMMON_DIR}/source/external/libcbor/cbor/*.c"
"${AWS_COMMON_DIR}/source/external/libcbor/cbor/internal/*.c"
)

file(GLOB AWS_COMMON_ARCH_SRC
Expand All @@ -208,9 +225,13 @@ if (AWS_ARCH_INTEL)
"${AWS_COMMON_DIR}/source/arch/intel/asm/*.c"
)
elseif (AWS_ARCH_ARM64 OR AWS_ARCH_ARM32)
if (AWS_HAVE_AUXV)
if (OS_LINUX)
file(GLOB AWS_COMMON_ARCH_SRC
"${AWS_COMMON_DIR}/source/arch/arm/auxv/cpuid.c"
)
elseif(OS_DARWIN)
file(GLOB AWS_COMMON_ARCH_SRC
"${AWS_COMMON_DIR}/source/arch/arm/asm/*.c"
"${AWS_COMMON_DIR}/source/arch/arm/darwin/cpuid.c"
)
endif()
endif()
Expand All @@ -232,17 +253,20 @@ list(APPEND AWS_PUBLIC_INCLUDES
"${CMAKE_CURRENT_BINARY_DIR}/include"
)

list(APPEND AWS_PRIVATE_INCLUDES
"${AWS_COMMON_DIR}/source/external/libcbor/cbor/"
"${AWS_COMMON_DIR}/source/external/libcbor/"
)


# aws-checksums
file(GLOB AWS_CHECKSUMS_SRC
"${AWS_CHECKSUMS_DIR}/source/*.c"
"${AWS_CHECKSUMS_DIR}/source/intel/*.c"
"${AWS_CHECKSUMS_DIR}/source/intel/asm/*.c"
"${AWS_CHECKSUMS_DIR}/source/arm/*.c"
)

if(AWS_ARCH_INTEL AND AWS_HAVE_GCC_INLINE_ASM)
file(GLOB AWS_CHECKSUMS_ARCH_SRC
"${AWS_CHECKSUMS_DIR}/source/intel/*.c"
"${AWS_CHECKSUMS_DIR}/source/intel/asm/*.c"
)
endif()
Expand Down Expand Up @@ -296,6 +320,8 @@ file(GLOB AWS_CRT_SRC
"${AWS_CRT_DIR}/source/external/*.cpp"
"${AWS_CRT_DIR}/source/http/*.cpp"
"${AWS_CRT_DIR}/source/io/*.cpp"
"${AWS_CRT_DIR}/source/cbor/*.cpp"
"${AWS_CRT_DIR}/source/checksum/*.cpp"
)

list(APPEND AWS_SOURCES ${AWS_CRT_SRC})
Expand Down Expand Up @@ -359,14 +385,20 @@ target_include_directories(_aws SYSTEM BEFORE PUBLIC ${AWS_PUBLIC_INCLUDES})
target_include_directories(_aws SYSTEM BEFORE PRIVATE ${AWS_PRIVATE_INCLUDES})
target_compile_definitions(_aws PUBLIC ${AWS_PUBLIC_COMPILE_DEFS})
target_compile_definitions(_aws PRIVATE ${AWS_PRIVATE_COMPILE_DEFS})

if (OS_DARWIN)
target_link_libraries(_aws PRIVATE "-framework CoreFoundation")
target_link_libraries(_aws PRIVATE "-framework Security")
endif()

target_link_libraries(_aws PRIVATE ${AWS_PRIVATE_LIBS})

aws_set_thread_affinity_method(_aws)
aws_set_thread_name_method(_aws)

# The library is large - avoid bloat.
if (OMIT_HEAVY_DEBUG_SYMBOLS)
target_compile_options (_aws PRIVATE -g0)
target_compile_options (_aws PRIVATE -g1)
endif()

add_library(ch_contrib::aws_s3 ALIAS _aws)
2 changes: 1 addition & 1 deletion contrib/aws-crt-cpp
Submodule aws-crt-cpp updated 142 files
2 changes: 1 addition & 1 deletion contrib/curl
Submodule curl updated 1260 files
3 changes: 2 additions & 1 deletion contrib/curl-cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ set (SRCS
"${LIBRARY_DIR}/lib/socks_sspi.c"
"${LIBRARY_DIR}/lib/splay.c"
"${LIBRARY_DIR}/lib/strcase.c"
"${LIBRARY_DIR}/lib/strdup.c"
"${LIBRARY_DIR}/lib/strequal.c"
"${LIBRARY_DIR}/lib/strerror.c"
"${LIBRARY_DIR}/lib/system_win32.c"
Expand Down Expand Up @@ -166,13 +165,15 @@ set (SRCS
"${LIBRARY_DIR}/lib/vtls/wolfssl.c"
"${LIBRARY_DIR}/lib/vtls/x509asn1.c"
"${LIBRARY_DIR}/lib/curlx/base64.c"
"${LIBRARY_DIR}/lib/curlx/basename.c"
"${LIBRARY_DIR}/lib/curlx/dynbuf.c"
"${LIBRARY_DIR}/lib/curlx/fopen.c"
"${LIBRARY_DIR}/lib/curlx/inet_ntop.c"
"${LIBRARY_DIR}/lib/curlx/inet_pton.c"
"${LIBRARY_DIR}/lib/curlx/multibyte.c"
"${LIBRARY_DIR}/lib/curlx/nonblock.c"
"${LIBRARY_DIR}/lib/curlx/strcopy.c"
"${LIBRARY_DIR}/lib/curlx/strdup.c"
"${LIBRARY_DIR}/lib/curlx/strerr.c"
"${LIBRARY_DIR}/lib/curlx/strparse.c"
"${LIBRARY_DIR}/lib/curlx/timediff.c"
Expand Down
2 changes: 1 addition & 1 deletion contrib/libarchive
Submodule libarchive updated 145 files
2 changes: 1 addition & 1 deletion contrib/libxml2
Submodule libxml2 updated 327 files
Loading
Loading