Project: ClickHouse (App Definition and Development / Database)
File: v20.5.3.27-stable.md

Moved useless S3 logging to TRACE level. (). Backported in : Fix unexpected behaviour of queries like `SELECT , xyz.*` which were success while an error expected. (). Backported in : Fix memory accounting via HTTP interface (can be significant with `waitendof_query=1`). (). Backported in : Fixed bug with no moves when changing storage policy from default one. (). Fixed bug with no moves when changing storage policy from default one. (). Backported in : Fix wrong setting name in log message at server startup. (). Partial revokes work correctly in complex cases as well, for example. (). Backported in : Fix potential floating point exception. This closes . (). Backported in : Fix potential array size overflow in generateRandom that may lead to crash. This fixes . (). Backported in : A query with function `neighbor` as the only returned expression may return empty result if the function is called with offset `-9223372036854775808`. This fixes . (). Backported in : 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 . The bug was introduced in in version 20.5. (). Backported in : Fix wrong result and potential crash when invoking function `if` with arguments of type `FixedString` with different sizes. This fixes . (). Backported in : Fix crash in JOIN with LowCardinality type with `joinalgorithm=partialmerge`. (). Backported in : Fix constraints check if constraint is a constant expression. This fixes . (). Backported in : Make `topK` aggregate function return Enum for Enum types. This fixes . (). Backported in : Parse tables metadata in parallel when loading database. This fixes slow server startup when there are large number of tables. (). Backported in : Fix error `Cannot capture column` for higher-order functions with `Tuple(LowCardinality)` argument. Fixes . (). Fix error `Expected single dictionary argument for function` for function `defaultValueOfArgumentType` with `LowCardinality` type. Fixes . (). Backported in : Fix error `Expected single dictionary argument for function` for function `defaultValueOfArgumentType` with `LowCardinality` type. Fixes . (). Backported in : Fix possible crash while using wrong type for `PREWHERE`. Fixes , . (). Backported in : Fix SIGSEGV in StorageKafka on DROP TABLE. (). Backported in : Fix empty `resultrows` and `resultbytes` metrics in `system.quey_log` for selects. Fixes . (). Backported in : Fix segfault with `-StateResample` combinators. (). Backported in : Format `Parquet` now properly works with `LowCardinality` and `LowCardinality(Nullable)` types. Fixes , . (). Backported in : Fix handling dependency of table with ENGINE=Dictionary on dictionary. This fixes . This fixes . (). Backported in : Avoid "There is no query" exception for materialized views with joins or with subqueries attached to system logs

metriclog, etc) or to engine=Buffer underlying table. (). Backported in : Fix bug which leads to incorrect table metadata in ZooKeepeer for ReplicatedVersionedCollapsingMergeTree tables. Fixes . (). Backported in : 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 . (). Backported in : Fix potential infinite loop in `greatCircleDistance`, `geoDistance`. This fixes . (). Backported in : Fix potential overflow in integer division. This fixes . (). Backported in : Fix bad code in redundant ORDER BY optimization. The bug was introduced in . (). Backported in : Fix transform of query to send to external DBMS (e.g. MySQL, ODBC) in presense of aliases. This fixes . (). Backported in : Fix wrong logic in ALTER DELETE that leads to deleting of records when condition evaluates to NULL. This fixes . This closes . (). Backported in : Don't split the dictionary source's table name into schema and table name itself if ODBC connection doesn't support schema. (). Backported in : Fix dictGet arguments check during GROUP BY injective functions elimination. (). Backported in : Cap max_memory_usage limits to the process resident memory. (). Backported in : Fixed logical functions for UInt8 values when they are not equal to 0 or 1. (). Backported in : Fixed behaviour on reaching redirect limit in request to S3 storage. (). Backported in : Not for changelog. Cherry-pick after . (). Backported in : 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 . This fixes . (). Backported in : The function `arrayFill` worked incorrectly for empty arrays that may lead to crash. This fixes . (). Backported in : Fix typo in setting name. (). Backported in : Some threads might randomly hang for a few seconds during DNS cache updating. It's fixed. (). Backported in : Fix TTL after renaming column, on which depends TTL expression. (). Backported in : 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 . (). Backported in : Fix order of columns in `WITH FILL` modifier. Previously order of columns of `ORDER BY` statement wasn't respected. (). Backported in : Fix very rare race condition in ReplicatedMergeTreeQueue. (). Backported in : Install `ca-certificates` before the first `apt-get update` in Dockerfile. (). NO CL ENTRY: 'Cherry pick to 20.5: Fix defaultValueOfArgumentType'. ().