Commit Graph

9297 Commits

Author SHA1 Message Date
Alexey Milovidov
56012402e2 Fix potential nullptr dereference in table function VALUES 2021-01-21 15:19:00 +03:00
alexey-milovidov
08dc5ebfa7
Merge pull request #19343 from ucasFL/sleep
fix sleep with infinite input
2021-01-21 15:04:30 +03:00
alesapin
fe6b964b32 Revert "Revert "Auto version update to [21.2.1.1] [54446]""
This reverts commit 42f63e14b5.
2021-01-21 12:39:46 +03:00
flynn
e75b116466
Rewrite sum(if()) and sumIf to countIf in special cases (#17041)
Co-authored-by: vdimir <vdimir@yandex-team.ru>
2021-01-21 12:01:35 +03:00
feng lv
2094eae23d fix sleep with infinite input 2021-01-21 04:49:35 +00:00
alesapin
af4afff723
Merge pull request #19284 from ClickHouse/decompose_test_keeper_storage
Split TestKeeperStorage and processing thread
2021-01-21 00:19:05 +03:00
alesapin
79d64106ab
Merge pull request #19293 from sundy-li/patch-2
Remove useless codes
2021-01-20 19:22:06 +03:00
Daniel Qin
25d8c047c5
Add a check to avoid exception when long alias equals to column (#18968)
* Add a check to avoid exception when long alias equas to column

* try fix with add an underlying table name, add function test

* format code

Co-authored-by: Ling Qin <lqin@freewheel.com>
2021-01-20 18:34:17 +03:00
alesapin
70679e4ee1 Fix test keeper handler 2021-01-20 15:11:26 +03:00
Nikolai Kochetov
1e4b32aa30
Merge pull request #19273 from CurtizJ/map-subcolumns
Support 'keys' and 'values' subcolumns in type Map
2021-01-20 13:13:01 +03:00
Alexander Kuzmenkov
636049f465
Merge pull request #19022 from ClickHouse/aku/window-prototype
[wip] WINDOW clause
2021-01-20 08:31:04 +03:00
Alexander Kuzmenkov
951b552727 rename 2021-01-20 08:29:27 +03:00
sundyli
659303d871
Remove useless codes 2021-01-20 09:25:57 +08:00
alexey-milovidov
af688d6529
Merge pull request #19285 from ucasFL/b1
move ctr from private to delete
2021-01-20 02:53:59 +03:00
Alexander Kuzmenkov
4d16dead0f Merge remote-tracking branch 'origin/master' into HEAD 2021-01-19 20:34:01 +03:00
Alexander Kuzmenkov
f5931a2289
Merge pull request #19236 from ClickHouse/aku/echo-leading
Make `-- { echo }` hint preserve leading comments
2021-01-19 20:20:58 +03:00
alesapin
374cee47e0 Fix typo 2021-01-19 19:22:40 +03:00
feng lv
4b1a494a91 move ctr from private to delete 2021-01-19 15:59:49 +00:00
alesapin
56f19e4790 Remove unused headers 2021-01-19 18:52:28 +03:00
alesapin
8cdfbd996b Fix header 2021-01-19 18:51:52 +03:00
alesapin
7e71a5b1b0 Fix new lines 2021-01-19 18:25:08 +03:00
alesapin
6c6bf60937 Rename function 2021-01-19 18:23:32 +03:00
alesapin
0ee5629527 Fix style 2021-01-19 18:10:49 +03:00
alesapin
ace6d906b0 Fix normal close scenario 2021-01-19 17:45:45 +03:00
alesapin
ac64a13392 Split storage and requests processing 2021-01-19 17:22:28 +03:00
tavplubix
47102d2ee8
Merge pull request #19205 from TCeason/add_MySQL_var_check
add MySQL Var check
2021-01-19 14:52:30 +03:00
Anton Popov
bc796ec391 support 'keys' and 'values' subcolumns in type Map 2021-01-19 14:05:21 +03:00
alesapin
70d9c7ea03
Merge pull request #19237 from ClickHouse/fix_wait_for_log_entries
Don't wait forever for log update after table was dropped
2021-01-19 10:22:52 +03:00
Anton Popov
dbc10b2024
Merge pull request #19063 from CurtizJ/exists-view
Support operations with views in ANTLR parser
2021-01-19 01:15:12 +03:00
Alexander Kuzmenkov
d0922e2985 Merge remote-tracking branch 'origin/master' into tmp 2021-01-18 23:23:49 +03:00
Alexander Kuzmenkov
ccd401289c ya.make 2021-01-18 23:23:39 +03:00
Kruglov Pavel
937fb25739
Merge pull request #19224 from zhangjmruc/master
Support %Q in function formatDateTime in #19163
2021-01-18 20:48:43 +03:00
tavplubix
071a6aeb4d
trigger CI 2021-01-18 16:53:33 +03:00
Alexander Kuzmenkov
c153268da7 Make -- { echo } hint preserve leading comments. 2021-01-18 15:15:46 +03:00
alesapin
4ee96869a2 Don't wait forever for log update after table was dropped 2021-01-18 15:15:07 +03:00
alexey-milovidov
4c29a29e4a
Merge pull request #19186 from ClickHouse/change-server-memory-usage-without-restart
Allow to change max_server_memory_usage without restart
2021-01-18 14:03:21 +03:00
alexey-milovidov
6435ab8e4d
Merge pull request #19216 from ClickHouse/speedup-sum
Speed up aggregate function sum
2021-01-18 13:57:22 +03:00
Alexander Kuzmenkov
d22c04568d
Merge pull request #13405 from excitoon-favorites/s3keepalive
Connection pools for S3
2021-01-18 12:52:37 +03:00
jianmei zhang
e967b6bf49 add a %Q replacement for formatDateTime 2021-01-18 12:16:32 +08:00
alexey-milovidov
1444ccb85e
Merge pull request #19206 from azat/dist-pull
Tiny changes in DistributedBlockOutputStream
2021-01-18 01:04:50 +03:00
Alexey Milovidov
712bef8eef Merge branch 'master' into change-server-memory-usage-without-restart 2021-01-18 00:00:09 +03:00
Alexey Milovidov
c5ac0762e4 Speed up aggregate function sum 2021-01-17 21:59:31 +03:00
Alexey Milovidov
e482c5ea15 Fix TSan 2021-01-17 15:40:14 +03:00
alexey-milovidov
15f4ae26c2
Merge pull request #17310 from CurtizJ/multiple-nested
Allow nested with multiple nesting and subcolumns of complex types
2021-01-17 15:00:26 +03:00
Azat Khuzhin
a6631287a7 DistributedBlockOutputStream: add more comments 2021-01-17 12:50:37 +03:00
TCeason
a3cc6707b4 add MySQL Var check
add MySQL var check: log_bin_use_v1_row_events=OFF
2021-01-17 17:50:35 +08:00
Azat Khuzhin
b725e1d131 DistributedBlockOutputStream: Remove superfluous brackets for string construction 2021-01-17 12:48:51 +03:00
Azat Khuzhin
2955e25e83 Fix inserted blocks accounting for insert_distributed_one_random_shard=1
It is tricky due to block splitting

Refs: https://github.com/ClickHouse/ClickHouse/pull/18294
2021-01-17 12:45:42 +03:00
Azat Khuzhin
858f07c796 Update comment for query AST cloning during inesrt into multiple local shards
Refs: https://github.com/ClickHouse/ClickHouse/pull/18264#discussion_r558839456
2021-01-17 12:40:41 +03:00
alexey-milovidov
d2366b5c6c
Merge pull request #18233 from vitlibar/fix-access-rights-for-select-count
Fix access rights for SELECT count()
2021-01-17 00:12:08 +03:00