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

Backported in : Now it's possible to change the type of version column for `VersionedCollapsingMergeTree` with `ALTER` query. (). Backported in : Fixed the incorrect sorting order of `Nullable` column. This fixes . (). Backported in : Fix wrong monotonicity detection for shrunk `Int -> Int` cast of signed types. It might lead to incorrect query result. This bug is unveiled in . (). Backported in : Fix a problem where the server may get stuck on startup while talking to ZooKeeper, if the configuration files have to be fetched from ZK (using the `from_zk` include option). This fixes . (). Backported in : Fixed segfault in CacheDictionary . (). Backported in : Publish CPU frequencies per logical core in `system.asynchronous_metrics`. This fixes . (). Backported in : Fix to make predicate push down work when subquery contains finalizeAggregation function. Fixes . (). Backported in : Fix crash in RIGHT or FULL JOIN with join_algorith='auto' when memory limit exceeded and we should change HashJoin with MergeJoin. (). Backported in : If function `bar` was called with specifically crafted arguments, buffer overflow was possible. This closes . (). Backported in : We already use padded comparison between String and FixedString (https://github.com/ClickHouse/ClickHouse/blob/master/src/Functions/FunctionsComparison.h#L333). This PR applies the same logic to field comparison which corrects the usage of FixedString as primary keys. This fixes . (). Backported in : Fixes `Data compressed with different methods` in `joinalgorithm='auto'`. Keep LowCardinality as type for left table join key in `joinalgorithm='partial_merge'`. (). Backported in : Fix bug in table engine `Buffer` which doesn't allow to insert data of new structure into `Buffer` after `ALTER` query. Fixes . (). Backported in : Fix instance crash when using joinGet with LowCardinality types. This fixes . (). Backported in : Fix MSan report in QueryLog. Uninitialized memory can be used for the field `memory_usage`. (). Backported in : Fix hang of queries with a lot of subqueries to same table of `MySQL` engine. Previously, if there were more than 16 subqueries to same `MySQL` table in query, it hang forever. (). Backported in : Fix rare race condition on server startup when system.logs are enabled. (). Backported in : Fix race condition during MergeTree table rename and background cleanup. (). Backported in : Report proper error when the second argument of `boundingRatio` aggregate function has a wrong type. (). Backported in : Fix bug with event subscription in DDLWorker which rarely may lead to query hangs in `ON CLUSTER`. Introduced in . (). Backported in : Fix `Missing columns` errors when selecting columns which absent in data, but depend on other columns which also absent in data. Fixes . (). Backported in : Fix bug when `ILIKE` operator stops being case insensitive if `LIKE` with the same pattern was executed. (). Backported in : Mutation might hang waiting for some non-existent part after `MOVE` or `REPLACE PARTITION` or, in rare cases, after `DETACH` or `DROP PARTITION`. It's fixed. (). Backported in : Fix 'Database <db> doesn't exist.' in queries with IN and Distributed table when there's no database on initiator. (). Backported in : Prevent the possibility of error message `Could not calculate available disk space (statvfs), errno: 4, strerror: Interrupted system call`. This fixes . (). Backported in : Fixed `Element ... is not a constant expression` error when using `JSON` function result in `VALUES`, `LIMIT` or right side of `IN` operator. (). Backported in : Fix the order of destruction for resources in `ReadFromStorage` step of query plan. It might cause crashes in rare cases. Possibly connected with . ().