VersionDrift
Product

ClickHouse 26.10.5.57 → 26.10.10.3

5 releases · 1 breaking change · 1 security fix · 0 advisories fixed

1security1breaking0deprecated3feature60fix

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.10.9.12

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: Automatic parallel replicas (automatic_parallel_replicas_mode = 1) no longer builds the plan with parallel replicas on every execution of a query whose last build ended without a decision: the execution after the first such build builds it again at once, and from then on one in…
otherBackported in: Make 04413_documentation_no_indented_lines linear in the number of lines. (Christoph Viebig).
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…
otherBackported in: Automatic parallel replicas no longer repeats the index analysis of a join's tables when it builds the plan with parallel replicas to decide whether to use them. (Nikita Taranov).
otherBackported in: A query that combines x IN (subquery) with other conditions by AND now stops reading as soon as the subquery returns an empty set also when compile_expressions has compiled the AND (by default once the same expression has been seen min_count_to_compile_expression times). Before,…
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: 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: Fixed a Merge table or the merge table function over a Distributed table returning one column when the query selects the same column more than once, for example SELECT k, k. (Groene AI).
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…
fixFix a heap-buffer-overflow when parsing text formats read from Azure Blob Storage. (Alexey Milovidov).
fixFixed compatibility = '26.8' setting iceberg_manifest_decode_concurrency to 2 instead of the 4 that 26.8 ships. (Nikita Fomichev).
otherBackported in: Not required. (Groene AI).
featureBackported in: The dpsub join order algorithm is now aware of the sort order of the joined tables: for each inner equi-join it chooses between a hash join and full_sorting_merge by cost, and keeps join results sorted by a join key when a later join can use that order. Joins of large MergeTree…
otherBackported in: A JOIN executed with the ie_join algorithm (by default, a JOIN whose ON section has only inequality conditions) no longer slows down quadratically when one side is much larger than the other: a range join of 1 million rows against a 16-row table now takes 0.1 seconds instead of 3.6…
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).
featureBackported in: Add the allow_ai_functions setting, which disables AI functions when set to 0. (George Larionov).
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: Fix a server abort in ORDER BY ... WITH FILL ... INTERPOLATE (...) when the same column is named as an INTERPOLATE output more than once, for example INTERPOLATE (b AS b, b AS b). Such a query is now rejected with INVALID_WITH_FILL_EXPRESSION during query analysis instead of…
fixBackported in: Fix a server crash when a RIGHT JOIN/FULL JOIN is planned for parallel replicas (parallel_replicas_plan_based=1) and the join output header declares a column by type only — e.g. the residual column of a constant NULL conjunct in the ON clause. Type-only header columns are now…
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 an exception (such as Division by zero or Cannot parse input) when a _part_offset projection used as an index evaluated the query filter on rows the query does not read. (Groene AI).
fixBackported in: Fix ALTER TABLE ... DROP PARTITION for Iceberg tables. When the parent snapshot was an overwrite, the command failed with Duplicate key in SnapshotSummary, or it copied the delete counters of the parent snapshot to the new snapshot. (Den Kalantaevskii).
fixBackported in: Fixed Reading in parallel from replicas is enabled but cluster to execute query is not provided (CLUSTER_DOESNT_EXIST) when selecting from a Distributed table whose cluster is not declared in remote_servers - the cluster of a Replicated database, or one found by cluster discovery -…
fixBackported in: Fixed the primary key and minmax indices skipping matching rows when a Decimal column was compared with a float constant under a key expression such as toFloat64(d), for example WHERE d = toFloat32(1), or with the floats of an IN subquery. Such a comparison with a BFloat16 value no…
fixBackported in: Fixed a heap-buffer-overflow when merging a corrupted uniqCombined, uniqCombined64 or uniqHLL12 state. Such states, and states whose rank counts or stored number of zero registers don't add up, now throw INCORRECT_DATA. (Groene AI).
fixBackported in: Fixed a server abort or a LOGICAL_ERROR ("Invalid number of rows in Chunk") in ORDER BY ... WITH FILL ... INTERPOLATE when the alias of an INTERPOLATE target is the name of another column of the query, for example when count() is aliased to its own name so that it can be…
fixBackported in: Fix a server crash (stack overflow) when a query in the clickhouse_json dialect or a call to formatQueryFromJSON contains very deeply nested JSON. (Konstantin Bogdanov).
fixBackported in: Fixed a skip index whose type was written in uppercase (e.g. TYPE TEXT(...)) not getting the default granularity the lowercase form gets. For a text index this made its mark-cache prewarm throw (wedging a SharedMergeTree replica's startup) and could make queries using the index…
fixBackported in: Fixed EmbeddedRocksDB, KeeperMap and Redis tables with a Decimal, DateTime64 or Time64 primary key returning no rows for a float constant such as WHERE key = 19.99 or key IN (SELECT 19.99) when the key holds the matching value, and ALTER TABLE ... DELETE / UPDATE with such a…
fixBackported in: Fixed a server abort while reading files from a zip archive (for example with s3) when the query reaches its memory limit. (Groene AI).
fixBackported in: A user defined in the server configuration (users.xml) can no longer escape its own settings constraints by selecting another settings profile with SET profile, a SETTINGS profile = ... clause or the HTTP profile parameter. Since 26.10 such a switch replaced settings pinned with…
fixBackported in: Fixed an exception (for example from throwIf) in a query whose PREWHERE had several substring conditions on one String column, pushed into the scan by apply_string_filters_during_scan, when the result of one of them was also used elsewhere in PREWHERE. (Groene AI).
fixBackported in: Fixed the compatibility setting restoring the old default of a setting whose new default was backported to the pinned release. With compatibility set to that release, iceberg_tolerate_conflicting_manifest_schemas, backup_s3_expired_token_retry_timeout_ms,…
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 missing rows when reading an Iceberg table partitioned by several columns with a filter such as a = 2 AND b IS NULL: manifest-list partition pruning (use_iceberg_manifest_list_partition_pruning, enabled by default since 26.9) skipped manifests that hold a NULL partition value,…
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).
fixBackported in:. (Melvyn Peignon).
fixBackported in: Fixed count() counting rows with a NULL key value that the filter rejects, when the filter has NOT IN (or NOT (... IN ...)) over a Nullable primary key column that the in-memory primary index does not load (it follows a high-cardinality key prefix), with allow_nullable_key = 1 and…
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: Fixed a constant column of a subquery returning the type default (0, '', []) instead of its value for the unmatched rows of an outer join, or failing with ILLEGAL_COLUMN, when join reordering merges the subquery's projection into the join (query_plan_merge_expression_into_join).…
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 wrong results and a possible server abort of queries using the query condition cache when a MergeTree table was attached again (DETACH/ATTACH TABLE or ATTACH DATABASE) after TRUNCATE or ALTER TABLE ... DROP PARTITION, so that a new part got the name of a removed one. (Groene…
fixBackported in: Fix Upgrade check errors from the empty part left by DETACH PART in 04653. (Shaohua Wang).
otherBackported in: Run the settings-history style check on backport CI. (Max Kainov).
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).
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