ClickHouse/docs/changelogs/v21.9.6.24-stable.md
2022-05-25 00:05:54 +02:00

13 KiB

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

Improvement

Bug Fix

Bug Fix (user-visible misbehaviour in official stable or prestable release

  • Backported in #30916: Fix ORDER BY ... WITH FILL with set TO and FROM 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 and countSubstringsCaseInsensitiveUTF8 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-replicated MergeTree 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 with Unknown 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 option partial_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 in Ordinary database, it's fixed. #31638 (Alexander Tokmakov).
  • Backported in #31793: Settings input_format_allow_errors_num and input_format_allow_errors_ratio did not work for parsing of domain types, such as IPv4, it's fixed. Fixes #31686. #31697 (Alexander Tokmakov).
  • Backported in #31828: Fixed there are no such cluster here error on execution of ON CLUSTER query if specified cluster name is name of Replicated 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 type Map. 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 and notEmpty with arguments of UUID type. Fixes #31819. #31883 (Anton Popov).