ClickHouse 26.10.7.24 → 26.10.10.3
3 releases · 1 breaking change · 0 security fixes · 0 advisories fixed
0security1breaking0deprecated3feature35fix
Breaking changes
- breaking Backported in: CREATE HANDLER, ALTER HANDLER, DROP HANDLER and SHOW HANDLERS now form the new HANDLER ADMIN privilege group and are no longer part of the CREATE, ALTER and DROP groups. Previously GRANT CREATE ON .* or GRANT ALTER ON *. was enough to define or rewrite an HTTP handler, whose query… in 26.10.9.12
Security changes
None in the release notes.
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).