mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 17:44:23 +00:00
5.2 KiB
5.2 KiB
sidebar_position | sidebar_label |
---|---|
1 | 2022 |
2022 Changelog
ClickHouse release v22.3.15.33-lts (4ef30f2c4b
) FIXME as compared to v22.3.14.23-lts (74956bfee4
)
Backward Incompatible Change
- Backported in #43484: Fixed backward incompatibility in (de)serialization of states of
min
,max
,any*
,argMin
,argMax
aggregate functions withString
argument. The incompatibility was introduced in https://github.com/ClickHouse/ClickHouse/pull/41431 and affects 22.9, 22.10 and 22.11 branches (fixed since 22.9.6, 22.10.4 and 22.11.2 correspondingly). Some minor releases of 22.3, 22.7 and 22.8 branches are also affected: 22.3.13...22.3.14 (fixed since 22.3.15), 22.8.6...22.8.9 (fixed since 22.8.10), 22.7.6 and newer (will not be fixed in 22.7, we recommend to upgrade from 22.7.* to 22.8.10 or newer). This release note does not concern users that have never used affected versions. Incompatible versions append extra'\0'
to strings when reading states of the aggregate functions mentioned above. For example, if an older version saved state ofanyState('foobar')
tostate_column
then incompatible version will print'foobar\0'
onanyMerge(state_column)
. Also incompatible versions write states of the aggregate functions without trailing'\0'
. Newer versions (that have the fix) can correctly read data written by all versions including incompatible versions, except one corner case. If an incompatible version saved a state with a string that actually ends with null character, then newer version will trim trailing'\0'
when reading state of affected aggregate function. For example, if an incompatible version saved state ofanyState('abrac\0dabra\0')
tostate_column
then incompatible versions will print'abrac\0dabra'
onanyMerge(state_column)
. The issue also affects distributed queries when an incompatible version works in a cluster together with older or newer versions. #43038 (Raúl Marín).
Improvement
- Backported in #42839: Update tzdata to 2022f. Mexico will no longer observe DST except near the US border: https://www.timeanddate.com/news/time/mexico-abolishes-dst-2022.html. Chihuahua moves to year-round UTC-6 on 2022-10-30. Fiji no longer observes DST. See https://github.com/google/cctz/pull/235 and https://bugs.launchpad.net/ubuntu/+source/tzdata/+bug/1995209. #42796 (Alexey Milovidov).
Build/Testing/Packaging Improvement
- Backported in #43050: Wait for all files are in sync before archiving them in integration tests. #42891 (Mikhail f. Shiryaev).
- Backported in #42963: Before the fix, the user-defined config was preserved by RPM in
$file.rpmsave
. The PR fixes it and won't replace the user's files from packages. #42936 (Mikhail f. Shiryaev). - Backported in #43039: Add a CI step to mark commits as ready for release; soft-forbid launching a release script from branches but master. #43017 (Mikhail f. Shiryaev).
Bug Fix (user-visible misbehavior in official stable release)
- Backported in #43427: Fixed queries with
SAMPLE BY
with prewhere optimization on tables usingMerge
engine. #43315 (Antonio Andelic). - Backported in #43720: Fixed primary key analysis with conditions involving
toString(enum)
. #43596 (Nikita Taranov).
NOT FOR CHANGELOG / INSIGNIFICANT
- Always run
BuilderReport
andBuilderSpecialReport
in all CI types #42684 (Mikhail f. Shiryaev). - Update SECURITY.md on new stable tags #43365 (Mikhail f. Shiryaev).
- Use all parameters with prefixes from ssm #43467 (Mikhail f. Shiryaev).
- Temporarily disable
test_hive_query
#43542 (Alexander Tokmakov). - Do not checkout submodules recursively #43637 (Mikhail f. Shiryaev).
- Use docker images cache from merged PRs in master and release branches #43664 (Mikhail f. Shiryaev).