VersionDrift
Product

ClickHouse 26.10.7.24 → 26.10.8.34

1 release · 0 breaking changes · 0 security fixes · 0 advisories fixed

0security0breaking0deprecated3feature28fix

Breaking changes

None in the release notes.

Security changes

None in the release notes.

Every release in between

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).
See how far your stack has drifted from upstream. Release data from vendors’ own sources · feed under CC BY 4.0 · Code under AGPL-3.0 Settings Feed status