VersionDrift
Product

ClickHouse 26.10.8.34 → 26.11.1.2942

5 releases · 40 breaking changes · 1 security fix · 0 advisories fixed

1security40breaking0deprecated0feature25fix

Breaking changes

  • breaking Removed the per-query filesystem cache write limit, which capped how much a single query could write into one filesystem cache. Its accounting never reflected what a query had actually written, and it cost a second priority queue per query on the cache reservation hot path. The settings… in 26.11.1.2942
  • breaking hash and parallel_hash are now one join implementation. parallel_hash is an obsolete alias of hash: it is removed from the default join_algorithm, still accepted, and reads back as hash. A hash join now picks its layout from parallel_hash_join_threshold and the estimated size of the right table,… in 26.11.1.2942
  • breaking By default (when --path is not specified), clickhouse-local now stores its data in a designated directory inside the home directory ($XDG_DATA_HOME/clickhouse-local or ~/.local/share/clickhouse-local on Linux, ~/Library/Application Support/clickhouse-local on macOS), so the data survives between… in 26.11.1.2942
  • breaking Reading the columns of system.tables that describe a table's schema requires the SHOW COLUMNS privilege on that table, the same privilege DESCRIBE and SHOW CREATE TABLE require: create_table_query, engine_full, as_select, partition_key, sorting_key, primary_key, sampling_key, unique_key,… in 26.11.1.2942
  • breaking extractGroups now rejects a regular expression with more than 127 capturing groups, the same limit extractAllGroupsHorizontal and extractAllGroupsVertical have always enforced. A pattern with 128 or more capturing groups that previously returned results now throws BAD_ARGUMENTS. In the Kusto… in 26.11.1.2942
  • breaking 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. (Yaroslav Briukhovetskyi). in 26.11.1.2942
  • breaking LOCAL between a table and a join, as in SELECT * FROM a LOCAL JOIN b ON a.k = b.k, is now parsed as the join locality qualifier, like GLOBAL, instead of being silently taken as an implicit alias of a. A query that relies on such an implicit local alias, for example SELECT * FROM t local JOIN u ON… in 26.11.1.2942
  • breaking Azure Blob Storage access from user SQL no longer uses the server's own workload or managed identity unless allow_server_credentials_in_user_queries (formerly s3_allow_server_credentials_in_user_queries) is enabled; provide explicit credentials instead: account_name and account_key, a connection… in 26.11.1.2942
  • breaking The function toStartOfInterval (and its aliases time_bucket and date_bin) now returns a value of the same type as its argument (Date, Date32, DateTime, or DateTime64 with the same scale) instead of a type determined by the interval unit, which wrapped values outside the range of Date and DateTime.… in 26.11.1.2942
  • breaking CREATE TABLE and ALTER TABLE now reject an alias in PARTITION BY, PRIMARY KEY, ORDER BY, UNIQUE KEY, SAMPLE BY, the table and column TTL, skip index (also via an ALIAS column it uses) and constraint expressions with BAD_ARGUMENTS; write the expression without the alias. Such an alias was accepted… in 26.11.1.2942
  • breaking A writable disk with table_disk = true now holds the data of only one table: creating or attaching another table on the same path of the same storage, or on a path inside or above it, throws BAD_ARGUMENTS; tables over a read-only disk on that path are still allowed. Previously such tables returned… in 26.11.1.2942
  • breaking A filesystem cache with the SLRU policy (the default) now requires max_file_segment_size <= max_size * min(slru_size_ratio, 1 - slru_size_ratio) (of each part with use_split_cache), so that a file segment fits whole into each SLRU queue. With the default settings, a cache smaller than 80 MiB must… in 26.11.1.2942
  • breaking kill_throw_if_noop now defaults to true. A compatibility level below 26.11 keeps the previous default. (Ye Yuan). in 26.11.1.2942
  • breaking Iceberg time columns read from Parquet data files are now returned as microseconds since midnight, as documented, instead of whole seconds. The value now agrees with the manifest statistics and partition values, so WHERE on such a column no longer misses rows and the unit no longer depends on the… in 26.11.1.2942
  • breaking The enable_hard_links setting of disks with the plain_rewritable metadata is enabled by default, so ALTER operations and mutations of MergeTree tables are supported on such disks. After the first hard link is created on a disk (by a mutation, an ALTER, a FREEZE or a backup), the disk is not… in 26.11.1.2942
  • breaking icebergTruncate now returns UInt64 for a UInt64 value; previously it returned Int64, so results of 2^63 and more came back negative, also as MergeTree partition IDs. It is also no longer treated as monotonic for Int64, whose lowest values wrap around, so filters on its argument no longer skip… in 26.11.1.2942
  • breaking parseDateTime now rejects ISO week 53 for ISO week-years that have only 52 weeks, instead of silently normalizing those dates into the following calendar year. (Henry Su). in 26.11.1.2942
  • breaking A vector_similarity index now rejects hnsw_max_connections_per_layer greater than 512 and hnsw_candidate_list_size_for_construction greater than 3200, because building an index with a huge hnsw_max_connections_per_layer could get the server killed by the OOM killer. Existing tables with larger… in 26.11.1.2942
  • breaking INSERT ... FROM INFILE in clickhouse-client and clickhouse-local inserts only the data from the file and no longer also inserts the data piped to stdin. This also fixes the query waiting for an open stdin pipe to close. (Jay Pokale). in 26.11.1.2942
  • breaking An INSERT into a non-empty file through the File table engine or the file table function now fails with CANNOT_APPEND_TO_FILE for JSONCompact, JSONCompactStrings, ProtobufList, ProtobufSingle, for JSONEachRow and its aliases with output_format_json_array_of_rows = 1, for Template with a non-empty… in 26.11.1.2942
  • breaking Tables with the S3, AzureBlobStorage, HDFS and data lake engines take format settings (e.g. format_csv_delimiter) from the server's settings and the table's SETTINGS clause, as File and URL do, and no longer from the session that creates them. Before, the session's values applied only until the… in 26.11.1.2942
  • breaking 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 to NAMED… in 26.11.1.2942
  • breaking Removed the experimental functions detectCharset and detectLanguageUnknown, because the data they relied on has an unknown license. Use detectLanguage for language detection. (Alexey Milovidov). in 26.11.1.2942
  • breaking 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 was enough.… in 26.11.1.2942
  • breaking REVOKE ON ('') now revokes only the grant with exactly this source filter. Previously, it revoked all grants of the privilege on the source, including other filters or the grant without a filter. To revoke everything on a source, use REVOKE ON without a filter. Revoking a filter that produces a… in 26.11.1.2942
  • breaking A storage policy can no longer contain two disks that store data in the same directory, such as several cache disks over one disk, a cache disk together with the disk it wraps, or an encrypted disk without its own path over one of them. Such a policy makes every storage policy lookup fail with… in 26.11.1.2942
  • breaking The install script (curl https://clickhouse.com/ | sh) now downloads the newest release branch instead of master. To get the master build as before, run curl https://clickhouse.com/ | CLICKHOUSE_BRANCH=master sh. CLICKHOUSE_BRANCH also accepts a branch such as 26.9. (Alexei Fedotov). in 26.11.1.2942
  • breaking The compression method of file (the explicit argument or the one detected from the file name) now applies to a file inside an archive, like for a plain file, e.g. file('a.tar :: data.json.gz') is decompressed. Previously the argument was ignored for archives, so file('x.tar.gz :: a.csv', CSV,… in 26.11.1.2942
  • breaking The legacy Delta Lake reader was removed, and Delta Lake tables are always read with delta-kernel-rs. The setting allow_delta_kernel_rs (allow_experimental_delta_kernel_rs) is obsolete and has no effect. Delta Lake tables on GCS that rely on http_client = 'gcp_oauth' and Azure blobs with a leading… in 26.11.1.2942
  • breaking 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 runs with the… in 26.11.1.2942
  • breaking Servers older than 23.3 can no longer exchange distributed queries with newer servers over a cluster with a : the legacy interserver mode without a nonce has been removed. (Raúl Marín). in 26.11.1.2942
  • breaking The max_distributed_connections setting no longer accepts 0. Setting it to 0 in a query, a session or a settings profile now fails with BAD_ARGUMENTS, and a server whose users configuration sets it to 0 in a profile does not start (CANNOT_LOAD_CONFIG); use 1 instead. Background inserts into a… in 26.11.1.2942
  • breaking Floating-point values with magnitude 2^63 or more are now converted exactly to Int128, UInt128, Int256, UInt256, Decimal128 and Decimal256, and the result is the same on every platform. Previously, for example, toInt128(1e20) returned 100000000000000000003, accurateCast(1e20, 'Int128') threw an… in 26.11.1.2942
  • breaking Setting count_distinct_optimization is obsolete and has no effect. It rewrote count(DISTINCT x) into count() over a GROUP BY x subquery, which is no longer faster than the radix partitioned uniqExact used for count(DISTINCT x) without GROUP BY (optimize_uniq_exact_radix_partitioning). (Raúl Marín). in 26.11.1.2942
  • breaking ClickHouse refuses to start if shared objects are injected into its process with /etc/ld.so.preload, ld.so --preload, or auditing libraries. Previously only the LD_PRELOAD and similar environment variables were handled, by removing them and re-executing. (Alexey Milovidov). in 26.11.1.2942
  • breaking CREATE WORKLOAD, CREATE RESOURCE, DROP WORKLOAD and DROP RESOURCE are no longer part of the CREATE and DROP privilege groups and have to be granted explicitly (GRANT ALL still includes them). Previously GRANT CREATE ON .* was enough to create a default workload that throttles the queries of every… in 26.11.1.2942
  • breaking Removed support for files in the async insert queue of Distributed tables written by ClickHouse versions older than 19.18. Such files are moved to the broken directory instead of being sent. (Alexey Milovidov). in 26.11.1.2942
  • breaking 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 unless… in 26.11.1.2942
  • breaking You can now drop a cached Vector Similarity Index for a specific table: SYSTEM DROP VECTOR SIMILARITY INDEX CACHE [ON CLUSTER c] [FOR TABLE [db.]table] , while the indexes of other tables stay cached. (Yan Alexandre). in 26.11.1.2942
  • 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

  • security 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 the GRANTS of… in 26.11.1.2942

Every release in between

breakingRemoved the per-query filesystem cache write limit, which capped how much a single query could write into one filesystem cache. Its accounting never reflected what a query had actually written, and it cost a second priority queue per query on the cache reservation hot path. The settings…
breakinghash and parallel_hash are now one join implementation. parallel_hash is an obsolete alias of hash: it is removed from the default join_algorithm, still accepted, and reads back as hash. A hash join now picks its layout from parallel_hash_join_threshold and the estimated size of the right table,…
breakingBy default (when --path is not specified), clickhouse-local now stores its data in a designated directory inside the home directory ($XDG_DATA_HOME/clickhouse-local or ~/.local/share/clickhouse-local on Linux, ~/Library/Application Support/clickhouse-local on macOS), so the data survives between…
breakingReading the columns of system.tables that describe a table's schema requires the SHOW COLUMNS privilege on that table, the same privilege DESCRIBE and SHOW CREATE TABLE require: create_table_query, engine_full, as_select, partition_key, sorting_key, primary_key, sampling_key, unique_key,…
breakingextractGroups now rejects a regular expression with more than 127 capturing groups, the same limit extractAllGroupsHorizontal and extractAllGroupsVertical have always enforced. A pattern with 128 or more capturing groups that previously returned results now throws BAD_ARGUMENTS. In the Kusto…
breakingCREATE 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. (Yaroslav Briukhovetskyi).
breakingLOCAL between a table and a join, as in SELECT * FROM a LOCAL JOIN b ON a.k = b.k, is now parsed as the join locality qualifier, like GLOBAL, instead of being silently taken as an implicit alias of a. A query that relies on such an implicit local alias, for example SELECT * FROM t local JOIN u ON…
breakingAzure Blob Storage access from user SQL no longer uses the server's own workload or managed identity unless allow_server_credentials_in_user_queries (formerly s3_allow_server_credentials_in_user_queries) is enabled; provide explicit credentials instead: account_name and account_key, a connection…
breakingThe function toStartOfInterval (and its aliases time_bucket and date_bin) now returns a value of the same type as its argument (Date, Date32, DateTime, or DateTime64 with the same scale) instead of a type determined by the interval unit, which wrapped values outside the range of Date and DateTime.…
breakingCREATE TABLE and ALTER TABLE now reject an alias in PARTITION BY, PRIMARY KEY, ORDER BY, UNIQUE KEY, SAMPLE BY, the table and column TTL, skip index (also via an ALIAS column it uses) and constraint expressions with BAD_ARGUMENTS; write the expression without the alias. Such an alias was accepted…
breakingA writable disk with table_disk = true now holds the data of only one table: creating or attaching another table on the same path of the same storage, or on a path inside or above it, throws BAD_ARGUMENTS; tables over a read-only disk on that path are still allowed. Previously such tables returned…
breakingA filesystem cache with the SLRU policy (the default) now requires max_file_segment_size <= max_size * min(slru_size_ratio, 1 - slru_size_ratio) (of each part with use_split_cache), so that a file segment fits whole into each SLRU queue. With the default settings, a cache smaller than 80 MiB must…
breakingkill_throw_if_noop now defaults to true. A compatibility level below 26.11 keeps the previous default. (Ye Yuan).
breakingIceberg time columns read from Parquet data files are now returned as microseconds since midnight, as documented, instead of whole seconds. The value now agrees with the manifest statistics and partition values, so WHERE on such a column no longer misses rows and the unit no longer depends on the…
breakingThe enable_hard_links setting of disks with the plain_rewritable metadata is enabled by default, so ALTER operations and mutations of MergeTree tables are supported on such disks. After the first hard link is created on a disk (by a mutation, an ALTER, a FREEZE or a backup), the disk is not…
breakingicebergTruncate now returns UInt64 for a UInt64 value; previously it returned Int64, so results of 2^63 and more came back negative, also as MergeTree partition IDs. It is also no longer treated as monotonic for Int64, whose lowest values wrap around, so filters on its argument no longer skip…
breakingparseDateTime now rejects ISO week 53 for ISO week-years that have only 52 weeks, instead of silently normalizing those dates into the following calendar year. (Henry Su).
breakingA vector_similarity index now rejects hnsw_max_connections_per_layer greater than 512 and hnsw_candidate_list_size_for_construction greater than 3200, because building an index with a huge hnsw_max_connections_per_layer could get the server killed by the OOM killer. Existing tables with larger…
breakingINSERT ... FROM INFILE in clickhouse-client and clickhouse-local inserts only the data from the file and no longer also inserts the data piped to stdin. This also fixes the query waiting for an open stdin pipe to close. (Jay Pokale).
breakingAn INSERT into a non-empty file through the File table engine or the file table function now fails with CANNOT_APPEND_TO_FILE for JSONCompact, JSONCompactStrings, ProtobufList, ProtobufSingle, for JSONEachRow and its aliases with output_format_json_array_of_rows = 1, for Template with a non-empty…
breakingTables with the S3, AzureBlobStorage, HDFS and data lake engines take format settings (e.g. format_csv_delimiter) from the server's settings and the table's SETTINGS clause, as File and URL do, and no longer from the session that creates them. Before, the session's values applied only until the…
breakingAdded 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 to NAMED…
breakingRemoved the experimental functions detectCharset and detectLanguageUnknown, because the data they relied on has an unknown license. Use detectLanguage for language detection. (Alexey Milovidov).
breakingSetting 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 was enough.…
breakingREVOKE ON ('') now revokes only the grant with exactly this source filter. Previously, it revoked all grants of the privilege on the source, including other filters or the grant without a filter. To revoke everything on a source, use REVOKE ON without a filter. Revoking a filter that produces a…
breakingA storage policy can no longer contain two disks that store data in the same directory, such as several cache disks over one disk, a cache disk together with the disk it wraps, or an encrypted disk without its own path over one of them. Such a policy makes every storage policy lookup fail with…
breakingThe install script (curl https://clickhouse.com/ | sh) now downloads the newest release branch instead of master. To get the master build as before, run curl https://clickhouse.com/ | CLICKHOUSE_BRANCH=master sh. CLICKHOUSE_BRANCH also accepts a branch such as 26.9. (Alexei Fedotov).
breakingThe compression method of file (the explicit argument or the one detected from the file name) now applies to a file inside an archive, like for a plain file, e.g. file('a.tar :: data.json.gz') is decompressed. Previously the argument was ignored for archives, so file('x.tar.gz :: a.csv', CSV,…
breakingThe legacy Delta Lake reader was removed, and Delta Lake tables are always read with delta-kernel-rs. The setting allow_delta_kernel_rs (allow_experimental_delta_kernel_rs) is obsolete and has no effect. Delta Lake tables on GCS that rely on http_client = 'gcp_oauth' and Azure blobs with a leading…
breakingCREATE 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 runs with the…
breakingServers older than 23.3 can no longer exchange distributed queries with newer servers over a cluster with a : the legacy interserver mode without a nonce has been removed. (Raúl Marín).
breakingThe max_distributed_connections setting no longer accepts 0. Setting it to 0 in a query, a session or a settings profile now fails with BAD_ARGUMENTS, and a server whose users configuration sets it to 0 in a profile does not start (CANNOT_LOAD_CONFIG); use 1 instead. Background inserts into a…
breakingFloating-point values with magnitude 2^63 or more are now converted exactly to Int128, UInt128, Int256, UInt256, Decimal128 and Decimal256, and the result is the same on every platform. Previously, for example, toInt128(1e20) returned 100000000000000000003, accurateCast(1e20, 'Int128') threw an…
breakingSetting count_distinct_optimization is obsolete and has no effect. It rewrote count(DISTINCT x) into count() over a GROUP BY x subquery, which is no longer faster than the radix partitioned uniqExact used for count(DISTINCT x) without GROUP BY (optimize_uniq_exact_radix_partitioning). (Raúl Marín).
breakingClickHouse refuses to start if shared objects are injected into its process with /etc/ld.so.preload, ld.so --preload, or auditing libraries. Previously only the LD_PRELOAD and similar environment variables were handled, by removing them and re-executing. (Alexey Milovidov).
breakingCREATE WORKLOAD, CREATE RESOURCE, DROP WORKLOAD and DROP RESOURCE are no longer part of the CREATE and DROP privilege groups and have to be granted explicitly (GRANT ALL still includes them). Previously GRANT CREATE ON .* was enough to create a default workload that throttles the queries of every…
breakingRemoved support for files in the async insert queue of Distributed tables written by ClickHouse versions older than 19.18. Such files are moved to the broken directory instead of being sent. (Alexey Milovidov).
breakingMongoDB 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 unless…
breakingYou can now drop a cached Vector Similarity Index for a specific table: SYSTEM DROP VECTOR SIMILARITY INDEX CACHE [ON CLUSTER c] [FOR TABLE [db.]table] , while the indexes of other tables stay cached. (Yan Alexandre).
securityA 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 the GRANTS of…
+2447 more items in the release notes
otherBackported in: Read columns of Compact part in the order of the file (to avoid backward seeks). (Azat Khuzhin).
otherBackported in: ORDER BY ... LIMIT whose sorted input blocks are smaller than max_block_size re-merges its accumulated blocks again, as in 26.9, instead of switching the re-merge off after its first run, so its peak memory no longer grows with the input. On the query from the peak goes from 1.38 GB…
fixBackported in: Fix wrong results after external GROUP BY and max_rows_to_group_by>0 (can lead to excessive spills with max_rows_to_group_by>0 and group_by_overflow_mode=any, but only in case of spilling limit is small). (Azat Khuzhin).
fixBackported in: Iceberg tables created or written through DataLakeCatalog with catalog_type = 'glue' now register their columns in the Glue table definition, so they can be queried by Athena and other Glue consumers. Previously the Glue entry had an empty column list and Athena failed with…
fixBackported in: Fixed toUTCTimestamp (to_utc_timestamp) returning a time one hour off for local times in the hours around a daylight saving time change, for both DateTime and DateTime64. It now converts a local time as toDateTime(s, time_zone) does, also a local time that happens twice or does not…
fixBackported in: Fixed a table with the keeper_path of another S3Queue or AzureQueue making it delete, move or tag its source files. The source must now match, and these actions need the WRITE grant. (Samuel Krempaský).
fixBackported in: Fix data loss in other subcolumns of a Nested column when a column TTL expires values of one of its subcolumns. (Lazizbek Ergashev).
fixBackported in: Fix a crash and incorrect results in the CapnProto format when the schema contains groups or named unions declared inline in a struct (g :group { ... }, u :union { ... }). (Nikita Mikhaylov).
fixBackported in: ATTACH MASKING POLICY is no longer accepted as a query. It skipped the checks of CREATE MASKING POLICY. (Nikolay Degterinsky).
fixBackported in: The secret first key argument of "keyed" SipHash SQL functions is now masked in system.query_log. (Robert Schulze).
fixBackported in: Fix a ppc64le bug where the bundled libunwind's unw_getcontext left callee-saved vector registers byte-swapped, which could make clickhouse-server fail to start intermittently. (Shichao Jin).
otherBackported in: Do not consult the query condition cache under a masking policy. (Groene AI).
otherBackported in: GROUP BY ... LIMIT queries over parallel replicas now prune the aggregation on every replica with the top-K heap (enable_group_by_top_k_optimization), with or without ORDER BY by the keys, and automatic parallel replicas decides after the plan is optimized, so it compares the plan…
otherBackported in: Faster PREWHERE with several conditions: the block is filtered once instead of after every condition when the later conditions cannot throw. ClickBench Q38 is up to 10% faster. (Groene AI).
fixBackported in: Fixed s3, s3Cluster, azureBlobStorage, gcs, hdfs and the other object storage table functions returning the data of the first entry for every entry of an archive that contains several entries with the same name (for example a tar archive to which tar -r appended a file again). The…
fixBackported in: Fixed INSERT, MATERIALIZE PROJECTION and merges failing with LOGICAL_ERROR Projection ... calculated the columns ... while its metadata describes the columns ... for a table with a projection that has a subquery (x IN (SELECT ...), EXISTS (SELECT ...)) in its SELECT list or GROUP BY…
fixBackported in: Fixed connecting over the native protocol (clickhouse-client, remote, Distributed without an interserver secret) to an older server whose settings profile has a negative or overflowing value of a Seconds setting, for example max_execution_time = -1: the connection failed with A…
fixBackported in: Fix type confusion when deserializing a query plan whose aggregate functions do not match the types of their input columns. Now such a plan is rejected with INCORRECT_DATA. (Alexey Milovidov).
fixBackported in: Fixed wrong results of GROUP BY, LIMIT BY and ORDER BY after GROUP BY with an injective function and a NULL argument: with concatAssumeInjective or partitionId and a typed NULL constant or a Nullable column, rows where that argument is NULL were split into several groups instead of…
fixBackported in: Fixed EXISTS returning 1 (and NOT EXISTS returning 0) when its subquery returns no rows because an arrayJoin in it expands an empty array. (Groene AI).
fixBackported in: Removed the background task that cleaned up unused directories in store/. With async_load_databases enabled, it could revoke all access rights from the data directory of an attached table (queries to the table failed with Permission denied) and delete the directory 30 days later. It…
fixBackported in: Fixed JSON schema inference that, depending on memory reuse, could reject valid input with TYPE_MISMATCH (for example {"x":0}, {"x":-1}, {"y":1}, {"y":18446744073709551615} in JSONEachRow) or infer a wrong type such as Array(Dynamic) instead of Array(Nullable(UInt64)). It also…
fixBackported in: Fix Iceberg manifest-list pruning skipping NULL partitions for ifNull/coalesce filters. (Groene AI).
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).
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