Commit Graph

37598 Commits

Author SHA1 Message Date
Ivan Blinkov
9915506ad1
Update docs/tools/README.md 2020-03-22 15:08:47 +03:00
Azat Khuzhin
622131fc85 Cover constant expression evaluation for optimize_skip_unused_shards
v2: remove key=xxHash64() that is covered by #9804
2020-03-22 14:55:43 +03:00
Ivan Blinkov
d8eea84b1d
Do not do useless work on docs for old releases 2020-03-22 14:22:52 +03:00
Ivan Blinkov
790704d081
Restore some old manual anchors in docs (#9803)
* Simplify 404 page

* add es array_functions.md

* restore some old manual anchors

* update sitemaps

* trigger checks

* restore more old manual anchors

* refactor test.md + temporary disable failure again

* fix mistype
2020-03-22 12:14:59 +03:00
Vitaly Baranov
6839e15b67 Add tests for settings profiles. 2020-03-22 11:08:08 +03:00
Vitaly Baranov
9ca6af32ea Implement SQL to manage settings profiles. 2020-03-22 11:08:08 +03:00
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
Artem Zuikov
d3b5620ad6 multiple_joins_rewriter_version = 1 2020-03-21 19:13:06 +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