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

20 KiB
Raw Permalink Blame History

sidebar_position sidebar_label
1 2024

2024 Changelog

ClickHouse release v24.4.2.141-stable (9e23d27bd1) FIXME as compared to v24.4.1.2088-stable (6d4b31322d)

Improvement

Build/Testing/Packaging Improvement

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

  • Backported in #64279: Fix queries with FINAL give wrong result when table does not use adaptive granularity. #62432 (Duc Canh Le).
  • Backported in #63295: Fix crash with untuple and unresolved lambda. #63131 (Raúl Marín).
  • Backported in #63978: Fix intersect parts when restart after drop range. #63202 (Han Fei).
  • Backported in #63413: Fix a misbehavior when SQL security defaults don't load for old tables during server startup. #63209 (pufit).
  • Backported in #63388: JOIN filter push down filled join fix. Closes #63228. #63234 (Maksim Kita).
  • Backported in #63618: Fix bug which could potentially lead to rare LOGICAL_ERROR during SELECT query with message: Unexpected return type from materialize. Expected type_XXX. Got type_YYY. Introduced in #59379. #63353 (alesapin).
  • Backported in #63451: Fix X-ClickHouse-Timezone header returning wrong timezone when using session_timezone as query level setting. #63377 (Andrey Zvonov).
  • Backported in #63605: Fix backup of projection part in case projection was removed from table metadata, but part still has projection. #63426 (Kseniia Sumarokova).
  • Backported in #63510: Fix 'Every derived table must have its own alias' error for MYSQL dictionary source, close #63341. #63481 (vdimir).
  • Backported in #63592: Avoid segafult in MergeTreePrefetchedReadPool while fetching projection parts. #63513 (Antonio Andelic).
  • Backported in #63750: Read only the necessary columns from VIEW (new analyzer). Closes #62594. #63688 (Maksim Kita).
  • Backported in #63772: Fix #63539. Forbid WINDOW redefinition in new analyzer. #63694 (Dmitry Novik).
  • Backported in #63872: Flatten_nested is broken with replicated database. #63695 (Nikolai Kochetov).
  • Backported in #63854: Fix Not found column and CAST AS Map from array requires nested tuple of 2 elements exceptions for distributed queries which use Map(Nothing, Nothing) type. Fixes #63637. #63753 (Nikolai Kochetov).
  • Backported in #63847: Fix possible ILLEGAL_COLUMN error in partial_merge join, close #37928. #63755 (vdimir).
  • Backported in #63908: query_plan_remove_redundant_distinct can break queries with WINDOW FUNCTIONS (with allow_experimental_analyzer is on). Fixes #62820. #63776 (Igor Nikonov).
  • Backported in #63955: Fix possible crash with SYSTEM UNLOAD PRIMARY KEY. #63778 (Raúl Marín).
  • Backported in #63938: Allow JOIN filter push down to both streams if only single equivalent column is used in query. Closes #63799. #63819 (Maksim Kita).
  • Backported in #63991: Fix incorrect select query result when parallel replicas were used to read from a Materialized View. #63861 (Nikita Taranov).
  • Backported in #64033: Fix a error Database name is empty for remote queries with lambdas over the cluster with modified default database. Fixes #63471. #63864 (Nikolai Kochetov).
  • Backported in #64561: Fix SIGSEGV due to CPU/Real (query_profiler_real_time_period_ns/query_profiler_cpu_time_period_ns) profiler (has been an issue since 2022, that leads to periodic server crashes, especially if you were using distributed engine). #63865 (Azat Khuzhin).
  • Backported in #64011: Fix analyzer - IN function with arbitrary deep sub-selects in materialized view to use insertion block. #63930 (Yakov Olkhovskiy).
  • Backported in #64238: Fix resolve of unqualified COLUMNS matcher. Preserve the input columns order and forbid usage of unknown identifiers. #63962 (Dmitry Novik).
  • Backported in #64103: Deserialize untrusted binary inputs in a safer way. #64024 (Robert Schulze).
  • Backported in #64170: Add missing settings to recoverLostReplica. #64040 (Raúl Marín).
  • Backported in #64322: This fix will use a proper redefined context with the correct definer for each individual view in the query pipeline Closes #63777. #64079 (pufit).
  • Backported in #64382: Fix analyzer: "Not found column" error is fixed when using INTERPOLATE. #64096 (Yakov Olkhovskiy).
  • Backported in #64568: Fix creating backups to S3 buckets with different credentials from the disk containing the file. #64153 (Antonio Andelic).
  • Backported in #64272: Prevent LOGICAL_ERROR on CREATE TABLE as MaterializedView. #64174 (Raúl Marín).
  • Backported in #64330: The query cache now considers two identical queries against different databases as different. The previous behavior could be used to bypass missing privileges to read from a table. #64199 (Robert Schulze).
  • Backported in #64254: Ignore text_log config when using Keeper. #64218 (Antonio Andelic).
  • Backported in #64690: Fix Query Tree size validation. Closes #63701. #64377 (Dmitry Novik).
  • Backported in #64409: Fix Logical error: Bad cast for Buffer table with PREWHERE. Fixes #64172. #64388 (Nikolai Kochetov).
  • Backported in #64727: Fixed CREATE TABLE AS queries for tables with default expressions. #64455 (Anton Popov).
  • Backported in #64623: Fix an error Cannot find column in distributed queries with constant CTE in the GROUP BY key. #64519 (Nikolai Kochetov).
  • Backported in #64680: Fix #64612. Do not rewrite aggregation if -If combinator is already used. #64638 (Dmitry Novik).
  • Backported in #64942: Fix OrderByLimitByDuplicateEliminationVisitor across subqueries. #64766 (Raúl Marín).
  • Backported in #64871: Fixed memory possible incorrect memory tracking in several kinds of queries: queries that read any data from S3, queries via http protocol, asynchronous inserts. #64844 (Anton Popov).

CI Fix or Improvement (changelog entry is not required)

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

  • Backported in #64589: Disabled enable_vertical_final setting by default. This feature should not be used because it has a bug: #64543. #64544 (Alexander Tokmakov).
  • Backported in #64880: This PR fixes an error when a user in a specific situation can escalate their privileges on the default database without necessary grants. #64769 (pufit).

NO CL CATEGORY

NO CL ENTRY

  • NO CL ENTRY: 'Revert "Backport #64363 to 24.4: Split tests 03039_dynamic_all_merge_algorithms to avoid timeouts"'. #64905 (Raúl Marín).

NOT FOR CHANGELOG / INSIGNIFICANT