ClickHouse/docs/changelogs/v21.1.2.15-stable.md

7.9 KiB

sidebar_position sidebar_label
1 2022

2022 Changelog

ClickHouse release v21.1.2.15-stable FIXME as compared to v21.1.1.5646-prestable

Improvement

  • Backported in #19148: Explicitly set uid / gid of clickhouse user & group to the fixed values (101) in clickhouse-server images. #19096 (filimonov).

Bug Fix

  • Backported in #19203: SELECT count() FROM table now can be executed if only one any column can be selected from the table. This PR fixes #10639. #18233 (Vitaly Baranov).
  • Backported in #19161: Fix index analysis of binary functions with constant argument which leads to wrong query results. This fixes #18364. #18373 (Amos Bird).
  • Backported in #18948: Fixed Attempt to read after eof error when trying to CAST NULL from Nullable(String) to Nullable(Decimal(P, S)). Now function CAST returns NULL when it cannot parse decimal from nullable string. Fixes #7690. #18718 (Winter Zhang).
  • Backported in #18934: Fix issue with bitmapOrCardinality that may lead to nullptr dereference. This closes #18911. #18912 (sundyli).
  • Backported in #19115: Attach partition should reset the mutation. #18804. #18935 (fastio).
  • Backported in #18966: Fix bug when mutation with some escaped text (like ALTER ... UPDATE e = CAST('foo', 'Enum8(\'foo\' = 1') serialized incorrectly. Fixes #18878. #18944 (alesapin).
  • Backported in #19005: Fix error Task was not found in task queue (possible only for remote queries, with async_socket_for_remote = 1). #18964 (Nikolai Kochetov).
  • Backported in #19009: Fix incorrect behavior when ALTER TABLE ... DROP PART 'part_name' query removes all deduplication blocks for the whole partition. Fixes #18874. #18969 (alesapin).
  • Backported in #19193: Fixed very rare deadlock at shutdown. #18977 (Alexander Tokmakov).
  • Backported in #19004: Fix possible exception QueryPipeline stream: different number of columns caused by merging of query plan's Expression steps. Fixes #18190. #18980 (Nikolai Kochetov).
  • Backported in #19045: Disable optimize_move_functions_out_of_any because optimization is not always correct. This closes #18051. This closes #18973. #18981 (Alexey Milovidov).
  • Backported in #19070: Join tries to materialize const columns, but our code waits for them in other places. #18982 (Nikita Mikhaylov).
  • Backported in #19053: Fix inserting of LowCardinality column to table with TinyLog engine. Fixes #18629. #19010 (Nikolai Kochetov).
  • Backported in #19081: Fix possible error Expected single dictionary argument for function if use function ignore with LowCardinality argument. Fixes #14275. #19016 (Nikolai Kochetov).
  • Backported in #19046: Make sure groupUniqArray returns correct type for argument of Enum type. This closes #17875. #19019 (Alexey Milovidov).
  • Backported in #19126: Restrict MODIFY TTL queries for MergeTree tables created in old syntax. Previously the query succeeded, but actually it had no effect. #19064 (Anton Popov).
  • Backported in #19121: Simplify the implementation of tupleHammingDistance. Support for tuples of any equal length. Fixes #19029. #19084 (Nikolai Kochetov).
  • Backported in #19150: Fix startup bug when clickhouse was not able to read compression codec from LowCardinality(Nullable(...)) and throws exception Attempt to read after EOF. Fixes #18340. #19101 (alesapin).
  • Backported in #19177: Fix bug in merge tree data writer which can lead to marks with bigger size than fixed granularity size. Fixes #18913. #19123 (alesapin).
  • Backported in #19179: Fix infinite reading from file in ORC format (was introduced in #10580). Fixes #19095. #19134 (Nikolai Kochetov).
  • Backported in #19178: - Split RemoteQueryExecutorReadContext into module part - Fix leaking of pipe fd for async_socket_for_remote. #19153 (Azat Khuzhin).