Commit Graph

53 Commits

Author SHA1 Message Date
Alexey Milovidov
99667a38c3 Added a test from Svyatoslav Tkhon Il Pak @DeifyTheGod #9642 2020-04-19 22:56:34 +03:00
alexey-milovidov
aac7cc7330
Merge pull request #10126 from Jokser/replicated-merge-tree-s3
Support ReplicatedMergeTree over S3
2020-04-18 16:13:04 +03:00
alexey-milovidov
bdc8dfe04b
Added a change from @azat in #10277 2020-04-18 14:48:51 +03:00
Vitaly Baranov
b9ea0a33a7 Fix flaky test test_settings_constraints_distributed. 2020-04-18 11:23:11 +03:00
Yatsishin Ilya
f2136bc286 improvements 2020-04-17 11:42:51 +03:00
alesapin
9bf8f00c3d Fix test 2020-04-15 20:52:05 +03:00
alexey-milovidov
2a48b0ecd7
Merge pull request #10184 from xzkostyan/feature-zookeeper-ssl
Optional secured communication between ClickHouse and Zookeeper
2020-04-15 07:09:14 +03:00
Yatsishin Ilya
dcec80e6dd update README in intergration 2020-04-14 10:15:02 +03:00
Yatsishin Ilya
51567df6e6 output call duration in junit report 2020-04-14 10:15:01 +03:00
Yatsishin Ilya
e5be0c1059 fix integration/test_distributed_ddl/test_replicated_alter 2020-04-14 10:15:01 +03:00
Pavel Kovalenko
46c0b65c95 Minor fix in MergeTree over S3 tests. 2020-04-13 12:20:38 +03:00
Konstantin Lebedev
df28eca407 Add test for communication between ClickHouse and Zookeeper over SSL 2020-04-13 10:49:16 +03:00
Konstantin Lebedev
eaba5c6c73 Remove mutable defaults from helpers/cluster.py 2020-04-12 17:36:48 +03:00
BohuTANG
e7f399f652 MySQLHandler: max_allowed_packet returned by default when server setup with select variables 2020-04-12 13:37:39 +08:00
alexey-milovidov
9203db0ad5
Merge pull request #10140 from BohuTANG/20200409_bug_fix_mysql_handshake_scramble
Fix scramble issue for native mysql-connector-java(JDBC)
2020-04-12 03:53:19 +03:00
alexey-milovidov
30ec2a3ce2
Merge pull request #10179 from vzakaznikov/live_view_over_distributed
Initial support for live view tables over distributed
2020-04-12 01:41:42 +03:00
Vitaly Baranov
ca634f603a Revert resetting the settings to their defaults after each query in TCPHandler. 2020-04-10 21:09:59 +03:00
Vitaliy Zakaznikov
7d076d7f3d Removing comments. 2020-04-10 14:09:28 -04:00
Vitaliy Zakaznikov
16c10851d3 Adding more tests to test_distributed_over_live_view.
Updating test_live_view_over_distributed to be more robust.
2020-04-10 13:47:47 -04:00
Vitaliy Zakaznikov
c37ba8243d Starting to add test_distributed_over_live_view tests. 2020-04-10 13:01:10 -04:00
Vitaliy Zakaznikov
201c65f49b Adding test_live_view_over_distributed integration test. 2020-04-10 11:23:04 -04:00
BohuTANG
87cc8de8e2 Merge remote-tracking branch 'ck/master' into 20200409_bug_fix_mysql_handshake_scramble 2020-04-10 11:10:41 +08:00
Pavel Kovalenko
ee36750482 Set storage policy explicitly in MergeTree over S3 tests. 2020-04-09 18:36:13 +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
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
BohuTANG
17256e0f1e add java client integation tests 2020-04-09 10:53:40 +08:00
Konstantin Lebedev
b666f60af8 Optional secured communication between ClickHouse and Zookeeper 2020-04-09 01:40:54 +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
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
zhang2014
9eb96b87db ISSUES-10056 reused evaluateConstantExpressionOrIdentifierAsLiteral 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
Pavel Kovalenko
eca6caa8db Integration tests for MergeTree over S3 code cleanup. 2020-04-08 15:48:16 +03:00
Pavel Kovalenko
89fe81ed62 Integration test for ReplicatedMergeTree over S3 fixes. 2020-04-08 14:56:31 +03:00
Pavel Kovalenko
bc349a563a Merge branch 'master' into replicated-merge-tree-s3 2020-04-08 13:53:30 +03:00
Pavel Kovalenko
4ec77fee8b Integration test for ReplicatedMergeTree over S3. 2020-04-08 13:53:17 +03:00
alesapin
ded306f016 Fix adaptive granularity compatibility 2020-04-08 12:51:04 +03:00
alexey-milovidov
6d80ab1eed
Merge pull request #9811 from vitlibar/RBAC-8
RBAC-8
2020-04-08 05:47:55 +03:00
alexey-milovidov
09a397a68f
Merge pull request #9997 from azat/dist-on-dist-fixes
Fix Distributed-over-Distributed with one only shard in nested table
2020-04-08 03:45:29 +03:00
alexey-milovidov
d20dfea6ed
Merge pull request #10095 from ClickHouse/fix_replica_start_from_old_version
Fix replicated tables startup when updating from old version
2020-04-08 02:11:12 +03:00
Vitaly Baranov
42b8ed3ec6 Implement "ON CLUSTER" clause for access control SQL. 2020-04-07 23:31:59 +03:00
Vitaly Baranov
bc3e2cb48c Add the option "access_control_path" to server config. 2020-04-07 23:31:59 +03:00
Vitaly Baranov
b71ff6160a Add the "access_management" option to users.xml which enables a user to manage access rights.
The option is turned off by default.
2020-04-07 23:31:54 +03:00
Vitaly Baranov
e5d8f05251 Rename sql command "CREATE POLICY" -> "CREATE ROW POLICY", "CREATE POLICY" is now an alias. 2020-04-07 23:20:38 +03:00
alesapin
82a87bc0d2 Fix replicated tables startup when updating from old version 2020-04-07 18:28:29 +03:00
Olga Khvostikova
834e458f26 Fix behaviour of globs in filepath with leading zeros 2020-04-07 16:46:12 +03:00
alesapin
f0124ffc2b Fix runner script 2020-04-06 21:30:51 +03:00
Vasily Nemkov
b441e8a408 Integration test for Distributed over Distributed (from #8640) 2020-04-04 13:47:34 +03:00