mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
20 KiB
20 KiB
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
- Backported in #63467: Make rabbitmq nack broken messages. Closes #45350. #60312 (Kseniia Sumarokova).
Build/Testing/Packaging Improvement
- Backported in #63612: The Dockerfile is reviewed by the docker official library in https://github.com/docker-library/official-images/pull/15846. #63400 (Mikhail f. Shiryaev).
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 usingsession_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
andCAST AS Map from array requires nested tuple of 2 elements
exceptions for distributed queries which useMap(Nothing, Nothing)
type. Fixes #63637. #63753 (Nikolai Kochetov). - Backported in #63847: Fix possible
ILLEGAL_COLUMN
error inpartial_merge
join, close #37928. #63755 (vdimir). - Backported in #63908:
query_plan_remove_redundant_distinct
can break queries with WINDOW FUNCTIONS (withallow_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
forBuffer
table withPREWHERE
. 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 theGROUP 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)
- Backported in #63364: Implement cumulative A Sync status. #61464 (Mikhail f. Shiryaev).
- Backported in #63338: Use
/commit/
to have the URLs in reports like44f8bc5308
and not like44f8bc5308
. #63331 (Mikhail f. Shiryaev). - Backported in #63376:. #63366 (Aleksei Filatov).
- Backported in #63571:. #63551 (Konstantin Bogdanov).
- Backported in #63651: Fix 02362_part_log_merge_algorithm flaky test. #63635 (Miсhael Stetsyuk).
- Backported in #63828: Fix test_odbc_interaction from aarch64 #61457. #63787 (alesapin).
- Backported in #63897: Fix test
test_catboost_evaluate
for aarch64. #61457. #63789 (alesapin). - Backported in #63889: Remove HDFS from disks config for one integration test for arm. #61457. #63832 (alesapin).
- Backported in #63881: Bump version for old image in test_short_strings_aggregation to make it work on arm. #61457. #63836 (alesapin).
- Backported in #63919: Disable test
test_non_default_compression/test.py::test_preconfigured_deflateqpl_codec
on arm. #61457. #63839 (alesapin). - Backported in #63971: Fix 02124_insert_deduplication_token_multiple_blocks. #63950 (Han Fei).
- Backported in #64049: Add
ClickHouseVersion.copy
method. Create a branch release in advance without spinning out the release to increase the stability. #64039 (Mikhail f. Shiryaev). - Backported in #64078: The mime type is not 100% reliable for Python and shell scripts without shebangs; add a check for file extension. #64062 (Mikhail f. Shiryaev).
- Backported in #64161: Add retries in git submodule update. #64125 (Alexey Milovidov).
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
- Backported in #63306:. #63297 (Alexey Milovidov).
- Backported in #63710:. #63415 (Nikolai Kochetov).
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
- group_by_use_nulls strikes back #62922 (Nikolai Kochetov).
- Add
FROM
keyword toTRUNCATE ALL TABLES
#63241 (Yarik Briukhovetskyi). - More checks for concurrently deleted files and dirs in system.remote_data_paths #63274 (Alexander Gololobov).
- Try fix segfault in
MergeTreeReadPoolBase::createTask
#63323 (Antonio Andelic). - Skip unaccessible table dirs in system.remote_data_paths #63330 (Alexander Gololobov).
- Workaround for
oklch()
inside canvas bug for firefox #63404 (Sergei Trifonov). - Cancel S3 reads properly when parallel reads are used #63687 (Antonio Andelic).
- Userspace page cache: don't collect stats if cache is unused #63730 (Michael Kolupaev).
- Fix sanitizers #64090 (Azat Khuzhin).
- Split tests 03039_dynamic_all_merge_algorithms to avoid timeouts #64363 (Kruglov Pavel).
- CI: Critical bugfix category in PR template #64480 (Max K.).