ClickHouse 26.10.5.57 → 26.10.7.24
2 releases · 0 breaking changes · 1 security fix · 0 advisories fixed
1security0breaking0deprecated0feature25fix
Breaking changes
None in the release notes.
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.10.7.24
Every release in between
otherBackported in: Query analysis is faster for queries whose AND chains of comparisons read columns of large subqueries, such as many inlined CTEs: optimize_and_compare_chain now hashes each operand once instead of on every lookup. Analysis of the query from is 2x faster with the work budget off and…
otherBackported in: A MergeTree query that needs no column of the table, such as SELECT count() over a table with lightweight-deleted rows, count() over a subquery or SELECT isNullable(c) FROM t, again reads the column that is smallest on disk, as it does with query_plan_remove_unused_columns = 0.…
otherBackported in: Primary key analysis of a filter that matches many whole key ranges, such as WHERE flag over a UInt8 key column, is faster again with many threads: the per-range check for a NULL or NaN nested in a Tuple key no longer copies the key type, which made threads contend on its reference…
otherBackported in: Index analysis now keeps an exact condition for IN, NOT IN and has on a Tuple column under an injective key expression such as ORDER BY toString(k), so NOT IN and NOT has can skip parts and granules. toString of Time, Time64, DateTime64 and of a QBit of floating-point elements is no…
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: Fixed wrong results when a GROUP BY or LIMIT BY key, or an ORDER BY expression, was a function call whose result type collapses to Nullable(Nothing) because an argument is a NULL constant, such as concatAssumeInjective(s, NULL). Such a call was still treated as injective and…
fixBackported in: Fixed NOT_FOUND_COLUMN_IN_BLOCK for a query whose SELECT alias holds an AND/OR/= chain and is reused by GROUP BY, ORDER BY, HAVING, WHERE or another alias, for example SELECT (((s = '1') = 1) = 1) AND (n > 0) AS r FROM t GROUP BY r ORDER BY r. (Groene AI).
fixBackported in: Fixed missing rows with a set skip index when an outer WHERE compares columns of a subquery that gives a column the name of another one (SELECT w AS k ...), for example over remote(), and optimize_and_compare_chain or optimize_or_like_chain derives an indexHint from it. (Groene AI).
fixBackported in: Fixed a LEFT JOIN over a Merge table with a WHERE _table = ... condition and ORDER BY ... LIMIT failing with an error (ILLEGAL_TYPE_OF_ARGUMENT, UNKNOWN_TABLE, ACCESS_DENIED) that comes from a table the condition excludes. Closes. (Groene AI).
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: 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: Lazy materialization of MergeTree columns (also over JOIN) no longer disables projections. A normal projection can filter the parts and granules of the read, and can serve the read if it has _parent_part_offset or all lazily read columns. (Nikolai Kochetov).
fixBackported in: Fixed optimize_extract_common_expressions moving the conditions that every branch of an OR starts with behind the rest of the OR when the OR is part of an AND. On tables with Compact parts and no statistics this made a lookup like m['key'] = 'x' the first PREWHERE step, so the whole…
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).
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).
fixBackported in: With compatibility set to 26.4, 26.5 or 26.6, MergeTree tables now build basic, uniq_v2 automatic statistics (the default since 26.7) instead of minmax, uniq. This fixes query planning that was many times slower for such tables after an upgrade. (Nikita Fomichev).
fixBackported in: Fix a crash when automatic_parallel_replicas_mode switched a query to parallel replicas and a set skip index over a column filtered by IN (subquery) was applied during the read (use_skip_indexes_on_data_read). (Nikita Taranov).
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).
otherBackported in: Do not correct the global memory tracker below jemalloc stats.allocated. (Alexey Milovidov).
otherBackported in: The bound that optimize_and_compare_chain derives within one table (for example indexHint(l.a < 1000) from l.a < l.b AND l.b < 1000) prunes the primary key again in RIGHT JOIN ... ON and in a subquery nested in an outer JOIN ... ON. (Groene AI).
otherBackported in: Do not let a derived indexHint keep HAVING above GROUPING SETS. (Groene AI).
otherBackported in: Refactor: share the traversal of ActionsDAG nodes between its walks. (Murphy).
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).
otherBackported in: SELECT ... FINAL WHERE LIMIT n on a ReplacingMergeTree table with enable_vertical_final (the default) now stops reading early when the rows that pass the filter come from a small part, instead of reading the whole table. Closes. (Groene AI).
fixBackported in: Fixed queries and merges on encrypted disks over remote storage discarding the first prefetch of every column and reading it again synchronously. (Christoph Wurm).
otherBackported in: Range conditions such as x < 100 on a column with tdigest statistics are now estimated correctly on tables with several parts. Previously the estimate depended on the order of the parts and could be zero, so the planner could pick a worse join order, PREWHERE order or distributed…
fixBackported in: Improved logic of matching read steps between single-node and parallel replicas plans. This fixes a potential wrong query result in case of an incorrect matching and also makes the automatic parallel replicas optimization applicable to more queries. (Nikita Taranov).
fixBackported in: Fix a valid JOIN ON query rejected with CANNOT_CONVERT_TYPE by optimize_extract_common_expressions when the extraction removes the only Nothing-typed operand, for example a comparison with an ARRAY JOIN [] alias. Closes. (Groene AI).
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: 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: Fix the logical error Context has expired when the Kusto * operator (kqlMultiply) is used in a query with parallel replicas. (Alexey Milovidov).
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: 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: Update wasmtime to v50.0.1. (Konstantin Bogdanov).
otherBackported in: Keep the identity of a set in the cache key of an expression. (Nikita Taranov).