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

Backported in : Fix data race in `lgamma` function. This race was caught only in `tsan`, no side effects a really happened. (). Backported in : The function `groupArrayMoving` was not working for distributed queries. It's result was calculated within incorrect data type (without promotion to the largest type). The function `groupArrayMovingAvg` was returning integer number that was inconsistent with the `avg` function. This fixes . (). Backported in : CREATE USER IF NOT EXISTS now doesn't throw exception if the user exists. This fixes . (). Backported in : Fix optimization `optimizemovefunctionsoutof_any=1` in case of `any(func(<lambda>))`. (). Backported in : Fix CAST(Nullable(String), Enum()). (). Backported in : Fix columns duplication for range hashed dictionary created from DDL query. This fixes . (). Backported in : Fix access to redis dictionary after connection was dropped once. It may happen with `cache` and `direct` dictionary layouts. (). Backported in : Fix parsing row policies from users.xml when names of databases or tables contain dots. This fixes , . (). Backported in : AvroConfluent: Skip Kafka tombstone records AvroConfluent: Support skipping broken records ... (). Backported in : Fix DateTime64 conversion functions with constant argument. (). Backported in : Fix assert in `arrayElement` function in case of array elements are Nullable and array subscript is also Nullable. This fixes . (). Backported in : Fix function if with nullable constexpr as cond that is not literal NULL. Fixes . (). Backported in : Return passed number for numbers with MSB set in roundUpToPowerOfTwoOrZero(). (). Backported in : Fix potentially low performance and slightly incorrect result for `uniqExact`, `topK`, `sumDistinct` and similar aggregate functions called on Float types with NaN values. It also triggered assert in debug build. This fixes . (). Backported in : The server may crash if user passed specifically crafted arguments to the function `h3ToChildren`. This fixes . (). Backported in : Fix possible error `Totals having transform was already added to pipeline` in case of a query from delayed replica. (). Backported in : Fix missing or excessive headers in `TSV/CSVWithNames` formats. This fixes . (). Backported in : Fix queries with constant columns and `ORDER BY` prefix of primary key. (). Backported in : Fix empty output for `Arrow` and `Parquet` formats in case if query return zero rows. It was done because empty output is not valid for this formats. (). Backported in : Fix possible race in `StorageMemory`. https://clickhouse-test-reports.s3.yandex.net/0/9cac8a7244063d2092ad25d45502611e18d3749c/stresstest(thread)/stderr.log Have no idea how to write a test. (). Backported in : Fix `aggregate function any(x) is found inside another aggregate function in query` error with `SET optimizemovefunctionsoutof_any = 1` and aliases inside `any()`. (). Backported in : Fix invalid return type for comparison of tuples with `NULL` elements. Fixes . (). Backported in : Fix error in `parseDateTimeBestEffort` function when unix timestamp was passed as an argument. This fixes . (). Backported in : Concurrent `ALTER ... REPLACE/MOVE PARTITION ...` queries might cause deadlock. It's fixed. (). Backported in : Fix crash in JOIN with StorageMerge and `set enableoptimizepredicate_expression=1`. (). Backported in : Do not optimize any(arrayJoin()) -> arrayJoin() under optimizemovefunctionsoutof_any. (). Backported in : Fix incorrect message in `clickhouse-server.init` while checking user and group. (). Backported in : Fix incorrect sorting for `FixedString` columns. Fixes . ().