ClickHouse/docs/changelogs/v20.5.3.27-stable.md

16 KiB

ClickHouse release v20.5.3.27-stable FIXME as compared to v20.5.2.7-stable

Improvement

Bug Fix

  • Backported in #11967: Fix unexpected behaviour of queries like SELECT *, xyz.* which were success while an error expected. #11753 (hexiaoting).
  • Backported in #11968: Fix memory accounting via HTTP interface (can be significant with wait_end_of_query=1). #11840 (Azat Khuzhin).
  • Backported in #12354: Fixed bug with no moves when changing storage policy from default one. #11893 (Vladimir Chebotarev).
  • Fixed bug with no moves when changing storage policy from default one. #11893 (Vladimir Chebotarev).
  • Backported in #12244: Fix wrong setting name in log message at server startup. #11997 (Alexey Milovidov).
  • Partial revokes work correctly in complex cases as well, for example. #12002 (Vitaly Baranov).
  • Backported in #12245: Fix potential floating point exception. This closes #11378. #12005 (Alexey Milovidov).
  • Backported in #12249: Fix potential array size overflow in generateRandom that may lead to crash. This fixes #11371. #12013 (Alexey Milovidov).
  • Backported in #12251: A query with function neighbor as the only returned expression may return empty result if the function is called with offset -9223372036854775808. This fixes #11367. #12019 (Alexey Milovidov).
  • Backported in #12272: Do not mention in changelog, because the bug did not come to release. Fix potential crash when doing ORDER BY multiple columns with specified COLLATE on one of the column when this column is constant. This fixes #11379. The bug was introduced in #11006 in version 20.5. #12020 (Alexey Milovidov).
  • Backported in #12241: Fix wrong result and potential crash when invoking function if with arguments of type FixedString with different sizes. This fixes #11362. #12021 (Alexey Milovidov).
  • Backported in #12230: Fix crash in JOIN with LowCardinality type with join_algorithm=partial_merge. #12035 (Artem Zuikov).
  • Backported in #12231: Fix constraints check if constraint is a constant expression. This fixes #11360. #12042 (Alexey Milovidov).
  • Backported in #12232: Make topK aggregate function return Enum for Enum types. This fixes #3740. #12043 (Alexey Milovidov).
  • Backported in #12233: Parse tables metadata in parallel when loading database. This fixes slow server startup when there are large number of tables. #12045 (Alexander Tokmakov).
  • Backported in #12234: Fix error Cannot capture column for higher-order functions with Tuple(LowCardinality) argument. Fixes #9766. #12055 (Nikolai Kochetov).
  • Fix error Expected single dictionary argument for function for function defaultValueOfArgumentType with LowCardinality type. Fixes #11808. #12056 (Nikolai Kochetov).
  • Backported in #12235: Fix error Expected single dictionary argument for function for function defaultValueOfArgumentType with LowCardinality type. Fixes #11808. #12056 (Nikolai Kochetov).
  • Backported in #12236: Fix possible crash while using wrong type for PREWHERE. Fixes #12053, #12060. #12060 (Nikolai Kochetov).
  • Backported in #12237: Fix SIGSEGV in StorageKafka on DROP TABLE. #12075 (Azat Khuzhin).
  • Backported in #12239: Fix empty result_rows and result_bytes metrics in system.quey_log for selects. Fixes #11595. #12089 (Nikolai Kochetov).
  • Backported in #12240: Fix segfault with -StateResample combinators. #12092 (Anton Popov).
  • Backported in #12242: Format Parquet now properly works with LowCardinality and LowCardinality(Nullable) types. Fixes #12086, #8406. #12108 (Nikolai Kochetov).
  • Backported in #12260: Fix handling dependency of table with ENGINE=Dictionary on dictionary. This fixes #10994. This fixes #10397. #12116 (Vitaly Baranov).
  • Backported in #12243: Avoid "There is no query" exception for materialized views with joins or with subqueries attached to system logs (system.query_log, metric_log, etc) or to engine=Buffer underlying table. #12120 (filimonov).
  • Backported in #12392: Fix bug which leads to incorrect table metadata in ZooKeepeer for ReplicatedVersionedCollapsingMergeTree tables. Fixes #12093. #12121 (alesapin).
  • Backported in #12246: Normalize "pid" file handling. In previous versions the server may refuse to start if it was killed without proper shutdown and if there is another process that has the same pid as previously runned server. Also pid file may be removed in unsuccessful server startup even if there is another server running. This fixes #3501. #12133 (Alexey Milovidov).
  • Backported in #12247: Fix potential infinite loop in greatCircleDistance, geoDistance. This fixes #12117. #12137 (Alexey Milovidov).
  • Backported in #12248: Fix potential overflow in integer division. This fixes #12119. #12140 (Alexey Milovidov).
  • Backported in #12252: Fix bad code in redundant ORDER BY optimization. The bug was introduced in #10067. #12148 (Alexey Milovidov).
  • Backported in #12360: Fix transform of query to send to external DBMS (e.g. MySQL, ODBC) in presense of aliases. This fixes #12032. #12151 (Alexey Milovidov).
  • Backported in #12253: Fix wrong logic in ALTER DELETE that leads to deleting of records when condition evaluates to NULL. This fixes #9088. This closes #12106. #12153 (Alexey Milovidov).
  • Backported in #12259: Don't split the dictionary source's table name into schema and table name itself if ODBC connection doesn't support schema. #12165 (Vitaly Baranov).
  • Backported in #12366: Fix dictGet arguments check during GROUP BY injective functions elimination. #12179 (Azat Khuzhin).
  • Backported in #12367: Cap max_memory_usage* limits to the process resident memory. #12182 (Azat Khuzhin).
  • Backported in #12352: Fixed logical functions for UInt8 values when they are not equal to 0 or 1. #12196 (Alexander Kazakov).
  • Backported in #12369: Fixed behaviour on reaching redirect limit in request to S3 storage. #12256 (ianton-ru).
  • Backported in #12381: Not for changelog. Cherry-pick after #12196. #12271 (Alexey Milovidov).
  • Backported in #12370: Implement conversions to the common type for LowCardinality types. This allows to execute UNION ALL of tables with columns of LowCardinality and other columns. This fixes #8212. This fixes #4342. #12275 (Alexey Milovidov).
  • Backported in #12368: The function arrayFill worked incorrectly for empty arrays that may lead to crash. This fixes #12263. #12279 (Alexey Milovidov).
  • Backported in #12362: Fix typo in setting name. #12292 (Alexey Milovidov).
  • Backported in #12363: Some threads might randomly hang for a few seconds during DNS cache updating. It's fixed. #12296 (Alexander Tokmakov).
  • Backported in #12364: Fix TTL after renaming column, on which depends TTL expression. #12304 (Anton Popov).
  • Backported in #12365: Avoid "bad cast" exception when there is an expression that filters data by virtual columns (like _table in Merge tables) or by "index" columns in system tables such as filtering by database name when querying from system.tables, and this expression returns Nullable type. This fixes #12166. #12305 (Alexey Milovidov).
  • Backported in #12375: Fix order of columns in WITH FILL modifier. Previously order of columns of ORDER BY statement wasn't respected. #12306 (Anton Popov).
  • Backported in #12385: Fix very rare race condition in ReplicatedMergeTreeQueue. #12315 (Alexey Milovidov).

Build/Testing/Packaging Improvement

NO CL ENTRY