ClickHouse 26.9.33.10 → 26.10.10.3
11 releases · 10 breaking changes · 3 security fixes · 0 advisories fixed
3security10breaking0deprecated50feature142fix
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
- breaking Backported in: Settings of type Seconds (for example max_execution_time or lock_acquire_timeout) now reject a negative value with BAD_ARGUMENTS. A negative max_execution_time meant no limit and passed a MAX constraint; a value whose microseconds round to 2^63 (for example 9223372036854.775) was… in 26.10.5.57
- breaking Backported in: Added the AI FUNCTIONS privilege group and per-function privileges (aiGenerate, aiEmbed, etc.) that control who can call AI functions, e.g. GRANT AI FUNCTIONS ON .* TO role or GRANT aiGenerate, aiClassify ON *. TO role. Calling an AI function now requires its privilege in addition… in 26.10.4.207
- breaking Backported in: Setting after_processing_move_uri or after_processing_move_connection_string of an S3Queue or AzureQueue table now requires WRITE ON S3 for the destination URL (or WRITE ON AZURE), and ALTER TABLE ... MODIFY SETTING also requires SELECT on the table. Before, the ALTER SETTINGS grant… in 26.10.4.207
- breaking Backported in: MongoDB connection strings can no longer make the server authenticate with its own credentials: the MONGODB-OIDC, MONGODB-AWS, GSSAPI and MONGODB-X509 authentication mechanisms and the tlsCertificateKeyFile option. In the mongodb table function and MongoDB tables they are refused… in 26.10.4.207
- breaking Backported in: Introspection functions and system.symbols work only with offsets inside the main binary: addressToSymbol no longer accepts absolute addresses, system.symbols no longer lists symbols of shared libraries, and flameGraph requires the INTROSPECTION grant. gRPC library logs are no… in 26.10.4.207
- breaking Backported in: Remove HTTP debug log with a heap address. (Raúl Marín). in 26.10.4.207
- breaking Remove an unused repository switch from ReleaseBranchCI. (Alexei Fedotov). in 26.10.4.207
- breaking Backported in: CREATE TABLE x AS src inherits the credentials embedded in the engine of src, which are masked in SHOW CREATE TABLE. It now requires the SELECT privilege on src when the inherited definition can carry credentials, instead of only SHOW COLUMNS. (Yarik Briukhovetskyi). in 26.10.2.103
- 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
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
- security Backported in: A SQL SECURITY DEFINER view queried by its own definer is no longer read as an opaque step, so the optimizations of the query apply to it again, as before 26.10 (for example, ORDER BY ... LIMIT reads in order through it). Other users, and sessions of the definer that are limited by… in 26.10.5.57
- 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
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).
breakingBackported in: Settings of type Seconds (for example max_execution_time or lock_acquire_timeout) now reject a negative value with BAD_ARGUMENTS. A negative max_execution_time meant no limit and passed a MAX constraint; a value whose microseconds round to 2^63 (for example 9223372036854.775) was…
securityBackported in: A SQL SECURITY DEFINER view queried by its own definer is no longer read as an opaque step, so the optimizations of the query apply to it again, as before 26.10 (for example, ORDER BY ... LIMIT reads in order through it). Other users, and sessions of the definer that are limited by…
featureBackported in: Add setting automatic_parallel_replicas_statistics_drift_ratio (default 1.5, previously a fixed 2): how much the rows a read selects may differ from the ones its statistics were collected on before automatic parallel replicas collects the statistics again. (Nikita Taranov).
fixBackported in: Fixed wrong row order for ORDER BY (and GROUP BY with optimize_aggregation_in_order) when reading in order from a sorted object storage table, e.g. an Iceberg table whose files carry its sort order. ORDER BY ... DESC on such tables no longer returns ascending rows. (Groene AI).
fixBackported in: Fixed a wrong result when an alias of sumIf(k, cond) or sum(if(cond, 0, k)) with a constant k other than 1 is referenced more than once, for example SELECT sumIf(2, cond) AS r, r + 0, r + 1 or HAVING r > 3 AND r < 15: every reference after the first returned countIf without the…
fixBackported in: Fix computation of the predicted size for MergeTree readers involving PREWHERE clause. The columns that are read just to execute the prewhere clause are also considered for the block size, preventing out-of-memory errors. (Javier G. Sogo).
fixBackported in: Fixed NOT_FOUND_COLUMN_IN_BLOCK for a query whose SELECT alias is an extract call with a pattern ending in more than one .$ and is reused by GROUP BY together with ORDER BY, HAVING, WHERE or another alias, for example SELECT extract(s, '(1).$.*$') AS r FROM t GROUP BY r ORDER BY r.…
fixBackported in: Fixed a server crash in INSERT ... SELECT with parallel replicas (parallel_distributed_insert_select = 2) when the SELECT's own SETTINGS rule out the local plan that the explicit INSERT-level settings allow, for example INSERT INTO t SETTINGS parallel_replicas_local_plan = 1 SELECT…
fixBackported in: Fixes a query hanging during planning when max_rows_to_read with read_overflow_mode = 'throw' is below the rows of a table where a normal projection exists in only some parts. EXPLAIN projections = 1 now also lists the projections of such a read. (Vincent Voyer).
fixBackported in: Fixed an exception (LOGICAL_ERROR Bad cast from type ... or ILLEGAL_COLUMN) in distributed queries that select the same column more than once with LIMIT or distributed_group_by_no_merge = 2, when the column type of the Distributed table differs from the type on the shards. (Groene…
fixBackported in: Lazy materialization for LIMIT queries over joins now also works when the query has ARRAY JOIN: the columns of a table below the ARRAY JOIN are read only for the rows that the LIMIT returns. (Nikolai Kochetov).
fixBackported in: Fix RegexpFunctionRewritePass mis-rewriting replaceRegexpAll to replaceRegexpOne when a leading ^ is inside or followed by an empty inline flag group (?) (closes, closes). (duongynhi000005-oss).
fixBackported in: Fixed NOT_FOUND_COLUMN_IN_BLOCK for a LIMIT BY key that is a GROUP BY key spelled with a different alias, for example a positional LIMIT 1 BY 1 over GROUP BY toString(c0) WITH ROLLUP, WITH CUBE or WITH TOTALS. Closes. (Groene AI).
fixBackported in: Fixed additional_result_filter being applied to a non-correlated EXISTS subquery, which made such queries fail with UNKNOWN_IDENTIFIER, or with TOO_DEEP_RECURSION when the filter itself contained EXISTS. (Groene AI).
fixBackported in: Fix DeltaLake file pruning for comparisons over a non-nullable Date/Date32 cast of a Nullable(Date32) column, e.g. d::Date = '2026-01-01' with the default cast_keep_nullable = 0. Previously such filters scanned every data file. (Arsen Muk).
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: Fixed addDate, subDate, the add*/subtract* interval functions and +/- with an INTERVAL throwing CANNOT_PARSE_DATETIME for the NULL rows of a Nullable(String) date. Since 26.10 this also happened for the result of formatDateTime over a Nullable column, for example…
fixBackported in: Fix a crash and wrong query results when a table has a column literally named mapKeys(m) or mapValues(m) with a bloom_filter index on it. (Elmi Ahmadov).
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 use-after-free on reading a Delta Lake table with column mapping in which a column is stored under the name of another column (for example, after column mapping is enabled on an existing table and columns are renamed), when the columns are requested in a particular order,…
fixBackported in: On a cluster without an interserver secret, remote nodes now apply the row policies of the roles set by SET ROLE on the initiator, not of the default roles of the user. Original fix by @fm4v. (Alexey Milovidov).
fixBackported in: Fix a server crash on a Decimal parameter with a scale above the maximum precision. (Konstantin Bogdanov).
fixBackported in: Check the scale of a Decimal value before formatting it as text, so a value with an out-of-range scale produces an exception instead of undefined behavior. (Alexey Milovidov).
fixBackported in: Fixed Unsupported storage type: abfs:// when reading a table from a DataLakeCatalog database (for example OneLake) whose catalog reports table locations with the plain abfs:// scheme. Previously only abfss:// was accepted, although both name the same ADLS Gen2 storage. (Nikita…
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: 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 a possible crash of the Template input format when the format string for the result set does not contain ${data}. Now it is an error. (Alexey Milovidov).
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 one-byte heap overflow when reading a String state of any/min/max (and similar) aggregate functions in an old format that ends without the zero terminator. Original fix by @motsc. (Alexey Milovidov).
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: Fix a possible crash when restoring a backup from a zip archive with a password if an encrypted entry of the archive is smaller than the encryption header. (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).
+15 more items in the release notesbreakingBackported in: Added the AI FUNCTIONS privilege group and per-function privileges (aiGenerate, aiEmbed, etc.) that control who can call AI functions, e.g. GRANT AI FUNCTIONS ON .* TO role or GRANT aiGenerate, aiClassify ON *. TO role. Calling an AI function now requires its privilege in addition…
breakingBackported in: Setting after_processing_move_uri or after_processing_move_connection_string of an S3Queue or AzureQueue table now requires WRITE ON S3 for the destination URL (or WRITE ON AZURE), and ALTER TABLE ... MODIFY SETTING also requires SELECT on the table. Before, the ALTER SETTINGS grant…
breakingBackported in: MongoDB connection strings can no longer make the server authenticate with its own credentials: the MONGODB-OIDC, MONGODB-AWS, GSSAPI and MONGODB-X509 authentication mechanisms and the tlsCertificateKeyFile option. In the mongodb table function and MongoDB tables they are refused…
featureBackported in: Added the SHARED modifier for typed paths of the JSON type, for example JSON(SHARED a UInt32, SHARED b String). In MergeTree parts such paths are stored together in a constant set of files instead of a set of files per path, which keeps the number of files and object storage…
featureBackported in: DPsub is now the default join order algorithm (query_plan_optimize_join_order_algorithm = 'dpsub,greedy'), together with the CD-C conflict detector, which also lets semi and anti joins take part in reordering. Queries with more than 12 joined tables fall back to the greedy…
fixBackported in: Fixed a performance regression of dictGet with direct dictionaries (and of x IN () in general): constant literals are converted to the column type directly instead of through a CAST function per value. Closes. (Manuel).
featureBackported in: Merging large uniqExact states is several times faster with the new Robin Hood hash tables: the destination set now grows before the merge, so its inserts no longer pile up at the higher load factor. This affects uniqExactMerge, merges of AggregatingMergeTree parts with uniqExact…
featureBackported in: AI functions issue provider requests concurrently from a server-wide thread pool (ai_function_max_thread_pool_size), with up to ai_function_max_concurrent_requests_per_thread requests in flight per query thread (default 8). ai_function_max_retries defaults to 3, and new…
fixBackported in: Fixed DECIMAL_OVERFLOW thrown by =, !=, IN, NOT IN and non-Nullable IS [NOT] DISTINCT FROM when a decimal is compared with a decimal constant that does not fit its type at its scale, e.g. d IN (toDecimal128(1000000000, 0)) for d Decimal(38, 30), on sorting and partition keys, minmax…
featureBackported in: The ORC format is now read and written by a native implementation instead of the Apache ORC C++ library, with the same behavior and the same files on output. The values are read and written directly into and from ClickHouse columns: reading is 1.4 to 2.3 times faster and writing is…
fixBackported in: Reading a LowCardinality column from a corrupted data part whose indexes point past the dictionary now throws INCORRECT_DATA instead of reading past the end of the keys, which could crash the server. (Groene AI).
breakingBackported in: Introspection functions and system.symbols work only with offsets inside the main binary: addressToSymbol no longer accepts absolute addresses, system.symbols no longer lists symbols of shared libraries, and flameGraph requires the INTROSPECTION grant. gRPC library logs are no…
fixBackported in: Fix double counting in the network charts on the dashboard.html. (Azat Khuzhin).
featureBackported in: Allow jemalloc percpu arenas even if CPU counts are non deterministic. (Azat Khuzhin).
fixBackported in: Fix undefined behavior when a refreshable materialized view uses a very large RANDOMIZE FOR window. The random offset was converted from double to Int64 milliseconds and widened to microseconds without range checks, so such a window produced a meaningless next refresh time or…
fixBackported in: Fixed a server abort when reading Parquet with a declared structure carrying a DEFAULT expression, on a count-only read or with input_format_defaults_for_omitted_fields disabled. (Groene AI).
fixBackported in: Fix lightweight updates on replicated tables silently skipping rows that arrived on the initiating replica during the update_sequential_consistency sync. The update reused a storage snapshot taken before the sync, so the UPDATE returned success while those acknowledged rows kept…
fixBackported in: Fixed Arrow, ArrowStream and Arrow Flight output failing with Capacity error: array cannot contain more than 2147483646 bytes or Arrow IPC string offset exceeds 32 bits when a block held more than 2 GiB of String data. Such a block is now written as several Arrow record batches.…
fixBackported in: Fix a privilege escalation where a scheduled refresh of a SQL SECURITY DEFINER refreshable materialized view reading from a Distributed table over a cluster with an interserver was executed on remote shards without authentication, bypassing the definer's access rights. The remote…
fixBackported in: Fixed leftovers of the nested SETTINGS constraints fix (): use_query_cache set inside a subquery or a CTE could still enable the query result cache despite a CONST or readonly constraint, and a nested clause was forwarded to the shards of a Distributed query as written, bypassing…
fixBackported in: Respect remote_url_allow_hosts in the Hive metastore catalog. (Smita Kulkarni).
fixBackported in: Fixed a privilege check bypass in text index preprocessor and postprocessor expressions. They were resolved under an internal full-access context, so functions requiring a grant, such as demangle and addressToLine, could be used without it. These expressions are now authorized…
fixBackported in: Fixed a wrong result where a RIGHT, LEFT, FULL or ANY outer JOIN returned too few rows when the WHERE value came from assumeNotNull of a NULL. The query plan converted such a join to INNER, SEMI or ANTI after evaluating the filter over constants, where assumeNotNull reads a…
fixBackported in: Fixed wrong results when WHERE wraps a Nullable partition key in a NULL-erasing function: assumeNotNull, isNull/isNotNull compared with a constant ((c IS NULL) >= true), or ifNull/coalesce under NOT or with allow_key_condition_coalesce_rewrite = 0. Partition pruning discarded the…
fixBackported in: Fixed a logical error (Bad cast from type DB::ColumnReplicated to DB::ColumnNullable) in an ASOF JOIN whose right side has a Nullable ASOF key produced through lazy column replication, for example by arrayJoin or a nested JOIN. enable_lazy_columns_replication is on by default, and…
fixBackported in: Fixes a server abort when a query with LIMIT AFTER or LIMIT UNTIL has a lambda in its SELECT list that the boundary expression repeats, or once its expressions are JIT-compiled (by default on its fourth run). Such a query over remote shards also no longer fails with Serialization is…
fixBackported in: A valid query over a JOIN whose WHERE guards a conjunct that can throw could be rejected with an error such as CANNOT_PARSE_DATETIME. Filter push-down into the JOIN, merging a filter into the JOIN condition, and an aggregate projection's residual filter each rebuilt the conjuncts…
fixBackported in: Fixed ssd_cache and complex_key_ssd_cache dictionaries that share a PATH returning each other's values from dictGet, and Cache data corrupted errors in queries that run during SYSTEM RELOAD DICTIONARY of an SSD cache dictionary. Each dictionary instance now creates its own cache…
fixBackported in: Fixed wrong results and NOT_FOUND_COLUMN_IN_BLOCK errors in ORDER BY ... LIMIT queries with use_top_k_dynamic_filtering (enabled by default) when the query sorts by _part_offset and is served by a projection that stores _part_offset, and when the table has a column named…
fixBackported in: Fixed AzureBlobStorage tables created with PARTITION BY under file_like_engine_default_partition_strategy = 'wildcard' (the default for compatibility older than 26.6) that could not be attached again, so the server did not start after a restart. The engine now reads back the…
fixBackported in: Fixed secret masking of the Azure table functions and engines: a SAS token, account key or client secret was logged in clear in system.query_log for the azureBlobStorage(url, sas_token) form, argument lists with a key = value argument, extra_credentials(...) (now hidden whole),…
fixBackported in: Fixed reading a subcolumn of a Nested member added by ALTER TABLE ... ADD COLUMN (sizeN, or a JSON path below the member's array) from parts written before the ALTER. It failed with There is no subcolumn, or produced a column of the wrong type, which returned garbage values or…
fixBackported in: Fixed NOT_FOUND_COLUMN_IN_BLOCK for a query that groups by an alias of an OR chain of LIKE/ILIKE conditions and reuses that alias in ORDER BY or HAVING, for example SELECT (s LIKE '%a%' OR s LIKE '%b%' OR s LIKE '%c%' OR s LIKE '%1%') AS r FROM t GROUP BY r ORDER BY r. (Groene AI).
fixBackported in: Fixed wrong results of comparisons, has / indexOf and casts of Decimal128 / Decimal256 values when bringing a value to a larger scale does not fit the type: toDecimal128(1, 30) < 1000000000 returned 0, and CAST(toDecimal128(1000000000, 0) AS Decimal(38, 30)) returned a wrapped…
fixBackported in: Fix CANNOT_RESTORE_TABLE when restoring a Alias Engine tabel. (Han Fei).
fixBackported in: Fixed a query that never finished planning, ignoring max_execution_time and KILL QUERY, when a filter over expressions that reuse the same subexpression (such as x + x across nested subqueries) is pushed down to a JOIN or checked for the ANY to SEMI/ANTI join conversion. (Groene AI).
fixBackported in: Fixed NOT_FOUND_COLUMN_IN_BLOCK when the optimize_and_compare_chain_max_hash_work budget ran out between two copies of an expression, for example a SELECT alias of an AND chain of comparisons that is reused in GROUP BY. The transitive comparisons of optimize_and_compare_chain are…
fixBackported in: A query that started while CPU slots were busy, or whose threads were stopped by CPU preemption, now starts threads for the slots granted to it later as soon as they are granted. Previously such slots could stay unused for seconds, and other queries could not use them either.…
breakingBackported in: Remove HTTP debug log with a heap address. (Raúl Marín).
breakingRemove an unused repository switch from ReleaseBranchCI. (Alexei Fedotov).
+155 more items in the release notesbreakingBackported in: CREATE TABLE x AS src inherits the credentials embedded in the engine of src, which are masked in SHOW CREATE TABLE. It now requires the SELECT privilege on src when the inherited definition can carry credentials, instead of only SHOW COLUMNS. (Yarik Briukhovetskyi).
featureBackported in: Added the experimental Elasticsearch table engine and elasticsearch table function for reading documents from an Elasticsearch index as a JSON column, with the document id and index name available as virtual columns. Enable them with the enable_elasticsearch setting. (Kirill Kopnev).
featureThe setting use_query_condition_cache_for_time_conditions (using the query condition cache for conditions involving the current time) is now experimental and disabled by default. (Alexey Milovidov).
featureBackported in: Column statistics of MergeTree data parts are cached per data part and column in a new statistics cache (server settings statistics_cache_size, statistics_cache_policy, statistics_cache_size_ratio; SYSTEM DROP STATISTICS CACHE), loaded on demand and merged on the fly for every…
featureBackported in: Lazy materialization now works for LIMIT N queries over JOINs. Controlled by the new setting query_plan_lazy_materialization_for_join, enabled by default. . (Nikolai Kochetov).
featureBackported in: Sets of IN with a subquery spill to disk by default: max_bytes_ratio_before_external_set now defaults to 0.5, so a set spills once query memory exceeds half of the memory that the server or user memory limits leave. Set it to 0 to keep such sets in memory. Sets on disk are built and…
featureBackported in: Estimating subcolumn sizes for PREWHERE (for example m['key'] of a Map(LowCardinality(String), String) column) no longer reads the LowCardinality dictionary or the Variant discriminators header of every data part, which made planning slow on object storage, especially for each new…
featureBackported in: Improved automatic_parallel_replicas observability by adding outcome-specific ProfileEvents, split optimization/plan-build timing counters, and runtime statistics-collection timing in query_log. (Nikita Taranov).
featureBackported in: Queries with FINAL now use the virtual row optimization of reading in order. Supported for ReplacingMergeTree, CollapsingMergeTree, VersionedCollapsingMergeTree, SummingMergeTree, AggregatingMergeTree and CoalescingMergeTree. (Vladimir Cherkasov).
featureBackported in: Reduced the memory usage of incremental BACKUP: the base backup keeps only the sizes and checksums of its files instead of the full information about each file. For a base backup of millions of files this saves gigabytes. (Julia Kartseva).
featureBackported in: Compare TOTP codes and plaintext_password passwords in constant time, so that the response time does not depend on how many leading characters are correct or on which time window matched. (Vladimir Cherkasov).
featureBackported in: A replica that takes part in a parallel replicas read now follows the initiator even when its own automatic_parallel_replicas_mode is not 0, for example when allow_feature_tier drops the value the initiator sends, or when INSERT ... SETTINGS automatic_parallel_replicas_mode = 2…
featureBackported in: The "Format" button in the Web UI now supports inputs with multiple queries: each query is formatted separately and replaced in place, keeping the comments and delimiters between them. (Alexey Milovidov).
featureBackported in: Automatic parallel replicas settings (automatic_parallel_replicas_mode, automatic_parallel_replicas_min_bytes_per_replica) are now production tier instead of experimental. (Nikita Taranov).
featureBackported in: The nodes in the output of EXPLAIN AST graph = 1 are numbered sequentially instead of being identified by memory addresses, so the output is the same on every run. (Raúl Marín).
featureBackported in: Fatal error reports no longer contain runtime memory addresses: stack frames and the fault address are printed as offsets inside the executable or a library, which can be passed to addr2line, and other addresses are hidden. system.crash_log.fault_address now contains the offset…
featureBackported in: A JOIN whose ON condition has a constant-false conjunct now works with the experimental parallel_replicas_plan_based setting when the join uses grace_hash, spills to disk, or runs with join_use_nulls = 1, instead of terminating the server or failing with NOT_FOUND_COLUMN_IN_BLOCK.…
featureBackported in: Fix a possible crash or out-of-bounds memory access when reading from HDFS if a DataNode or NameNode sends malformed responses. (Alexey Milovidov).
featureBackported in: Adds a minimum threshold for spilling in-memory data when external aggregation is enabled. (Mikhail Artemenko).
featureBackported in: System tables no longer contain runtime memory addresses: stack frames outside the main binary are stored as 0, system.trace_log.ptr is an identifier instead of an address, and the ids in system.processors_profile_log are indices within the query. (Raúl Marín).
featureBackported in: Improve glue catalog cache. Let's cache only mapping column name -> timestamp, not the whole metadata. (Konstantin Vedernikov).
featureBackported in: The obfuscate table function and the clickhouse obfuscator tool now support LowCardinality, Enum, Date32, DateTime64, Decimal, wide integers, IPv4, IPv6, BFloat16, Tuple and Map columns. The exception for an unsupported type now names the type and the column. (Alexey Milovidov).
featureBackported in: Hardening: certificate chains containing the compromised eMudhra intermediate CAs or the roots that issued them (emSign Root TLS CA - G3, emSign ECC Root CA - G3) are rejected even if the trust store of the operating system still trusts them. The CA certificates embedded into the…
featureBackported in: This patch supports writeFileUsingBlobWritingFunction for disks with multiple configured locations. (Mikhail Artemenko).
featureNO CL ENTRY: 'Revert "Backport to 26.10: Lower Bound External Group By Spill"'. (Mikhail Artemenko).
featureBackported in: Make 03673_columns_description_cache and 04257_102926_columns_descriptions_cache_nested_eviction robust to asynchronous part removal, applying the fix already made to their sibling 04510_shared_part_schema_metadata_eviction. (Groene AI).
featureBackported in: Query cache: do not store a partial subquery result. (Konstantin Bogdanov).
featureBackported in: Rewrite arrayJoin(emptyArrayToSingle(x)) -> LEFT ARRAY JOIN x. (Yarik Briukhovetskyi).
featureBackported in: Fix h3CellAreaM2/h3CellAreaRads2 precision loss for cells crossing the antimeridian. (Konstantin Bogdanov).
featureBackported in: Fix flaky integration test test_prometheus_protocols/test_evaluation.py::test_multiple_instant_vectors, which compared the series of an instant vector in a fixed order. (Groene AI).
featureBackported in: Use node ids instead of addresses in pipeline diagnostics. (Raúl Marín).
featureBackported in: Exit early in sliceContains for short and early-hit searches. (Raúl Marín).
featureBackported in: Fix Broken pipe in test 05345_robin_hood_large_hash_tables. (Alexey Milovidov).
featureBackported in: Lazily replicated ARRAY JOIN passenger columns hold only the rows of their output block again, so materialized views, max_result_bytes and squashing size ARRAY JOIN output correctly. (Groene AI).
featureBackported in: With distributed_plan_join_runtime_filters, a runtime filter that is no longer needed by its receiver no longer produces EXCHANGE_PEER_DISCONNECTED errors in system.errors and in the log. (Alexander Gololobov).
featureBackported in: Rename integer division setting to sql_compatible_division_for_integers. (Ilya Yatsishin).
featureBackported in: Revert "SLRU filesystem cache: promote partially downloaded file segments". (Sema Checherinda).
featureBackported in: Pin the old server image of test_custom_s3_disk_remote_url_allow_hosts to 26.8.26.12. (Groene AI).
featureBackported in: Decline automatic parallel replicas when the coordinated read gets another read's analysis. (Nikita Taranov).
featureBackported in: Keep the sliceContains block loop independent of the first-vector test on AArch64. (Groene AI).
+61 more items in the release notesfixBackported 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).