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

Backported in : Explicitly set uid / gid of clickhouse user & group to the fixed values (101) in clickhouse-server images. (). Backported in : Fix indeterministic functions with predicate optimizer. This fixes . (). Backported in : fix data type convert issue for mysql engine ... (). Backported in : Fix error when query `MODIFY COLUMN ... REMOVE TTL` doesn't actually remove column TTL. (). Backported in : Fix inserting a row with default value in case of parsing error in the last column. Fixes . (). Backported in : Fix possible incomplete query result while reading from `MergeTree` in case of read backoff (message `<Debug> MergeTreeReadPool: Will lower number of threads` in logs). Was introduced in . Fixes . (). Backported in : `SELECT JOIN` now requires the `SELECT` privilege on each of the joined tables. This PR fixes . (). Backported in : Fix possible crashes in aggregate functions with combinator `Distinct`, while using two-level aggregation. Fixes . (). Backported in : Fix index analysis of binary functions with constant argument which leads to wrong query results. This fixes . (). Backported in : Fix filling table `system.settingsprofileelements`. This PR fixes . (). Backported in : Restrict merges from wide to compact parts. In case of vertical merge it led to broken result part. (). Backported in : Fixed `value is too short` error when executing `toType(...)` functions (`toDate`, `toUInt32`, etc) with argument of type `Nullable(String)`. Now such functions return `NULL` on parsing errors instead of throwing exception. Fixes . (). Backported in : Disable constant folding for subqueries on the analysis stage, when the result cannot be calculated. (). Backported in : Proper support for 12AM in `parseDateTimeBestEffort` function. This fixes . (). Backported in : Disable write with AIO during merges because it can lead to extremely rare data corruption of primary key columns during merge. (). Backported in : Fix bug which may lead to `ALTER` queries hung after corresponding mutation kill. Found by thread fuzzer. (). Backported in : Fix possible `Pipeline stuck` error while using `ORDER BY` after subquery with `RIGHT` or `FULL` join. (). Backported in : Add FixedString Data type support. I'll get this exception "Code: 50, e.displayText() = DB::Exception: Unsupported type FixedString(1)" when replicating data from MySQL to ClickHouse. This patch fixes bug Also fixes . (). Backported in : Fix Logger with unmatched arg size. (). Backported in : 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 . (). Backported in : Asynchronous distributed INSERTs can be rejected by the server if the setting `networkcompressionmethod` is globally set to non-default value. This fixes . (). Backported in : Fix If combinator with unary function and Nullable types. (). Backported in : Fix possible hang at shutdown in clickhouse-local. This fixes . (). Backported in : Attach partition should reset the mutation. . (). Backported in : Fix bug when mutation with some escaped text (like `ALTER

UPDATE e = CAST('foo', 'Enum8(\'foo\' = 1')` serialized incorrectly. Fixes . (). Backported in : Fixed very rare deadlock at shutdown. (). Backported in : Disable `optimizemovefunctionsoutof_any` because optimization is not always correct. This closes . This closes . (). Backported in : Fix inserting of `LowCardinality` column to table with `TinyLog` engine. Fixes . (). Backported in : Fix possible error `Expected single dictionary argument for function` if use function `ignore` with `LowCardinality` argument. Fixes . (). Backported in : Make sure `groupUniqArray` returns correct type for argument of Enum type. This closes . (). Backported in : Restrict `MODIFY TTL` queries for `MergeTree` tables created in old syntax. Previously the query succeeded, but actually it had no effect. (). Backported in : Fixed `There is no checkpoint` error when inserting data through http interface using `Template` or `CustomSeparated` format. Fixes . (). Backported in : Fix startup bug when clickhouse was not able to read compression codec from `LowCardinality(Nullable(...))` and throws exception `Attempt to read after EOF`. Fixes . (). Backported in : Fix infinite reading from file in `ORC` format (was introduced in ). Fixes . (). Backported in : Fix bug when concurrent `ALTER` and `DROP` queries may hang while processing ReplicatedMergeTree table. (). Backported in : Fix error `Cannot convert column now64() because it is constant but values of constants are different in source and result`. Continuation of . (). Backported in : Fix system.parts state column (LOGICALERROR when querying this column, due to incorrect order). (). Backported in : - Fix default value in join types with non-zero default (e.g. some Enums). Closes . (). Backported in : Fix possible buffer overflow in Uber H3 library. See https://github.com/uber/h3/issues/392. This closes . (). Backported in : Fixed very rare bug that might cause mutation to hang after `DROP/DETACH/REPLACE/MOVE PARTITION`. It was partially fixed by for the most cases. (). Backported in : Mark distributed batch as broken in case of empty data block in one of files. (). Backported in : Buffer overflow (on memory read) was possible if `addMonth` function was called with specifically crafted arguments. This fixes . This fixes . (). Backported in : Fix SIGSEGV with mergetreeminrowsforconcurrentread/mergetreeminbytesforconcurrentread=0/UINT64_MAX. (). Backported in : Query CREATE DICTIONARY id expression fix. (). Backported in : `DROP/DETACH TABLE table ON CLUSTER cluster SYNC` query might hang, it's fixed. Fixes . (). Backported in : Fix use-after-free of the CompressedWriteBuffer in Connection after disconnect. (). Backported in : Fix wrong result of function `neighbor` for `LowCardinality` argument. Fixes . (). Backported in : Some functions with big integers may cause segfault. Big integers is experimental feature. This closes . (). Backported in : Fix a segmentation fault in `bitmapAndnot` function. Fixes . (). Backported in : Fixed stack overflow when using accurate comparison of arithmetic type with string type. (). Backported in : In previous versions, unusual arguments for function arrayEnumerateUniq may cause crash or infinite loop. This closes . (). Backported in : Deadlock was possible if system.text_log is enabled. This fixes . (). Backported in : BloomFilter index crash fix. Fixes . (). Backported in : Update timezones info to 2020e. ().