ClickHouse/docs/changelogs/v21.8.11.4-lts.md
Alexey Milovidov e0252db8d4 No prestable
2023-03-27 12:19:32 +02:00

9.6 KiB

sidebar_position sidebar_label
1 2022

2022 Changelog

ClickHouse release v21.8.11.4-lts FIXME as compared to v21.8.10.19-lts

New Feature

  • Backported in #30713: CompiledExpressionCache limit elements size using compiled_expression_cache_elements_size setting. #30667 (Maksim Kita).

Improvement

Bug Fix

Bug Fix (user-visible misbehaviour in official stable release

  • Backported in #30914: 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 release)

  • Backported in #28756: Fix NOT-IN index optimization when not all key columns are used. This fixes #28120. #28315 (Amos Bird).
  • Backported in #30825: Fix "Column is not under aggregate function and not in GROUP BY" with PREWHERE (Fixes: #28461). #28502 (Azat Khuzhin).
  • Backported in #29175: Fix queries to external databases (i.e. MySQL) with multiple columns in IN ( i.e. (k,v) IN ((1, 2)) ) (but note that this has some backward incompatibility for the clickhouse-copier since it uses alias for tuple element). #28888 (Azat Khuzhin).
  • Backported in #30610: Fix bad optimizations of ORDER BY if it contains WITH FILL. This closes #28908. This closes #26049. #28910 (Alexey Milovidov).
  • Backported in #30767: Fix hanging DDL queries on Replicated database while adding a new replica. #29328 (Kevin Michel).
  • Backported in #30205: Fix data-race between LogSink::writeMarks() and LogSource in StorageLog. #29946 (Azat Khuzhin).
  • Backported in #30463: Support nullable arguments in function initializeAggregation. #30177 (Anton Popov).
  • Backported in #30655: Fix [I]LIKE function. Closes #28661. #30244 (Nikolay Degterinsky).
  • Backported in #30289: Fix ComplexKeyHashedDictionary, ComplexKeySparseHashedDictionary parsing preallocate option from layout config. #30246 (Maksim Kita).
  • Backported in #30525: Fixed segfault which might happen if session expired during execution of REPLACE PARTITION. #30432 (Alexander Tokmakov).
  • Fix exception handling in parallel_view_processing. That resolves issues / prevents crashes in some rare corner cases, when that feature is enabled and exception (like "Memory limit exceeded ...") happened in the middle of materialized view processing. #30472 (filimonov).
  • Backported in #30585: * Fix deadlock on ALTER with scalar subquery to the same table, close #30461. #30492 (Vladimir C).
  • Backported in #30607: Limit push down optimization could cause a error Cannot find column. Fixes #30438. #30562 (Nikolai Kochetov).
  • Backported in #30753: 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 #30710: Fix PREWHERE with WHERE in case of always true PREWHERE. #30668 (Azat Khuzhin).
  • Backported in #30770: 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 #30857: 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 #30925: Fix set index not used in AND/OR expressions when there are more than two operands. This fixes #30416 . #30887 (Amos Bird).
  • Backported in #31151: Skip max_partition_size_to_drop check in case of ATTACH PARTITION ... FROM and MOVE PARTITION ... #30995 (Amr Alaa).
  • Backported in #31040: 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 #31132: Fix JSONValue/Query with quoted identifiers. This allows to have spaces in json path. Closes #30971. #31003 (Kseniia Sumarokova).
  • Backported in #31372: Fix StorageMerge with aliases and where (it did not work before at all). Closes #28802. #31044 (Kseniia Sumarokova).

NOT FOR CHANGELOG / INSIGNIFICANT