mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
12 KiB
12 KiB
sidebar_position | sidebar_label |
---|---|
1 | 2024 |
2024 Changelog
ClickHouse release v24.5.5.78-stable (0138248cb6
) FIXME as compared to v24.5.4.49-stable (63b760955a
)
Improvement
- Backported in #66768: Make allow_experimental_analyzer be controlled by the initiator for distributed queries. This ensures compatibility and correctness during operations in mixed version clusters. #65777 (Nikita Mikhaylov).
Critical Bug Fix (crash, LOGICAL_ERROR, data loss, RBAC)
- Backported in #66884: Fix unexpeced size of low cardinality column in function calls. #65298 (Raúl Marín).
- Backported in #66691: Fix the VALID UNTIL clause in the user definition resetting after a restart. Closes #66405. #66409 (Nikolay Degterinsky).
- Backported in #67814: Only relevant to the experimental Variant data type. Fix crash with Variant + AggregateFunction type. #67122 (Kruglov Pavel).
- Backported in #67501: Fix crash in DistributedAsyncInsert when connection is empty. #67219 (Pablo Marcos).
- Backported in #67850: Fixes #66026. Avoid unresolved table function arguments traversal in
ReplaceTableNodeToDummyVisitor
. #67522 (Dmitry Novik).
Bug Fix (user-visible misbehavior in an official stable release)
- Backported in #65350: Fix possible abort on uncaught exception in ~WriteBufferFromFileDescriptor in StatusFile. #64206 (Kruglov Pavel).
- Backported in #65621: Fix
Cannot find column
in distributed query withARRAY JOIN
byNested
column. Fixes #64755. #64801 (Nikolai Kochetov). - Backported in #65933: For queries that read from
PostgreSQL
, cancel the internalPostgreSQL
query if the ClickHouse query is finished. Otherwise,ClickHouse
query cannot be canceled until the internalPostgreSQL
query is finished. #65771 (Maksim Kita). - Backported in #66301: Better handling of join conditions involving
IS NULL
checks (for exampleON (a = b AND (a IS NOT NULL) AND (b IS NOT NULL) ) OR ( (a IS NULL) AND (b IS NULL) )
is rewritten toON a <=> b
), fix incorrect optimization when condition other thenIS NULL
are present. #65835 (vdimir). - Backported in #66328: Add missing settings
input_format_csv_skip_first_lines/input_format_tsv_skip_first_lines/input_format_csv_try_infer_numbers_from_strings/input_format_csv_try_infer_strings_from_quoted_tuples
in schema inference cache because they can change the resulting schema. It prevents from incorrect result of schema inference with these settings changed. #65980 (Kruglov Pavel). - Backported in #66155: Fixed buffer overflow bug in
unbin
/unhex
implementation. #66106 (Nikita Taranov). - Backported in #66454: Fixed a bug in ZooKeeper client: a session could get stuck in unusable state after receiving a hardware error from ZooKeeper. For example, this might happen due to "soft memory limit" in ClickHouse Keeper. #66140 (Alexander Tokmakov).
- Backported in #66226: Fix issue in SumIfToCountIfVisitor and signed integers. #66146 (Raúl Marín).
- Backported in #66680: Fix handling limit for
system.numbers_mt
when no index can be used. #66231 (János Benjamin Antal). - Backported in #66604: Fixed how the ClickHouse server detects the maximum number of usable CPU cores as specified by cgroups v2 if the server runs in a container such as Docker. In more detail, containers often run their process in the root cgroup which has an empty name. In that case, ClickHouse ignored the CPU limits set by cgroups v2. #66237 (filimonov).
- Backported in #66360: Fix the
Not-ready set
error when a subquery withIN
is used in the constraint. #66261 (Nikolai Kochetov). - Backported in #66972: Fix
Column identifier is already registered
error withgroup_by_use_nulls=true
and new analyzer. #66400 (Nikolai Kochetov). - Backported in #66969: Fix
Cannot find column
error for queries with constant expression inGROUP BY
key and new analyzer enabled. #66433 (Nikolai Kochetov). - Backported in #66720: Correctly track memory for
Allocator::realloc
. #66548 (Antonio Andelic). - Backported in #66951: Fix an invalid result for queries with
WINDOW
. This could happen whenPARTITION
columns have sparse serialization and window functions are executed in parallel. #66579 (Nikolai Kochetov). - Backported in #66757: Fix
Unknown identifier
andColumn is not under aggregate function
errors for queries with the expression(column IS NULL).
The bug was triggered by #65088, with the disabled analyzer only. #66654 (Nikolai Kochetov). - Backported in #66948: Fix
Method getResultType is not supported for QUERY query node
error when scalar subquery was used as the first argument of IN (with new analyzer). #66655 (Nikolai Kochetov). - Backported in #67633: Fix for occasional deadlock in Context::getDDLWorker. #66843 (Alexander Gololobov).
- Backported in #67481: In rare cases ClickHouse could consider parts as broken because of some unexpected projections on disk. Now it's fixed. #66898 (alesapin).
- Backported in #67197: TRUNCATE DATABASE used to stop replication as if it was a DROP DATABASE query, it's fixed. #67129 (Alexander Tokmakov).
- Backported in #67379: Fix error
Cannot convert column because it is non constant in source stream but must be constant in result.
for a query that reads from theMerge
table over theDistriburted
table with one shard. #67146 (Nikolai Kochetov). - Backported in #67576: Fix execution of nested short-circuit functions. #67520 (Kruglov Pavel).
NOT FOR CHANGELOG / INSIGNIFICANT
- Backported in #66387: Disable broken cases from 02911_join_on_nullsafe_optimization. #66310 (vdimir).
- Backported in #66426: Ignore subquery for IN in DDLLoadingDependencyVisitor. #66395 (Nikolai Kochetov).
- Backported in #66544: Add additional log masking in CI. #66523 (Raúl Marín).
- Backported in #66859: Fix data race in S3::ClientCache. #66644 (Konstantin Morozov).
- Backported in #66875: Support one more case in JOIN ON ... IS NULL. #66725 (vdimir).
- Backported in #67059: Increase asio pool size in case the server is tiny. #66761 (alesapin).
- Backported in #66945: Small fix in realloc memory tracking. #66820 (Antonio Andelic).
- Backported in #67252: Followup #66725. #66869 (vdimir).
- Backported in #67412: CI: Fix build results for release branches. #67402 (Max K.).