ClickHouse 26.9.30.7 → 26.9.31.21
1 release · 0 breaking changes · 0 security fixes · 0 advisories fixed
0security0breaking0deprecated0feature15fix
Breaking changes
None in the release notes.
Security changes
None in the release notes.
Every release in between
otherBackported in: ReplicatedMergeTree now removes old deduplication blocks from Keeper in batches of TryRemove requests instead of one Remove request per block. This reduces the number of Raft entries in Keeper for tables with many replicas. (Antonio Andelic).
fixBackported in: Fixed NOT_FOUND_COLUMN_IN_BLOCK (Not found column _row_exists in block) that permanently blocked all further mutations of a MergeTree table after a lightweight DELETE run with lightweight_delete_mode = 'lightweight_update' was followed by a heavyweight ALTER TABLE ... UPDATE and…
fixBackported in: With analyzer_compatibility_join_using_top_level_identifier = 1, a JOIN USING identifier is resolved from an alias of the query only for the outermost JOIN; an inner JOIN of a query with several joins resolves it from its left table, as the old analyzer did. This fixes…
fixBackported in: A Merge table and the merge table function no longer count the matched tables the user cannot see (no SHOW TABLES) when count() is answered from metadata or in system.tables total_rows/total_bytes, and their system.columns sizes include only the columns the user can see (SHOW…
fixBackported in: Fix a wrong order of rows for a query like SELECT ... WHERE toDate(ts) = '2024-01-01' ORDER BY toDate(ts), b LIMIT 5 over a table with the sorting key (ts, b) when optimize_read_in_order is enabled. A query that filters a leading sorting key column by equality and lists it in ORDER…
fixBackported in: Fixed a memory leak when the merge of the per-thread hash tables of GROUP BY failed with an exception, for example on max_memory_usage: the states of aggregate functions such as uniqExact or quantileExact that waited to be merged were never freed. (Groene AI).
fixBackported in: Fixed DROP WORKLOAD removing a resource with the same name and DROP RESOURCE removing a workload with the same name when workload entities are stored in Keeper (workload_zookeeper_path). A user with only one of the two privileges could remove the other kind of entity. (Groene AI).
fixBackported in: Fix a server abort when merging a malformed serialized state of a -Map aggregate function with a FixedString key. Now such a state is rejected with INCORRECT_DATA. (Alexey Milovidov).
fixBackported in: Fix a possible crash when an exception (for example, a memory limit) is thrown during the short-circuit evaluation of a function returning an AggregateFunction state. (Alexey Milovidov).
fixBackported in: Fix a possible crash of the PostgreSQL table engine, table function and database engine when the remote server reports an absurd number of array dimensions. (Alexey Milovidov).
fixBackported in: Fix a stack overflow in the ParquetMetadata format for files with a very deeply nested schema. The depth is now limited by max_parser_depth, as in the Parquet format, and never exceeds 1000. (Alexey Milovidov).
fixBackported in: Fix out-of-bounds reads when deserializing a query plan with a step lacking some of its inputs or having extra children. Now such a plan is rejected with INCORRECT_DATA. (Alexey Milovidov).
fixBackported in: Fix a crash of the DWARF input format on an ELF file with a malformed attribute length. (Alexey Milovidov).
fixBackported in: Fix out-of-bounds reads when deserializing a query plan with a FillingStep repeating an INTERPOLATE column. Now such a plan is rejected with INCORRECT_DATA. (Alexey Milovidov).
fixBackported in: Fix out-of-bounds memory access with a state of mergedJSONPatch containing a repeated path. Now such a state is rejected with INCORRECT_DATA. (Alexey Milovidov).
fixBackported in: Fix a regression from where (range) OR x IS NULL, with x a Nullable cast of a sort key expression (for example a column of a UNION ALL view whose other branch returns NULL), could not use the primary key or partition pruning and read all parts. (Seva Potapov).
otherBackported in: Use Rust toolchain nightly-2026-11-02. (Konstantin Bogdanov).
otherBackported in: Check the class of source columns in merges and squashing instead of corrupting memory. (Pavel Kruglov).
otherBackported in: Not required. (Groene AI).
otherBackported in: Read system.query_log in default-size blocks in 05620_read_in_order_virtual_row_fixed_key. (Groene AI).