ClickHouse 26.8.44.3 → 26.10.10.3
42 releases · 41 breaking changes · 5 security fixes · 0 advisories fixed
5security41breaking0deprecated83feature338fix
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
- 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
- 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.9.30.7
- breaking Remove an unused repository switch from ReleaseBranchCI. (Alexei Fedotov). in 26.9.28.166
- breaking Backported in: Remove object addresses from NATS, io_uring and HDFS messages. (Raúl Marín). in 26.9.24.8
- breaking Backported in: Remove object addresses from logical error messages. (Raúl Marín). in 26.9.24.8
- 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.9.21.9
- breaking Backported in: Overriding a key that is stored in a named collection now requires SHOW NAMED COLLECTIONS SECRETS on that collection. This also applies to overrides through an alias (including flat kafka_* settings over nested kafka.* keys), through a SETTINGS clause of a table engine or table… in 26.9.20.23
- breaking Backported in: Connections to MySQL (the mysql table function, the MySQL table and database engines, and MySQL dictionaries) that set ssl_ca or ssl_ca_pem now verify the server certificate chain and host name, after updating mariadb-connector-c to v3.4.10. Previously the CA was not enforced, so a… in 26.9.20.23
- breaking Backported in: Remove --icf=safe linker warnings about SHT_LLVM_ADDRSIG in the stripped Rust libraries. (Raúl Marín). in 26.9.8.3
- breaking Backported in: Update the zxc library to v0.14.0, which changes the compressed block format of the experimental ZXC codec. Data written with CODEC(ZXC) by earlier versions cannot be read by the new version and fails with CANNOT_DECOMPRESS. If you used the experimental ZXC codec, re-encode the… in 26.9.6.6
- breaking Backported in: A MySQL dictionary source created with a CREATE DICTIONARY query can no longer enable enable_local_infile, at the source or at one of its REPLICA entries; loading such a dictionary fails with BAD_ARGUMENTS, which with the default dictionaries_lazy_load is on first use rather than at… in 26.9.2.8
- breaking The default compression method is changed from LZ4 to ZSTD(3). For client/server and server/server network communication it switches uniformly to ZSTD(3). For on-disk table data, MergeTree column data now uses a size-aware built-in default — LZ4 below 100 MB and ZSTD(3) at or above it, applied to… in 26.9.1.1629
- breaking Removed the CatBoost integration. The catboostEvaluate function, the system.models table and the SYSTEM RELOAD MODEL(S) queries are no longer available. Queries, views and grants referring to them have to be migrated before the upgrade: in particular, revoke SYSTEM RELOAD MODEL from all users and… in 26.9.1.1629
- breaking Fix setting temporary_files_buffer_size or format_avro_schema_registry_* to an out-of-range value making every subsequent query in the session fail, with no way to recover; the values are now bounded when they are set. (Pedro Ferreira). in 26.9.1.1629
- breaking Fixed wrong results from runningConcurrency. Its value depends on the rows processed before it, but it declared itself deterministic within a query, so a predicate on it above a LEFT or ANY join let optimizer passes rewrite the join and change the row set it sees, and if, multiIf, and and or… in 26.9.1.1629
- breaking The experimental WINDOW VIEW feature is removed, together with the WATCH statement and the windowID function. It has been non-functional since version 24.12 (inserts into the source table were silently not delivered to window views) and was never supported by the analyzer, which is enabled by… in 26.9.1.1629
- breaking Removed the deprecated read_resource and write_resource disk options from storage_configuration. Attach a scheduler resource to a disk with CREATE RESOURCE name (READ DISK disk, WRITE DISK disk) instead. (Sergei Trifonov). in 26.9.1.1629
- breaking Removed the WasmEdge engine for WebAssembly UDFs. wasmtime, which has always been the default, is now the only supported value of the webassembly_udf_engine server setting. A server configured with wasmedge will not start; remove that setting or set it to wasmtime. On binaries where wasmtime is… in 26.9.1.1629
- breaking Removed the sharded GROUP BY aggregation (setting enable_sharding_aggregator, disabled by default) in favor of the adaptive aggregation (enable_adaptive_aggregator, enabled by default), which targets the same high cardinality workloads without the weaknesses on skewed or low-cardinality keys and… in 26.9.1.1629
- breaking Backported in: Outbound TLS connections now verify that the server certificate names the host that was connected to. This affects clickhouse-client --secure, remoteSecure(), Distributed over the secure native protocol, secure Keeper connections, and HTTPS clients such as s3(), url(), HTTP… in 26.9.1.1629
- breaking max_bytes_before_external_join and max_bytes_ratio_before_external_join are now the spill threshold for every hash-based join_algorithm, including grace_hash, which previously ignored them and spilled on max_rows_in_join / max_bytes_in_join instead. Those two are a hard cap again for every… in 26.9.1.1629
- breaking Setting allow_experimental_codecs is obsolete. Use the per-codec settings enable__codec instead. (Raufs Dunamalijevs). in 26.9.1.1629
- breaking Reading a File source with rename_files_after_processing set now requires the WRITE ON FILE grant on top of READ ON FILE, on the initiator for fileCluster: the setting renames the files a SELECT has read, which is a write to the source, and it used to happen for anyone who could read them. A query… in 26.9.1.1629
- breaking The interface and http_method columns of system.query_log, system.query_thread_log and system.processes are now Enum8 instead of UInt8, over the value set system.session_log.interface already uses, plus Unknown for an unrecognized reported interface. Comparing to a number keeps working (WHERE… in 26.9.1.1629
- breaking The analyzer can no longer be disabled: the enable_analyzer setting (and its old name allow_experimental_analyzer) is obsolete, an attempt to set it to 0 is rejected, and the compatibility setting no longer reverts it. The analyzer has been the default since 24.3, and the query analysis used… in 26.9.1.1629
- breaking CREATE TABLE ... AS mergeTreeIndex(...) is no longer accepted, nor the same form over mergeTreeProjection, mergeTreeAnalyzeIndexes, mergeTreeAnalyzeIndexesUUID, mergeTreeTextIndex and mergeTreeCodecBlockCounts. The storage these functions return holds its source table's storage object, so once… in 26.9.1.1629
- breaking Headers that Google Cloud Storage spells with an x-goog- prefix are now translated for every request, not only for server-side copies. Custom object metadata written to GCS over the S3 API without HMAC credentials — how ClickHouse Cloud on GCP accesses object storage — previously did not take… in 26.9.1.1629
- breaking Nullable(Tuple(...)) is now generally available and enabled by default. Nullable(Tuple(...)) columns can be created without any setting, schema inference of nullable structs in the Parquet, Arrow, ORC, Avro and JSON formats returns Nullable(Tuple(...)), and a Tuple subcolumn extracted from a… in 26.9.1.1629
- breaking Remove s3_disable_checksum, since checksum calculation for S3 does not read the source second time anymore (previously the problem was that sources has been read twice, once for sending data, second for checksum calculation). (Azat Khuzhin). in 26.9.1.1629
- breaking CREATE TABLE ... AS timeSeriesSamples(...) is no longer accepted, nor over its alias timeSeriesData or over timeSeriesTags and timeSeriesMetrics. The persisted proxy renamed that live target table in memory on first read: DROP TABLE then dropped the user's table and destroyed its rows, and reads… in 26.9.1.1629
- breaking New setting validate_group_by_all_key_types (default true) gates the key type validation that GROUP BY ALL applies to the grouping keys it expands the SELECT expressions into. Since 26.7 it rejects a Variant or Dynamic grouping key, for example an untyped JSON subpath, that earlier versions… in 26.9.1.1629
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
- security Backported in: Update the vendored expat to 2.9.0, fixing a denial of service through a crafted backup manifest during RESTORE (CVE-2026-66046) and the other 2.8.3–2.9.0 security fixes. (Actuele AI). in 26.9.20.23
- security Backported in: Update mongo-c-driver to 2.5.5, fixing an out-of-bounds write during MongoDB connection monitoring reconnects (CVE-2026-96746). (Actuele AI). in 26.9.17.8
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).
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).
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…
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: 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: 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 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 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 crash and wrong TYPE_MISMATCH or CANNOT_CONVERT_TYPE errors when contingencyState, cramersVState, cramersVBiasCorrectedState or theilsUState is used as a window function and its result goes through a spill to disk, a CAST, or a distributed query plan. contingencyMapMerge and…
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: 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: Fixed optimize_rewrite_aggregate_function_with_if (enabled by default) turning a short-circuit-guarded aggregate such as sum(if(number = 0, 0, intDiv(42, number))) into a query failure: the rewritten sumIf(intDiv(42, number), number != 0) evaluates its argument for every row, so the…
fixBackported in: Bloom filters of skip indexes respect the memory limits, so creating large filters fails with MEMORY_LIMIT_EXCEEDED instead of the server being killed by the OOM killer. Text bloom filter indexes (tokenbf_v1, ngrambf_v1, sparse_grams) with the total size of filters in a granule…
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: Fix a typo in a comment in HTTPServerResponse. (Alexei Fedotov).
breakingRemove an unused repository switch from ReleaseBranchCI. (Alexei Fedotov).
featureBackported in: Add the tcp_with_proxy_allow_interserver_mode server setting, which allows disabling the native protocol's interserver mode on tcp_with_proxy_port. (Pradeep Chhetri).
fixBackported 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).
otherBackported in: Improve glue catalog cache. Let's cache only mapping column name -> timestamp, not the whole metadata. (Konstantin Vedernikov).
fixBackported in: Fix a second-factor bypass in the MySQL protocol: a user configured with plaintext_password or double_sha1_password plus a time-based one-time password could authenticate with the password alone, because the mysql_native_password auth response was verified without checking the TOTP.…
fixBackported in: Fix query parameters in the filter of CREATE ROW POLICY and ALTER ROW POLICY being stored unsubstituted: a {db:Identifier} table qualifier was resolved in the current database of the query reading the table, and a value parameter made every read of the table fail. The parameters are…
fixBackported in: Fixed a row-policy bypass where an authenticated user could forge the result of a scalar subquery used in a row policy (e.g. USING has((SELECT ...), col)) by sending a Scalar packet (as with clickhouse-client --external ... --scalar) named with the subquery's query-tree hash, and…
fixBackported in: Creating a FileLog tables now require READ and WRITE privileges, analogous to File tables. (Robert Schulze).
fixBackported in: For users with a time-based one-time password, the error REQUIRED_SECOND_FACTOR is now returned whenever the code is missing, regardless of whether the password is correct. Previously a wrong password without a code returned AUTHENTICATION_FAILED, which allowed guessing the password…
fixBackported in: Keeper no longer pre-allocates memory for the array size declared in a request (for example the ACL list in Create) before it reads the array elements. Before this fix, a small malformed request could cause a large memory allocation. (Antonio Andelic).
fixBackported in: Fixed wrong strings, sometimes followed by an UNKNOWN_PACKET_FROM_SERVER error, when a sparse Nullable(String) column is sent over the native protocol to clickhouse-client or between servers by remote, cluster and Distributed, for example toString(nullIf(x, 0)) over a sparse column,…
fixBackported in: Fix polygonConvexHullCartesian returning garbage for a polygon with an empty exterior ring and a non-empty interior ring. (Alexey Milovidov).
fixBackported in: Fixes a crash in estimateCompressionRatio with codecs DoubleDelta and Gorilla. (Robert Schulze).
otherBackported 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).
otherBackported in: Do not skip the client output teardown when the terminal is gone. (Groene AI).
fixBackported in: Fixed a query silently returning fewer rows after an unrelated JOIN had run: a join runtime filter (enable_join_runtime_filters) moved into a read's PREWHERE made the read record a "no matching rows" verdict in the query condition cache for granules, or Parquet row groups, whose…
fixBackported in: Mask credentials embedded in HTTP URIs. (Han Fei).
fixBackported in: Fix a stack overflow on a deeply nested query plan received in the QueryPlan packet of the native protocol. (Alexey Milovidov).
fixBackported in: Fix use-after-free in complex key ssd_cache dictionaries when the cache file wraps around its partitions. Fix CANNOT_READ_ALL_DATA when reading long values of ssd_cache dictionaries from the cache file. (Alexey Milovidov).
fixBackported in: Fixed count() with WHERE d = toDate32('1900-01-01') (or !=) over a MergeTree Date32 column returning the number of 1970-01-01 rows when optimize_trivial_count_with_sparsity_filter is enabled (the default since 26.8). Closes. (Groene AI).
breakingBackported in: Remove object addresses from NATS, io_uring and HDFS messages. (Raúl Marín).
breakingBackported in: Remove object addresses from logical error messages. (Raúl Marín).
otherBackported in: Reduce repeated IN evaluation when many adjacent singleton row-mask updates are applied to one part. (Sergey Kuznetsov).
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…
otherBackported in: BACKUP uses less memory per file it backs up: an entry of the backup no longer keeps a copy of the description of the disk the file is on. A backup of a table with millions of files saves a few gigabytes. (Julia Kartseva).
otherBackported 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…
otherBackported 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.…
fixBackported in: Fixed a read of uninitialized memory when a Variant, Dynamic or JSON column holding only NULL values is compressed, for example on insert into a Memory table created with compress = 1, or when a block is compressed for a JOIN or for the query result cache. The reported size of such…
fixBackported in: BACKUP and RESTORE to S3 retry requests that fail with ExpiredToken after refreshing credentials. The retry time limit is 120 seconds by default and can be changed with backup_s3_expired_token_retry_timeout_ms. (Nikolai Ovchinnikov).
fixBackported in: Fixed a server crash (or missing rows in the view, with a Null source table) on INSERT into the source table of a materialized view when a row policy or additional_table_filters of a table read by the view references the source table, e.g. USING x IN src. (Groene AI).
fixBackported in: Fix a segmentation fault in GROUP BY with the adaptive aggregator and external aggregation when a memory limit was hit while draining staged records. (Alexey Milovidov).
fixBackported in: Fix segfault when reading a MySQLDump file whose CREATE TABLE query has an ENUM column without a list of values or with non-string values. (Alexey Milovidov).
fixBackported in: Fixed a heap-use-after-free in the view dependency graph after renaming a materialized view whose query selects from itself. CREATE MATERIALIZED VIEW and ALTER TABLE ... MODIFY QUERY now reject a query that makes a materialized view select from itself. (Groene AI).
fixBackported in: Fix a stack overflow when a Redis server replies with deeply nested arrays. (Alexey Milovidov).
fixBackported in: Fix a stack overflow on a Protobuf schema with a very long chain of nested messages. (Alexey Milovidov).
otherBackported in: Not required. (Groene AI).
otherBackported in: An equality with a Bool value that no statistics can estimate, such as WHERE j.f = false on a JSON path, a Bool column without statistics, or IN with a Bool set, is now estimated to match half of the rows per value instead of 1%, so a join on such a filtered table builds its hash…
fixBackported in: Fixed crashes of the interactive line editor of clickhouse-client and clickhouse-local, which also crashed the server when used through the web terminal or an SSH session: after a history search that found nothing on an edited recalled query, when the prompt or the line given to an…
breakingBackported 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).
otherBackported 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).
otherBackported 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).
otherBackported 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).
fixBackported in: Requesting SSH-key authentication over the native protocol no longer reveals whether the named user exists, or how it authenticates, before its signature is checked. (Shaohua Wang).
fixBackported in: Reject CR and LF characters in values sent as HTTP headers or in the request line of outgoing HTTP requests (BigQuery, YTsaurus, url, DataLake catalogs, GCP OAuth, AI functions, S3 storage class), which could be used to inject headers or additional requests. (Raúl Marín).
fixBackported in: The setting http_zlib_compression_level now applies only to the gzip and deflate HTTP response compression. The level of other methods (zstd, lz4, br, xz, bz2) is controlled by output_format_compression_level. Previously, a level suitable for zlib was passed to every method, which…
otherBackported in: Use node ids instead of addresses in pipeline diagnostics. (Raúl Marín).
breakingBackported in: Overriding a key that is stored in a named collection now requires SHOW NAMED COLLECTIONS SECRETS on that collection. This also applies to overrides through an alias (including flat kafka_* settings over nested kafka.* keys), through a SETTINGS clause of a table engine or table…
breakingBackported in: Connections to MySQL (the mysql table function, the MySQL table and database engines, and MySQL dictionaries) that set ssl_ca or ssl_ca_pem now verify the server certificate chain and host name, after updating mariadb-connector-c to v3.4.10. Previously the CA was not enforced, so a…
otherBackported in: A filter on the PARTITION BY columns of a window function is no longer pushed below the window (this reverts). The push-down made queries up to 8 times slower when the window reads a JOIN and the filter removes every row, for example IN over an empty subquery, because the join built…
otherBackported in: A packet that cannot appear at the current point of the native protocol is now rejected without deserializing its payload. Previously the server deserialized the body of an unexpected Data packet — including arbitrary data types and aggregate function states — only to throw…
featureBackported in: Add S3 bucket to remote_url_allow_hosts. (Konstantin Vedernikov).
otherBackported in: Reduced the peak memory usage of RESTORE and of incremental BACKUP: the metadata file of a backup is now parsed while it is read, instead of being read into memory whole first. For backups of millions of files this saves gigabytes. (Julia Kartseva).
fixBackported in: Fixed a crash caused by a stack overflow when a deeply nested JSON document was parsed into a JSON column or passed to the JSONExtract family of functions. Such documents are now rejected with the TOO_DEEP_RECURSION error. (Pavel Kruglov).
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: Fixed CANNOT_READ_ALL_DATA (while reading prefix of column ...) during query planning when a MergeTree table has an active empty Wide part, left by a TTL drop or by a mutation that deleted all rows of a part, and the query filters on a subcolumn, such as a key of a…
securityBackported in: Update the vendored expat to 2.9.0, fixing a denial of service through a crafted backup manifest during RESTORE (CVE-2026-66046) and the other 2.8.3–2.9.0 security fixes. (Actuele AI).
fixBackported in: Fixed loading, short ATTACH, and UNDROP TABLE for existing SQL-defined S3 disks whose endpoints are absent from remote_url_allow_hosts; new full-definition CREATE and ATTACH still reject disallowed endpoints. (Alexey Bakharew).
fixBackported in: Fixed ORDER BY ... LIMIT over a column of an Interval type (or Nullable, LowCardinality, Tuple or Array of one) failing with TYPE_MISMATCH when use_top_k_dynamic_filtering is enabled, which is the default. Closes. (Groene AI).
fixBackported in: Fixed a stack overflow crash on a deeply nested CapnProto schema that the nesting depth check missed: a comment or a byte order mark between import and its path, an escape sequence in the import path, or a backtick text line. A backtick text line with many brackets is no longer…
fixBackported in: Fixed a possible segmentation fault when reading an Avro map into a Map column (for example Map(DateTime, String)) with the AvroConfluent format, including Kafka tables. Closes. (Groene AI).
fixBackported in: Fixed an issue where pressing Ctrl-R and then Ctrl-Z in the web terminal or the SSH interface suspended the whole server process. (Alexey Milovidov).
fixBackported in: Fix a wrong result, or an exception in debug builds, when optimize_aggregators_of_group_by_keys eliminated any, min or max of a GROUPING SETS key with group_by_use_nulls. (Alexey Milovidov).
fixBackported in: Fixed a server crash when a RabbitMQ table with the headers exchange type had a routing key without =, or when rabbitmq_routing_key_list was empty. Routing keys without = for the headers exchange type are now rejected with an exception. The problem was found and reported by @dstesk…
fixBackported in: Allow to do vertical merge if result part storage type is not Full. (alesapin).
fixBackported in: Fixed a crash (stack overflow) on a CapnProto schema with a long chain of type expression suffixes (Int32.a.a..., Int32()()...) or of declarations that refer to each other (constants, aliases, struct fields, annotations, imports). Such a schema is now rejected with The CapnProto…
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 -…
otherBackported in: Update vectorscan to 5.4.13. (Actuele AI).
otherBackported in: Observed as a bottleneck in the ci-logs cluster. (Mikhail Artemenko).
otherBackported in: DROP TABLE, DETACH TABLE, server shutdown and ALTER TABLE ... MODIFY SETTING refresh_statistics_interval no longer wait until a running background refresh of the statistics cache of a MergeTree table has read the statistics of every part. On object storage with thousands of parts…
fixBackported in: Fix ALTER TABLE ... MATERIALIZE STATISTICS / DROP STATISTICS failing forever and wedging the table's mutation queue when a server profile sets allow_statistics = 0 and the statement enables it per-session, the same opt-in ADD STATISTICS honours. Also close a hole where MATERIALIZE…
fixBackported in: Fix a credential written in cleartext to system.query_log and the server log when a key = value argument precedes the positional arguments of the mongodb, redis, remote, arrowFlight and ytsaurus table functions or the MongoDB, Redis, Remote, ArrowFlight, ExternalDistributed and…
fixBackported in: Fixed queries that go through another server (remote, Distributed, parallel replicas, GLOBAL IN) failing with SYNTAX_ERROR, UNKNOWN_CODEC or CORRUPTED_DATA when output_format_native_encode_types_in_binary_format or input_format_native_decode_types_in_binary_format is enabled. The…
fixBackported in: Free prefetched messages when StorageKafka2 partitions move between consumers, preventing per-partition memory growth until restart. (Aparajita Pandey).
fixBackported in: The web terminal and the SSH interface no longer reset the settings of the user (from settings profiles, roles, and CREATE USER ... SETTINGS) to default values. Previously, restrictions such as readonly, resource limits, and additional_table_filters were not applied in these…
fixBackported in: Don't fuse a filter into ARRAY JOIN before its row-only part is lifted below it, so the element filter doesn't copy the whole array to every element. (Konstantin Vedernikov).
otherBackported in: Not required. (Groene AI).
featureBackported in: optimize_and_compare_chain again derives transitive conditions through a DateTime or lower-scale DateTime64 constant compared with a DateTime64 expression, as it did before 26.8. For example, t1.ts = t2.ts adds t2.ts < toDateTime('2026-09-16 00:00:00'), so the other side of a join…
featureBackported in: Added a server setting access_control_improvements.readonly_restricts_set_role, false by default. When enabled, SET ROLE is refused with error code READONLY in a session or query whose readonly setting is not zero. Previously SET ROLE was the only identity-changing statement that…
featureBackported in: Added the setting use_aggregation_memory_tracker to choose how GROUP BY measures its memory when deciding on two-level aggregation. compatibility below 26.9 restores the measurement from before 26.7. (Hechem Selmi).
fixBackported in: Fix wrong results for uniq*, GROUP BY, LIMIT n BY, ORDER BY after GROUP BY, and window PARTITION BY over toString of a DateTime/DateTime64 in a time zone with a daylight-saving transition, and over toFixedString of a String. Both functions claimed to be injective while mapping…
fixBackported in: Fixed the LOGICAL_ERROR Reading from materialized CTE '...' before its materialization completed - DelayedPortsProcessor gate is missing in the query plan raised when an IN or other set subquery defines a MATERIALIZED CTE that two other MATERIALIZED CTEs of that subquery read (for…
fixBackported in: Fixed use_skip_indexes = 0 also disabling part pruning by the partition-key min-max index (since 26.5), which made such queries read every part of the table. (Ashish Kumar Choubey).
fixBackported in: Reject malformed serialized groupBitmap states with INCORRECT_DATA instead of failing later during bitmap operations. (Elmi Ahmadov).
fixBackported in: Fixed a WHERE condition or a row policy on a Hive partition column (use_hive_partitioning = 1) returning too few rows when the Parquet data file also has a column with that name and other values: Parquet row-group, page and dictionary pruning used the file's values instead of the…
fixBackported in: Fixed a heap use-after-free in the s3, azureBlobStorage, hdfs and other object storage table functions and engines when an exception (for example MEMORY_LIMIT_EXCEEDED) was thrown while creating the reader of a file in a row input format such as CSV. (Groene AI).
fixBackported in: Fixed a server crash, wrong results or a rejected query in ORDER BY ... WITH FILL ... INTERPOLATE when one INTERPOLATE expression has to be converted to its target's type and another item reads the same column or literal, for example INTERPOLATE (a AS b, b AS a) with targets of…
featureBackported in: Restore min/max pruning of Iceberg data files for a Decimal(38, 38) column. A manifest bound of magnitude above roughly 0.7 cannot be widened inside Int128 and was dropped, which left the column without a min/max condition; it is now saturated at the largest magnitude the precision…
fixBackported in: The collections of the Native protocol — the settings and the query parameters of a query, the client information, the granted roles and the table-status lists — are now bounded, so a small packet can no longer make the server allocate memory for data that has not arrived. (Alexey…
fixBackported in: Fixed a crash on a query with a deeply nested Dynamic or JSON constant. (Pavel Kruglov).
fixBackported in: Fix NOT_IMPLEMENTED for an outer JOIN with join_algorithm = 'full_sorting_merge' when optimize_and_compare_chain derived a condition on the preserved side of the join from the ON clause. (Yarik Briukhovetskyi).
securityBackported in: Update mongo-c-driver to 2.5.5, fixing an out-of-bounds write during MongoDB connection monitoring reconnects (CVE-2026-96746). (Actuele AI).
otherBackported in: Update thrift to v0.25.0. (Actuele AI).
fixBackported in: Fixed a crash on INSERT into a MergeTree table when a materialized view over it reads the same table from a correlated subquery, IN or a non-leftmost table of an IN subquery. (Groene AI).
fixBackported in: Fixed TRUNCATE TABLE of an Alias table whose target is a MergeTree failing with DEADLOCK_AVOIDED when the alias is being read concurrently, while the same statement against the target table succeeds immediately. The lock for TRUNCATE is now chosen and taken on the table that…
fixBackported in: Fix a vector search returning fewer rows than its LIMIT, and missing true nearest neighbours, after a lightweight DELETE (or with a delete mutation applied on the fly): the vector index is no longer used for a part while it still holds deleted rows. (Alexey Milovidov).
fixBackported in: Fixed wrong results, or an ILLEGAL_COLUMN error, of a JOIN whose condition equates both a column and an expression of that column (for example ON t1.k = t2.k AND intDiv(t1.k, 2) = intDiv(t2.k, 2)) when a filter on that expression is pushed down to the other side of the join: the…
fixBackported in: Fixed parallel replicas not being used when reading a Distributed table whose underlying table is another Distributed table and every shard of the outer cluster has a single replica. (Igor Nikonov).
fixBackported in: Fixed duplicated rows returned by ANY RIGHT JOIN with any_join_distinct_right_table_keys = 1 when parallel replicas are enabled. (Groene AI).
fixBackported in: Fixed excessive memory usage when loading a data part with a corrupted columns_substreams.txt; such a part is now detached as broken. (Murphy).
fixBackported in: Fixed CREATE MATERIALIZED VIEW ... POPULATE and CREATE TABLE ... AS SELECT in a Replicated database with parallel replicas enabled: each replica sent its population to other replicas, so its rows landed in other replicas' tables (duplicated there, missing on the replica itself), or…
fixBackported in: Fixed slow planning of queries with skip indexes on tables with many parts and pending patch parts of lightweight updates. (Anton Popov).
fixBackported in: Fixed a crash (stack overflow) when reading an Avro file with an explicit structure that does not read a field nested through a long chain of named types, or a field of a recursive type holding deeply nested data such as a long linked list. Such a file now fails with…
otherBackported in: Do not use parallel replicas for clusterAllReplicas. (Igor Nikonov).
otherBackported in: Faster sorted-stream processing on a multi-column key whose leading column has long runs, in LIMIT BY, negative LIMIT BY, DISTINCT in order, window functions (peer groups and PARTITION BY boundaries), full_sorting_merge and partial_merge JOIN, and ReplacingMergeTree FINAL without…
fixBackported in: Fix corrupted shared data of nested JSON objects after a failed attempt to parse a value during insert. It could lead to errors like Unexpected version of JSON type binary encoding or Unknown type code when reading the data after merges or when serializing it in binary formats.…
fixBackported in: Fixed a query failing with an exception like Cannot parse UInt64 from String on a table with a text index on mapKeys or JSONAllPaths, when the predicate cannot be evaluated on the value of a missing map key or JSON path. (Anton Popov).
otherBackported in: Use castStorage for the Join row policy check in the legacy analyzer. (Vladimir Cherkasov).
otherBackported in: bloom_filter and text indexes are now used when a Nullable indexed column is cast to the non-Nullable type, such as CAST(x, 'String') or json.path::String. A query that would throw on a NULL value may not throw when the index skips the granules with NULL. (Anton Popov).
fixBackported in: Fix reading bucketed runtime Map values from JSON columns using advanced shared-data serialization. (Rory Shanks).
fixBackported in: Fix DeltaLake stats pruning with Date cast. (Arsen Muk).
fixBackported in: Fix EXPLAIN PLAN actions = 1 printing a secret function argument (for example the key of HMAC or encrypt) in cleartext when its value came from a subquery or from the other side of a JOIN. (Vladimir Cherkasov).
fixBackported in: Fix INSERT failing with ILLEGAL_FINAL or SAMPLING_NOT_SUPPORTED when a materialized view applies FINAL or SAMPLE to its own source table inside a subquery. Regression in. (Jimmy Aguilar Mena).
fixBackported in: Fix a rare server crash (SIGSEGV in mongoc_log) when a MongoDB dictionary source or MongoDB table was created while another thread created the first MongoDB connection in the process. Messages logged by the MongoDB driver now go to the server log. (Vladimir Cherkasov).
otherBackported in: CRoaring v5.2.3 exposes internal_validate() on the C++ RoaringBitmap wrappers, so RoaringBitmap data can be validated. (Elmi Ahmadov).
otherBackported in: Update cctz to 2026e. (Actuele AI).
fixBackported in: Fixed a LOGICAL_ERROR in arraySlice on a QBit column replicated by ARRAY JOIN or a JOIN. (Groene AI).
otherBackported in: A WHERE that no row passes is pushed to every JOIN input again, including the non-preserved side of an OUTER JOIN and a side with no column used above the join, so that input is no longer read and hash-built for nothing. For example, a UNION ALL branch whose constant column fails…
otherBackported in: Hash joins with many matches per key are faster when they output a LowCardinality column whose blocks have different dictionaries (several parts, FINAL, or a LowCardinality value computed per block): short ranges from another dictionary are now inserted key by key instead of through…
featureBackported in: Added the setting query_plan_filter_push_down_below_limit_by (default 1), controlling whether filters on LIMIT BY key columns are pushed below the LIMIT BY step. Setting it to 0 restores the plan shape used before 26.7, for queries where the pushed predicate makes index analysis…
fixBackported in: Mask secrets in the queries that a cluster-mode QueryRunner table writes to system.query_log as well as in queries executed as startup scripts. (Miсhael Stetsyuk).
fixBackported in: Tables in a database with lazy_load_tables were missing from system.parts, system.replicas and related system tables, and refused by replica commands, after a restart. (Nikolay Degterinsky).
fixBackported in: Fix a server abort when reading an Iceberg table whose sort order names a transform ClickHouse cannot parse (e.g. bucket[xyz]); ClickHouse now ignores that sort-order hint and keeps the table readable. (Ilias).
fixBackported in: Comparing an Enum column with a string literal that is not one of its elements no longer throws UNKNOWN_ELEMENT_OF_ENUM when validate_enum_literals_in_operators is disabled (the default) and the column is part of the primary key, the partition key, or a bloom_filter index. != with…
fixBackported in: Fix Found patch part ... that intersects mutation with version ... on lightweight updates in a table created with CREATE TABLE ... CLONE AS or ATTACH PARTITION ALL FROM a table with lightweight updates. (Nikolay Degterinsky).
fixBackported in: Fix UNKNOWN_IDENTIFIER in the analyzer when a table is referenced as database.table in FROM or JOIN and another table expression in the same query uses that database name as its alias, for example FROM db.t1 AS db INNER JOIN db.t2 AS t ON .... Closes. (Dmitry Novik).
fixBackported in: Fixed wrong results when a WHERE clause mixing AND and OR was evaluated with skip indexes (use_skip_indexes_for_disjunctions, enabled by default). If a minmax or set index could not evaluate one atom of the predicate for a granule, the per-atom verdicts recorded for that granule…
fixFix iceberg_tolerate_conflicting_manifest_schemas being reverted to false by compatibility settings of 26.8 or 26.9 on 26.9 servers, which made Iceberg reads fail with ICEBERG_SPECIFICATION_VIOLATION on tables whose manifest schemas conflict with metadata.json. (Asya Shneerson).
otherBackported in:. (Alexey Milovidov).
fixBackported in: Fix container existence check during RESTORE of a lightweight snapshot from Azure Blob Storage by parsing the saved namespace into container name and prefix. (Garrett Thomas).
otherBackported in: Reduced the setup of the 04510_distributed_final_many_partitions test from 150 to 65 partitions. (Groene AI).
otherBackported in: Filesystem cache: make reserve granularity dynamic. (Kseniia Sumarokova).
fixBackported in: Fixed a text index dropping matching rows when a FixedString is involved in the comparison: a term-preserving tokenizer over a String column lost the rows whose value carries literal trailing zero bytes when the search constant is a FixedString, and an index over a FixedString…
fixBackported in: Rewriting the body of a view with ALTER TABLE ... MODIFY QUERY now needs the same grants as creating it with its SQL security: SET DEFINER on the definer of a SQL SECURITY DEFINER view, or ALLOW SQL SECURITY NONE for a SQL SECURITY NONE view. An ON CLUSTER MODIFY QUERY fails with…
fixBackported in: Fix basic statistics of parts written by 26.6 or 26.7: after ALTER TABLE ... UPDATE or a lightweight DELETE, non-Nullable columns reported a default-value count of 0, which made selectivity estimates wrong. Query results were not affected. To repair parts that are already affected,…
fixBackported in: Fix a possible hang of a query under workload CPU scheduling with cpu_slot_preemption enabled: when all its threads were preempted, the query could keep CPU slots it had already used and wait forever for one of them. (Sergei Trifonov).
fixBackported in: Fixed a LEFT/RIGHT/FULL JOIN without an equality key that failed with INVALID_JOIN_ON_EXPRESSION (Cannot determine join keys) when its WHERE clause also contained an IN (subquery). The WHERE filter now converts such a join to INNER again, as it did in 26.6, which also restores that…
fixBackported in: Respect iceberg_metadata_staleness_ms in metadata parsing. (Konstantin Vedernikov).
fixBackported in: Fixed a segmentation fault or std::length_error when reading TSV formats with input_format_tsv_crlf_end_of_line = 1 if an escape sequence ended exactly at the end of a read buffer. (Groene AI).
otherBackported in: Enabled the text index posting lists cache by default (use_text_index_postings_cache). Previously each query used a private cache capped at 100 MiB, which on large tables caused posting lists and phrase search results to be recomputed several times within a single query; a 4-token…
otherBackported in: Skip indexes (bloom_filter, tokenbf_v1, ngrambf_v1, minmax) and the primary key are now used when the indexed column is wrapped into a conversion that does not change its value, such as toLowCardinality, toNullable or a CAST to Nullable or LowCardinality. (Anton Popov).
fixBackported in: Fix an out-of-bounds read when deserializing a uniqTheta state shorter than 24 bytes, for instance from CAST( AS AggregateFunction(uniqTheta, ...)). (Alexey Milovidov).
otherBackported in: Faster planning of queries to Iceberg tables with many manifest files: when a manifest file header has the schema-id key and that schema is already known from metadata.json, the schema copy stored in the manifest header is no longer parsed and compared with it. ClickHouse now also…
otherBackported in: Hide the HTTP headers in the definition of HTTP dictionary sources in SHOW CREATE DICTIONARY, system.tables and query logs, the same way as passwords. They can be shown with the existing display_secrets_in_show_and_select mechanism. (Matheus Nerone).
fixBackported in: Fixed SYSTEM SYNC TRANSACTION LOG (local, non-ON CLUSTER form) not checking the SYSTEM_SYNC_TRANSACTION_LOG privilege. The ON CLUSTER form already required it via getRequiredAccessForDDLOnCluster, but the local execution path skipped checkAccess, so a user without the grant could…
fixBackported in: Fixed asynchronous TLS connections occasionally failing with an unrelated OpenSSL error left by another connection on the same OS thread. This could terminate distributed queries with a misleading network exception. (Dmitriy Borisenko).
fixBackported in: Fixed an ssl_certificate authentication bypass where an embedded NUL byte in a certificate's Common Name (for example john\0.evil.com) was truncated server-side to john, letting a holder of such a certificate authenticate as a different user. (Konstantin Bogdanov).
fixBackported in: Prevent asynchronous inserts that only need to buffer data from being blocked by another insert waiting for a flush worker while holding their shared queue lock. Ensure a global forced flush waits for batches removed from the queue that are still waiting for a worker. (RJ).
fixBackported in: Skip indexes (text, tokenbf_v1, ngrambf_v1) are now used when the indexed column or the searched constant is wrapped into LowCardinality, Nullable or an equivalent CAST. For example, m['key'] = 'value' on a Map(String, LowCardinality(String)) column and hasToken(s,…
fixBackported in: EXPLAIN AST printed secret function arguments, such as the key of encrypt, in clear text, and with optimize = 1 it did so for the body of a view the user may only SELECT from. The dump now prints '[HIDDEN]' in their place, under the same gate as SHOW CREATE. (Harikrishnan Prabakaran).
fixBackported in: Column-level SELECT privileges are now enforced for columns used only inside indexHint and for ALIAS columns referenced in PREWHERE. As in WHERE, referencing an ALIAS column in PREWHERE requires the grant on the alias name; a grant on its source columns is no longer sufficient. A…
fixBackported in: Fix a server crash (SIGSEGV) when a CREATE TABLE ... PROJECTION / ALTER TABLE ... ADD PROJECTION statement is restored from a clickhouse_json AST whose projection query subtree contains a function node without an arguments list. The malformed payload is now rejected with…
fixBackported in: Fixed a row policy bypass: a direct JOIN with an EmbeddedRocksDB, KeeperMap or Redis table in the legacy analyzer (enable_analyzer = 0) ignored the row policy of the right table and returned hidden rows, and joinGet on a Join table ignored its row policy in both analyzers. Such a…
fixBackported in: Fix NO_COMMON_TYPE in case of use_variant_as_common_type=0 for jemalloc fragmentation dashboard. (Azat Khuzhin).
fixBackported in: Now statistics parts pruning will not work if table has row level policy. (alesapin).
fixBackported in: Fix filesystem cache accounting when the directory for a new cache key cannot be created, for example because the cache disk is out of space or inodes. The failed reservation stayed counted in the cache until the query released the file segment. (Sema Checherinda).
fixBackported in: CREATE OR REPLACE in a Replicated database or with ON CLUSTER now requires the drop privilege for the kind of the table it replaces, so a user without DROP DICTIONARY can no longer replace a dictionary. (Nikolay Degterinsky).
fixBackported in: Fix LOGICAL_ERROR Cannot capture column N because it has incompatible type when a materialized view with a lambda over an Array(Tuple(...)) column receives a block while the source table's column type is being changed by ALTER TABLE ... MODIFY COLUMN. (Jimmy Aguilar Mena).
fixBackported in: Fix a server crash caused by unbounded recursion when decoding a deeply nested value inside a binary encoded type, for example an AggregateFunction parameter in a Dynamic value read from RowBinary or Native. (Pavel Kruglov).
fixBackported in: Fixes a server crash on CREATE TABLE or ALTER TABLE ... MODIFY TTL with a TTL expression that uses the result of arrayMap with a constant lambda, such as toString(arrayMap(x -> CAST(1, 'Dynamic'), arr)). (Groene AI).
fixBackported in: Fixed secret settings of S3Queue and AzureQueue tables written with the legacy s3queue_ prefix, such as s3queue_after_processing_move_secret_access_key, being shown in cleartext in SHOW CREATE TABLE, system.tables, system.query_log and the server log. They are now hidden as they are…
fixBackported in: Add more path validations. (Konstantin Vedernikov).
fixBackported in: S3 client check initial url in backup client. (Konstantin Vedernikov).
fixBackported in: Fix missing rows in hasAllTokens and hasAnyTokens searches over a text index when an earlier query with the same predicate read a narrower key range of the same part and use_text_index_postings_cache was enabled. (Anton Popov).
fixBackported in: Fix a crash when reading an ORC file whose root type is not a struct (for example, a file written with a bigint or array root type). Such files are now rejected with an INCORRECT_DATA error. Closes. (Groene AI).
fixBackported in: Fixed a crash and wrong results with convert_query_to_cnf = 1 when WHERE or HAVING references the same SELECT alias more than once. (Groene AI).
otherNO CL ENTRY: 'Revert "Backport to 26.9: Skip the direct join when the right table has a row policy"'. (Vladimir Cherkasov).
otherBackported in: Hide a Backup locator named like a COLUMNS matcher in EXPLAIN AST instead of throwing. (Groene AI).
otherBackported in: Do not dereference a null logs_queue in OwnSplitChannel::log. (Groene AI).
fixBackported in: Fix the Kafka and NATS table engines ignoring remote_url_allow_hosts: broker addresses from kafka_broker_list, nats_url, and nats_server_list are now checked against the remote host filter. A forbidden address is rejected at CREATE TABLE with UNACCEPTABLE_URL, as the RabbitMQ engine…
breakingBackported in: Remove --icf=safe linker warnings about SHT_LLVM_ADDRSIG in the stripped Rust libraries. (Raúl Marín).
otherBackported in: Parse some (geo) parquet metadata lazily. (Konstantin Vedernikov).
fixBackported in: Fixed max_memory_usage and max_server_memory_usage not being respected when reading a JSON column with the FLATTENED serialization version from the Native format. (Pavel Kruglov).
fixBackported in: Fixed out-of-bounds reads when reading a JSON or Dynamic column from a malformed Native block or a corrupted data part. A truncated stream, a duplicate type in a flattened Dynamic column, a duplicate or typed-colliding path in a JSON column, and a serialization version that is only…
fixBackported in: Kafka producer and consumer trace logs now show the value of secret librdkafka properties, such as sasl.password, as [HIDDEN] instead of the cleartext value. (János Benjamin Antal).
fixBackported in: Now clickhouse masks credentials in system.query_log even for wrong URLs for external table engines. (alesapin).
fixBackported in: The value of 'role_session_name' as of now is hidden in query_log. (Alexey Bakharew).
fixBackported in: Fix Keeper silently giving a new session to a ZooKeeper client (for example the Java client or kazoo) that reconnects and asks to continue its session. Such a client now gets SessionExpired, ZooKeeper's answer for a session that cannot be continued, instead of losing its ephemeral…
fixBackported in: Fix validation of Iceberg manifest-list entries during writes. (Arsen Muk).
breakingBackported in: Update the zxc library to v0.14.0, which changes the compressed block format of the experimental ZXC codec. Data written with CODEC(ZXC) by earlier versions cannot be read by the new version and fails with CANNOT_DECOMPRESS. If you used the experimental ZXC codec, re-encode the…
otherBackported in: Build Iceberg min/max hyperrectangles only for columns the filter uses. (Konstantin Vedernikov).
featureBackported in: Added the http_x_clickhouse_format_overrides_output_format setting (default true). When disabled, the X-ClickHouse-Format HTTP header only sets default_format, as it did before version 26.8, instead of overriding the FORMAT clause of the query via output_format. (Alexey Milovidov).
fixBackported in: Fixed a crash in plus and minus of an array of dates and an array of tuples holding NULL, for example toString([toDateTime64(1, 3)] + [(2, NULL)]), and the exception ColumnTuple cannot have ColumnConst as its element when adding a constant interval to a non-constant interval of…
fixBackported in: Link with --icf=safe instead of --icf=all, so the linker keeps functions whose address is taken distinct. gRPC queries with transport compression (gzip, deflate) no longer crash the server, as they could in official builds since 26.4. Closes. (Groene AI).
fixBackported in: The command line client no longer shows the as-you-type hints on a query recalled from the history (or otherwise displayed at once, e.g. pasted), so pressing Up/Down continues to navigate the history instead of the hint list. The hints appear again as soon as the line is edited.…
otherBackported in: A single-level GROUP BY result smaller than max_block_size is now split into several blocks when it was aggregated by several threads, so the steps after it, such as the probe of a following join, run in parallel instead of on one thread. Previously such queries could be several…
fixBackported in: Fixed a heap-use-after-free when a correlated subquery reading a Merge table was planned inside EXPLAIN, a subquery in FROM, a view or an IN subquery. (Groene AI).
featureBackported in: You can now disable reading through the executable table function and from Executable/ExecutablePool tables with the new allow_executable_tables setting, for a deployment that must not run arbitrary server-side scripts. It defaults to true, so existing behavior is unchanged. (Hanzi…
otherBackported in: Speed up extracting a value from a Map with LowCardinality keys. The key is now resolved to its dictionary position once instead of being compared against every entry of a row, so the cost of m[key] no longer grows with the position of the key in the row. Also fix extracting a value…
otherBackported in: Chained ARRAY JOINs no longer materialize the whole block of a lazily replicated array column before expanding it, which cuts their peak memory by several times. (Yarik Briukhovetskyi).
featureBackported in: Iceberg tables whose manifest file headers carry a schema that conflicts with the schema registered for the same schema-id in metadata.json are now readable: the metadata.json schema is preferred and the divergent manifest header copy is ignored with a warning, no matter which of…
featureBackported in: Add column size statistics in Avro files. (Konstantin Vedernikov).
otherBackported in: The AI function per-query quotas are now disabled by default: ai_function_max_input_tokens_per_query (previously 1000000), ai_function_max_output_tokens_per_query (previously 500000) and ai_function_max_api_calls_per_query (previously 1000) default to 0, meaning no limit. To keep…
otherBackported in: Do not drop the ClickHouse Keeper session when the client's outgoing request queue stays full for longer than operation_timeout_ms. The enqueue wait is now three times session_timeout_ms, so a short burst of backpressure no longer terminates the session and invalidates all its…
featureBackported in: Added the setting analyzer_compatibility_allow_cte_redefinition. When enabled, a CTE name may be defined more than once in a single WITH clause; a later definition shadows the earlier one as the query analysis before 24.3 did (a redefinition can read the previous definition, the…
fixBackported in: Fixed dropping whole parts with TTL (ttl_only_drop_parts = 1) still reading all data from large, fully-expired parts. (Michael Jarrett).
fixBackported in: Fixes a server crash (double free) when finalizing an aggregate function with the -State combinator nested under a combinator that transfers several sub-states in one call (-Resample, -ForEach, -Map, -Tuple), for example groupArrayStateResample, if an exception such as a memory…
fixBackported in: Fixed Iceberg INSERT writing no lower_bounds/upper_bounds at all into the manifest entry when the table has a column whose type cannot be serialized into a statistics bound (for example Array(Int32)), or a column that is entirely NULL. Such a field is now omitted individually and…
fixBackported in: Fixed SQL injection through identifiers when inserting into a table with the SQLite engine. The remote table name and the column names were escaped with backslashes, which SQLite does not honour inside a quoted identifier, so a name containing a double quote could close its own…
fixBackported in: Fixed a Backup database engine printing the credentials of its destination in plaintext. SHOW CREATE DATABASE, system.databases.engine_full, system.query_log and the messages that reject a malformed locator showed an AzureBlobStorage account_key, a connection string or a presigned…
fixBackported in: KILL TRANSACTION ... ON CLUSTER, KILL PART_MOVE_TO_SHARD ... ON CLUSTER, SYSTEM STOP THREAD FUZZER ON CLUSTER, SYSTEM START THREAD FUZZER ON CLUSTER and SYSTEM RESET COVERAGE ON CLUSTER ran without checking any privilege, so a user holding only CLUSTER could roll back other users'…
fixBackported in: ALTER DATABASE ... MODIFY COMMENT on a database with ENGINE = Backup no longer writes a definition the server cannot read back, which made it refuse to start; metadata already written in that form now loads too. Backward incompatibility: a backup taken by an older server of a…
fixBackported in: Fix a patch part whose source_parts.dat lost its content to a zeroed block loading as an empty index, which silently unapplied an acknowledged lightweight UPDATE and then let background cleanup delete the only copy of it. Such a part is now detached as broken. (Alexey Milovidov).
fixBackported in: Fixed http_max_multipart_form_data_size silently truncating oversized multipart data instead of failing the query, and made it span a form's external-table parts instead of resetting per part. (Sema Checherinda).
fixBackported in: Fixed two ways a table with the Redis engine mishandled an MGET reply. Reading the whole table stopped at the first key without a string value and silently dropped every key scanned after it, so one key of another Redis type was enough to truncate the result. A reply carrying a…
fixBackported in: Bound the header column count in RowBinary formats to avoid excessive memory allocation from a crafted header. (George Larionov).
fixBackported in: Fixed settings constraints from a settings profile not being enforced against the other setting assignments in the same statement. SET profile = 'p', = could override a CONST, MIN/MAX or readonly constraint that profile p installs. The same escape existed through an in-query…
fixBackported in: Fixes a segmentation fault that happens when a refreshable materialized view is started up and shut down at the same time, for example when a failed ATTACH DATABASE rolls the database back, or when the server shuts down while tables are still loading asynchronously. (Groene AI).
fixBackported in: Fixed a performance regression where a query whose WHERE requires the same expression to equal two different constants stopped being recognized as always false when compatibility was set below 26.7, or when optimize_redundant_comparisons was disabled explicitly. Such a query…
fixBackported in: TRUNCATE ALL TABLES FROM and TRUNCATE TABLES FROM ... LIKE ... now skip Alias tables, which hold no data of their own. Previously such a statement could fail with LOGICAL_ERROR: RWLock is already locked in exclusive mode, truncate a target in another database, or fail when the alias…
fixBackported in: The text, tokenbf_v1, ngrambf_v1 and sparse_grams skip indexes are now used for IN when transform_null_in = 1 and the set contains no NULL. Previously such a query read every granule, and one using force_data_skipping_indices failed with INDEX_NOT_USED. (Jimmy Aguilar Mena).
fixBackported in: Fixed an out-of-bounds heap write in stem. The output buffer was sized from the input, but some stemmers lengthen a word (Turkish uag → uagı, Estonian keeb → keesi), so a block overran its allocation and returned uninitialized heap as result values. The buffer now grows when the…
fixBackported in: remote(, 'db', 'table', 'user', 'password'), and the same form of remoteSecure and of the Remote and RemoteSecure table engines, wrote the password into system.query_log, system.text_log and the server log in cleartext, while the remote('addresses_expr', ...) form hid it. The…
fixBackported in: Fix wrong values and a LOGICAL_ERROR when reading a partitioned Delta Lake table with allow_delta_kernel_rs = 0 and column types that differ from the ones in _delta_log. (Raúl Marín).
fixBackported in: Fixed a crash when deserializing an AST from JSON (formatQueryFromJSON, the clickhouse_json dialect): a deeply nested document exhausted the stack and killed the process with no log line. Such payloads now fail with TOO_DEEP_RECURSION. (Groene AI).
fixBackported in: Fixed a crash (stack exhaustion) in parseQueryToJSON when serializing a query nested deeper than the serializer could follow, reachable by raising max_parser_depth above its default. Such a query now fails with TOO_DEEP_RECURSION instead of terminating the server. (Groene AI).
fixBackported in: Fixed a server crash when the flameGraph aggregate function was constructed on a thread without a query context, for example while attaching a stored table whose column type names AggregateFunction(flameGraph, ...). (Groene AI).
fixBackported in: Fix a segmentation fault in Keeper when preallocating space for a changelog file fails because the disk is full. (Alexey Milovidov).
otherBackported in: Update cctz to 2026d. Time zone names with the file: prefix are now rejected. (Actuele AI).
otherBackported in: Reject a compressed block whose codec stores data verbatim (NONE, Quantized) when its declared uncompressed size does not match the body length. Previously the passthrough read path accepted such a block while every other decompression path rejected it. (Groene AI).
fixBackported in: Fix flaky 01780_column_sparse: order the arrayFilter result before limiting it. (Alexey Milovidov).
otherBackported in: Make test_multi_consumer_with_partition_affinity deterministic. (Aparajita Pandey).
fixFix 26.9 upgrade check. (Azat Khuzhin).
otherBackported in: Small performance optimisations of iceberg read path. (Konstantin Vedernikov).
breakingBackported in: A MySQL dictionary source created with a CREATE DICTIONARY query can no longer enable enable_local_infile, at the source or at one of its REPLICA entries; loading such a dictionary fails with BAD_ARGUMENTS, which with the default dictionaries_lazy_load is on first use rather than at…
fixBackported in: Fixes a case where date_time_overflow_behavior was ignored on parsing Date and DateTime. Closes. (Yarik Briukhovetskyi).
fixBackported in: Fix ALTER TABLE ... MODIFY SETTING name = DEFAULT skipping the checks an engine makes on a setting reset: TimeSeries allowed an immutable setting to be dropped, leaving the table unwritable, Memory removed a setting from the table definition while the table kept enforcing the old…
fixBackported in: Fix wrong results when a GROUP BY, DISTINCT, LIMIT BY or window PARTITION BY key was plus or minus of a partition column with a non-integer constant, for example f + 1.0 on Float64 or d + INTERVAL 1 MONTH on Date. Such a key was assumed injective, so each table partition was…
fixBackported in: Fix a server crash (std::terminate with write failed) in the embedded SSH client when the client's terminal was closed before the line reader was destroyed. (Alexey Milovidov).
fixBackported in: Fix spurious NATS connection failures when the vendored nats-io client gets EINTR while waiting for a socket, and include the upstream JetStream pull-subscription deadlock fix in the vendored client. (Alexey Milovidov).
otherBackported in: . (Antonio Andelic).
breakingThe default compression method is changed from LZ4 to ZSTD(3). For client/server and server/server network communication it switches uniformly to ZSTD(3). For on-disk table data, MergeTree column data now uses a size-aware built-in default — LZ4 below 100 MB and ZSTD(3) at or above it, applied to…
breakingRemoved the CatBoost integration. The catboostEvaluate function, the system.models table and the SYSTEM RELOAD MODEL(S) queries are no longer available. Queries, views and grants referring to them have to be migrated before the upgrade: in particular, revoke SYSTEM RELOAD MODEL from all users and…
breakingFix setting temporary_files_buffer_size or format_avro_schema_registry_* to an out-of-range value making every subsequent query in the session fail, with no way to recover; the values are now bounded when they are set. (Pedro Ferreira).
breakingFixed wrong results from runningConcurrency. Its value depends on the rows processed before it, but it declared itself deterministic within a query, so a predicate on it above a LEFT or ANY join let optimizer passes rewrite the join and change the row set it sees, and if, multiIf, and and or…
breakingThe experimental WINDOW VIEW feature is removed, together with the WATCH statement and the windowID function. It has been non-functional since version 24.12 (inserts into the source table were silently not delivered to window views) and was never supported by the analyzer, which is enabled by…
breakingRemoved the deprecated read_resource and write_resource disk options from storage_configuration. Attach a scheduler resource to a disk with CREATE RESOURCE name (READ DISK disk, WRITE DISK disk) instead. (Sergei Trifonov).
breakingRemoved the WasmEdge engine for WebAssembly UDFs. wasmtime, which has always been the default, is now the only supported value of the webassembly_udf_engine server setting. A server configured with wasmedge will not start; remove that setting or set it to wasmtime. On binaries where wasmtime is…
breakingRemoved the sharded GROUP BY aggregation (setting enable_sharding_aggregator, disabled by default) in favor of the adaptive aggregation (enable_adaptive_aggregator, enabled by default), which targets the same high cardinality workloads without the weaknesses on skewed or low-cardinality keys and…
breakingBackported in: Outbound TLS connections now verify that the server certificate names the host that was connected to. This affects clickhouse-client --secure, remoteSecure(), Distributed over the secure native protocol, secure Keeper connections, and HTTPS clients such as s3(), url(), HTTP…
breakingmax_bytes_before_external_join and max_bytes_ratio_before_external_join are now the spill threshold for every hash-based join_algorithm, including grace_hash, which previously ignored them and spilled on max_rows_in_join / max_bytes_in_join instead. Those two are a hard cap again for every…
breakingSetting allow_experimental_codecs is obsolete. Use the per-codec settings enable__codec instead. (Raufs Dunamalijevs).
breakingReading a File source with rename_files_after_processing set now requires the WRITE ON FILE grant on top of READ ON FILE, on the initiator for fileCluster: the setting renames the files a SELECT has read, which is a write to the source, and it used to happen for anyone who could read them. A query…
breakingThe interface and http_method columns of system.query_log, system.query_thread_log and system.processes are now Enum8 instead of UInt8, over the value set system.session_log.interface already uses, plus Unknown for an unrecognized reported interface. Comparing to a number keeps working (WHERE…
breakingThe analyzer can no longer be disabled: the enable_analyzer setting (and its old name allow_experimental_analyzer) is obsolete, an attempt to set it to 0 is rejected, and the compatibility setting no longer reverts it. The analyzer has been the default since 24.3, and the query analysis used…
breakingCREATE TABLE ... AS mergeTreeIndex(...) is no longer accepted, nor the same form over mergeTreeProjection, mergeTreeAnalyzeIndexes, mergeTreeAnalyzeIndexesUUID, mergeTreeTextIndex and mergeTreeCodecBlockCounts. The storage these functions return holds its source table's storage object, so once…
breakingHeaders that Google Cloud Storage spells with an x-goog- prefix are now translated for every request, not only for server-side copies. Custom object metadata written to GCS over the S3 API without HMAC credentials — how ClickHouse Cloud on GCP accesses object storage — previously did not take…
breakingNullable(Tuple(...)) is now generally available and enabled by default. Nullable(Tuple(...)) columns can be created without any setting, schema inference of nullable structs in the Parquet, Arrow, ORC, Avro and JSON formats returns Nullable(Tuple(...)), and a Tuple subcolumn extracted from a…
breakingRemove s3_disable_checksum, since checksum calculation for S3 does not read the source second time anymore (previously the problem was that sources has been read twice, once for sending data, second for checksum calculation). (Azat Khuzhin).
breakingCREATE TABLE ... AS timeSeriesSamples(...) is no longer accepted, nor over its alias timeSeriesData or over timeSeriesTags and timeSeriesMetrics. The persisted proxy renamed that live target table in memory on first read: DROP TABLE then dropped the user's table and destroyed its rows, and reads…
breakingNew setting validate_group_by_all_key_types (default true) gates the key type validation that GROUP BY ALL applies to the grouping keys it expands the SELECT expressions into. Since 26.7 it rejects a Variant or Dynamic grouping key, for example an untyped JSON subpath, that earlier versions…
featureOperations '+' and '-' between DateTime and Time data types. (Yarik Briukhovetskyi).
featureAdded the opt-in MergeTree setting skip_empty_columns_on_insert, which avoids storing columns containing only their type-default value. It requires serialization_info_version = 'with_missing_columns'; keep an older serialization version during rolling upgrades with servers that cannot read the new…
featureNew LIMIT forms that select rows by boundary conditions instead of by position, following the stream order (use ORDER BY to define it): LIMIT n AFTER cond returns up to n rows starting at the first row where cond is true (SELECT number FROM numbers(10) ORDER BY number LIMIT 3 AFTER number >= 5…
featureAdd type_json_skip_null_typed_paths setting for JSON type. When enabled, typed paths in JSON columns that have NULL values are treated as absent, matching the behavior of dynamic paths. Closes:. (Pavel Kruglov).
featureAdd support for accessing JSON subcolumns using bracket syntax, e.g. json['key1']['key2'], which the parser translates to nested arrayElement calls. (Pavel Kruglov).
featureSupport BACKUP/RESTORE for WORKLOAD and RESOURCE entities. SQL-defined CREATE WORKLOAD / CREATE RESOURCE definitions are now included when backing up system.workloads / system.resources and are recreated on restore, including ON CLUSTER. (Sergei Trifonov).
featureAuthentication methods in CREATE USER and ALTER USER ... ADD IDENTIFIED support a GRANTS (SELECT ON db.table, ...) clause which limits the access rights of sessions authenticated with that method to the intersection with the listed grants. This allows using additional credentials as tokens for…
featureAdded the system.session_query_ids system table, which contains the query ids of the queries executed in the current session, in execution order. It makes it easy to find "the queries I just ran" in system.query_log without assigning query_id client-side or tagging queries with log_comment, which…
featureAdds support for mode='exclusive' in S3Queue engine, for high-throughput and self-hosted scenarios. (Ivan Tkatchev).
featureDisks with the plain_rewritable metadata (s3_plain_rewritable, and azure/local object storages with metadata_type = plain_rewritable) support hard links if configured with the new enable_hard_links setting, which enables ALTER operations and mutations on MergeTree tables stored on them. Mutations…
featureNew function arrayFlattenedLength, returning the total number of elements of a multidimensional array, as if it was flattened with arrayFlatten. Unlike cardinality/length, which count only the elements of the outermost array, it counts elements at every nesting level, matching PostgreSQL's…
featureRefreshable materialized views can now refresh incrementally with REFRESH ... APPEND INCREMENTAL, appending only the rows committed to the source table since the previous refresh instead of re-reading the whole source. (Smita Kulkarni).
featureSupport exactly-once incremental refresh of refreshable materialized views into Iceberg targets by committing the refresh cursor atomically inside the Iceberg snapshot summary. (Smita Kulkarni).
featureAdd MergeTree settings max_table_size_rows, max_table_size_bytes_compressed, and max_table_size_bytes_uncompressed that limit the total size of a table. The limits are checked at the beginning of INSERT and when new data parts are committed (including the results of background merges and…
featureclickhouse-client accepts --ssh-key-file without a value: the key is looked up the same way as ssh does it - the identity files configured for the host in ~/.ssh/config, the default identity files, such as ~/.ssh/id_ed25519, and the keys held by the ssh-agent. Authentication with a key held by the…
featureAdd the max_tables database setting to limit the number of tables in Atomic and Ordinary databases. Every table-like object counts toward the limit: tables, views and dictionaries. (Alexey Milovidov).
featureJemalloc Fragmentation Profiler. (Azat Khuzhin).
featureNew text index tokenizer keyValuePairs, which indexes a Map(String, String) column directly and answers map['key'] = 'value' from the index without reading the map column. (Jimmy Aguilar Mena).
featureIceberg v3 has two new fields in manifest file - first_row_id and last_seq_num. This PR allows to read them as virtual columns. (Konstantin Vedernikov).
featureAdded nats_ca_file, nats_client_cert_file and nats_client_key_file settings to the NATS engine, for verifying a broker certificate signed by a private CA and for client-certificate authentication. The feature was first proposed in by sidhmads. (Nikolay Degterinsky).
+1346 more items in the release notes