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

Backported in : Now it's not allowed to create MergeTree tables in old syntax with table TTL because it's just ignored. Attach of old tables is still possible. (). Backported in : Fix performance of reading from `Merge` tables over huge number of `MergeTree` tables. Fixes . (). Backported in : Return number of affected rows for INSERT queries via MySQL protocol. Previously ClickHouse used to always return 0, it's fixed. Fixes . (). Backported in : TODO. (). Backported in : Fix indeterministic functions with predicate optimizer. This fixes . (). Backported in : Fix alter query hang when the corresponding mutation was killed on the different replica. Fixes . (). Backported in : Fix empty `system.stack_trace` table when server is running in daemon mode. (). Backported in : Fixed segfault when there is not enough space when inserting into `Distributed` table. (). Backported in : Fix possible segfault in `topK` aggregate function. This closes . (). Backported in : Fixed `std::outofrange: basic_string` in S3 URL parsing. (). Backported in : - Fixed issue when `clickhouse-odbc-bridge` process is unreachable by server on machines with dual IPv4/IPv6 stack; - Fixed issue when ODBC dictionary updates are performed using malformed queries and/or cause crashes; Possibly closes . (). Backported in : Fix filling table `system.settingsprofileelements`. This PR 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 previous bug when date overflow with different values. Strict Date value limit to "2106-02-07", cast date > "2106-02-07" to value 0. (). Backported in : Fix Logger with unmatched arg size. (). Backported in : Fix bug when mutation with some escaped text (like `ALTER ... UPDATE e = CAST('foo', 'Enum8(\'foo\' = 1')` serialized incorrectly. 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 : Fix infinite reading from file in `ORC` format (was introduced in ). Fixes . (). 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 : Buffer overflow (on memory read) was possible if `addMonth` function was called with specifically crafted arguments. This fixes . This fixes . (). Backported in : Query CREATE DICTIONARY id expression fix. (). Backported in : Fix wrong result of function `neighbor` for `LowCardinality` argument. Fixes . (). Backported in : Background thread which executes `ON CLUSTER` queries might hang waiting for dropped replicated table to do something. It's fixed. (). Backported in : Fix a segmentation fault in `bitmapAndnot` function. Fixes . (). Backported in : In previous versions, unusual arguments for function arrayEnumerateUniq may cause crash or infinite loop. This closes . (). Backported in : The `MongoDB` table engine now establishes connection only when it's going to read data. `ATTACH TABLE` won't try to connect anymore. (). Backported in : Fixed the behavior when in case of broken JSON we tried to read the whole file into memory which leads to exception from the allocator. Fixes . (). Backported in : Restrict to `DROP` or `RENAME` version column of `CollapsingMergeTree` and `ReplacingMergeTree` table engines. (). Backported in : Avoid invalid dereference in RANGE_HASHED() dictionary. (). Backported in : Fixed inconsistent behavior of dictionary in case of queries where we look for absent keys in dictionary. ().