ClickHouse/docs/changelogs/v24.5.4.49-stable.md

7.2 KiB

sidebar_position sidebar_label
1 2024

2024 Changelog

ClickHouse release v24.5.4.49-stable (63b760955a) FIXME as compared to v24.5.3.5-stable (e0eb66f8e1)

Improvement

  • Backported in #65886: Always start Keeper with sufficient amount of threads in global thread pool. #64444 (Duc Canh Le).
  • Backported in #65304: Returned back the behaviour of how ClickHouse works and interprets Tuples in CSV format. This change effectively reverts https://github.com/ClickHouse/ClickHouse/pull/60994 and makes it available only under a few settings: output_format_csv_serialize_tuple_into_separate_columns, input_format_csv_deserialize_separate_columns_into_tuple and input_format_csv_try_infer_strings_from_quoted_tuples. #65170 (Nikita Mikhaylov).
  • Backported in #65896: Respect cgroup CPU limit in Keeper. #65819 (Antonio Andelic).

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

  • Backported in #65287: Fix crash with UniqInjectiveFunctionsEliminationPass and uniqCombined. #65188 (Raúl Marín).
  • Backported in #65374: Fix a bug in ClickHouse Keeper that causes digest mismatch during closing session. #65198 (Aleksei Filatov).
  • Backported in #65437: Forbid QUALIFY clause in the old analyzer. The old analyzer ignored QUALIFY, so it could lead to unexpected data removal in mutations. #65356 (Dmitry Novik).
  • Backported in #65450: 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 #65712: Fix crash in maxIntersections. #65689 (Raúl Marín).

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

  • Backported in #65681: Fix duplicate alias error for distributed queries with ARRAY JOIN. #64226 (Nikolai Kochetov).
  • Backported in #65331: 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 #64835: Fix bug which could lead to non-working TTLs with expressions. #64694 (alesapin).
  • Backported in #65542: Fix crash for ALTER TABLE ... ON CLUSTER ... MODIFY SQL SECURITY. #64957 (pufit).
  • Backported in #65580: Fix crash on destroying AccessControl: add explicit shutdown. #64993 (Vitaly Baranov).
  • Backported in #65618: Fix possible infinite query duration in case of cyclic aliases. Fixes #64849. #65081 (Nikolai Kochetov).
  • Backported in #65617: Fix aggregate function name rewriting in the new analyzer. #65110 (Dmitry Novik).
  • Backported in #65732: 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 #65265: 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 #65663: 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 #65788: 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 #65812: Fix invalid exceptions in function parseDateTime with %F and %D placeholders. #65768 (Antonio Andelic).
  • Backported in #65828: Fix a bug in short circuit logic when old analyzer and dictGetOrDefault is used. #65802 (jsc0218).

NOT FOR CHANGELOG / INSIGNIFICANT