Skip to content

20.4 backports part 1#11015

Merged
nikitamikhaylov merged 32 commits intoClickHouse:20.4from
abyss7:20.4-backports
May 23, 2020
Merged

20.4 backports part 1#11015
nikitamikhaylov merged 32 commits intoClickHouse:20.4from
abyss7:20.4-backports

Conversation

@abyss7
Copy link
Copy Markdown
Contributor

@abyss7 abyss7 commented May 18, 2020

DO NOT MERGE! Backports.

alexey-milovidov and others added 30 commits May 18, 2020 16:49
Added failing tests about "max_rows_to_sort" setting.

(cherry picked from commit f7b1263)
Fix distributed send that are scheduled by INSERT query

(cherry picked from commit ddc8416)
…key-fixes

Disable GROUP BY sharding_key optimization by default (and fix for WITH ROLLUP/CUBE/TOTALS)

(cherry picked from commit 33d491e)
Fixed comparing DateTime64 in WHERE against String value

(cherry picked from commit 67efc7f)
Fix SELECT of column ALIAS which default expression type different from column type

(cherry picked from commit 15e38c8)
ISSUES-10551 add backward compatibility for create bloom filter index

(cherry picked from commit db4c235)
…onary-init-in-constructor

Move initialization of DatabaseWithDictionaries to constructor.

(cherry picked from commit 2528e72)
Fixed handling condition variable for synchronous mutations

(cherry picked from commit 992e589)
…ards-LowCardinality

Fix optimize_skip_unused_shards with LowCardinality

(cherry picked from commit 229f666)
…llptr-dereference

Fix nullptr dereference in StorageBuffer

(cherry picked from commit 884c2aa)
…ltaneous_alters

Fix alter-mutations assignment

(cherry picked from commit 5eebe8c)
Range check in function h3EdgeAngle

(cherry picked from commit d0b61f9)
Fix OrNull and OrDefault

(cherry picked from commit 699ef4f)
…-type

Use src_type for conversion in KeyCondition

(cherry picked from commit a133389)
…-ubsan

Fix UBSan and MSan report in DateLUT

(cherry picked from commit a2f220f)
…lickhouse

Fix the issue with ODBC bridge and identifier_quoting_style = None ClickHouse#7984

(cherry picked from commit 5115ac2)
Fix columns order after Block::sortColumns()

(cherry picked from commit 75607db)
…cache-dictionary

Fix MSan failure in cache dictionary

(cherry picked from commit 6cba2da)
…and_constraints

Fix constraints after column rename

(cherry picked from commit 377ef65)
…alter_hangs

Fix mutations and OPTIMIZE hangs when replica becomes inactive

(cherry picked from commit 623b2e5)
…k_with_database_atomic

Fix livelock with WATCH queries and DatabaseAtomic

(cherry picked from commit a47bf09)
…le-for-string

Fix SIGSEGV in StringHashTable (if such key does not exist)

(cherry picked from commit 0433d9c)
…unction::convertToValues (ClickHouse#10890)

* Destructive IAggregateFunction::insertResultInto and ColumnAggregateFunction::convertToValues

* Try fix build.

* Try fix build.

* Fix build.

* Make convertToValues static.

* fix build.

* Remove const casts.

* Added comment.

* Fix build.

* Fix build.

* Add test.

* Fix test.

(cherry picked from commit f653058)
Fix error in multiple rename commands in a single query.

(cherry picked from commit be4037a)
…h-null

Fix not null in with null

(cherry picked from commit 1bceb48)
…tten-read-fix

Avoid sending partially written files by the DistributedBlockOutputStream

(cherry picked from commit 0d76091)
…ueries-incompatibility-19.16-20.1

Fix incompatibility of two-level aggregation between 19.16 and 20.1

(cherry picked from commit c957154)
…mn_size

Fix incorrect Column byte size

(cherry picked from commit b6b1947)
…ic_terminate_called

Fix exception from destructor in DatabaseAtomic

(cherry picked from commit 103f66e)
…-free-mergetree

Try to fix use-after-free error in MergeTree

(cherry picked from commit 421eb6d)
Database atomic fixes

(cherry picked from commit 6f1d522)
@abyss7 abyss7 self-assigned this May 18, 2020
@akuzm
Copy link
Copy Markdown
Contributor

akuzm commented May 18, 2020

If it's merged, please squash, so that the backport can be detected from the commit message.

@nikitamikhaylov nikitamikhaylov changed the title 20.4 backports 20.4 backports part 1 May 22, 2020
@nikitamikhaylov nikitamikhaylov merged commit c8c5c0d into ClickHouse:20.4 May 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants