Project: ClickHouse (App Definition and Development / Database)
File: v21.6.9.7-stable.md

sidebar_position: 1 sidebar_label: 2022 Backported in : If SSDDictionary is created with DDL query, it can be created only inside user_files directory. (). Backported in : ParallelFormattingOutputFormat: Use mutex to handle the join to the collector_thread (https://github.com/ClickHouse/ClickHouse/issues/26694). (). Backported in : Do not remove data on ReplicatedMergeTree table shutdown to avoid creating data to metadata inconsistency. (). Backported in : Aggregate function parameters might be lost when applying some combinators causing exceptions like `Conversion from AggregateFunction(topKArray, Array(String)) to AggregateFunction(topKArray(10), Array(String)) is not supported`. It's fixed. Fixes and . (). Backported in : Fix library-bridge ids load. (). Backported in : Fix error `Missing columns: 'xxx'` when `DEFAULT` column references other non materialized column without `DEFAULT` expression. Fixes . (). Backported in : Fix reading of custom TLDs (stops processing with lower buffer or bigger file). (). Backported in : Now partition ID in queries like `ALTER TABLE ... PARTITION ID xxx` validates for correctness. Fixes . (). Backported in : (). Backported in : Fix synchronization in GRPCServer This PR fixes . (). Backported in : - Fix uninitialized memory in functions `multiSearch` with empty array, close . (). Backported in : In rare cases `system.detached_parts` table might contain incorrect information for some parts, it's fixed. Fixes . (). Backported in : Fixed incorrect validation of partition id for MergeTree tables that created with old syntax. (). Backported in : Fix incorrect result for query with row-level security, prewhere and LowCardinality filter. Fixes . (). Backported in : fix metric BackgroundMessageBrokerSchedulePoolTask, maybe mistyped. (). Fixed `cache`, `complexkeycache`, `ssdcache`, `complexkeyssdcache` configuration parsing. Options `allowreadexpiredkeys`, `maxupdatequeuesize`, `updatequeuepushtimeoutmilliseconds`, `querywaittimeout_milliseconds` were not parsed for dictionaries with non `cache` type. (). Backported in : Fix crash during projection materialization when some parts contain missing columns. This fixes . (). Backported in : Bugfix for windowFunnel's "strict" mode. This fixes . (). Backported in : Fix postgresql table function resulting in non-closing connections. Closes .

Backported in : Fix bad type cast when functions like `arrayHas` are applied to arrays of LowCardinality of Nullable of different non-numeric types like `DateTime` and `DateTime64`. In previous versions bad cast occurs. In new version it will lead to exception. This closes . (). Backported in : Remove duplicated source files in CMakeLists.txt in arrow-cmake. (). Backported in : Prevent crashes for some formats when NULL (tombstone) message was coming from Kafka. Closes . (). Backported in : Fix a rare bug in `DROP PART` which can lead to the error `Unexpected merged part intersects drop range`. (). Backported in : Fix selecting with extremes from a column of the type `LowCardinality(UUID)`. (). Backported in : Check cluster name before creating Distributed table, do not allow to create a table with incorrect cluster name. Fixes . (). Backported in : Fix cases, when read buffer fails with 'attempt to read after end of file'. Closes . (). Backported in : Temporarily switched ubuntu apt repository to mirror ru.archive.ubuntu.com as default one(archive.ubuntu.com) is not responding from our CI. (). Backported in : Fix extremely rare segfaults on shutdown due to incorrect order of context/config reloader shutdown. (). Backported in : Fixed possible excessive number of conditions moved from `WHERE` to `PREWHERE` (optimization controlled by settings `optimizemoveto_prewhere`). (). Backported in : Fix incorrect behavior in `clickhouse-keeper` when list watches (`getChildren`) triggered with `set` requests for children. (). Backported in : Fix possible read of uninitialized memory for queries with `Nullable(LowCardinality)` type and extremes. Fixes . (). Backported in : Fix inconsistent result in queries with `ORDER BY` and `Merge` tables with enabled setting `optimizereadin_order`. (). Fix prometheus metric name (). Fix mysqlkillsyncthreadrestore_test (). Try fix rabbitmq tests (). One more library bridge fix (). Update PVS checksum (). Fix flacky test (). Fix throw without exception in MySQL source. (). Fix race between REPLACE PARTITION and MOVE PARTITION (). Follow-up to (). Set version of tzlocal to 2.1 (). ODBC connection holder fix dangling reference (). Another try to fix BackgroundPoolTask decrement. (). More accurate check that zk root exists. ().