mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 00:52:02 +00:00
5.3 KiB
5.3 KiB
sidebar_position | sidebar_label |
---|---|
1 | 2022 |
2022 Changelog
ClickHouse release v22.11.2.30-stable (28f72d8ab0
) FIXME as compared to v22.11.1.1360-stable (0d211ed198
)
Backward Incompatible Change
- Backported in #43488: 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 #43511: Restrict default access to named collections for user defined in config. It must have explicit
show_named_collections=1
to be able to see them. #43325 (Kseniia Sumarokova).
Bug Fix (user-visible misbehavior in official stable release)
- Backported in #43716: An issue with the following exception has been reported while trying to read a Parquet file from S3 into ClickHouse:. #43297 (Arthur Passos).
- Backported in #43431: Fixed queries with
SAMPLE BY
with prewhere optimization on tables usingMerge
engine. #43315 (Antonio Andelic). - Backported in #43577: Fix possible
Cannot create non-empty column with type Nothing
in functions if/multiIf. Closes #43356. #43368 (Kruglov Pavel). - Backported in #43507: Fix a bug when row level filter uses default value of column. #43387 (Alexander Gololobov).
- Backported in #43724: Fixed primary key analysis with conditions involving
toString(enum)
. #43596 (Nikita Taranov). - Backported in #43807: Optimized number of List requests to ZooKeeper when selecting a part to merge. Previously it could produce thousands of requests in some cases. Fixes #43647. #43675 (Alexander Tokmakov).
NOT FOR CHANGELOG / INSIGNIFICANT
- 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).
- Fix pagination issue in GITHUB_JOB_ID() #43681 (Mikhail f. Shiryaev).