Skip to content

Commit e8e5cf4

Browse files
authored
Merge pull request ClickHouse#100644 from ClickHouse/auto/v25.12.9.61-stable
Update version_date.tsv and changelog after v25.12.9.61-stable
2 parents 4b328a4 + d8d7aee commit e8e5cf4

File tree

1 file changed

+80
-0
lines changed

1 file changed

+80
-0
lines changed
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
---
2+
sidebar_position: 1
3+
sidebar_label: 2026
4+
---
5+
6+
# 2026 Changelog
7+
8+
### ClickHouse release v25.12.9.61-stable (5d20e95da8f) FIXME as compared to v25.12.8.9-stable (36747349fb5)
9+
10+
#### Performance Improvement
11+
* Backported in [#98182](https://github.com/ClickHouse/ClickHouse/issues/98182): Improved performance of text index analysis for queries with combined conditions involving both indexed and non-indexed columns. Previously, early exit optimization during index analysis was incorrectly disabled in such cases. [#98096](https://github.com/ClickHouse/ClickHouse/pull/98096) ([Anton Popov](https://github.com/CurtizJ)).
12+
* Backported in [#99048](https://github.com/ClickHouse/ClickHouse/issues/99048): Allow read-in-order optimization and primary-key pruning when the `CAST` target type is `Nullable` and the conversion is monotonic; for example, with `PRIMARY KEY x`, ClickHouse can use read-in-order optimization for `ORDER BY x::Nullable(UInt64)` and can apply primary-key pruning for predicates such as `WHERE x::Nullable(UInt64) > 500000`. [#98482](https://github.com/ClickHouse/ClickHouse/pull/98482) ([Nihal Z. Miaji](https://github.com/nihalzp)).
13+
14+
#### Improvement
15+
* Backported in [#99101](https://github.com/ClickHouse/ClickHouse/issues/99101): Added new `QueryNonInternal` metric to track the number of executing non-internal queries. This metric is exposed as `ClickHouseMetrics_QueryNonInternal` and helps operators monitor query concurrency against the `max_concurrent_queries` limit, which only applies to non-internal queries. [#94284](https://github.com/ClickHouse/ClickHouse/pull/94284) ([Ashwath Singh](https://github.com/ashwath)).
16+
* Backported in [#100104](https://github.com/ClickHouse/ClickHouse/issues/100104): Add `ObjectStorageListedObjects`, `ObjectStorageGlobFilteredObjects`, `ObjectStoragePredicateFilteredObjects`, and `ObjectStorageReadObjects` ProfileEvents for introspection of object storage (S3, Azure, etc.) file listing and reading pipeline. [#99778](https://github.com/ClickHouse/ClickHouse/pull/99778) ([Sema Checherinda](https://github.com/CheSema)).
17+
18+
#### Bug Fix (user-visible misbehavior in an official stable release)
19+
* Backported in [#98157](https://github.com/ClickHouse/ClickHouse/issues/98157): Fixed direct reading from text index with duplicate search queries. [#93516](https://github.com/ClickHouse/ClickHouse/pull/93516) ([Anton Popov](https://github.com/CurtizJ)).
20+
* Backported in [#99270](https://github.com/ClickHouse/ClickHouse/issues/99270): Fix possible hung distributed queries when hostnames resolve to multiple addresses and a remote replica freezes. [#94726](https://github.com/ClickHouse/ClickHouse/pull/94726) ([c-end](https://github.com/c-end)).
21+
* Backported in [#95618](https://github.com/ClickHouse/ClickHouse/issues/95618): Fix the prewhere filter error caused by lambda expressions in prewhere. [#95395](https://github.com/ClickHouse/ClickHouse/pull/95395) ([Xiaozhe Yu](https://github.com/wudidapaopao)).
22+
* Backported in [#98633](https://github.com/ClickHouse/ClickHouse/issues/98633): Fix wrong result or exception during reading subcolumns of ALIAS columns. [#95408](https://github.com/ClickHouse/ClickHouse/pull/95408) ([Pavel Kruglov](https://github.com/Avogar)).
23+
* Backported in [#96559](https://github.com/ClickHouse/ClickHouse/issues/96559): Fixed crash in old analyzer if JOIN and duplicated aliases. [#96405](https://github.com/ClickHouse/ClickHouse/pull/96405) ([Ilya Golshtein](https://github.com/ilejn)).
24+
* Backported in [#96519](https://github.com/ClickHouse/ClickHouse/issues/96519): Fix null pointer dereference in certain expressions with lambda functions. [#96479](https://github.com/ClickHouse/ClickHouse/pull/96479) ([Alexey Milovidov](https://github.com/alexey-milovidov)).
25+
* Backported in [#97251](https://github.com/ClickHouse/ClickHouse/issues/97251): Fix `LOGICAL_ERROR` exception when `arrayJoin` in `WHERE` clause references columns from both sides of a `JOIN`. [#97239](https://github.com/ClickHouse/ClickHouse/pull/97239) ([Alexey Milovidov](https://github.com/alexey-milovidov)).
26+
* Backported in [#97367](https://github.com/ClickHouse/ClickHouse/issues/97367): Fix segfault in `StorageKeeperMap` backup due to use-after-free of dangling storage pointer in lazy backup batch. [#97336](https://github.com/ClickHouse/ClickHouse/pull/97336) ([Alexey Milovidov](https://github.com/alexey-milovidov)).
27+
* Backported in [#97956](https://github.com/ClickHouse/ClickHouse/issues/97956): Fix logical error about missing stream during INSERT SELECT with JSON and buckets in shared data. Closes [#97331](https://github.com/ClickHouse/ClickHouse/issues/97331). [#97523](https://github.com/ClickHouse/ClickHouse/pull/97523) ([Pavel Kruglov](https://github.com/Avogar)).
28+
* Backported in [#98398](https://github.com/ClickHouse/ClickHouse/issues/98398): The `loop` table function was calling `inner_storage->read()` directly, bypassing the interpreter layer where row policies, column-level grants, and other security checks are applied. This allowed a user restricted by row policies to read all rows via `loop(table)` even when a direct SELECT returned zero rows. [#97682](https://github.com/ClickHouse/ClickHouse/pull/97682) ([pufit](https://github.com/pufit)).
29+
* Backported in [#98565](https://github.com/ClickHouse/ClickHouse/issues/98565): After this patch, `hasPartitionId` will return false if another partition with a higher partition ID exists in the data part set. [#97748](https://github.com/ClickHouse/ClickHouse/pull/97748) ([Mikhail Artemenko](https://github.com/Michicosun)).
30+
* Backported in [#98221](https://github.com/ClickHouse/ClickHouse/issues/98221): Fix possible crashes during reading of empty granules in advanced shared data in JSON. Closes [#97563](https://github.com/ClickHouse/ClickHouse/issues/97563). [#97778](https://github.com/ClickHouse/ClickHouse/pull/97778) ([Pavel Kruglov](https://github.com/Avogar)).
31+
* Backported in [#98021](https://github.com/ClickHouse/ClickHouse/issues/98021): Fixed ClickHouse server crash/assert in call to `mapContainsKey/mapContainsKeyLike` with `tokenbf_v1` skip index. [#97826](https://github.com/ClickHouse/ClickHouse/pull/97826) ([Shankar Iyer](https://github.com/shankar-iyer)).
32+
* Backported in [#98172](https://github.com/ClickHouse/ClickHouse/issues/98172): Fix Keeper data loss after restart when using Azure Blob Storage with `s3_plain` metadata for log storage. [#97987](https://github.com/ClickHouse/ClickHouse/pull/97987) ([Antonio Andelic](https://github.com/antonio2368)).
33+
* Backported in [#98201](https://github.com/ClickHouse/ClickHouse/issues/98201): Fix incorrect result of FINAL queries when mixing primary key and non primary key skip indexes. [#98097](https://github.com/ClickHouse/ClickHouse/pull/98097) ([Raúl Marín](https://github.com/Algunenano)).
34+
* Backported in [#98655](https://github.com/ClickHouse/ClickHouse/issues/98655): Enforce READ ON FILE checks for scalar file() and DESCRIBE TABLE file(). [#98115](https://github.com/ClickHouse/ClickHouse/pull/98115) ([Nikolay Degterinsky](https://github.com/evillique)).
35+
* Backported in [#98196](https://github.com/ClickHouse/ClickHouse/issues/98196): Fix segfault in query plan optimization when converting outer join to inner join with `arrayJoin` in filter expression. [#98147](https://github.com/ClickHouse/ClickHouse/pull/98147) ([Alexey Milovidov](https://github.com/alexey-milovidov)).
36+
* Backported in [#98384](https://github.com/ClickHouse/ClickHouse/issues/98384): Fixed LOGICAL_ERROR exception "Invalid binary search result in `MergeTreeSetIndex`" triggered by `toDate` conversion on key columns with data crossing the 65535 boundary. [#98276](https://github.com/ClickHouse/ClickHouse/pull/98276) ([Alexey Milovidov](https://github.com/alexey-milovidov)).
37+
* Backported in [#98926](https://github.com/ClickHouse/ClickHouse/issues/98926): Fix unexpected result with read_in_order_use_virtual_row and monotonic functions, close [#97837](https://github.com/ClickHouse/ClickHouse/issues/97837). [#98514](https://github.com/ClickHouse/ClickHouse/pull/98514) ([Vladimir Cherkasov](https://github.com/vdimir)).
38+
* Backported in [#98647](https://github.com/ClickHouse/ClickHouse/issues/98647): Fix column rollback in Buffer engine during handling an exception during appending a new block. Old logic could lead to corrupted in-memory state of columns. [#98551](https://github.com/ClickHouse/ClickHouse/pull/98551) ([Pavel Kruglov](https://github.com/Avogar)).
39+
* Backported in [#98619](https://github.com/ClickHouse/ClickHouse/issues/98619): Fixed usage of the text index with other skip indexes. Previously, logical errors such as "Trying to get non-existing mark" could be thrown when a query filter utilized a text index and other regular skip indexes simultaneously. [#98555](https://github.com/ClickHouse/ClickHouse/pull/98555) ([Anton Popov](https://github.com/CurtizJ)).
40+
* Backported in [#99156](https://github.com/ClickHouse/ClickHouse/issues/99156): Disallow dropping column when its subcolumns are used in other columns default/alias expressions and use analyzer for default expressions on alter drop column. [#98569](https://github.com/ClickHouse/ClickHouse/pull/98569) ([Nikita Mikhaylov](https://github.com/nikitamikhaylov)).
41+
* Backported in [#98920](https://github.com/ClickHouse/ClickHouse/issues/98920): All DB::Exception at PocoHTTPClient::makeRequestInternalImpl is not retryable, including HTTP_CONNECTION_LIMIT_REACHED. [#98598](https://github.com/ClickHouse/ClickHouse/pull/98598) ([Sema Checherinda](https://github.com/CheSema)).
42+
* Backported in [#99416](https://github.com/ClickHouse/ClickHouse/issues/99416): Fix `reverseUTF8` exception on invalid (truncated) UTF-8 input. [#98770](https://github.com/ClickHouse/ClickHouse/pull/98770) ([Alexey Milovidov](https://github.com/alexey-milovidov)).
43+
* Backported in [#98834](https://github.com/ClickHouse/ClickHouse/issues/98834): Fix detecting set skip index usefulness with OR with false (i.e. or(x, 0)) predicate. [#98776](https://github.com/ClickHouse/ClickHouse/pull/98776) ([Azat Khuzhin](https://github.com/azat)).
44+
* Backported in [#98851](https://github.com/ClickHouse/ClickHouse/issues/98851): Fix `SYSTEM START REPLICATED VIEW` not waking up the refresh task. [#98797](https://github.com/ClickHouse/ClickHouse/pull/98797) ([Pablo Marcos](https://github.com/pamarcos)).
45+
* Backported in [#98876](https://github.com/ClickHouse/ClickHouse/issues/98876): Fix adjusting RLIMIT_SIGPENDING (via pending_signals). [#98829](https://github.com/ClickHouse/ClickHouse/pull/98829) ([Azat Khuzhin](https://github.com/azat)).
46+
* Backported in [#99635](https://github.com/ClickHouse/ClickHouse/issues/99635): Fix `NOT_FOUND_COLUMN_IN_BLOCK` for some queries with `GROUP BY` and expressions that include inverse dictionary lookup, `Date/DateTime` conversion comparisons, and tuple comparisons. Closes [#98888](https://github.com/ClickHouse/ClickHouse/issues/98888). [#98980](https://github.com/ClickHouse/ClickHouse/pull/98980) ([Nihal Z. Miaji](https://github.com/nihalzp)).
47+
* Backported in [#99769](https://github.com/ClickHouse/ClickHouse/issues/99769): Fix server crash (std::terminate) when executing `ALTER TABLE ... DROP PART` on a patch part after a schema change (e.g. ADD COLUMN). The crash was caused by missing system columns (`_part`) in the empty coverage part metadata, leading to an uncaught exception inside a NOEXCEPT_SCOPE. [#99036](https://github.com/ClickHouse/ClickHouse/pull/99036) ([Peng](https://github.com/fastio)).
48+
* Backported in [#99443](https://github.com/ClickHouse/ClickHouse/issues/99443): Fix segfault in recursive CTE with `remote()` + `view()`. [#99081](https://github.com/ClickHouse/ClickHouse/pull/99081) ([Konstantin Bogdanov](https://github.com/thevar1able)).
49+
* Backported in [#99185](https://github.com/ClickHouse/ClickHouse/issues/99185): Skip unnecessary extra index analysis when read-in-order optimization is applied. [#99084](https://github.com/ClickHouse/ClickHouse/pull/99084) ([Vladimir Cherkasov](https://github.com/vdimir)).
50+
* Backported in [#99299](https://github.com/ClickHouse/ClickHouse/issues/99299): Fixed a crash triggered by a memory limit exception thrown during patch part application. [#99086](https://github.com/ClickHouse/ClickHouse/pull/99086) ([Anton Popov](https://github.com/CurtizJ)).
51+
* Backported in [#99147](https://github.com/ClickHouse/ClickHouse/issues/99147): Fixed rebuild of text indexes on merges with TTL. [#99107](https://github.com/ClickHouse/ClickHouse/pull/99107) ([Anton Popov](https://github.com/CurtizJ)).
52+
* Backported in [#99214](https://github.com/ClickHouse/ClickHouse/issues/99214): Fixes a bug in `query_plan_convert_any_join_to_semi_or_anti_join` optimization, returning an incorrect result for unmatched rows. Related: https://github.com/ClickHouse/ClickHouse/pull/95995. [#99112](https://github.com/ClickHouse/ClickHouse/pull/99112) ([Yarik Briukhovetskyi](https://github.com/yariks5s)).
53+
* Backported in [#99990](https://github.com/ClickHouse/ClickHouse/issues/99990): Fix LOGICAL_ERROR due to patch parts column order mismatch. [#99164](https://github.com/ClickHouse/ClickHouse/pull/99164) ([Pablo Marcos](https://github.com/pamarcos)).
54+
* Backported in [#99251](https://github.com/ClickHouse/ClickHouse/issues/99251): This patch fixes access checks during `InverseDictionaryLookupPass`; they are apparently visible in a flame graph. Instead, check access only once before running the optimization pass. [#99210](https://github.com/ClickHouse/ClickHouse/pull/99210) ([Mikhail Artemenko](https://github.com/Michicosun)).
55+
* Backported in [#99730](https://github.com/ClickHouse/ClickHouse/issues/99730): Fix CHECK TABLE with sparse serialization inside Tuple with Dynamic. Closes [#96588](https://github.com/ClickHouse/ClickHouse/issues/96588). [#99351](https://github.com/ClickHouse/ClickHouse/pull/99351) ([Pavel Kruglov](https://github.com/Avogar)).
56+
* Backported in [#100078](https://github.com/ClickHouse/ClickHouse/issues/100078): Fix ignoring of TABLE_UUID_MISMATCH for non analyzer. [#99380](https://github.com/ClickHouse/ClickHouse/pull/99380) ([Azat Khuzhin](https://github.com/azat)).
57+
* Backported in [#100108](https://github.com/ClickHouse/ClickHouse/issues/100108): Fix compatibility when upgrading replicated tables with implicit minmax indices from 25.10 to newer versions. [#99392](https://github.com/ClickHouse/ClickHouse/pull/99392) ([Raúl Marín](https://github.com/Algunenano)).
58+
* Backported in [#99667](https://github.com/ClickHouse/ClickHouse/issues/99667): Fix heap-use-after-free in `INTERSECT`/`EXCEPT` when the query produces duplicate column names. [#99471](https://github.com/ClickHouse/ClickHouse/pull/99471) ([Alexey Milovidov](https://github.com/alexey-milovidov)).
59+
* Backported in [#99631](https://github.com/ClickHouse/ClickHouse/issues/99631): Fixed `NOT_FOUND_COLUMN_IN_BLOCK` exception when a text index predicate (e.g. `hasAllTokens`) is referenced in both `SELECT` and `WHERE` clauses via an alias. [#99504](https://github.com/ClickHouse/ClickHouse/pull/99504) ([Anton Popov](https://github.com/CurtizJ)).
60+
* Backported in [#99689](https://github.com/ClickHouse/ClickHouse/issues/99689): Fix incorrect results when using `hasAllTokens` with OR across columns that have separate text indexes. [#99505](https://github.com/ClickHouse/ClickHouse/pull/99505) ([Anton Popov](https://github.com/CurtizJ)).
61+
* Backported in [#100354](https://github.com/ClickHouse/ClickHouse/issues/100354): Fix incorrect partition pruning for `toWeek()` that caused queries with `WHERE toWeek(date, mode) = N` to return empty results for weeks 49-52 on tables partitioned by `toYYYYMM(date)`. [#99542](https://github.com/ClickHouse/ClickHouse/pull/99542) ([Takumi Hara](https://github.com/takumihara)).
62+
* Backported in [#99903](https://github.com/ClickHouse/ClickHouse/issues/99903): Fixed reading of text index in table with existing lightweight deletes and row policies. [#99661](https://github.com/ClickHouse/ClickHouse/pull/99661) ([Anton Popov](https://github.com/CurtizJ)).
63+
* Backported in [#99952](https://github.com/ClickHouse/ClickHouse/issues/99952): Fix incorrect seek in AsynchronousReadBufferFromFileDescriptor with O_DIRECT. Closes [#99358](https://github.com/ClickHouse/ClickHouse/issues/99358). [#99678](https://github.com/ClickHouse/ClickHouse/pull/99678) ([Pavel Kruglov](https://github.com/Avogar)).
64+
* Backported in [#99895](https://github.com/ClickHouse/ClickHouse/issues/99895): Fix query:. [#99739](https://github.com/ClickHouse/ClickHouse/pull/99739) ([Konstantin Vedernikov](https://github.com/scanhex12)).
65+
* Backported in [#100095](https://github.com/ClickHouse/ClickHouse/issues/100095): Fix assertion failure (exception in debug builds, incorrect results in release builds) when multiplying `NumericIndexedVector` aggregate states by an even integer constant, caused by self-XOR on aliased Roaring bitmaps in `pointwiseAddInplace`. [#99976](https://github.com/ClickHouse/ClickHouse/pull/99976) ([Desel72](https://github.com/Desel72)).
66+
* Backported in [#100166](https://github.com/ClickHouse/ClickHouse/issues/100166): ... [#100024](https://github.com/ClickHouse/ClickHouse/pull/100024) ([Shaohua Wang](https://github.com/tiandiwonder)).
67+
* Backported in [#100263](https://github.com/ClickHouse/ClickHouse/issues/100263): Fixed a rare crash in case of throwing a "Memory Limit" exception during building the text index. [#100213](https://github.com/ClickHouse/ClickHouse/pull/100213) ([Anton Popov](https://github.com/CurtizJ)).
68+
69+
#### Build/Testing/Packaging Improvement
70+
* Backported in [#98731](https://github.com/ClickHouse/ClickHouse/issues/98731): Use `mongo-c-driver` 2.2.2. [#98304](https://github.com/ClickHouse/ClickHouse/pull/98304) ([Konstantin Bogdanov](https://github.com/thevar1able)).
71+
* Backported in [#98592](https://github.com/ClickHouse/ClickHouse/issues/98592): Use `postgres` REL_18_3. [#98306](https://github.com/ClickHouse/ClickHouse/pull/98306) ([Konstantin Bogdanov](https://github.com/thevar1able)).
72+
73+
#### NOT FOR CHANGELOG / INSIGNIFICANT
74+
75+
* Backported in [#98088](https://github.com/ClickHouse/ClickHouse/issues/98088): Attribute the thread of Iceberg Iterator to query thread group. [#97832](https://github.com/ClickHouse/ClickHouse/pull/97832) ([Daniil Ivanik](https://github.com/divanik)).
76+
* Backported in [#99059](https://github.com/ClickHouse/ClickHouse/issues/99059): Increase retry count when updating ACL objects in Keeper. [#98697](https://github.com/ClickHouse/ClickHouse/pull/98697) ([Shankar Iyer](https://github.com/shankar-iyer)).
77+
* Backported in [#98762](https://github.com/ClickHouse/ClickHouse/issues/98762): CI: skip all jobs for release PRs in filter_job hook. [#98740](https://github.com/ClickHouse/ClickHouse/pull/98740) ([Max Kainov](https://github.com/maxknv)).
78+
* Backported in [#99589](https://github.com/ClickHouse/ClickHouse/issues/99589): Select do not read with many buffers compact part in test `integration/test_http_limits`. [#98869](https://github.com/ClickHouse/ClickHouse/pull/98869) ([Sema Checherinda](https://github.com/CheSema)).
79+
* Accept `COMMENT` before `AS SELECT` in view parser for forward compatibility with newer versions. [#99560](https://github.com/ClickHouse/ClickHouse/pull/99560) ([Alexey Milovidov](https://github.com/alexey-milovidov)).
80+

0 commit comments

Comments
 (0)