mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 21:42:39 +00:00
20 KiB
20 KiB
sidebar_position | sidebar_label |
---|---|
1 | 2024 |
2024 Changelog
ClickHouse release v24.6.3.38-stable (4e33c83158
) FIXME as compared to v24.6.2.17-stable (5710a8b5c0
)
Improvement
- Backported in #66770: 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).
Bug Fix (user-visible misbehavior in an official stable release)
- Backported in #66885: Fix unexpeced size of low cardinality column in function calls. #65298 (Raúl Marín).
- Backported in #66303: 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 #66330: 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 #66157: Fixed buffer overflow bug in
unbin
/unhex
implementation. #66106 (Nikita Taranov). - Backported in #66210: Disable the
merge-filters
optimization introduced in #64760. It may cause an exception if optimization merges two filter expressions and does not apply a short-circuit evaluation. #66126 (Nikolai Kochetov). - Backported in #66456: 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 #66228: Fix issue in SumIfToCountIfVisitor and signed integers. #66146 (Raúl Marín).
- Backported in #66183: Fix rare case with missing data in the result of distributed query, close #61432. #66174 (vdimir).
- Backported in #66271: Don't throw
TIMEOUT_EXCEEDED
fornone_only_active
mode ofdistributed_ddl_output_mode
. #66218 (Alexander Tokmakov). - Backported in #66682: Fix handling limit for
system.numbers_mt
when no index can be used. #66231 (János Benjamin Antal). - Backported in #66587: 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 #66362: Fix the
Not-ready set
error when a subquery withIN
is used in the constraint. #66261 (Nikolai Kochetov). - Backported in #68066: Fix boolean literals in query sent to external database (for engines like
PostgreSQL
). #66282 (vdimir). - Backported in #68566: Fix indexHint function case found by fuzzer. #66286 (Anton Popov).
- Backported in #68159: Fix cluster() for inter-server secret (preserve initial user as before). #66364 (Azat Khuzhin).
- Backported in #66613: Fix
Column identifier is already registered
error withgroup_by_use_nulls=true
and new analyzer. #66400 (Nikolai Kochetov). - Backported in #66693: Fix the VALID UNTIL clause in the user definition resetting after a restart. Closes #66405. #66409 (Nikolay Degterinsky).
- Backported in #66577: Fix
Cannot find column
error for queries with constant expression inGROUP BY
key and new analyzer enabled. #66433 (Nikolai Kochetov). - Backported in #66721: Correctly track memory for
Allocator::realloc
. #66548 (Antonio Andelic). - Backported in #66670: Fix reading of uninitialized memory when hashing empty tuples. This closes #66559. #66562 (Alexey Milovidov).
- Backported in #66952: 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 #66956: Fix removing named collections in local storage. #66599 (János Benjamin Antal).
- Backported in #66716: Fix removing named collections in local storage. #66599 (János Benjamin Antal).
- Backported in #66759: 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 #66751: 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 #68116: Fix possible PARAMETER_OUT_OF_BOUND error during reading variant subcolumn. #66659 (Kruglov Pavel).
- Backported in #67635: Fix for occasional deadlock in Context::getDDLWorker. #66843 (Alexander Gololobov).
- Backported in #67482: In rare cases ClickHouse could consider parts as broken because of some unexpected projections on disk. Now it's fixed. #66898 (alesapin).
- Backported in #67816: Only relevant to the experimental Variant data type. Fix crash with Variant + AggregateFunction type. #67122 (Kruglov Pavel).
- Backported in #67199: TRUNCATE DATABASE used to stop replication as if it was a DROP DATABASE query, it's fixed. #67129 (Alexander Tokmakov).
- Backported in #67381: 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 #67244: This closes #67156. This closes #66447. The bug was introduced in https://github.com/ClickHouse/ClickHouse/pull/62907. #67178 (Maksim Kita).
- Backported in #67503: Fix crash in DistributedAsyncInsert when connection is empty. #67219 (Pablo Marcos).
- Backported in #67887: Correctly parse file name/URI containing
::
if it's not an archive. #67433 (Antonio Andelic). - Backported in #67578: Fix execution of nested short-circuit functions. #67520 (Kruglov Pavel).
- Backported in #68611: Fixes #66026. Avoid unresolved table function arguments traversal in
ReplaceTableNodeToDummyVisitor
. #67522 (Dmitry Novik). - Backported in #67852: Fixes #66026. Avoid unresolved table function arguments traversal in
ReplaceTableNodeToDummyVisitor
. #67522 (Dmitry Novik). - Backported in #68275: Fix inserting into stream like engines (Kafka, RabbitMQ, NATS) through HTTP interface. #67554 (János Benjamin Antal).
- Backported in #67808: Fix reloading SQL UDFs with UNION. Previously, restarting the server could make UDF invalid. #67665 (Antonio Andelic).
- Backported in #67838: Fix potential stack overflow in
JSONMergePatch
function. Renamed this function fromjsonMergePatch
toJSONMergePatch
because the previous name was wrong. The previous name is still kept for compatibility. Improved diagnostic of errors in the function. This closes #67304. #67756 (Alexey Milovidov). - Backported in #67993: Validate experimental/suspicious data types in ALTER ADD/MODIFY COLUMN. #67911 (Kruglov Pavel).
- Backported in #68208: Fix wrong
count()
result when there is non-deterministic function in predicate. #67922 (János Benjamin Antal). - Backported in #68093: Fixed the calculation of the maximum thread soft limit in containerized environments where the usable CPU count is limited. #67963 (Robert Schulze).
- Backported in #68124: Fixed skipping of untouched parts in mutations with new analyzer. Previously with enabled analyzer data in part could be rewritten by mutation even if mutation doesn't affect this part according to predicate. #68052 (Anton Popov).
- Backported in #68221: Fixed a NULL pointer dereference, triggered by a specially crafted query, that crashed the server via hopEnd, hopStart, tumbleEnd, and tumbleStart. #68098 (Salvatore Mesoraca).
- Backported in #68173: Removes an incorrect optimization to remove sorting in subqueries that use
OFFSET
. Fixes #67906. #68099 (Graham Campbell). - Backported in #68339: Try fix postgres crash when query is cancelled. #68288 (Kseniia Sumarokova).
- Backported in #68396: Fix missing sync replica mode in query
SYSTEM SYNC REPLICA
. #68326 (Duc Canh Le). - Backported in #68668: Fix
LOGICAL_ERROR
s when functionssipHash64Keyed
,sipHash128Keyed
, orsipHash128ReferenceKeyed
are applied to empty arrays or tuples. #68630 (Robert Schulze).
NO CL ENTRY
- NO CL ENTRY: 'Revert "Backport #66599 to 24.6: Fix dropping named collection in local storage"'. #66922 (János Benjamin Antal).
NOT FOR CHANGELOG / INSIGNIFICANT
- Backported in #66332: Do not raise a NOT_IMPLEMENTED error when getting s3 metrics with a multiple disk configuration. #65403 (Elena Torró).
- Backported in #66142: Fix flaky test_storage_s3_queue tests. #66009 (Kseniia Sumarokova).
- Backported in #66389: Disable broken cases from 02911_join_on_nullsafe_optimization. #66310 (vdimir).
- Backported in #66428: Ignore subquery for IN in DDLLoadingDependencyVisitor. #66395 (Nikolai Kochetov).
- Backported in #66546: Add additional log masking in CI. #66523 (Raúl Marín).
- Backported in #66861: Fix data race in S3::ClientCache. #66644 (Konstantin Morozov).
- Backported in #66877: Support one more case in JOIN ON ... IS NULL. #66725 (vdimir).
- Backported in #67061: Increase asio pool size in case the server is tiny. #66761 (alesapin).
- Backported in #66940: Small fix in realloc memory tracking. #66820 (Antonio Andelic).
- Backported in #67254: Followup #66725. #66869 (vdimir).
- Backported in #67414: CI: Fix build results for release branches. #67402 (Max K.).
- Update version after release. #67909 (robot-clickhouse).
- Backported in #68079: Add an explicit error for
ALTER MODIFY SQL SECURITY
on non-view tables. #67953 (pufit).