mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
9.2 KiB
9.2 KiB
ClickHouse release v20.5.5.74-stable FIXME as compared to v20.5.4.40-stable
Improvement
- Backported in #13920: Fix data race in
lgamma
function. This race was caught only intsan
, no side effects a really happened. #13842 (Nikolai Kochetov).
Bug Fix
- Backported in #13300: 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 functiongroupArrayMovingAvg
was returning integer number that was inconsistent with theavg
function. This fixes #12568. #12622 (Alexey Milovidov). - Backported in #13030: CREATE USER IF NOT EXISTS now doesn't throw exception if the user exists. This fixes #12507. #12646 (Vitaly Baranov).
- Backported in #12996: Fix optimization
optimize_move_functions_out_of_any=1
in case ofany(func(<lambda>))
. #12664 (Artem Zuikov). - Backported in #13092: Fix CAST(Nullable(String), Enum()). #12745 (Azat Khuzhin).
- Backported in #12984: Fix columns duplication for range hashed dictionary created from DDL query. This fixes #10605. #12857 (alesapin).
- Backported in #13561: Fix access to redis dictionary after connection was dropped once. It may happen with
cache
anddirect
dictionary layouts. #13082 (Anton Popov). - Backported in #13508: Fix parsing row policies from users.xml when names of databases or tables contain dots. This fixes #5779, #12527. #13199 (Vitaly Baranov).
- Backported in #13358: AvroConfluent: Skip Kafka tombstone records AvroConfluent: Support skipping broken records ... #13203 (Andrew Onyshchuk).
- Backported in #13223: Fix DateTime64 conversion functions with constant argument. #13205 (Azat Khuzhin).
- Backported in #13244: Fix assert in
arrayElement
function in case of array elements are Nullable and array subscript is also Nullable. This fixes #12172. #13224 (Alexey Milovidov). - Backported in #13268: Fix function if with nullable constexpr as cond that is not literal NULL. Fixes #12463. #13226 (Alexey Milovidov).
- Backported in #13351: Return passed number for numbers with MSB set in roundUpToPowerOfTwoOrZero(). #13234 (Azat Khuzhin).
- Backported in #13299: 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 #12491. #13254 (Alexey Milovidov). - Backported in #13315: The server may crash if user passed specifically crafted arguments to the function
h3ToChildren
. This fixes #13275. #13277 (Alexey Milovidov). - Backported in #13328: Fix possible error
Totals having transform was already added to pipeline
in case of a query from delayed replica. #13290 (Nikolai Kochetov). - Backported in #13609: Fix missing or excessive headers in
TSV/CSVWithNames
formats. This fixes #12504. #13343 (Azat Khuzhin). - Backported in #13482: Fix queries with constant columns and
ORDER BY
prefix of primary key. #13396 (Anton Popov). - Backported in #13488: Fix empty output for
Arrow
andParquet
formats in case if query return zero rows. It was done because empty output is not valid for this formats. #13399 (hcz). - Backported in #13569: Fix possible race in
StorageMemory
. https://clickhouse-test-reports.s3.yandex.net/0/9cac8a7244063d2092ad25d45502611e18d3749c/stress_test_(thread)/stderr.log Have no idea how to write a test. #13416 (Nikolai Kochetov). - Backported in #13442: Fix
aggregate function any(x) is found inside another aggregate function in query
error withSET optimize_move_functions_out_of_any = 1
and aliases insideany()
. #13419 (Artem Zuikov). - Backported in #13486: Fix invalid return type for comparison of tuples with
NULL
elements. Fixes #12461. #13420 (Nikolai Kochetov). - Backported in #13463: Fix error in
parseDateTimeBestEffort
function when unix timestamp was passed as an argument. This fixes #13362. #13441 (Alexey Milovidov). - Backported in #13663: Concurrent
ALTER ... REPLACE/MOVE PARTITION ...
queries might cause deadlock. It's fixed. #13626 (Alexander Tokmakov). - Backported in #13717: Fix crash in JOIN with StorageMerge and
set enable_optimize_predicate_expression=1
. #13679 (Artem Zuikov). - Backported in #13701: Do not optimize any(arrayJoin()) -> arrayJoin() under optimize_move_functions_out_of_any. #13681 (Azat Khuzhin).
- Backported in #13732: Fix incorrect message in
clickhouse-server.init
while checking user and group. #13711 (ylchou). - Backported in #13903: Fix incorrect sorting for
FixedString
columns. Fixes #13182. #13887 (Nikolai Kochetov).