Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
d42ef29
Backport #99366 to 25.8: Fix data race between BackgroundJobsAssignee…
robot-clickhouse Aug 11, 2026
8644786
Backport #113563 to 25.8: Do not analyze the shared row policy AST in…
robot-clickhouse Aug 11, 2026
55e535f
Merge remote-tracking branch 'origin/25.8' into backport/25.8/99366
alexey-milovidov Aug 11, 2026
950b78b
Merge remote-tracking branch 'origin/25.8' into backport/25.8/113563
alexey-milovidov Aug 12, 2026
c8825fd
Merge pull request #114307 from ClickHouse/backport/25.8/113563
alexey-milovidov Aug 12, 2026
c5c8d19
Merge remote-tracking branch 'origin/25.8' into backport/25.8/99366
alexey-milovidov Aug 12, 2026
9e7981d
Backport #94748 to 25.8: Fix invalid result of joining two `-Cluster`…
robot-clickhouse Aug 13, 2026
9b81a35
Backport #108329 to 25.8: Bump `libssh` to 0.12.0
robot-clickhouse Aug 13, 2026
4f55556
Backport #107028 to 25.8: Fix data race on FileCacheQueryLimit::query…
robot-clickhouse Aug 14, 2026
05c4b0f
Backport #113742 to 25.8: Skip the custom-key parallel replicas read …
robot-clickhouse Aug 14, 2026
052170c
Merge pull request #114621 from ClickHouse/backport/25.8/94748
thevar1able Aug 14, 2026
1d70919
Merge remote-tracking branch 'origin/25.8' into backport/25.8/99366
alexey-milovidov Aug 14, 2026
1e0a169
Fix query limit tests in 25.8 backport
alexey-milovidov Aug 14, 2026
a05bc7f
Backport #114668 to 25.8: Stop Parquet background reads before releas…
robot-clickhouse Aug 15, 2026
780d6d6
Merge remote-tracking branch 'origin/25.8' into continue-pr-114761-20…
alexey-milovidov Aug 15, 2026
2407bc4
Fix `S3Queue` regression test processing path
alexey-milovidov Aug 15, 2026
1e63710
Merge remote-tracking branch 'origin/25.8' into backport/25.8/113742
alexey-milovidov Aug 15, 2026
2a1e5f7
Fix Parquet dictionary prefetch test in 25.8 backport
alexey-milovidov Aug 15, 2026
8b43ee5
Make `S3Queue` regression setup deterministic
alexey-milovidov Aug 15, 2026
bfb9089
Fix invalid Parquet dictionary prefetch test oracle in 25.8 backport
alexey-milovidov Aug 15, 2026
ab54dd9
Merge pull request #114804 from ClickHouse/backport/25.8/113742
alexey-milovidov Aug 15, 2026
1ae77ba
Merge pull request #114761 from ClickHouse/backport/25.8/107028
alexey-milovidov Aug 15, 2026
c14be15
Merge remote-tracking branch 'origin/25.8' into continue-pr-114295
alexey-milovidov Aug 15, 2026
ca79ec8
Merge branch 25.8 into backport/25.8/114668
alexey-milovidov Aug 15, 2026
e5a03eb
Fix Parquet dictionary regression test path
alexey-milovidov Aug 16, 2026
ffeb2fc
Backport #87838 to 25.8: unlink METADATA_VERSION_FILE_NAME before rew…
robot-clickhouse Aug 16, 2026
980e973
Backport #111378 to 25.8: Fsync restored part files on RESTORE to sur…
robot-clickhouse Aug 17, 2026
8ca297d
Update autogenerated version to 25.8.30.16 and contributors
robot-clickhouse Aug 17, 2026
fedec06
Merge remote-tracking branch 'origin/25.8' into continue-pr-114295-ro…
alexey-milovidov Aug 17, 2026
dd18559
Do not read the master-only system.parts.files column in 04550_restor…
groeneai Aug 17, 2026
ac66b78
Merge remote-tracking branch 'origin/25.8' into HEAD
alexey-milovidov Aug 18, 2026
7aa8d32
Merge remote-tracking branch 'origin/25.8' into HEAD
alexey-milovidov Aug 18, 2026
49d11b7
Merge pull request #114927 from ClickHouse/backport/25.8/114668
PedroTadim Aug 18, 2026
3251360
Merge pull request #115088 from ClickHouse/backport/25.8/111378
PedroTadim Aug 18, 2026
543ead1
Merge pull request #115009 from ClickHouse/backport/25.8/87838
PedroTadim Aug 18, 2026
a9c176e
Merge remote-tracking branch 'origin/25.8' into HEAD
alexey-milovidov Aug 18, 2026
bbfad95
Fix use-after-free on a sparse join key in a direct dictionary join
groeneai Aug 14, 2026
95bde92
Merge pull request #114699 from ClickHouse/backport/25.8/108329
thevar1able Aug 18, 2026
77b6ebb
Backport #115227 to 25.8: Do not use the trivial count optimization w…
robot-clickhouse Aug 19, 2026
c6b48ef
Merge pull request #114295 from ClickHouse/backport/25.8/99366
alexey-milovidov Aug 19, 2026
6fbabf8
Backport #100283 to 25.8: Validate Iceberg metadata file path for nul…
robot-clickhouse Aug 19, 2026
0713259
Drop the `unnest` arms from `04743_trivial_count_array_join_argument`
alexey-milovidov Aug 20, 2026
13b56c7
Merge pull request #114814 from groeneai/groeneai/backport-112327-25.8
PedroTadim Aug 20, 2026
7b7f6ff
Merge pull request #115468 from ClickHouse/backport/25.8/115227
vdimir Aug 20, 2026
075b316
Backport #115466 to 25.8: Do not strip injective functions that hide …
robot-clickhouse Aug 20, 2026
f09bf39
Merge remote-tracking branch 'origin/25.8' into backport/25.8/100283
alexey-milovidov Aug 20, 2026
4629755
Update autogenerated version to 25.8.31.9 and contributors
robot-clickhouse Aug 20, 2026
9ee31bb
Backport #115669 to 25.8: Fix out-of-bounds read in `formatRowNoNewli…
robot-clickhouse Aug 21, 2026
4c75d63
upd 04927_uniq_injective_tuple_nullable
vdimir Aug 21, 2026
ba7b685
Update autogenerated version to 25.8.32.4 and contributors
robot-clickhouse Aug 21, 2026
97a74b5
Merge pull request #115727 from ClickHouse/backport/25.8/115669
alexey-milovidov Aug 21, 2026
23fd7ca
Merge pull request #115598 from ClickHouse/backport/25.8/115466
vdimir Aug 21, 2026
86f3689
Backport #114624 to 25.8: Find a LowCardinality needle equal to the t…
robot-clickhouse Aug 22, 2026
7c803d9
Merge pull request #115495 from ClickHouse/backport/25.8/100283
alexey-milovidov Aug 22, 2026
4f312f2
Drop the plain-array oracle of the FixedString-needle arm on 25.8
alexey-milovidov Aug 25, 2026
65d8983
Merge remote-tracking branch 'origin/25.8' into backport/25.8/114624
alexey-milovidov Aug 25, 2026
dd491bf
Backport #115704 to 25.8: Do not expose uninitialized memory in query…
robot-clickhouse Aug 25, 2026
9adaa1a
Merge pull request #116240 from ClickHouse/backport/25.8/115704
alexey-milovidov Aug 26, 2026
65eaf18
Merge pull request #115918 from ClickHouse/backport/25.8/114624
alexey-milovidov Aug 26, 2026
448d1c1
Merge tag 'v25.8.33.6-lts' into bump/antalya-25.8/25.8.33
zvonand Aug 28, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions cmake/autogenerated_versions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

# 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 54530)
SET(VERSION_REVISION 54533)
SET(VERSION_MAJOR 25)
SET(VERSION_MINOR 8)
SET(VERSION_PATCH 30)
SET(VERSION_GITHASH 54df9137dcfc1ef0b307f264199e004a05a9a5dd)
SET(VERSION_DESCRIBE v25.8.30.20001.altinityantalya)
SET(VERSION_STRING 25.8.30.20001.altinityantalya)
SET(VERSION_PATCH 33)
SET(VERSION_GITHASH 46297556f3ac83e1a3ee4a05cc31f4287f5e17ac)
SET(VERSION_DESCRIBE v25.8.33.20001.altinityantalya)
SET(VERSION_STRING 25.8.33.20001.altinityantalya)
# end of autochange

SET(VERSION_TWEAK 20001)
Expand Down
2 changes: 1 addition & 1 deletion contrib/libssh
Submodule libssh updated 200 files
7 changes: 5 additions & 2 deletions contrib/libssh-cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ endif()

# CMake variables needed by libssh_version.h.cmake, update them when you update libssh
set(libssh_VERSION_MAJOR 0)
set(libssh_VERSION_MINOR 9)
set(libssh_VERSION_PATCH 8)
set(libssh_VERSION_MINOR 12)
set(libssh_VERSION_PATCH 0)

set(LIB_SOURCE_DIR "${ClickHouse_SOURCE_DIR}/contrib/libssh")
set(LIB_BINARY_DIR "${ClickHouse_BINARY_DIR}/contrib/libssh")
Expand Down Expand Up @@ -37,6 +37,7 @@ set(libssh_SRCS
${LIB_SOURCE_DIR}/src/external/poly1305.c
${LIB_SOURCE_DIR}/src/external/sntrup761.c
${LIB_SOURCE_DIR}/src/getpass.c
${LIB_SOURCE_DIR}/src/hybrid_mlkem.c
${LIB_SOURCE_DIR}/src/init.c
${LIB_SOURCE_DIR}/src/kdf.c
${LIB_SOURCE_DIR}/src/kex.c
Expand All @@ -47,6 +48,7 @@ set(libssh_SRCS
${LIB_SOURCE_DIR}/src/match.c
${LIB_SOURCE_DIR}/src/messages.c
${LIB_SOURCE_DIR}/src/misc.c
${LIB_SOURCE_DIR}/src/mlkem.c
${LIB_SOURCE_DIR}/src/options.c
${LIB_SOURCE_DIR}/src/packet.c
${LIB_SOURCE_DIR}/src/packet_cb.c
Expand Down Expand Up @@ -79,6 +81,7 @@ set(libssh_SRCS
${LIB_SOURCE_DIR}/src/gzip.c
${LIB_SOURCE_DIR}/src/libcrypto.c
${LIB_SOURCE_DIR}/src/md_crypto.c
${LIB_SOURCE_DIR}/src/mlkem_crypto.c
${LIB_SOURCE_DIR}/src/pki_crypto.c
${LIB_SOURCE_DIR}/src/pki_context.c
${LIB_SOURCE_DIR}/src/sntrup761.c
Expand Down
12 changes: 12 additions & 0 deletions contrib/libssh-cmake/darwin/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,18 @@
/* Global client configuration file path */
#define GLOBAL_CLIENT_CONFIG "/etc/ssh/ssh_config"

/* Global configuration directory (libssh >= 0.12 uses it unconditionally) */
#define GLOBAL_CONF_DIR "/etc/ssh"

/* Define to 1 if we have support for ML-KEM in libgcrypt */
/* #undef HAVE_GCRYPT_MLKEM */

/* Define to 1 if we have support for ML-KEM in OpenSSL */
#define HAVE_OPENSSL_MLKEM 1

/* Define to 1 if we have support for ML-KEM1024 in either backend */
#define HAVE_MLKEM1024 1

/************************** HEADER FILES *************************/

/* Define to 1 if you have the <argp.h> header file. */
Expand Down
12 changes: 12 additions & 0 deletions contrib/libssh-cmake/freebsd/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,18 @@
/* Global client configuration file path */
#define GLOBAL_CLIENT_CONFIG "/etc/ssh/ssh_config"

/* Global configuration directory (libssh >= 0.12 uses it unconditionally) */
#define GLOBAL_CONF_DIR "/etc/ssh"

/* Define to 1 if we have support for ML-KEM in libgcrypt */
/* #undef HAVE_GCRYPT_MLKEM */

/* Define to 1 if we have support for ML-KEM in OpenSSL */
#define HAVE_OPENSSL_MLKEM 1

/* Define to 1 if we have support for ML-KEM1024 in either backend */
#define HAVE_MLKEM1024 1

/************************** HEADER FILES *************************/

/* Define to 1 if you have the <argp.h> header file. */
Expand Down
12 changes: 12 additions & 0 deletions contrib/libssh-cmake/linux/aarch64-musl/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,18 @@
/* Global client configuration file path */
#define GLOBAL_CLIENT_CONFIG "/etc/ssh/ssh_config"

/* Global configuration directory (libssh >= 0.12 uses it unconditionally) */
#define GLOBAL_CONF_DIR "/etc/ssh"

/* Define to 1 if we have support for ML-KEM in libgcrypt */
/* #undef HAVE_GCRYPT_MLKEM */

/* Define to 1 if we have support for ML-KEM in OpenSSL */
#define HAVE_OPENSSL_MLKEM 1

/* Define to 1 if we have support for ML-KEM1024 in either backend */
#define HAVE_MLKEM1024 1

/************************** HEADER FILES *************************/

/* Define to 1 if you have the <argp.h> header file. */
Expand Down
12 changes: 12 additions & 0 deletions contrib/libssh-cmake/linux/aarch64/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,18 @@
/* Global client configuration file path */
#define GLOBAL_CLIENT_CONFIG "/etc/ssh/ssh_config"

/* Global configuration directory (libssh >= 0.12 uses it unconditionally) */
#define GLOBAL_CONF_DIR "/etc/ssh"

/* Define to 1 if we have support for ML-KEM in libgcrypt */
/* #undef HAVE_GCRYPT_MLKEM */

/* Define to 1 if we have support for ML-KEM in OpenSSL */
#define HAVE_OPENSSL_MLKEM 1

/* Define to 1 if we have support for ML-KEM1024 in either backend */
#define HAVE_MLKEM1024 1

/************************** HEADER FILES *************************/

/* Define to 1 if you have the <argp.h> header file. */
Expand Down
12 changes: 12 additions & 0 deletions contrib/libssh-cmake/linux/loongarch64/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,18 @@
/* Global client configuration file path */
#define GLOBAL_CLIENT_CONFIG "/etc/ssh/ssh_config"

/* Global configuration directory (libssh >= 0.12 uses it unconditionally) */
#define GLOBAL_CONF_DIR "/etc/ssh"

/* Define to 1 if we have support for ML-KEM in libgcrypt */
/* #undef HAVE_GCRYPT_MLKEM */

/* Define to 1 if we have support for ML-KEM in OpenSSL */
#define HAVE_OPENSSL_MLKEM 1

/* Define to 1 if we have support for ML-KEM1024 in either backend */
#define HAVE_MLKEM1024 1

/************************** HEADER FILES *************************/

/* Define to 1 if you have the <argp.h> header file. */
Expand Down
12 changes: 12 additions & 0 deletions contrib/libssh-cmake/linux/ppc64le/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,18 @@
/* Global client configuration file path */
#define GLOBAL_CLIENT_CONFIG "/etc/ssh/ssh_config"

/* Global configuration directory (libssh >= 0.12 uses it unconditionally) */
#define GLOBAL_CONF_DIR "/etc/ssh"

/* Define to 1 if we have support for ML-KEM in libgcrypt */
/* #undef HAVE_GCRYPT_MLKEM */

/* Define to 1 if we have support for ML-KEM in OpenSSL */
#define HAVE_OPENSSL_MLKEM 1

/* Define to 1 if we have support for ML-KEM1024 in either backend */
#define HAVE_MLKEM1024 1

/************************** HEADER FILES *************************/

/* Define to 1 if you have the <argp.h> header file. */
Expand Down
12 changes: 12 additions & 0 deletions contrib/libssh-cmake/linux/riscv64/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,18 @@
/* Global client configuration file path */
#define GLOBAL_CLIENT_CONFIG "/etc/ssh/ssh_config"

/* Global configuration directory (libssh >= 0.12 uses it unconditionally) */
#define GLOBAL_CONF_DIR "/etc/ssh"

/* Define to 1 if we have support for ML-KEM in libgcrypt */
/* #undef HAVE_GCRYPT_MLKEM */

/* Define to 1 if we have support for ML-KEM in OpenSSL */
#define HAVE_OPENSSL_MLKEM 1

/* Define to 1 if we have support for ML-KEM1024 in either backend */
#define HAVE_MLKEM1024 1

/************************** HEADER FILES *************************/

/* Define to 1 if you have the <argp.h> header file. */
Expand Down
12 changes: 12 additions & 0 deletions contrib/libssh-cmake/linux/s390x/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,18 @@
/* Global client configuration file path */
#define GLOBAL_CLIENT_CONFIG "/etc/ssh/ssh_config"

/* Global configuration directory (libssh >= 0.12 uses it unconditionally) */
#define GLOBAL_CONF_DIR "/etc/ssh"

/* Define to 1 if we have support for ML-KEM in libgcrypt */
/* #undef HAVE_GCRYPT_MLKEM */

/* Define to 1 if we have support for ML-KEM in OpenSSL */
#define HAVE_OPENSSL_MLKEM 1

/* Define to 1 if we have support for ML-KEM1024 in either backend */
#define HAVE_MLKEM1024 1

/************************** HEADER FILES *************************/

/* Define to 1 if you have the <argp.h> header file. */
Expand Down
12 changes: 12 additions & 0 deletions contrib/libssh-cmake/linux/x86-64-musl/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,18 @@
/* Global client configuration file path */
#define GLOBAL_CLIENT_CONFIG "/etc/ssh/ssh_config"

/* Global configuration directory (libssh >= 0.12 uses it unconditionally) */
#define GLOBAL_CONF_DIR "/etc/ssh"

/* Define to 1 if we have support for ML-KEM in libgcrypt */
/* #undef HAVE_GCRYPT_MLKEM */

/* Define to 1 if we have support for ML-KEM in OpenSSL */
#define HAVE_OPENSSL_MLKEM 1

/* Define to 1 if we have support for ML-KEM1024 in either backend */
#define HAVE_MLKEM1024 1

/************************** HEADER FILES *************************/

/* Define to 1 if you have the <argp.h> header file. */
Expand Down
14 changes: 12 additions & 2 deletions contrib/libssh-cmake/linux/x86-64/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,18 @@
/* Global client configuration file path */
#define GLOBAL_CLIENT_CONFIG "/etc/ssh/ssh_config"

/* Global configuration directory (libssh >= 0.12 uses it unconditionally) */
#define GLOBAL_CONF_DIR "/etc/ssh"

/* Define to 1 if we have support for ML-KEM in libgcrypt */
/* #undef HAVE_GCRYPT_MLKEM */

/* Define to 1 if we have support for ML-KEM in OpenSSL */
#define HAVE_OPENSSL_MLKEM 1

/* Define to 1 if we have support for ML-KEM1024 in either backend */
#define HAVE_MLKEM1024 1

/************************** HEADER FILES *************************/

/* Define to 1 if you have the <argp.h> header file. */
Expand Down Expand Up @@ -188,8 +200,6 @@
/* Define to 1 if we have support for blowfish */
/* #undef HAVE_BLOWFISH */

/* Define to 1 if we have support for ML-KEM */
/* #undef HAVE_MLKEM */

/*************************** LIBRARIES ***************************/

Expand Down
6 changes: 6 additions & 0 deletions contrib/postgres-cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@ if(NOT OS_DARWIN)
)
endif()

if(OS_DARWIN OR ARCH_PPC64LE)
set(SRCS ${SRCS}
"${POSTGRES_SOURCE_DIR}/src/port/explicit_bzero.c"
)
endif()

add_library(_libpq ${SRCS})

add_definitions(-DFRONTEND)
Expand Down
8 changes: 8 additions & 0 deletions src/Analyzer/Passes/UniqInjectiveFunctionsEliminationPass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@

#include <Core/Settings.h>

#include <DataTypes/IDataType.h>


namespace DB
{
Expand Down Expand Up @@ -66,6 +68,12 @@ class UniqInjectiveFunctionsEliminationVisitor : public InDepthQueryTreeVisitorW
if (!arg_function->isInjective({}))
return false;

/// The `Null` combinator makes `uniq*` skip rows where a Nullable argument is NULL: `uniq(tuple(x))`
/// counts the (NULL) row while `uniq(x)` skips it.
if (isNullableOrLowCardinalityNullable(arg->getResultType())
!= isNullableOrLowCardinalityNullable(arg_arguments_nodes[0]->getResultType()))
return false;

arg = arg_arguments_nodes[0];
return replaced_argument = true;
};
Expand Down
Loading
Loading