ClickHouse/docs/changelogs/v20.8.13.15-lts.md

11 KiB

ClickHouse release v20.8.13.15-lts FIXME as compared to v20.8.12.2-lts

Backward Incompatible Change

  • Backported in #20418: 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. #20282 (alesapin).

Performance Improvement

  • Backported in #20926: Fix performance of reading from Merge tables over huge number of MergeTree tables. Fixes #7748. #16988 (Anton Popov).

Bug Fix

  • Backported in #20953: Return number of affected rows for INSERT queries via MySQL protocol. Previously ClickHouse used to always return 0, it's fixed. Fixes #16605. #16715 (Winter Zhang).
  • Backported in #20951: TODO. #16866 (Alexander Tokmakov).
  • Backported in #20918: Fix indeterministic functions with predicate optimizer. This fixes #17244. #17273 (Winter Zhang).
  • Backported in #20924: Fix alter query hang when the corresponding mutation was killed on the different replica. Fixes #16953. #17499 (alesapin).
  • Backported in #20915: Fix empty system.stack_trace table when server is running in daemon mode. #17630 (Amos Bird).
  • Backported in #20922: Fixed segfault when there is not enough space when inserting into Distributed table. #17737 (Alexander Tokmakov).
  • Backported in #20920: Fix possible segfault in topK aggregate function. This closes #17404. #17845 (Maksim Kita).
  • Backported in #20919: Fixed std::out_of_range: basic_string in S3 URL parsing. #18059 (Vladimir Chebotarev).
  • Backported in #20917: - 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 #14489. #18278 (Denis Glazachev).
  • Backported in #20914: Fix filling table system.settings_profile_elements. This PR fixes #18231. #18379 (Vitaly Baranov).
  • Backported in #20913: Disable write with AIO during merges because it can lead to extremely rare data corruption of primary key columns during merge. #18481 (alesapin).
  • Backported in #20912: Fix bug which may lead to ALTER queries hung after corresponding mutation kill. Found by thread fuzzer. #18518 (alesapin).
  • Backported in #20910: 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. #18565 (hexiaoting).
  • Backported in #20907: Fix Logger with unmatched arg size. #18717 (sundyli).
  • Backported in #20905: 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 #20904: Make sure groupUniqArray returns correct type for argument of Enum type. This closes #17875. #19019 (Alexey Milovidov).
  • Backported in #20901: 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 #20900: Fix infinite reading from file in ORC format (was introduced in #10580). Fixes #19095. #19134 (Nikolai Kochetov).
  • Backported in #20897: - Fix default value in join types with non-zero default (e.g. some Enums). Closes #18197. #19360 (Vladimir C).
  • Backported in #20898: Fix possible buffer overflow in Uber H3 library. See https://github.com/uber/h3/issues/392. This closes #19219. #19383 (Alexey Milovidov).
  • Backported in #20894: Fixed very rare bug that might cause mutation to hang after DROP/DETACH/REPLACE/MOVE PARTITION. It was partially fixed by #15537 for the most cases. #19443 (Alexander Tokmakov).
  • Backported in #20896: Buffer overflow (on memory read) was possible if addMonth function was called with specifically crafted arguments. This fixes #19441. This fixes #19413. #19472 (Alexey Milovidov).
  • Backported in #20893: Query CREATE DICTIONARY id expression fix. #19571 (Maksim Kita).
  • Backported in #20890: Fix wrong result of function neighbor for LowCardinality argument. Fixes #10333. #19617 (Nikolai Kochetov).
  • Backported in #20525: Background thread which executes ON CLUSTER queries might hang waiting for dropped replicated table to do something. It's fixed. #19684 (yiguolei).
  • Backported in #20891: Fix a segmentation fault in bitmapAndnot function. Fixes #19668. #19713 (Maksim Kita).
  • Backported in #20889: In previous versions, unusual arguments for function arrayEnumerateUniq may cause crash or infinite loop. This closes #19787. #19788 (Alexey Milovidov).
  • Backported in #20521: The MongoDB table engine now establishes connection only when it's going to read data. ATTACH TABLE won't try to connect anymore. #20110 (Vitaly Baranov).
  • Backported in #20533: 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 #19719. #20286 (Nikita Mikhaylov).
  • Backported in #20414: Restrict to DROP or RENAME version column of *CollapsingMergeTree and ReplacingMergeTree table engines. #20300 (alesapin).
  • Backported in #20522: Avoid invalid dereference in RANGE_HASHED() dictionary. #20345 (Azat Khuzhin).
  • Backported in #20591: Fixed inconsistent behavior of dictionary in case of queries where we look for absent keys in dictionary. #20578 (Nikita Mikhaylov).