Vasily Nemkov
109d2f63d0
Fixed tests and minor style issues
2021-08-31 15:39:15 +03:00
Vasily Nemkov
3ca0b0c860
Fixed GCC-9 build
2021-08-30 19:08:02 +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
Kseniia Sumarokova
00bea71610
Merge pull request #25251 from kssenii/disk-over-web-server
...
ClickHouse over web server with static files
2021-08-30 16:18:59 +03:00
Nikita Mikhaylov
fb66ab75be
Merge pull request #25633 from Avogar/json-as-string
...
Allow data in square brackets in JSONAsString format
2021-08-30 14:06:28 +03:00
tavplubix
b47f34aa17
Merge pull request #28313 from amosbird/fastload
...
Fast data parts loading by delaying table startup process
2021-08-30 13:53:55 +03:00
tavplubix
855a53ff81
Merge pull request #28195 from ClickHouse/maybe_fix_livelock_in_zookeeper_client
...
Maybe fix livelock in ZooKeeper client
2021-08-30 13:40:00 +03:00
Kruglov Pavel
95fd6197dc
Merge pull request #27729 from ContentSquare/sequenceMatchQuickCheck
...
Sequence match quick check
2021-08-30 13:04:23 +03:00
alesapin
531079c452
Merge pull request #28221 from azat/remove-Temporary-part-fix
...
Fix removing of parts in a Temporary state
2021-08-30 12:39:08 +03:00
alexey-milovidov
af709ab9a0
Merge pull request #28326 from DimasKovas/generate_ya_make_30_08_2021
...
Try to fix arcadia build (generate ya.make)
2021-08-30 11:28:02 +03:00
Kseniia Sumarokova
15bdcdfc76
Merge pull request #28319 from kssenii/rename
...
Rename system.views columns
2021-08-30 11:19:30 +03:00
Dmitrii Kovalkov
9871ad70ff
Exclude fuzzers
2021-08-30 11:12:25 +03:00
Dmitrii Kovalkov
8acf0fa16a
run generate-ya-make
2021-08-30 10:57:40 +03:00
kssenii
378f4854da
Rename
2021-08-30 05:50:08 +00:00
kssenii
ff776fd38d
Ping CI
2021-08-30 05:36:25 +00:00
Amos Bird
de9e591619
Fast load by delaying table startup
2021-08-30 10:15:32 +08:00
Maksim Kita
243b845dc0
Merge pull request #28314 from olgarev/revolg-DOCSUP-13934-kill_query_for_mysql
...
DOCSUP-13934: Support MySQL KILL QUERY
2021-08-29 23:20:30 +03:00
Maksim Kita
1324ed5292
Merge pull request #27986 from sevirov/sevirov-DOCSUP-13590-document_the_getserverport_function
...
DOCSUP-13590: Document the getServerPort function
2021-08-29 22:55:08 +03:00
alexey-milovidov
77f26e8673
Merge pull request #28299 from amosbird/fixtmprowsource
...
Use real tmp file instead of predefined “rows_sources" for vertical merges
2021-08-29 21:49:59 +03:00
alexey-milovidov
264c2a8b7b
Merge pull request #28303 from azat/stress-logs
...
test/stress: fix patterns for filtering out Raft messages
2021-08-29 21:48:27 +03:00
olgarev
60d85d36bd
Update docs/en/interfaces/mysql.md
2021-08-29 21:24:52 +03:00
olgarev
d78dd54e16
Initial
2021-08-29 18:17:41 +00:00
alexey-milovidov
3d3afbdb35
Merge pull request #28193 from amosbird/alterprimarykey2
...
Reserve protocol number for ALTER PRIMARY KEY.
2021-08-29 20:37:19 +03:00
Dmitriy
c9db269569
Merge remote-tracking branch 'remotes/clickhouse/master' into sevirov-DOCSUP-13590-document_the_getserverport_function
2021-08-29 19:00:29 +03:00
kssenii
a930823518
Fix build
2021-08-29 14:18:04 +00:00
Kseniia Sumarokova
7784f4ebb0
Merge pull request #28268 from infinivision/hdfs_namenode_ha
...
configable LIBHDFS3_CONF, refers to #8159
2021-08-29 12:25:42 +03:00
Kseniia Sumarokova
e5bcfba89e
Merge pull request #28082 from zhongyuankai/add-system-of-table_views
...
Add system of table views
2021-08-29 12:08:05 +03:00
Amos Bird
9e7ae5dd6d
Use real tmp file instead of predefined one
2021-08-29 16:54:15 +08:00
kssenii
fb6ce3b64e
Fix build check
2021-08-29 08:53:04 +00:00
kssenii
3e7f022d66
Extend usage comment explanation a little
2021-08-28 20:51:20 +00:00
kssenii
f27f519aa2
Fix build and add example
2021-08-28 20:35:51 +00:00
Maksim Kita
d77f243651
Merge pull request #28271 from kozlek/patch-1
...
doc: Warn about MV using column names during insertion
2021-08-28 23:20:55 +03:00
Maksim Kita
c1538586aa
Merge pull request #27964 from sevirov/sevirov-DOCSUP-13329-add_complexkeyrangehashed_dictionary
...
DOCSUP-13329: Add ComplexKeyRangeHashed dictionary
2021-08-28 23:14:29 +03:00
Azat Khuzhin
fb311199ce
test/stress: fix patterns for filtering out Raft messages
2021-08-28 19:21:07 +03:00
tavplubix
7fce331475
Merge pull request #28103 from sevirov/sevirov-DOCSUP-13434-document_the_serveruuid_function
...
DOCSUP-13434: Document the serverUUID() function
2021-08-28 17:17:01 +03:00
Maksim Kita
fa69648fd8
Merge pull request #28297 from ClickHouse/blinkov-patch-22
...
[website] only one highlight on the hero
2021-08-28 15:28:53 +03:00
Maksim Kita
1a6c2c78c8
Merge pull request #28298 from kitaisreal/odbc-connection-holder-fix-dangling-reference
...
ODBC connection holder fix dangling reference
2021-08-28 15:28:23 +03:00
Ivan Blinkov
251cc9b039
Update README.md
2021-08-28 14:51:55 +03:00
Maksim Kita
07d7cda2b0
ODBC connection holder fix dangling reference
2021-08-28 14:11:25 +03:00
Ivan Blinkov
d4b99a343b
[website] only one highlight on hero
2021-08-28 13:13:16 +03:00
Dmitriy
918ddc6c82
Update docs/ru/sql-reference/functions/uuid-functions.md
...
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-08-28 11:55:54 +03:00
Dmitriy
554e51b13a
Update docs/en/sql-reference/functions/uuid-functions.md
...
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-08-28 11:54:41 +03:00
zhongyuankai
d7c98293c1
delete 02015_system_views parallel test
2021-08-28 14:55:49 +08:00
zhongyuankai
addce5c132
fix system views test
2021-08-28 12:33:35 +08:00
zhongyuankai
72e05cda1f
Merge branch 'master' into add-system-of-table_views
2021-08-28 11:32:58 +08:00
OnePiece
fdd926beec
Merge branch 'ClickHouse:master' into master
2021-08-28 09:40:35 +08:00
Zhichang Yu
ef1994f420
set env LIBHDFS3_CONF, refers to ClickHouse#8159
2021-08-28 09:16:48 +08:00
tavplubix
e3b2586a02
Merge pull request #28274 from ClickHouse/revert-28054-mysql
...
Revert "Add test for #13398 "
2021-08-28 04:04:10 +03:00
alexey-milovidov
4eef445df9
Merge pull request #28266 from CurtizJ/fix-order-by-merge
...
Fix order by for `Merge` tables with `optimize_read_in_order`
2021-08-28 01:15:40 +03:00
alexey-milovidov
37b66dc70a
Merge pull request #28234 from kssenii/fix-codes
...
Fix error codes
2021-08-28 00:00:10 +03:00