mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-05 22:12:21 +00:00
14 KiB
14 KiB
sidebar_position | sidebar_label |
---|---|
1 | 2022 |
2022 Changelog
ClickHouse release v21.9.6.24-stable FIXME as compared to v21.9.5.16-stable
New Feature
- Backported in #30714: CompiledExpressionCache limit elements size using
compiled_expression_cache_elements_size
setting. #30667 (Maksim Kita).
Performance Improvement
- Backported in #31734: Improve performance of JSON and XML output formats. #31673 (Alexey Milovidov).
Improvement
- Backported in #30470: Allow symlinks to files in user_files directory for file table function. #30309 (Kseniia Sumarokova).
Bug Fix
- Backported in #30664: Fix reading from empty file on encrypted disk. #30494 (Vitaly Baranov).
- Backported in #31371: Fix SHOW GRANTS when partial revokes are used. This PR fixes #31138. #31249 (Vitaly Baranov).
- Backported in #31576: Quota limit was not reached, but the limit was exceeded. This PR fixes #31174. #31337 (sunny).
Bug Fix (user-visible misbehaviour in official stable or prestable release
- Backported in #30916: Fix
ORDER BY ... WITH FILL
with setTO
andFROM
and no rows in result set. #30888 (Anton Popov).
Bug Fix (user-visible misbehaviour in official stable or prestable release)
- Backported in #30823: Fix "Column is not under aggregate function and not in GROUP BY" with PREWHERE (Fixes: #28461). #28502 (Azat Khuzhin).
- Backported in #30609: Fix bad optimizations of ORDER BY if it contains WITH FILL. This closes #28908. This closes #26049. #28910 (Alexey Milovidov).
- Backported in #30765: Fix hanging DDL queries on Replicated database while adding a new replica. #29328 (Kevin Michel).
- Backported in #30505: Fixed incorrect behaviour of setting
materialized_postgresql_tables_list
at server restart. Found in #28529. #29686 (Kseniia Sumarokova). - Backported in #30464: Support nullable arguments in function
initializeAggregation
. #30177 (Anton Popov). - Backported in #30657: Fix
[I]LIKE
function. Closes #28661. #30244 (Nikolay Degterinsky). - Backported in #30524: Fixed segfault which might happen if session expired during execution of REPLACE PARTITION. #30432 (Alexander Tokmakov).
- Backported in #30586: * Fix deadlock on ALTER with scalar subquery to the same table, close #30461. #30492 (Vladimir C).
- Backported in #30606: Limit push down optimization could cause a error
Cannot find column
. Fixes #30438. #30562 (Nikolai Kochetov). - Backported in #30752: Functions for case-insensitive search in UTF8 strings like
positionCaseInsensitiveUTF8
andcountSubstringsCaseInsensitiveUTF8
might find substrings that actually does not match, it's fixed. #30663 (Alexander Tokmakov). - Backported in #30711: Fix PREWHERE with WHERE in case of always true PREWHERE. #30668 (Azat Khuzhin).
- Backported in #30769: Fixed a race condition between
REPLACE/MOVE PARTITION
and background merge in non-replicatedMergeTree
that might cause a part of moved/replaced data to remain in partition. Fixes #29327. #30717 (Alexander Tokmakov). - Backported in #30858: Fixed ambiguity when extracting auxiliary ZooKeeper name from ZooKeeper path in
ReplicatedMergeTree
. Previously server might fail to start withUnknown auxiliary ZooKeeper name
if ZooKeeper path contains a colon. Fixes #29052. Also it was allowed to specify ZooKeeper path that does not start with slash, but now it's deprecated and creation of new tables with such path is not allowed. Slashes and colons in auxiliary ZooKeeper names are not allowed too. #30822 (Alexander Tokmakov). - Backported in #30924: Fix set index not used in AND/OR expressions when there are more than two operands. This fixes #30416 . #30887 (Amos Bird).
- Backported in #31290: Fix some corner cases with intersect/except. Closes #30803. #30965 (Kseniia Sumarokova).
- Backported in #31153: Skip max_partition_size_to_drop check in case of ATTACH PARTITION ... FROM and MOVE PARTITION ... #30995 (Amr Alaa).
- Backported in #31039: Using
formatRow
function with not row formats led to segfault. Don't allow to use this function with such formats (because it doesn't make sense). #31001 (Kruglov Pavel). - Backported in #31131: Fix JSONValue/Query with quoted identifiers. This allows to have spaces in json path. Closes #30971. #31003 (Kseniia Sumarokova).
- Backported in #31205: Fix abort in debug server and
DB::Exception: std::out_of_range: basic_string
error in release server in case of bad hdfs url by adding additional check of hdfs url structure. #31042 (Kruglov Pavel). - Backported in #31375: Fix StorageMerge with aliases and where (it did not work before at all). Closes #28802. #31044 (Kseniia Sumarokova).
- Backported in #31254: Fix bug in Keeper which can lead to inability to start when some coordination logs was lost and we have more fresh snapshot than our latest log. #31150 (alesapin).
- Backported in #31520: Remove not like function into RPNElement. #31169 (sundyli).
- Backported in #31553: Resolve
nullptr
in STS credentials provider for S3. #31409 (Vladimir Chebotarev). - Backported in #31583: * Disable
partial_merge_join_left_table_buffer_bytes
before bug in this optimization is fixed. See #31009). * Remove redundant optionpartial_merge_join_optimizations
. #31528 (Vladimir C). - Backported in #31601: Fix invalid generated JSON when only column names contain invalid UTF-8 sequences. #31534 (Kevin Michel).
- Backported in #31746:
RENAME TABLE
query worked incorrectly on attempt to rename an DDL dictionary inOrdinary
database, it's fixed. #31638 (Alexander Tokmakov). - Backported in #31793: Settings
input_format_allow_errors_num
andinput_format_allow_errors_ratio
did not work for parsing of domain types, such asIPv4
, it's fixed. Fixes #31686. #31697 (Alexander Tokmakov). - Backported in #31828: Fixed
there are no such cluster here
error on execution ofON CLUSTER
query if specified cluster name is name ofReplicated
database. #31723 (Alexander Tokmakov). - Backported in #31817: Fix race in JSONEachRowWithProgress output format when data and lines with progress are mixed in output. #31736 (Kruglov Pavel).
- Backported in #31759: Fix usage of
Buffer
table engine with typeMap
. Fixes #30546. #31742 (Anton Popov). - Backported in #31893: Fix possible assertion
../src/IO/ReadBuffer.h:58: bool DB::ReadBuffer::next(): Assertion '!hasPendingData()' failed.
in TSKV format. #31804 (Kruglov Pavel). - Backported in #32030: Fix invalid cast of nullable type when nullable primary key is used. This fixes #31075. #31823 (Amos Bird).
- Backported in #32078: Fix a bug about function transform with decimal args. #31839 (Shuai li).
- Backported in #31907: Fix functions
empty
andnotEmpty
with arguments ofUUID
type. Fixes #31819. #31883 (Anton Popov).
NOT FOR CHANGELOG / INSIGNIFICANT
- AddDefaultDatabaseVisitor support dictGet #29650 (Maksim Kita).
- StorageDictionary fix potential configuration race #30502 (Maksim Kita).
- BloomFilter index check fix #31334 (Maksim Kita).
- Support toUInt8/toInt8 for if constant condition optimization. #31866 (Nikolai Kochetov).