Commit Graph

36404 Commits

Author SHA1 Message Date
Vitaly Baranov
0cebefae3e The restart_clickhouse() function in integration tests now waits until the server is restarted. 2020-02-28 16:34:19 +03:00
Vitaly Baranov
91523752ce Use server config to set path to persistent storage for access entities. 2020-02-28 16:34:19 +03:00
Vitaly Baranov
2408c8cf57 Implement persistent storage for access entities. 2020-02-28 16:34:19 +03:00
Vitaly Baranov
2846567bf1 Add function IAccessStorage::canInsert(): now access storage can decide if it can take a new entity. 2020-02-28 16:34:19 +03:00
Vitaly Baranov
b7f0129505 Fix parsing list of roles in commands CREATE USER, CREATE ROW POLICY, CREATE QUOTA. 2020-02-28 16:34:19 +03:00
Vitaly Baranov
71bb3fc46d Add missed locks to MemoryAccessStorage. 2020-02-28 16:34:18 +03:00
Vitaly Baranov
455fad5919 Add attach mode to access-controlling SQL. 2020-02-28 16:34:18 +03:00
Alexander Kazakov
de85a880ac Minor changes to small tests 2020-02-28 16:12:43 +03:00
Alexander Kazakov
c32b62ae91 Added medium and large tests 2020-02-28 16:12:16 +03:00
Alexander Kuzmenkov
5ce0b62a20 Merge remote-tracking branch 'origin/master' into HEAD 2020-02-28 16:07:41 +03:00
Alexander Kuzmenkov
f0be7dc06e Merge remote-tracking branch 'origin/master' into HEAD 2020-02-28 16:07:16 +03:00
Alexander Kuzmenkov
0b18b703c4 faster 2020-02-28 16:07:09 +03:00
alexey-milovidov
6691302e4f
Generic constructor of ColumnVector from initializer list (#9393)
* Generic constructor of ColumnVector from initializer list #9367

* Fixed build

* Fixed error
2020-02-28 15:57:04 +03:00
alesapin
bbe7ded486 Remove unused error code 2020-02-28 15:49:34 +03:00
alesapin
fc18f82189 Fix stupid bug with settings alter 2020-02-28 15:44:50 +03:00
Artem Zuikov
c4fc8e4d9d make test stable 2020-02-28 15:37:15 +03:00
Nikita Mikhaylov
e06432af60
CacheDictionary datarace on exception_ptr (#9379)
* datarace on exceptionptr fixed

* better

* monkey test added

* comment to test added

* add new line to reference file

* bump tests

* q
2020-02-28 15:34:39 +03:00
Alexey Milovidov
8d51824ddc getThreadId for FreeBSD 2020-02-28 14:24:56 +03:00
Artem Zuikov
d643332490 fix style check error 2020-02-28 14:03:09 +03:00
Amos Bird
615c6bba91
cleaning duplicate linker flags 2020-02-28 18:56:33 +08:00
Artem Zuikov
fdd1f248d0 Merge branch 'master' into ast 2020-02-28 13:54:33 +03:00
Nikita Mikhaylov
aaffe31613 split metric 2020-02-28 13:53:59 +03:00
Artem Zuikov
316a8e231d fix unit tests build 2020-02-28 13:38:46 +03:00
Anton Popov
adf4f7349f
temporary disable tests for compatability between replicas 2020-02-28 13:14:02 +03:00
alexey-milovidov
74de3fbb86
Merge pull request #9212 from BayoNet/en-docs/CLICKHOUSEDOCS-415-median
DOCS-415: median* functions
2020-02-28 13:13:22 +03:00
alesapin
9a03d413aa Fix backward compatibility on server side 2020-02-28 12:58:35 +03:00
alesapin
46c6897ab5 Fix backward compatibility on server side 2020-02-28 12:57:45 +03:00
alesapin
1b7bf67e2b Merge branch 'master' into CurtizJ-test-backward-compatability 2020-02-28 12:18:41 +03:00
Sergei Shtykov
f0aaa3b045 Merge branch 'master' of github.com:ClickHouse/ClickHouse into en-docs/CLICKHOUSEDOCS-415-median 2020-02-28 11:55:34 +03:00
Sergei Shtykov
fb08cc7d89 CLICKHOUSEDOCS-415: Converted median description to quantile description. 2020-02-28 11:55:18 +03:00
alesapin
5a5792259c Finalize mutations more frequently 2020-02-28 11:55:17 +03:00
alesapin
6fb48c5e9a Disable coverage on client 2020-02-28 11:34:37 +03:00
alexey-milovidov
7b511b2d90
Merge pull request #9070 from urykhy/fix-mv-insert-2621
add option to force deduplicate children
2020-02-28 03:19:27 +03:00
alexey-milovidov
b3dfdbc1a0
Merge pull request #9387 from ClickHouse/fix_another_context_related_segfault
Fix Context-related segfault in StorageMerge and destruction order in BlockIO
2020-02-28 03:11:49 +03:00
alexey-milovidov
4a5e79ce3d
Merge pull request #9416 from CurtizJ/benchmark-query-id
Allow to set query_id in clickhouse-benchmark
2020-02-28 03:08:29 +03:00
proller
6b2d6e9392
Build fixes (#9381)
* Revert "Revert "Build fixes""

This reverts commit 355ff00c2e.

* zlib link fix
2020-02-28 03:07:42 +03:00
Nikita Mikhaylov
030a8a4164
Wrong counting of DictCacheKeysRequestedFound metric (#9411)
* first

* bump test
2020-02-28 03:07:00 +03:00
alexey-milovidov
6c0db94e21
Merge pull request #9394 from nikitamikhaylov/last_successful_update_time
last_successful_update_time in system.dictionaries
2020-02-28 03:03:16 +03:00
alexey-milovidov
ae8a701387
Merge pull request #9079 from yurriy/mysql
Send string columns to mysql client as utf8
2020-02-28 02:08:49 +03:00
Vitaly Baranov
244e13c670
Merge pull request #9414 from vitlibar/fix-build-freebsd
Fix build on FreeBSD.
2020-02-28 00:25:47 +03:00
Alexander Kuzmenkov
01c36f8b33 Fix shellcheck warnings. 2020-02-27 23:56:32 +03:00
Alexander Kuzmenkov
aab320d656 performance comparison 2020-02-27 22:44:03 +03:00
Alexander Kuzmenkov
924f3d5a3f Faster cases. 2020-02-27 22:40:22 +03:00
alexey-milovidov
ec4aed74a1
Update permissions_for_queries.md 2020-02-27 21:16:02 +03:00
Artem Zuikov
aad6669afb fix gcc9 build 2020-02-27 21:05:49 +03:00
Alexander Kuzmenkov
90ee601eb0 performance comparison 2020-02-27 20:57:27 +03:00
CurtizJ
a17d286e83 allow to set query_id in clickhouse-benchmark 2020-02-27 20:21:01 +03:00
Alexander Tokmakov
8a91081331 fix BlockIO destruction order 2020-02-27 18:40:11 +03:00
Artem Zuikov
68dc399d0d minor changes 2020-02-27 18:06:04 +03:00
Artem Zuikov
2c09017a33 place optimizeIf() after scalar subqueries + better getTablesWithColumns() 2020-02-27 17:33:03 +03:00