VersionDrift
Product

ClickHouse 26.11.6.4 → 26.11.9.22

3 releases · 0 breaking changes · 0 security fixes · 0 advisories fixed

0security0breaking0deprecated2feature36fix

Breaking changes

None in the release notes.

Security changes

None in the release notes.

Every release in between

featureBackported in: A text index on an Array column is now used for LEFT ARRAY JOIN with a condition = const or [GLOBAL] IN (set) on the element, in the same way as for ARRAY JOIN. The index is not used if the condition accepts the default element that LEFT ARRAY JOIN adds for an empty array. Before,…
featureBackported in: In filesystem cache startup metadata load stop removing empty key directories during load -- do it after server startup. Add progress logging for the load every 30 seconds. (Kseniia Sumarokova).
fixBackported in: Fixed quantileDD and quantilesDD returning results with up to ~3× the requested relative error for values with absolute value below 1, and losing counts when merging states with different relative accuracies. States written before the fix keep the previous error for such values.…
fixBackported in: A DataLakeCatalog database whose catalog is unreachable or unauthorized (for example, an S3 Tables catalog with a deleted IAM role) no longer blocks server startup when its definition is replayed from stored metadata; the error is reported on queries to the database instead. (Alexey…
fixBackported in: RESTORE of a materialized view requires SELECT on the tables that its query reads, the same as CREATE MATERIALIZED VIEW. (Nikolay Degterinsky).
fixBackported in: A malformed ORC file that declares huge list or map lengths is now reported as corrupted, instead of making the reader allocate memory for the declared length. (Alexey Milovidov).
fixBackported in: A WHERE condition on an expression JOIN key, such as toDate(l.ts) in ON toDate(l.ts) = toDate(r.ts), now also applies to the other table in the JOIN. That table can use its primary key instead of a full read. (Vladimir Cherkasov).
fixBackported in: An S3 client configured with the global endpoint s3.amazonaws.com and no region now sends its requests to the regional endpoint s3..amazonaws.com once it has detected the bucket region. Before, every request went to the global endpoint, so uploads (BACKUP, INSERT INTO FUNCTION s3,…
fixBackported in: Fix bug which could lead to crash with incorrect serialization kinds. (alesapin).
fixBackported in: getMacro, getServerSetting and getMergeTreeSetting now respect row policies on system.macros, system.server_settings and system.merge_tree_settings: they throw ACCESS_DENIED if a non-trivial SELECT row policy applies, the same as joinGet for Join tables. (Matheus Nerone).
fixBackported in: Fixed a possible wrong result with automatic_parallel_replicas_mode = 1 when a query compares with a constant over 1 KiB that depends on a setting and optimize_const_name_size is disabled. (Nikita Taranov).
fixBackported in: Fixed a server crash on ATTACH or restart for a view or materialized view whose definer is a user named CURRENT_USER: the definer is now quoted when the view definition is stored. A definition stored unquoted by an earlier version now fails to load with an error instead of crashing…
fixBackported in: Fix a hang of queries with workload CPU scheduling when a pipeline runs inside another one on the same thread, e.g. a MATERIALIZED CTE or dictGet on a direct dictionary: the inner pipeline now runs on the CPU slot of its thread instead of waiting for a second one. (Sergei Trifonov).
fixBackported in: Fixed RESTORE failing when a materialized view in the backup reads a table function that cannot be resolved at the time of the restore, for example one over a named collection that does not exist yet. (Nikolay Degterinsky).
fixBackported in: Fix a server abort when loading a regexp_tree dictionary from a table where a row has fewer elements in values than in keys. Now a row with different sizes of keys and values is rejected with INCORRECT_DICTIONARY_DEFINITION. (Alexey Milovidov).
fixBackported in: Fix the termination of the server (vector[] index out of bounds in ProfileEvents::getProfileEvents) when a remote server of a distributed query sends a ProfileEvents packet with a block of an unexpected structure. Such a packet is now refused with the UNEXPECTED_PACKET_FROM_SERVER…
fixBackported in: Fix a crash in the stem function on a word of 2 GiB or more. The function now throws an exception for words longer than 64 MiB. (Alexey Milovidov).
fixBackported in: Fix a crash or a read of unrelated memory in the Template output format when ${min} or ${max} is printed and the extremes received from a remote server (or by clickhouse-client from its server) do not have exactly two rows. Such extremes are now also rejected when they are received…
fixBackported in: Fixed a crash when a lambda or a SQL user defined function with an aggregate function in its body is called with a GROUP BY key as an argument, or when APPLY transformers are chained into an aggregate function, with group_by_use_nulls and ROLLUP, CUBE or GROUPING SETS. The aggregate…
fixBackported in: Fixed a crash on CREATE TABLE or a full ATTACH of a Kafka table that stores its offsets in Keeper (experimental allow_kafka_offsets_storage_in_keeper) and takes kafka_keeper_path and kafka_replica_name from a named collection alone. Keeper settings taken from a named collection are…
otherBackported in: Update lz4 from v1.10.0 to v1.11.1. (Actuele AI).
otherBackported in: Faster index analysis and casts when a Decimal, DateTime64 or Time64 value is compared with or converted to another scale, for example minmax skip index analysis of a DateTime64(9) column compared with a DateTime constant, or CAST(toDateTime64(x, 3) AS Decimal256(30)): the overflow…
otherBackported in: KILL QUERY and max_execution_time now take effect while a query is connecting to MySQL. Previously a query using mysql() or a MySQL engine table against an unresponsive host stayed in system.processes with is_cancelled = 1 for up to connection_max_tries * connect_timeout. (Groene AI).
otherBackported in: Automatic parallel replicas (automatic_parallel_replicas_mode) no longer reuses the index analysis of the single-node plan for reads that use a different storage snapshot, which could return wrong results with enable_shared_storage_snapshot_in_query = 0 while the table was being…
otherBackported in: The Cannot access sqlite database error that the SQLite database and table engines log when they load a database or table at server startup now names the database file, so it shows which database or table failed. (Groene AI).
fixBackported in: Fixed potential row loss when MOVE PART TO SHARD runs while a source part changes. (wangshun).
fixBackported in: A MySQL or PostgreSQL dictionary created with CREATE DICTIONARY now sends only SELECT queries to the database, as the ClickHouse source already does: query, where, update_field and invalidate_query must form a SELECT that the ClickHouse parser reads, without comments, backslashes in…
fixBackported in: RESTORE of users, roles and settings profiles now checks their settings against the settings constraints of the user running it, as CREATE USER, CREATE ROLE and CREATE SETTINGS PROFILE do. Before, a user bound by e.g. allow_ddl = 0 CONST could restore a user with allow_ddl = 1 from…
fixBackported in: Fix SIGSEGV when loading vector similarity indexes on inactive (merged) parts. (Robert Schulze).
fixBackported in: Fixed a crash (segmentation fault) when a memory allocation fails while starting zlib compression, for example when writing ORC files with zlib compression. Closes. (Groene AI).
fixBackported in: Fixed a server crash in EXPLAIN WHATIF for a hypothetical index with a GRANULARITY close to the maximum of UInt64. (Yaroslav Briukhovetskyi).
fixBackported in: Fixed a crash of clickhouse-client when it parses INSERT ... VALUES data itself (async_insert = 0) and a value calls getServerSetting, for example INSERT INTO t SETTINGS async_insert = 0 VALUES (getServerSetting('mark_cache_size')). (Groene AI).
fixBackported in: Parallel replicas with a custom key (parallel_replicas_mode = 'custom_key_sampling' or 'custom_key_range') are no longer used for a query with additional_table_filters, which a replica could apply differently from the initiator. Such a query reads without parallel replicas, or fails…
fixBackported in: Fix a possible stack overflow when a Glue or Hive catalog returns a column with a deeply nested type. The server now throws an exception for such a type. (Asya Shneerson).
fixBackported in: Fix SQL injection into queries sent to MySQL servers which have NO_BACKSLASH_ESCAPES in sql_mode, through filters of MySQL tables and the mysql table function, INSERT values and MySQL dictionary keys, and through INSERT values with output_format_values_escape_quote_with_quote…
fixFix a crash on INSERT of a Native block whose Tuple column has fewer elements than the column of the table, with input_format_native_allow_types_conversion = 0. (Alexey Milovidov).
otherBackported in: Keep one row group in 05452_parquet_native_encoders_encodings under the randomized Parquet byte limit. (Groene AI).
otherBackported in: Reading parts in packed storage from encrypted disks on object storage no longer makes an extra S3 request for every file inside the part, because the encryption header is cached. (Christoph Wurm).
fixBackported in: Lazy materialization over joins (query_plan_lazy_materialization_for_join) now reads again after the LIMIT a column that a filter, a JOIN ON condition, or a join key uses and that the result also needs, instead of carrying it through the joins. This reduces the memory required for a…
fixBackported in: New setting to disable the deduplication cache for asynchronous inserts. (Kirill Kopnev).
fixBackported in: Fix a client bypassing the grant check of forwarded roles with a forged TCP_INTERSERVER interface. (Azat Khuzhin).
fixBackported in: Fixed BACKUP and RESTORE ON CLUSTER using the Keeper retries meant for error handling when finishing successfully, and the other way round: a successful operation could fail after 20 retries on a temporary Keeper failure, and a failed one which was killed could leave the initiator…
fixBackported in: CREATE HYPOTHETICAL INDEX now rejects an unsupported index type before it validates the arguments of the type. (Yaroslav Briukhovetskyi).
fixBackported in: Fix a grant on an exact database or table name being lost after a server restart if it was made after a revoke on a wildcard with the same name, e.g. REVOKE SELECT ON db*. followed by GRANT SELECT ON db.. SHOW GRANTS and the stored definition of the user or role listed the grant…
fixBackported in: GRANT CURRENT GRANTS and RESTORE with the setting restore_access_entities_with_current_grants no longer grant a privilege for which the grant option of the current user was revoked with REVOKE GRANT OPTION FOR. (pufit).
otherBackported in: Not required. (Groene AI).
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