mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
18 KiB
18 KiB
ClickHouse release v20.11.7.16-stable FIXME as compared to v20.11.6.6-stable
Improvement
- Backported in #19147: Explicitly set uid / gid of clickhouse user & group to the fixed values (101) in clickhouse-server images. #19096 (filimonov).
Bug Fix
- Backported in #18268: Fix indeterministic functions with predicate optimizer. This fixes #17244. #17273 (Winter Zhang).
- Backported in #19657: fix data type convert issue for mysql engine ... #18124 (bo zeng).
- Backported in #18165: Fix error when query
MODIFY COLUMN ... REMOVE TTL
doesn't actually remove column TTL. #18130 (alesapin). - Backported in #19056: Fix inserting a row with default value in case of parsing error in the last column. Fixes #17712. #18182 (Jianmei Zhang).
- Backported in #18230: Fix possible incomplete query result while reading from
MergeTree*
in case of read backoff (message<Debug> MergeTreeReadPool: Will lower number of threads
in logs). Was introduced in #16423. Fixes #18137. #18216 (Nikolai Kochetov). - Backported in #18632:
SELECT JOIN
now requires theSELECT
privilege on each of the joined tables. This PR fixes #17654. #18232 (Vitaly Baranov). - Backported in #18426: Fix possible crashes in aggregate functions with combinator
Distinct
, while using two-level aggregation. Fixes #17682. #18365 (Anton Popov). - Backported in #19160: Fix index analysis of binary functions with constant argument which leads to wrong query results. This fixes #18364. #18373 (Amos Bird).
- Backported in #18430: Fix filling table
system.settings_profile_elements
. This PR fixes #18231. #18379 (Vitaly Baranov). - Backported in #18483: Restrict merges from wide to compact parts. In case of vertical merge it led to broken result part. #18381 (Anton Popov).
- Backported in #18472: Fixed
value is too short
error when executingtoType(...)
functions (toDate
,toUInt32
, etc) with argument of typeNullable(String)
. Now such functions returnNULL
on parsing errors instead of throwing exception. Fixes #7673. #18445 (Alexander Tokmakov). - Backported in #19718: Disable constant folding for subqueries on the analysis stage, when the result cannot be calculated. #18446 (Azat Khuzhin).
- Backported in #18532: Proper support for 12AM in
parseDateTimeBestEffort
function. This fixes #18402. #18449 (vladimir-golovchenko). - Backported in #18503: Disable write with AIO during merges because it can lead to extremely rare data corruption of primary key columns during merge. #18481 (alesapin).
- Backported in #18600: Fix bug which may lead to
ALTER
queries hung after corresponding mutation kill. Found by thread fuzzer. #18518 (alesapin). - Backported in #18576: Fix possible
Pipeline stuck
error while usingORDER BY
after subquery withRIGHT
orFULL
join. #18550 (Nikolai Kochetov). - Backported in #18607: Add FixedString Data type support. I'll get this exception "Code: 50, e.displayText() = DB::Exception: Unsupported type FixedString(1)" when replicating data from MySQL to ClickHouse. This patch fixes bug #18450 Also fixes #6556. #18553 (awesomeleo).
- Backported in #18735: Fix Logger with unmatched arg size. #18717 (sundyli).
- Backported in #18947: Fixed
Attempt to read after eof
error when trying toCAST
NULL
fromNullable(String)
toNullable(Decimal(P, S))
. Now functionCAST
returnsNULL
when it cannot parse decimal from nullable string. Fixes #7690. #18718 (Winter Zhang). - Backported in #18801: Asynchronous distributed INSERTs can be rejected by the server if the setting
network_compression_method
is globally set to non-default value. This fixes #18741. #18776 (Alexey Milovidov). - Backported in #18838: Fix *If combinator with unary function and Nullable types. #18806 (Azat Khuzhin).
- Backported in #18908: Fix possible hang at shutdown in clickhouse-local. This fixes #18891. #18893 (Alexey Milovidov).
- Backported in #19113: Attach partition should reset the mutation. #18804. #18935 (fastio).
- Backported in #18997: Fix bug when mutation with some escaped text (like
ALTER ... UPDATE e = CAST('foo', 'Enum8(\'foo\' = 1')
serialized incorrectly. Fixes #18878. #18944 (alesapin). - Backported in #19194: Fixed very rare deadlock at shutdown. #18977 (Alexander Tokmakov).
- Backported in #19092: Disable
optimize_move_functions_out_of_any
because optimization is not always correct. This closes #18051. This closes #18973. #18981 (Alexey Milovidov). - Backported in #19050: Fix inserting of
LowCardinality
column to table withTinyLog
engine. Fixes #18629. #19010 (Nikolai Kochetov). - Backported in #19082: Fix possible error
Expected single dictionary argument for function
if use functionignore
withLowCardinality
argument. Fixes #14275. #19016 (Nikolai Kochetov). - Backported in #19049: Make sure
groupUniqArray
returns correct type for argument of Enum type. This closes #17875. #19019 (Alexey Milovidov). - Backported in #19125: Restrict
MODIFY TTL
queries forMergeTree
tables created in old syntax. Previously the query succeeded, but actually it had no effect. #19064 (Anton Popov). - Backported in #19564: Fixed
There is no checkpoint
error when inserting data through http interface usingTemplate
orCustomSeparated
format. Fixes #19021. #19072 (Alexander Tokmakov). - Backported in #19231: Fix startup bug when clickhouse was not able to read compression codec from
LowCardinality(Nullable(...))
and throws exceptionAttempt to read after EOF
. Fixes #18340. #19101 (alesapin). - Backported in #19181: Fix infinite reading from file in
ORC
format (was introduced in #10580). Fixes #19095. #19134 (Nikolai Kochetov). - Backported in #19268: Fix bug when concurrent
ALTER
andDROP
queries may hang while processing ReplicatedMergeTree table. #19237 (alesapin). - Backported in #19665: Fix error
Cannot convert column now64() because it is constant but values of constants are different in source and result
. Continuation of #7156. #19316 (Nikolai Kochetov). - Backported in #19555: Fix system.parts _state column (LOGICAL_ERROR when querying this column, due to incorrect order). #19346 (Azat Khuzhin).
- Backported in #19470: - Fix default value in join types with non-zero default (e.g. some Enums). Closes #18197. #19360 (Vladimir C).
- Backported in #19439: Fix possible buffer overflow in Uber H3 library. See https://github.com/uber/h3/issues/392. This closes #19219. #19383 (Alexey Milovidov).
- Backported in #19614: Fixed very rare bug that might cause mutation to hang after
DROP/DETACH/REPLACE/MOVE PARTITION
. It was partially fixed by #15537 for the most cases. #19443 (Alexander Tokmakov). - Backported in #19669: Mark distributed batch as broken in case of empty data block in one of files. #19449 (Azat Khuzhin).
- Backported in #19509: Buffer overflow (on memory read) was possible if
addMonth
function was called with specifically crafted arguments. This fixes #19441. This fixes #19413. #19472 (Alexey Milovidov). - Backported in #19538: Fix SIGSEGV with merge_tree_min_rows_for_concurrent_read/merge_tree_min_bytes_for_concurrent_read=0/UINT64_MAX. #19528 (Azat Khuzhin).
- Backported in #19641: Query CREATE DICTIONARY id expression fix. #19571 (Maksim Kita).
- Backported in #19637:
DROP/DETACH TABLE table ON CLUSTER cluster SYNC
query might hang, it's fixed. Fixes #19568. #19572 (Alexander Tokmakov). - Backported in #19653: Fix use-after-free of the CompressedWriteBuffer in Connection after disconnect. #19599 (Azat Khuzhin).
- Backported in #19740: Fix wrong result of function
neighbor
forLowCardinality
argument. Fixes #10333. #19617 (Nikolai Kochetov). - Backported in #19698: Some functions with big integers may cause segfault. Big integers is experimental feature. This closes #19667. #19672 (Alexey Milovidov).
- Backported in #19817: Fix a segmentation fault in
bitmapAndnot
function. Fixes #19668. #19713 (Maksim Kita). - Backported in #19880: Fixed stack overflow when using accurate comparison of arithmetic type with string type. #19773 (Alexander Tokmakov).
- Backported in #19812: In previous versions, unusual arguments for function arrayEnumerateUniq may cause crash or infinite loop. This closes #19787. #19788 (Alexey Milovidov).
- Backported in #19940: Deadlock was possible if system.text_log is enabled. This fixes #19874. #19875 (Alexey Milovidov).
- Backported in #19936: BloomFilter index crash fix. Fixes #19757. #19884 (Maksim Kita).