Commit Graph

369 Commits

Author SHA1 Message Date
Vitaly Baranov
70c6623036
Merge branch 'master' into governance/session_log 2021-09-07 10:12:54 +03:00
kssenii
7bea8200d8 Revert "Merge pull request #28082 from zhongyuankai/add-system-of-table_views"
This reverts commit e5bcfba89e, reversing
changes made to d77f243651.
2021-09-06 19:20:33 +00:00
Vasily Nemkov
109d2f63d0 Fixed tests and minor style issues 2021-08-31 15:39:15 +03:00
Vasily Nemkov
c902afddde Added system.session_log table
Which logs all the info about LogIn, LogOut and LogIn Failure events.
Additional info that is logged:
- User name
- event type (LogIn, LogOut, LoginFailure)
- Event date\time\time with microseconds
- authentication type (same as for IDENTIFIED BY of CREATE USER statement)
- array of active settings profiles upon login
- array of active roles upon login
- array of changed settings with corresponding values
- client address and port
- interface (TCP\HTTP\MySQL\PostgreSQL, etc.)
- client info (name, version info)
- optional LoginFailure reason text message.

Added some tests to verify that events are properly saved with all necessary info via following interfaces:
- TCP
- HTTP
- MySQL

Known limitations
- Not tested against named HTTP sessions, PostgreSQL and gRPC, hence those are not guaranteed to work 100% properly.
2021-08-30 18:28:28 +03:00
zhongyuankai
d7c98293c1 delete 02015_system_views parallel test 2021-08-28 14:55:49 +08:00
alesapin
bcaff65457
Merge pull request #28028 from ClickHouse/replicated-tree-attach-wip
Allow attaching parts with 'compatible' enum types
2021-08-26 13:50:29 +03:00
mergify[bot]
eedf9f0936
Merge branch 'master' into break_some_tests 2021-08-25 08:38:00 +00:00
alesapin
a0b65b35af
Update tests/queries/skip_list.json 2021-08-25 10:21:44 +03:00
alesapin
875cfb9f98
Update tests/queries/skip_list.json 2021-08-25 10:21:38 +03:00
alesapin
9491c0d650
Update tests/queries/skip_list.json 2021-08-25 10:21:33 +03:00
Dmitry Novik
987421862a exclude tests 2021-08-24 14:19:34 +03:00
Maksim Kita
010d72593f Fixed integration tests 2021-08-23 17:31:58 +03:00
Maksim Kita
5f2b28639f Merge branch 'master' into create-user-defined-lambda-function 2021-08-20 11:53:08 +03:00
Alexander Tokmakov
0afb293b4f Merge branch 'master' into break_some_tests 2021-08-19 15:05:02 +03:00
Maksim Kita
8403f381da
Merge pull request #23978 from Realist007/feature/create-simple-lambda-function
Feature/create simple lambda function
2021-08-17 21:22:31 +03:00
Alexander Tokmakov
2945a826ab Merge branch 'master' into break_some_tests 2021-08-17 19:43:20 +03:00
Raúl Marín
b80ddd4bd1 01516_drop_table_stress: Parallelizable and cleanup 2021-08-17 18:41:31 +02:00
Raúl Marín
90294e6dd8 01889_sqlite_read_write: Made parallelizable and cleanup properly 2021-08-17 18:22:41 +02:00
Realist007
63dfa8559f
Merge branch 'master' into feature/create-simple-lambda-function 2021-08-16 16:56:49 +03:00
Raúl Marín
34099bc196 Refactor arrayJoin check on partition expressions 2021-08-16 12:46:18 +02:00
Alexander Tokmakov
a2b2e8cb3f fix 2021-08-11 21:02:35 +03:00
Nikolai Kochetov
fb32b1a9c0
Update skip_list.json 2021-08-09 12:00:12 +03:00
Nikolai Kochetov
372293b85d
Merge branch 'master' into fix-27179 2021-08-09 11:59:22 +03:00
Nikolai Kochetov
e2b59f7cae Add test to parallel skip list. 2021-08-09 11:57:53 +03:00
alexey-milovidov
6811eb5e39
Merge pull request #27214 from azat/tests-replicated-database-macro
Allow parallel execution of *.sql tests with ReplicatedMergeTree (by using {database} macro)
2021-08-08 04:05:59 +03:00
Azat Khuzhin
d0b6b167f5 Exclude 01493_alter_remove_properties_zookeeper from parallel run too 2021-08-06 00:19:04 +03:00
Azat Khuzhin
685c7b8df2 Add some tests to parallel list excludes 2021-08-05 21:01:36 +03:00
Azat Khuzhin
c806534eee Update parallel skip_list 2021-08-05 10:29:23 +03:00
mergify[bot]
dc57254982
Merge branch 'master' into improve_create_or_replace 2021-08-03 11:39:07 +00:00
Maksim Kita
d9383270f6
Merge pull request #27054 from MaxWk/feature/add-default-database-to-system-users
add column default_database to system.users
2021-08-03 13:37:15 +03:00
tavplubix
58b50bad3a
Merge pull request #27033 from ClickHouse/database_replicated_fixes
Fix assertions in Replicated database
2021-08-02 23:33:18 +03:00
Alexander Tokmakov
42a8bb6872 fix assertions in Replicated database 2021-08-02 16:19:11 +03:00
万康
15f4ff9d6e skip parallel test 2021-08-02 08:29:28 +08:00
Vitaly Baranov
99929981ab
Merge pull request #25687 from MaxWk/profile-default-database
add setting profile_default_database
2021-07-31 08:37:02 +03:00
alesapin
1277db4435
Merge pull request #26129 from ClickHouse/system_zookeeper_log
Add system.zookeeper_log table
2021-07-28 11:22:29 +03:00
alexey-milovidov
d7b2404119
Merge pull request #15408 from ClickHouse/random_timezone_for_stateless_tests
Use random timezone in stateless and stateful tests
2021-07-27 16:18:14 +03:00
kevin wan
a56a3c793c
Merge branch 'master' into profile-default-database 2021-07-27 21:08:08 +08:00
mergify[bot]
2929cf3ba8
Merge branch 'master' into system_zookeeper_log 2021-07-26 08:40:55 +00:00
mergify[bot]
044be267d6
Merge branch 'master' into improve_create_or_replace 2021-07-26 08:38:48 +00:00
Alexey Milovidov
1c432d505a Fix style 2021-07-25 01:25:48 +03:00
alexey-milovidov
ec949e4c66
Merge pull request #26607 from azat/bench-round-robin
Add round-robin support for clickhouse-benchmark
2021-07-24 20:17:35 +03:00
alexey-milovidov
adb92c1b70
Merge pull request #26656 from azat/bench-hang-on-EMFILE-fix
Avoid hanging clickhouse-benchmark if connection fails (i.e. on EMFILE)
2021-07-24 19:02:46 +03:00
Vitaly Baranov
67d4da224a
Merge pull request #26384 from Cas-pian/grant_by_replace
add grant by replace support
2021-07-23 14:40:47 +03:00
Azat Khuzhin
dac13793e7 Disable 01955_clickhouse_benchmark_connection_hang under UBsan
UBsan does not works reliable when the RLIMIT_NOFILE exceeded.
2021-07-22 10:09:37 +03:00
Caspian
eab4cb3cdc use new syntax, update docs 2021-07-21 23:08:38 +08:00
Alexey Boykov
4ec811d1fd Revert "Revert "Merge branch 'master' into master""
This reverts commit 28279e13f2.
2021-07-21 14:16:05 +03:00
Alexey Boykov
28279e13f2 Revert "Merge branch 'master' into master"
This reverts commit 0543736da1, reversing
changes made to e8e34ba786.
2021-07-21 14:11:13 +03:00
Realist007
31e26862b5
Merge branch 'master' into feature/create-simple-lambda-function 2021-07-21 10:33:53 +03:00
Azat Khuzhin
6c83aa50f5 Cover clickhouse-benchmark --roundrobin 2021-07-21 08:52:06 +03:00
Alexey Boykov
0543736da1
Merge branch 'master' into master 2021-07-20 16:22:32 +03:00