Commit Graph

37364 Commits

Author SHA1 Message Date
Vitaly Baranov
49bf4ae375 Introduce SettingsProfile as a new access entity type. 2020-03-22 11:08:08 +03:00
Vitaly Baranov
18d5f63b31 Mass rename: AccessRightsContext -> ContextAccess, QuotaContext -> EnabledQuota, RoleContext -> EnabledRoles, and so on. 2020-03-22 11:08:08 +03:00
Vitaly Baranov
f1e9e3dec0 Improve access rights: KILL_MUTATION deleted, rights for corresponding ALTER commands are checked instead. 2020-03-22 11:08:08 +03:00
Vitaly Baranov
c1f5f8bc89 Improve access rights: SHOW splitted into SHOW_DATABASES, SHOW_TABLES, SHOW_COLUMNS, SHOW_DICTIONARIES, EXISTS deleted. 2020-03-22 11:08:08 +03:00
Vitaly Baranov
66172cc2eb Improve access rights: CREATE TABLE now implicitly enables CREATE VIEW, the same thing for DROP TABLE, ALTER TABLE, TRUNCATE_TABLE. 2020-03-22 11:08:08 +03:00
Vitaly Baranov
c7a10665d7 Remove non-partial revoke. 2020-03-22 11:08:08 +03:00
Vitaly Baranov
4af36ee5a4 Fix updating of the access rights after changing of the readonly setting. Remove non-const function Context::getSettingsRef(). 2020-03-22 11:08:08 +03:00
Vitaly Baranov
5eb79c2303 Cast "const char *" to StringRef is now implicit and constexpr. 2020-03-22 11:05:42 +03:00
Vitaly Baranov
598b373b35 Improve ext::scope_guard. 2020-03-22 11:05:42 +03:00
alexey-milovidov
2fd4439e5f
Merge pull request #9761 from ClickHouse/remove-unused-code-thread-pool
Remove unused (obsolete) code from ThreadPool
2020-03-22 06:34:40 +03:00
Alexey Milovidov
75bf22e1f3 Fixed style 2020-03-22 05:52:44 +03:00
alexey-milovidov
3b7dc4d378
Merge pull request #9773 from achimbab/pr_funnel_strict_order
Add 'strict_order' option to windowFunnel()
2020-03-22 04:01:46 +03:00
alexey-milovidov
939e702bc6
Merge pull request #9606 from ClickHouse/alter_on_top_of_mutations_merge_tree
Non-blocking alter for vanilla merge tree
2020-03-22 03:56:25 +03:00
alexey-milovidov
03aa8d4cfd
Update AlterCommands.cpp 2020-03-22 03:56:10 +03:00
alexey-milovidov
46829a63f3
Update StorageMergeTree.cpp 2020-03-22 03:53:40 +03:00
alexey-milovidov
7a92428046
Update MutationCommands.h 2020-03-22 03:50:06 +03:00
alexey-milovidov
673e38f064
Merge pull request #9796 from ClickHouse/remove-old-performance-test
Remove old `performance-test` tool
2020-03-22 03:40:43 +03:00
Alexey Milovidov
bab4bdbbbd Merge branch 'master' into remove-old-performance-test 2020-03-21 19:43:39 +03:00
Alexey Milovidov
1bfe312834 Removed leftovers 2020-03-21 19:43:31 +03:00
Šimon Podlipský
e4a18367cf
Add PHP simpod/clickhouse-client (#9794)
Yet another ClickHouse client

- all formats support leveraging PHP generics for type safety
- lightweight
- swappable http client
- guarded by Infection + PHPStan and PSalm max levels
2020-03-21 18:14:02 +03:00
Šimon Podlipský
4505e408c0
Change PHP client names to <vendor/lib> format (#9795)
- change name format to help distinguish clients
- use packagist links that are more helpful for library consumers
2020-03-21 18:08:13 +03:00
alexey-milovidov
a87c5eafd6
Merge pull request #9798 from amosbird/ch
using double width space to display newline ch
2020-03-21 16:48:23 +03:00
Amos Bird
cf9ca33c88
using double width space to display newline ch 2020-03-21 21:46:32 +08:00
Alexey Milovidov
59976318e4 Remove old performance-test tool 2020-03-21 16:23:17 +03:00
alexey-milovidov
5645c202e6
Merge pull request #9790 from amosbird/cg
Better cli client
2020-03-21 16:05:20 +03:00
alexey-milovidov
7a6e70c705
Merge pull request #9765 from ClickHouse/clang-tidy-5
Clang Tidy, part 5
2020-03-21 15:50:48 +03:00
Ivan Blinkov
9bfad99f0d
fix mistype 2020-03-21 13:50:48 +03:00
imgbot[bot]
58bc9445cd
[ImgBot] Optimize images (#9792)
*Total -- 1.47kb -> 1.46kb (1.06%)

/docs/fa/images/logo.svg -- 0.37kb -> 0.36kb (1.06%)
/docs/zh/images/logo.svg -- 0.37kb -> 0.36kb (1.06%)
/docs/ja/images/logo.svg -- 0.37kb -> 0.36kb (1.06%)
/docs/ru/images/logo.svg -- 0.37kb -> 0.36kb (1.06%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>

Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-03-21 12:44:03 +03:00
Ivan Blinkov
f315e5079b
More complete "es" translation (#9791)
* replace exit with assert in test_single_page

* improve save_raw_single_page docs option

* More grammar fixes

* "Built from" link in new tab

* fix mistype

* Example of include in docs

* add anchor to meeting form

* Draft of translation helper

* WIP on translation helper

* Replace some fa docs content with machine translation

* add normalize-en-markdown.sh

* normalize some en markdown

* normalize some en markdown

* admonition support

* normalize

* normalize

* normalize

* support wide tables

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* lightly edited machine translation of introdpection.md

* lightly edited machhine translation of lazy.md

* WIP on translation utils

* Normalize ru docs

* Normalize other languages

* some fixes

* WIP on normalize/translate tools

* add requirements.txt

* [experimental] add es docs language as machine translated draft

* remove duplicate script

* Back to wider tab-stop (narrow renders not so well)

* Links to nowhere check at least for English

* use f string

* More complete es translation
2020-03-21 12:17:06 +03:00
alesapin
fbf73012d2 Fix integration test 2020-03-21 11:10:44 +03:00
Ivan Blinkov
6550aa5e6c
fix mistype 2020-03-21 09:32:52 +03:00
Ivan Blinkov
4d23e6cf2d
Update build.py 2020-03-21 09:25:59 +03:00
philip.han
bf1aa44d19 Skip AggregateFunctionWindowFunnelData::merge() if other.events_list is empty. 2020-03-21 14:47:06 +09:00
Ivan Blinkov
11238693b5
Trigger CI 2020-03-21 08:30:54 +03:00
Ivan Blinkov
1ce289a0c4
fix toc_es.yml 2020-03-21 08:29:42 +03:00
Amos Bird
6fe1839f9e
Better cli client 2020-03-21 13:17:12 +08:00
Alexey Milovidov
a13f3f6d6e Fixed build 2020-03-21 08:00:53 +03:00
Ivan Blinkov
5ccf1eb1d4
Trigger CI 2020-03-21 07:57:05 +03:00
Ivan Blinkov
eda352deca
python3 in release.sh 2020-03-21 07:56:32 +03:00
imgbot[bot]
2a318d4ec5
[ImgBot] Optimize images (#9788)
*Total -- 1.47kb -> 1.46kb (1.06%)

/docs/fa/images/logo.svg -- 0.37kb -> 0.36kb (1.06%)
/docs/ru/images/logo.svg -- 0.37kb -> 0.36kb (1.06%)
/docs/zh/images/logo.svg -- 0.37kb -> 0.36kb (1.06%)
/docs/ja/images/logo.svg -- 0.37kb -> 0.36kb (1.06%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>

Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-03-21 07:31:31 +03:00
Ivan Blinkov
2e1f6bc56d
[experimental] add "es" docs language as machine translated draft (#9787)
* replace exit with assert in test_single_page

* improve save_raw_single_page docs option

* More grammar fixes

* "Built from" link in new tab

* fix mistype

* Example of include in docs

* add anchor to meeting form

* Draft of translation helper

* WIP on translation helper

* Replace some fa docs content with machine translation

* add normalize-en-markdown.sh

* normalize some en markdown

* normalize some en markdown

* admonition support

* normalize

* normalize

* normalize

* support wide tables

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* lightly edited machine translation of introdpection.md

* lightly edited machhine translation of lazy.md

* WIP on translation utils

* Normalize ru docs

* Normalize other languages

* some fixes

* WIP on normalize/translate tools

* add requirements.txt

* [experimental] add es docs language as machine translated draft

* remove duplicate script

* Back to wider tab-stop (narrow renders not so well)
2020-03-21 07:11:51 +03:00
Alexey Milovidov
fea3ceca05 Fixed error; added a test 2020-03-21 05:52:37 +03:00
Alexey Milovidov
e4192a0937 Update submodule 2020-03-21 05:02:19 +03:00
alexey-milovidov
6520b45588
Merge pull request #9784 from zlobober/expose_process_list_for_user_info
Expose ProcessListForUserInfo structure from ProcessList.
2020-03-21 01:36:22 +03:00
alesapin
20970f0ba7 Remove files from part correctly 2020-03-20 22:07:09 +03:00
Ivan Blinkov
ec8114d75d
Trigger CI 2020-03-20 22:03:09 +03:00
imgbot[bot]
be957eeab1
[ImgBot] Optimize images (#9785)
*Total -- 1.47kb -> 1.46kb (1.06%)

/docs/fa/images/logo.svg -- 0.37kb -> 0.36kb (1.06%)
/docs/ru/images/logo.svg -- 0.37kb -> 0.36kb (1.06%)
/docs/zh/images/logo.svg -- 0.37kb -> 0.36kb (1.06%)
/docs/ja/images/logo.svg -- 0.37kb -> 0.36kb (1.06%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>

Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-03-20 22:01:56 +03:00
Alexey Milovidov
b8a66ec59d Update Poco 2020-03-20 21:55:03 +03:00
Alexey Milovidov
8255547656 Added one more check 2020-03-20 21:53:35 +03:00
Alexey Milovidov
de5f559304 Fixed strange whitespaces 2020-03-20 21:53:35 +03:00