Repository navigation
Release pull request for branch 25.8 - #86119
robot-clickhouse wants to merge 1431 commits into
Conversation
|
Workflow [PR], commit [74696ae] Summary: ❌
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
| #endif | ||
|
|
||
| #include "expat_config.h" | ||
|
|
There was a problem hiding this comment.
Removed expat_config.h include breaks XML parser configuration
High Severity
The #include "expat_config.h" was removed from xmlparse.cpp, but this header defines critical macros like XML_CONTEXT_BYTES (set to 1024), BYTEORDER, and HAVE_MEMMOVE. Without it, XML_CONTEXT_BYTES is undefined and treated as 0 by the preprocessor in #if XML_CONTEXT_BYTES > 0 guards, disabling input context tracking and altering buffer management behavior. The header is still included by xmlrole.c and xmltok.c, so the removal from xmlparse.cpp appears accidental during the expat upgrade.
| allow_statistics_optimize | ||
| allow_unrestricted_reads_from_keeper | ||
| allow_reorder_prewhere_conditions | ||
| allow_general_join_planning |
There was a problem hiding this comment.
Duplicate entries in experimental settings ignore list
Low Severity
allow_reorder_prewhere_conditions already exists at line 51 and is duplicated at line 56. Similarly, allow_general_join_planning already exists at line 38 and is duplicated at line 57. These redundant entries in the newly added block suggest an oversight during merge.
Backport #107119 to 25.8: Fix flaky test_async_load_databases::test_materialized_views_replicated
Backport #107693 to 25.8: Length-encode the `info` field of the MySQL `OK` packet
…ROUPING SETS/ROLLUP/CUBE
Backport #108928 to 25.8: Fix uniqExact concurrent-merge crash with GROUPING SETS/ROLLUP/CUBE
…eHostFilter` for inline DDL params
…rge causing data loss (#80648)
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
Backport #104881 to 25.8: Use explicit flag for secondary on cluster queries
…aimon*Cluster and deltaLakeS3 t…
Backport #104785 to 25.8: Fix duplicate `arrayJoin` execution in JOIN ON with new logical join step
Backport #108509 to 25.8: Match http_forbid_headers case-insensitively
The new auth_header validation rejects values not in 'HeaderName: HeaderValue' format. test_database_hms/test.py exists only on 25.8 (not master), so the original PR never updated its test_hide_sensitive_info, leaving it with an invalid auth_header. Apply the same fix as the other catalog test files. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
…LIST and COM_INIT_DB
Backport #109389 to 25.8: Fix TSan data race in uniqExact two-level parallel merge
The tests backported with #114912 assert behavior that comes from other, unbackported master changes: - `04510_accurateCastOrDefault_settings`: the time-zone substitution block needs master's `substituteTimeZoneInDateTimeType` in `CastOverloadResolverImpl`. - `04512_accurateCastOrDefault_nullable_target`: the `Dynamic` and `LowCardinality(Nullable(...))` targets need master's `canContainNull` check in `CastOverloadResolverImpl::getReturnTypeImpl` (25.8 still has `isVariant`, so `makeNullable(Dynamic)` throws ILLEGAL_TYPE_OF_ARGUMENT). Same trim as the 26.3 backport #115536. Both trimmed tests verified locally against this PR's own CI binary (25.8.33.1). CI report: https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=115535&sha=a4fa72b7604c3af05e53398053eaa63f87bbadd9&name_0=BackportPR PR: #115535 Co-Authored-By: Claude Fable 5 <[email protected]>
The vectorized `String = FixedString` equality on 25.8 does not ignore the `FixedString` padding (that fix is not on this branch), so the `arrayFilter` oracle of `04881_low_cardinality_default_value_needle` reads 0 where master reads 1. The `LowCardinality` result itself (1) matches master, so assert only it. Failure: https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=115918&sha=latest&name_0=BackportPR&name_1=Stateless%20tests%20(amd_asan%2C%20distributed%20plan%2C%20parallel%2C%202%2F2) PR: #115918 Co-Authored-By: Claude Fable 5 <[email protected]>
…settings constraints
…schema readers
Backport #115704 to 25.8: Do not expose uninitialized memory in query results
Backport #114624 to 25.8: Find a LowCardinality needle equal to the type's default value
…eck-25.8 Fix crash when reading malformed ZSTD-compressed ORC files (25.8)
Backport #115708 to 25.8: Bound the size of the PostgreSQL startup message
… readers on malformed input
…f DataLakeCatalog
25.8 has no generic `readWKB` function — only the type-specific `readWKBPoint`/`readWKBMultiLineString`/`readWKBMultiPolygon` — and its WKB parser does not support `MultiPoint` (type 4). Use the type-specific functions and drop the type-4 case; the recursion guard in `parseWKBFormat` is still exercised through them. Verified against the PR's CI-built binary (build_arm_release 25.8.33.1): deep types 5/6 return `TOO_DEEP_RECURSION` (306), shallow point returns (0,0). CI report: https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=116305&sha=5728593fae5a91022eba330a711e3c84c1a80390&name_0=BackportPR PR: #116305 Co-Authored-By: Claude Fable 5 <[email protected]>
Backport #108470 to 25.8: Hide legacy storage_* credential settings of DataLakeCatalog
Backport #115703 to 25.8: Fix crashes of the Parquet, ORC and Iceberg readers on malformed input
Backport #115700 to 25.8: Bound the recursion in several parsers and schema readers
Backport #115334 to 25.8: Do not let SET <name> = DEFAULT bypass the settings constraints
Backport #114912 to 25.8: Revert "Revert "Fix propagation of settings in `accurateCastOrDefault`""
Backport #115596 to 25.8: Fix read_rows/read_bytes/written_rows/written_bytes in system.query_thread_log
Backport #112329 to 25.8: Enforce parent table row policy in mergeTreeProjection table function


This PullRequest is a part of ClickHouse release cycle. It is used by CI system only. Do not perform any changes with it.
Note
High Risk
Large vendor/library updates (notably Expat XML parser changes plus multiple contrib dependency bumps) and socket/throttling adjustments can subtly affect parsing, memory behavior, and networking across the system.
Overview
CI/release workflow changes: Adds new ReleaseBranchCI jobs for ASan stateless tests using a distributed plan (two parallel shards plus a sequential run) and wires them into
finish_workflow; also expandsci/workflows/release_branches.pyto run ASan functional tests on release branches. Adds a new BackportPR pre-hook (check_backport_branch.py) to validate backport PRs (commit count range, changed files) and updates job filtering to skip all PR-workflow jobs when the PR is labeledrelease/release-lts.Build/runtime & deps: Updates the bundled Expat in
base/poco/XMLto 2.7.3 with new allocation-tracking/limits APIs and widespread internal memory-allocation refactors, plus small Poco fixes (Exception::rethrowmarked[[noreturn]],HTTPChunkedStreamBuf::isCompletemadenoexcept, and socket throttling now uses a fixed max blocking window). Refreshes multiple contrib build configs/versions (e.g., curl source list, ICU data to 78, libarchive 3.9.0, libxml2 2.15.1, mongo-c-driver 2.2.2, libssh sources) and improves Rust/corrosion sanitizer handling (address sanitizer support + per-sanitizer cargo metadata). Also tweaks CI docker tmpfs mounts tomode=1777for functional tests and updates.gitmodulesto use upstream OpenLDAP.Written by Cursor Bugbot for commit d4c5834. This will update automatically on new commits. Configure here.