Commit Graph

38231 Commits

Author SHA1 Message Date
BayoNet
71e2ab43c4
Merges RBAC statements reference with RBAC introduction (#96)
* CLICKHOUSEDOCS-559: Started to describe GRANT

* CLICKHOUSEDOCS-559: Added headers for some other kinds of quries.

* CLICKHOUSEDOCS-559: Further edits.

* CLICKHOUSEDOCS-559: Updated grant description.

* CLICKHOUSEDOCS-559: The first version for the GRANT statement is finished.

* CLICKHOUSEDOCS-559: Almost finished CREATE USER

* CLICKHOUSEDOCS-559: Finished the first version of CREATE queries.

* CLICKHOUSEDOCS-559: Finished ALTER, DROP and SET.

* CLICKHOUSEDOCS-559: Finished the first version of statements.

* CLICKHOUSEDOCS-559: Update by review.

* CLICKHOUSEDOCS-559: Update by review.

* Update docs/en/query_language/alter.md

* Update docs/en/query_language/create.md

Co-Authored-By: Ilya Yatsishin <2159081+qoega@users.noreply.github.com>

* Update docs/en/query_language/grant.md

Co-Authored-By: Ilya Yatsishin <2159081+qoega@users.noreply.github.com>

* Update by comments. Also RBAC-7 aplied.

* moved new files to new structure

* Adopted added articles to a new structure.

* CLICKHOUSEDOCS-559: Fixed links.

* CLICKHOUSEDOCS-559: Links fix.

* CLICKHOUSEDOCS-559: Updated privileges by RBAC-8 changes

* CLICKHOUSEDOCS-559: Added CREATE, ALTER, DROP, and SHOW queries for QUOTAS and SETTINGS PROFILES.

* CLICKHOUSEDOCS-559: Added ON CLUSTER for CREATE, ALTER, DROP.

* CLICKHOUSEDOCS-559: Fixed code-blocks and the anchor.

* CLICKHOUSEDOCS-559: Edits after the last portion of commentaries.

* CLICKHOUSEDOCS-559: Changed example

Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: Ilya Yatsishin <2159081+qoega@users.noreply.github.com>
2020-04-09 17:02:39 +03:00
Sergei Shtykov
aa413869ef Merge branch 'master' of github.com:ClickHouse/ClickHouse into docs/CLICKHOUSEDOCS-558-RBAC-introduction 2020-04-09 16:55:23 +03:00
Vitaly Baranov
36af2ab264
Merge pull request #10109 from vitlibar/RBAC-9
RBAC-9
2020-04-09 16:26:24 +03:00
Ilya Yatsishin
d6653f1fdc
Merge pull request #10147 from BayoNet/en-docs/CLICKHOUSEDOCS-475-system-dictionaries
DOCS-475: system.dictionaries
2020-04-09 16:05:33 +03:00
Sergei Shtykov
4847914eda CLICKHOUSEDOCS-475: Fixes. 2020-04-09 13:15:54 +03:00
Vitaly Baranov
8a19f6d322
Merge pull request #10115 from azat/path.xml-access_control_path
Rewrite access_control_path in path.xml
2020-04-09 11:38:08 +03:00
Vitaly Baranov
12336a9ece Use "CREATE USER HOST REGEXP" instead of "CREATE USER HOST NAME REGEXP". 2020-04-09 10:22:51 +03:00
Vitaly Baranov
ed2562b3f4 Add new words to client's suggest. 2020-04-09 10:22:51 +03:00
Vitaly Baranov
f0d3547b8f Parser can parse "ON CLUSTER" in other places of SQL commands too. 2020-04-09 10:22:51 +03:00
Vitaly Baranov
4d93577791 PREWHERE can be used now by user without row filtering. 2020-04-09 10:22:51 +03:00
Vitaly Baranov
d992e408d8 Disable creating row policies for insert, update, delete because those filters are not supported. 2020-04-09 10:22:51 +03:00
Vitaly Baranov
d548c7e381 Simplify DCL for creating quotas. 2020-04-09 10:22:51 +03:00
Vitaly Baranov
23ac1ee87c readonly user now can execute SHOW CREATE for access entities. 2020-04-09 10:22:51 +03:00
Vitaly Baranov
c97d12a19c Enable access management by default for all integration tests. 2020-04-09 10:22:51 +03:00
Vitaly Baranov
36a5b57ac4 Use "CREATE SETTINGS PROFILE name SETTINGS INHERIT parent" instead of "CREATE SETTINGS PROFILE name SETTINGS PROFILE parent". 2020-04-09 10:22:51 +03:00
Ivan Blinkov
a24471233f
Update README.md 2020-04-09 08:04:12 +03:00
Alexey Milovidov
eca178fd8e Added results from Jack Gao 2020-04-09 06:03:49 +03:00
alexey-milovidov
6ff4c3aa16
Merge pull request #10135 from azat/distributed-insert-converting
Convert blocks if structure does not match on INSERT into Distributed()
2020-04-09 05:51:36 +03:00
alexey-milovidov
e5d6d879f3
Merge pull request #10134 from ClickHouse/remove-vagrant-build
Remove vagrant build
2020-04-09 05:51:01 +03:00
alexey-milovidov
fef889c0ba
Merge pull request #10138 from ClickHouse/fix-logged-number-of-inserted-rows
Fix logged number of inserted rows into ReplicatedMergeTree
2020-04-09 05:50:49 +03:00
Alexey Milovidov
5314b277af Fixed test 2020-04-09 05:50:37 +03:00
Alexey Milovidov
540e9f7d0d Fix logged number of inserted rows into ReplicatedMergeTree 2020-04-09 01:58:15 +03:00
BohuTANG
f48fdda678
Enhanced compatibility with native mysql-connector-java(JDBC) (#10021)
* Skip the `/* comments */ SELECT @@variables ...` from mysql-connector-java setup for MySQL Handler #9336

mysql-connector setup query:
/* mysql-connector-java-5.1.38 ( Revision: ${revinfo.commit} ) */SELECT  @@session.auto_increment_increment AS auto_increment_increment, @@character_set_client AS character_set_client, @@character_set_connection AS character_set_connection, @@character_set_results AS character_set_results, @@character_set_server AS character_set_server, @@init_connect AS init_connect, @@interactive_timeout AS interactive_timeout...

ClickHouse side Error:
{} <Error> executeQuery: Code: 62, e.displayText() = DB::Exception: Syntax error: failed at position 74: @@session.auto_increment_increment AS auto_increment_increment, @@character_set_client AS character_set_client, @@character_set_connection AS character_set_conn. Expected one of: CAST, NULL...

Client side Exception:
java.sql.SQLException: Syntax error: failed at position 74: @@session.auto_increment_increment AS auto_increment_increment, @@character_set_client AS character_set_client, @@character_set_connection AS character_set_conn. Expected one of: CAST...

* add repalce 'SHOW VARIABLES' for mysql-connector-java-5.1.34 #9336

* Add java client(JDBC) integration test to test_mysql_protocol

* shift out java tests from dbms

* Update MySQLHandler.cpp

* Update MySQLHandler.cpp

* test_mysql_protocol: add Test.java exit code 1 when expection

Co-authored-by: alexey-milovidov <milovidov@yandex-team.ru>
2020-04-09 00:52:19 +03:00
Azat Khuzhin
6d85207bfb Convert blocks if structure does not match on INSERT into Distributed()
Follow-up for: #10105
2020-04-08 23:46:01 +03:00
Alexey Milovidov
b6f4287d2f Remove vagrant build 2020-04-08 23:42:12 +03:00
Alexey Milovidov
5e336ba063 Added another test #10077 2020-04-08 23:33:40 +03:00
alexey-milovidov
db4270b60c
Merge pull request #10077 from zhang2014/fix/ISSUES-10056
ISSUES-10056 support identifier argument for MySQL Database engine
2020-04-08 22:59:09 +03:00
alexey-milovidov
0372a6119a
Merge pull request #10110 from amosbird/tsm
more monotonicity for toString()
2020-04-08 22:55:04 +03:00
alexey-milovidov
9a00eca1c5
Merge pull request #10121 from ClickHouse/fix_adaptive_granularity_compatibility
Fix adaptive granularity compatibility
2020-04-08 22:50:09 +03:00
alexey-milovidov
c389fee7e7
Update StorageReplicatedMergeTree.cpp 2020-04-08 22:48:01 +03:00
alexey-milovidov
80b73a209b
Merge pull request #10107 from ClickHouse/fix-globs-test
Fix unit test in debug build.
2020-04-08 22:46:44 +03:00
alexey-milovidov
de2fb3ea17
Merge pull request #10108 from ClickHouse/thread-fuzzer-disable-under-thread-memory-sanitizer
ThreadFuzzer: do not wrap pthread functions under thread and memory sanitizers
2020-04-08 22:46:07 +03:00
Nikolai Kochetov
3b4682d179 Updated 01232_preparing_sets_race_condition. 2020-04-08 20:46:48 +03:00
alesapin
462d1ca50b
Merge pull request #10120 from Jokser/s3-uri-regex-fix
Fix regex for S3 URI to pass clang-tidy check
2020-04-08 20:41:30 +03:00
zhang2014
9eb96b87db ISSUES-10056 reused evaluateConstantExpressionOrIdentifierAsLiteral 2020-04-09 01:31:28 +08:00
zhang2014
aa0fcf4088 ISSUES-10056 update docs 2020-04-09 01:31:28 +08:00
zhang2014
9ed708b902 ISSUES-10056 add some check and support identifier argument for MySQL Database Engine 2020-04-09 01:31:27 +08:00
alesapin
296eff2ccc Merge branch 'master' into fix_adaptive_granularity_compatibility 2020-04-08 19:43:54 +03:00
Ivan Lezhankin
1e3ec9113a Fix compiler possible values 2020-04-08 19:29:08 +03:00
Sergei Shtykov
b06801a2c0 CLICKHOUSEDOCS-475: Links fixed. 2020-04-08 18:09:40 +03:00
Ivan Blinkov
4d298fd420
Update zh docs and fix en docs (#10125) 2020-04-08 17:22:25 +03:00
Sergei Shtykov
1bb00b8e2e Merge branch 'master' of github.com:ClickHouse/ClickHouse into en-docs/CLICKHOUSEDOCS-475-system-dictionaries 2020-04-08 16:30:21 +03:00
Sergei Shtykov
1aeacfb071 Updated fit new structure of en docs. 2020-04-08 16:30:02 +03:00
elenaspb2019
7376428a6b
elenbaskakova-DOCSUP-780 (#87)
* "docs(system.dictionaries): Table 'system.dictionaries' has been edited"

* "docs(system.dictionaries): Table 'system.dictionaries' has been edited"

* "docs(system.dictionaries): Table 'system.dictionaries' has been edited"

* "docs(system.dictionaries): Table 'system.dictionaries' has been edited"

* "docs(system.dictionaries): Table 'system.dictionaries' has been edited"

* "docs(system.dictionaries): Table 'system.dictionaries' has been edited"

* Update docs/en/operations/system_tables.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* "docs(system.dictionaries): Table 'system.dictionaries' has been edited"

* "docs(system.dictionaries): Table 'system.dictionaries' has been edited"

* "docs(system.dictionaries): Table 'system.dictionaries' has been edited"

* Update docs/en/operations/system_tables.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* Update docs/en/operations/system_tables.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* Update docs/en/operations/system_tables.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* Update docs/en/operations/system_tables.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* "docs(system.settings): Table 'system.settings' has been edited"

* "docs(system.dictionaries): Table 'system.dictionaries' has been edited"

* "docs(system.dictionaries): Table 'system.dictionaries has been edited"

Co-authored-by: elenbaskakova <elenbaskakova@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-04-08 16:22:32 +03:00
BohuTANG
b3b0731c36
Documentation: change testsies to queries in tests.md (#10122) 2020-04-08 16:21:55 +03:00
Amos Bird
f1cb928737
more monotonicity for toString() 2020-04-08 20:13:44 +08:00
Pavel Kovalenko
3603c98c81 Move gtest for S3 URI to proper folder. 2020-04-08 14:59:24 +03:00
Ilya Yatsishin
885d70fc2b
Merge pull request #10008 from morozovsk/patch-2
Documentation: path должен быть терминирован `/`.
2020-04-08 14:09:36 +03:00
Ivan Blinkov
cf14718588
Update tests.md 2020-04-08 12:57:44 +03:00
alesapin
ded306f016 Fix adaptive granularity compatibility 2020-04-08 12:51:04 +03:00