ClickHouse/docs/changelogs/v24.3.5.46-lts.md

7.0 KiB

sidebar_position sidebar_label
1 2024

2024 Changelog

ClickHouse release v24.3.5.46-lts (fe54cead6b) FIXME as compared to v24.3.4.147-lts (31a7bdc346)

Improvement

Critical Bug Fix (crash, LOGICAL_ERROR, data loss, RBAC)

  • Backported in #65283: Fix crash with UniqInjectiveFunctionsEliminationPass and uniqCombined. #65188 (Raúl Marín).
  • Backported in #65370: Fix a bug in ClickHouse Keeper that causes digest mismatch during closing session. #65198 (Aleksei Filatov).
  • Backported in #65446: Use correct memory alignment for Distinct combinator. Previously, crash could happen because of invalid memory allocation when the combinator was used. #65379 (Antonio Andelic).
  • Backported in #65708: Fix crash in maxIntersections. #65689 (Raúl Marín).

Bug Fix (user-visible misbehavior in an official stable release)

  • Backported in #65352: Fix possible abort on uncaught exception in ~WriteBufferFromFileDescriptor in StatusFile. #64206 (Kruglov Pavel).
  • Backported in #65327: Fix the crash loop when restoring from backup is blocked by creating an MV with a definer that hasn't been restored yet. #64595 (pufit).
  • Backported in #65538: Fix crash for ALTER TABLE ... ON CLUSTER ... MODIFY SQL SECURITY. #64957 (pufit).
  • Backported in #65576: Fix crash on destroying AccessControl: add explicit shutdown. #64993 (Vitaly Baranov).
  • Backported in #65159: Fix pushing arithmetic operations out of aggregation. In the new analyzer, optimization was applied only once. #65104 (Dmitry Novik).
  • Backported in #65615: Fix aggregate function name rewriting in the new analyzer. #65110 (Dmitry Novik).
  • Backported in #65728: Eliminate injective function in argument of functions uniq* recursively. This used to work correctly but was broken in the new analyzer. #65140 (Duc Canh Le).
  • Backported in #65261: Fix the bug in Hashed and Hashed_Array dictionary short circuit evaluation, which may read uninitialized number, leading to various errors. #65256 (jsc0218).
  • Backported in #65667: Disable non-intersecting-parts optimization for queries with FINAL in case of read-in-order optimization was enabled. This could lead to an incorrect query result. As a workaround, disable do_not_merge_across_partitions_select_final and split_parts_ranges_into_intersecting_and_non_intersecting_final before this fix is merged. #65505 (Nikolai Kochetov).
  • Backported in #65784: Fixed bug in MergeJoin. Column in sparse serialisation might be treated as a column of its nested type though the required conversion wasn't performed. #65632 (Nikita Taranov).
  • Backported in #65929: For queries that read from PostgreSQL, cancel the internal PostgreSQL query if the ClickHouse query is finished. Otherwise, ClickHouse query cannot be canceled until the internal PostgreSQL query is finished. #65771 (Maksim Kita).
  • Backported in #65824: Fix a bug in short circuit logic when old analyzer and dictGetOrDefault is used. #65802 (jsc0218).

NOT FOR CHANGELOG / INSIGNIFICANT