VersionDrift
Product

ClickHouse 26.9.30.7 → 26.9.36.3

6 releases · 2 breaking changes · 1 security fix · 0 advisories fixed

1security2breaking0deprecated1feature45fix

Breaking changes

  • breaking Backported in: CREATE HANDLER, ALTER HANDLER, DROP HANDLER and SHOW HANDLERS now form the new HANDLER ADMIN privilege group and are no longer part of the CREATE, ALTER and DROP groups. Previously GRANT CREATE ON .* or GRANT ALTER ON *. was enough to define or rewrite an HTTP handler, whose query… in 26.9.35.9
  • breaking Backported in: Removing data parts from a disk with metadata_type = plain_rewritable (cleanup of outdated parts, TRUNCATE, DROP PARTITION, DROP TABLE) no longer copies every file of the part to a temporary object before deleting it, and no longer holds the disk metadata lock for those copies. The… in 26.9.33.10

Security changes

  • security Update arrow and parquet Rust crates used by Delta Lake support to 58.4.1 (CVE-2026-111959), and chdig to v26.11.1. (Konstantin Bogdanov). in 26.9.34.16

Every release in between

fixBackported in: Fixed a server crash and wrong results of a JOIN onto a COMPLEX_KEY_DIRECT or COMPLEX_KEY_CACHE dictionary when the left join key is a constant (for example SELECT 'a' AS k), comes out of an ARRAY JOIN, or is stored with sparse serialization. (Groene AI).
otherBackported in: This patch changes the isRemote outcome for DiskObjectStorage over local object storage and improves local paths check for complex disks. (Mikhail Artemenko).
breakingBackported in: CREATE HANDLER, ALTER HANDLER, DROP HANDLER and SHOW HANDLERS now form the new HANDLER ADMIN privilege group and are no longer part of the CREATE, ALTER and DROP groups. Previously GRANT CREATE ON .* or GRANT ALTER ON *. was enough to define or rewrite an HTTP handler, whose query…
fixBackported in: Fix NOT_FOUND_COLUMN_IN_BLOCK and wrong results when a GROUP BY key is used inside an if chain with optimize_if_chain_to_multiif = 1, or is a tuple used in ORDER BY (for example if(1, tuple(a), tuple(0)) AS k ... GROUP BY k ORDER BY k). With group_by_use_nulls = 1, such an if key…
fixBackported in: Pad the buffer an Azure read owns with PADDING_FOR_SIMD. (Azat Khuzhin).
fixBackported in: Fixed filtered WRITE grants (such as GRANT WRITE ON S3('')) being bypassed by INSERT INTO FUNCTION into url, s3, azureBlobStorage and hdfs. Previously only the URI as typed was checked, so a PARTITION BY value like ../other/x, or a file renamed by s3_create_new_file_on_insert, could…
fixBackported in: Fix a possible crash of the RabbitMQ table engine when the broker confirms a message with an unknown delivery tag. (Alexey Milovidov).
fixBackported in: Fix a crash (double free) when an allocation failed, e.g. because of the memory limit, while an aggregate function used as a window function moved to a new partition or frame, or while an aggregate function with the -ArgMin / -ArgMax combinator reset its state for a new extreme…
otherBackported in: Retry the forced kill in the integration cluster shutdown. (Groene AI).
otherBackported in: Not required. (Groene AI).
fixBackported in: Fix cubic complexity of enumerating subcolumns of deeply nested Array types. (Alexey Milovidov).
otherBackported in: Parsing row-based input formats and Native into tables with nested Tuple columns is faster for small blocks (streaming engines, async inserts): the per-block columns are now created once per nested element instead of once per nesting level. Closes. (Groene AI).
featureBackported in: Add AI function request time, retry backoff time, and prompt-cache token counts to ProfileEvents. Include cached Anthropic input tokens in total input usage and query quotas. (Ravi Kumar L).
fixBackported in: Fixed projections returning rows removed by a lightweight DELETE after ALTER UPDATE, MATERIALIZE PROJECTION or CLEAR COLUMN rebuilt them on a Wide part. A query with apply_deleted_mask = 0 no longer uses projections when the table has lightweight-deleted rows, since projections do…
fixBackported in: Fixed NOT_FOUND_COLUMN_IN_BLOCK for a constant-condition if/multiIf GROUP BY key reused through an alias with enable_identifier_resolve_cache (default since 26.6) or read back under group_by_use_nulls, lost grouping sets when such a key collapses to another key, a Bad cast logical…
fixBackported in: Check access rights before loading a dictionary or reading its definition in the dictionary table function, dictGet-family functions, naiveBayesClassifier, Dictionary tables and CREATE TABLE ... ENGINE = Dictionary. Queries without the required grants no longer trigger the…
fixBackported in: Fixed a filtered source grant (e.g. GRANT WRITE ON S3('https://bucket/allowed/.')) authorizing a location outside the filter. BACKUP/RESTORE and table functions like s3, url and azureBlobStorage with ./.. or empty path segments, a fragment, escapes that change the name, a query in…
fixBackported in: Fixed CREATE WORKLOAD, DROP WORKLOAD, CREATE RESOURCE and DROP RESOURCE with workload_zookeeper_path overwriting definitions written by other replicas when the query was the first to use a renewed Keeper session. (Groene AI).
fixBackported in: Fix out-of-bounds memory access with an aggregate state containing a JSON value with a repeated path. Now such a state is rejected with INCORRECT_DATA. (Alexey Milovidov).
fixBackported in: The /binary web UI now displays the symbol name and source line in the popup as text instead of interpreting the server response as HTML. (Alexey Milovidov).
fixBackported in: Fix a crash in the Arrow and ArrowStream input formats when a requested type changed how a nested field was decoded while another requested column read that field with a type that does not describe it: a struct column together with a dotted subcolumn of it, such as t String, "t.s"…
fixBackported in: Fixed a memory leak in queries answered by _minmax_count_projection that compute min or max of a Tuple, Array or FixedString primary key or partition column: every part read leaked one aggregate state. (Groene AI).
fixThe url of an HTTP dictionary source is hidden in SHOW CREATE, system.tables and the query log, and its userinfo in system.dictionaries. (George Larionov).
otherBackported in: Update postgres to 18.6. (Actuele AI).
securityUpdate arrow and parquet Rust crates used by Delta Lake support to 58.4.1 (CVE-2026-111959), and chdig to v26.11.1. (Konstantin Bogdanov).
breakingBackported in: Removing data parts from a disk with metadata_type = plain_rewritable (cleanup of outdated parts, TRUNCATE, DROP PARTITION, DROP TABLE) no longer copies every file of the part to a temporary object before deleting it, and no longer holds the disk metadata lock for those copies. The…
otherBackported in: Credentials in the URL of a url wildcard expanded from HTTP index pages (allow_url_wildcard_from_index_pages), or of a web_index disk, are now masked in the errors about an index page redirected to a different origin and about an index page over max_http_index_page_size. (Groene AI).
fixBackported in: ATTACH TABLE ... AS REPLICATED and ATTACH TABLE ... AS NOT REPLICATED now check the TABLE ENGINE grant on the engine the table is converted to before changing anything. Previously a query refused for this grant had already rewritten the stored definition of the detached table, so a…
fixBackported in: When http_forbid_headers forbids Authorization, Basic credentials that would be sent in that header are now refused too: the userinfo of url, urlCluster and URL table URLs (including url wildcards and web disks), credentials of HTTP dictionaries created by DDL, the userinfo of…
fixBackported in: Fix server termination when outdated data parts cannot be scheduled for loading, e.g. when the global thread pool is exhausted. (Nikolay Degterinsky).
fixBackported in: Fixed a type confusion (possible crash or out-of-bounds read) triggered by a client sending a column with a Sparse or Replicated serialization kind, or a Tuple with a Replicated element, in data over the native protocol. (Vladimir Cherkasov).
fixBackported in: Fixed parsing of decimal text with an exponent close to the Int32 limits: values such as 1e2147483647 were read as 0 instead of being rejected as too big. (Alexey Milovidov).
fixBackported in: The URL ... is not allowed in configuration file, see error now shows only the host and port of the URL, so secrets in its path or query string are no longer exposed. (George Larionov).
otherBackported in: Update wasmtime to v50.0.1. (Konstantin Bogdanov).
fixBackported in: Prevent impersonation via forged SECONDARY_QUERY on secret clusters. (Vitaly Baranov).
fixBackported in: Projections no longer provide _block_number, _block_offset and _row_exists unless they store them, so queries reading these columns use the main table. Previously the values came from the projection part, which caused wrong results and made incremental refreshable materialized views…
fixBackported in: The error of AI functions for an insecure endpoint no longer contains the endpoint of the named collection, which could carry a secret not visible to the user. (George Larionov).
fixBackported in: Fix a possible out-of-bounds read in the Parquet reader when PREWHERE filters out a whole page of a PLAIN-encoded string column read through a conversion (e.g. to Geometry). (Alexey Milovidov).
fixBackported in: SYSTEM SYNC DATABASE REPLICA without ON CLUSTER now requires the SYSTEM SYNC DATABASE REPLICA grant on the database. Before, any user could run it. (Lazizbek Ergashev).
fixBackported in: Fix an asynchronous INSERT ... FROM INFILE sent directly to the server opening the file on the server before the query was rejected. (Sema Checherinda).
fixBackported in: Fix a server crash when deserializing a malformed aggregate state that contains a LowCardinality(String) value. (Raúl Marín).
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).
See how far your stack has drifted from upstream. Release data from vendors’ own sources · feed under CC BY 4.0 · Code under AGPL-3.0 Settings Feed status