Commit Graph

38171 Commits

Author SHA1 Message Date
Azat Khuzhin
824255f603 Update tests for multiline SHOW CREATE
The following has been used for this:

    git grep '^CREATE' tests/queries/**.reference | cut -d: -f1 | sort -u | xargs -n1 -i sh -c 'show-create-rewrite.py < {} | sponge {}'

show-create-rewrite.py is available here:

    https://gist.github.com/azat/916b98b5ddf9573f7dc9a4dce33b59b5

And for 00998_constraints_all_tables test FORMAT TSVRaw I simply drop.
2020-04-08 20:54:22 +03:00
Azat Khuzhin
3116b2d29b Make SHOW CREATE TABLE multiline (because it more readable and also mysql like) 2020-04-08 10:26:40 +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
dd333460d6
Merge pull request #10068 from ClickHouse/fix_check_table_with_index
Fix bug with uncompressed checksums in CHECK TABLE query
2020-04-08 05:37:18 +03:00
alexey-milovidov
dad892e9d4
Merge pull request #10105 from azat/distributed-insert-types-differs
Fix SIGSEGV on INSERT into Distributed on different struct with underlying
2020-04-08 05:36:02 +03:00
alexey-milovidov
bcb2899b0d
Merge pull request #10104 from ClickHouse/adjust-collisions-weak-hash
Remove unwanted output from unit tests
2020-04-08 04:10:08 +03:00
alexey-milovidov
401c52524b
Merge pull request #9998 from Jokser/s3-uri-virtual-hosted-style-support
Virtual hosted-style support for S3 URI
2020-04-08 03:51:28 +03:00
alexey-milovidov
37fe63f8d8
Update S3Common.cpp 2020-04-08 03:49:09 +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
ebe9ae4fab
Update StorageMerge.cpp 2020-04-08 03:45:11 +03:00
alexey-milovidov
1b704425b6
Update StorageBuffer.cpp 2020-04-08 03:42:47 +03:00
alexey-milovidov
1390b838a3
Merge pull request #10038 from BayoNet/docs/CLICKHOUSEDOCS-577-test-software
DOCS-577: Clarified How To Test Your Hardware With ClickHouse
2020-04-08 02:48:06 +03:00
alexey-milovidov
1b1661ab50
Update performance_test.md 2020-04-08 02:47:58 +03:00
alexey-milovidov
5d3a3ec6cd
Merge branch 'master' into docs/CLICKHOUSEDOCS-577-test-software 2020-04-08 02:47:21 +03:00
alexey-milovidov
a29393821d
Merge pull request #10099 from ClickHouse/fix-9826
Fix 9826
2020-04-08 02:41:11 +03:00
Azat Khuzhin
b2fa9d8750 Fix SIGSEGV on INSERT into Distributed on different struct with underlying 2020-04-08 02:35:31 +03:00
alexey-milovidov
c079fd7f1b
Merge pull request #10064 from ClickHouse/small_fixes_in_dict_parser
Small fixes in dictionaries DDL parser
2020-04-08 02:22:20 +03:00
alexey-milovidov
7212efbfbf
Merge pull request #10103 from ClickHouse/fix-zk-multi-async-flacky
Make the test "zk_multi_async" less flacky
2020-04-08 02:15:43 +03:00
alexey-milovidov
7bef5a6edb
Update checkDataPart.cpp 2020-04-08 02:13:53 +03:00
alexey-milovidov
491f4b2c60
Merge pull request #10071 from ClickHouse/add_conversion_stream
Add converting stream to localhost clickhouse dict
2020-04-08 02:13:17 +03:00
Vitaly Baranov
d6fa8d1aad
Merge pull request #10101 from vitlibar/external-loader-remove-useless-logging
Remove useless logging from ExternalLoader.
2020-04-08 02:12:50 +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
Anton Popov
7a69664e7e
fix statless tests 2020-04-08 01:16:16 +03:00
alexey-milovidov
115dd1b5fe
Merge pull request #9989 from ClickHouse/globs-in-paths-leading-zeros
Fix behaviour of globs in filepath with leading zeros
2020-04-08 00:49:27 +03:00
Alexey Milovidov
78b0bb6a3f Remove unwanted output from unit tests 2020-04-08 00:38:31 +03:00
Anton Popov
a1d9d8e65e
Merge pull request #10086 from CurtizJ/polymorphic-parts
Add check with enabled polymorphic parts.
2020-04-08 00:24:50 +03:00
Vitaly Baranov
e573549945 Rework access rights for table functions. 2020-04-07 23:31:59 +03:00
Vitaly Baranov
42b8ed3ec6 Implement "ON CLUSTER" clause for access control SQL. 2020-04-07 23:31:59 +03:00
Vitaly Baranov
b77e0a5b4e Avoid writing "HOST ANY" if the host is any by default. 2020-04-07 23:31:59 +03:00
Vitaly Baranov
d0af31bbcf Use ALTER USER DROP HOST instead of ALTER USER REMOVE HOST for consistency. 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
d064ddfe13 Disable MemoryAccessStorage. 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
Alexey Milovidov
ccec944ff4 Fix flacky test, take 3 2020-04-07 23:21:43 +03:00
Vitaly Baranov
423fa5087a Add SHOW_USERS(SHOW ROLES, etc.) privileges. 2020-04-07 23:20:38 +03:00
Vitaly Baranov
b4d7ef390c Rename some access types: add ALTER and SYSTEM prefixes. 2020-04-07 23:20:38 +03:00
Vitaly Baranov
f53b4ad3a8 Replace access types "TRUNCATE_VIEW" and "TRUNCATE_TABLE" with "TRUNCATE". 2020-04-07 23:20:38 +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
Vitaly Baranov
c2f5e3c4ad Improve declaration of access rights: single place in code instead of three. 2020-04-07 23:20:38 +03:00
Vitaly Baranov
e267daa894
Merge pull request #10100 from vitlibar/enable-access-management-in-stateless-tests-2
Enable access management in stateless tests #2.
2020-04-07 23:20:16 +03:00
Vitaly Baranov
d8b76232fe Remove useless logging from ExternalLoader. 2020-04-07 21:39:34 +03:00
Vitaly Baranov
b010ab8ce4 Enable access management in stateless tests #2. 2020-04-07 21:33:19 +03:00
Nikolai Kochetov
6f3b700097 Added test. 2020-04-07 20:59:13 +03:00
Alexander Kuzmenkov
aadb05cbe3
performance comparison 2020-04-07 20:55:39 +03:00
Nikolai Kochetov
6b5b22cc5c Fix build. 2020-04-07 20:53:14 +03:00
Nikolai Kochetov
2704d81aae Fix pipeline expansion in PipelineExecutor. 2020-04-07 20:38:48 +03:00
alexey-milovidov
ead277b717
Update StorageReplicatedMergeTree.cpp 2020-04-07 20:23:26 +03:00
alexey-milovidov
2654f131cc
Update checkDataPart.cpp 2020-04-07 20:08:46 +03:00
alesapin
27777c1d2b Better comment 2020-04-07 18:55:23 +03:00
Ivan Blinkov
292579cad0
Docs fixes/improvements (#10090) 2020-04-07 18:35:55 +03:00