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
Ilya Yatsishin
7f7ecb0c60
Merge branch 'master' into try-llvm-12
2021-08-26 18:58:49 +03:00
Nikita Mikhaylov
4a12a5fe91
Better
2021-08-25 21:29:28 +00:00
Nikolay Degterinsky
d60f128a9a
Merge branch 'master' into ncb/import-export-lz4
2021-08-24 11:47:10 +03:00
Vladimir C
98acccbdcc
Merge branch 'master' into s3partitionedwrite
2021-08-24 10:03:57 +03:00
Ilya Yatsishin
4865f38f96
Merge pull request #28016 from qoega/ubuntu-archive-workaround
...
Use ru.archive.ubuntu.com as default one is not responding from CI
2021-08-23 13:51:49 +03:00
Nikolay Degterinsky
7f0d80dc9d
Fix fast test
2021-08-23 13:10:38 +03:00
Yatsishin Ilya
91289983c6
Use ru.archive.ubuntu.com as default one is not responding from CI
2021-08-23 11:22:39 +03:00
vdimir
f02ceedd92
Add 01944_insert_partition_by to arcadia and fasttest skip list
2021-08-23 09:22:13 +03:00
mergify[bot]
bde834a8c0
Merge branch 'master' into try-llvm-12
2021-08-19 18:21:29 +00:00
listar
b9c7026079
1. add sha512 test to skip for fast test.
2021-08-19 11:29:40 +00:00
Nikolay Degterinsky
0e2499deaa
Small fixes
2021-08-19 14:01:18 +03:00
listar
b5f0693471
1. skip tests for sha512 function on fasttest.
2021-08-19 08:42:16 +00:00
Nikolay Degterinsky
6ee6fb2ef2
Add test
2021-08-19 10:51:43 +03:00
mergify[bot]
bd313279e8
Merge branch 'master' into hyperscansanitizer
2021-08-08 17:03:05 +00:00
Amos Bird
a59ce96242
Skip test in fasttest
2021-08-08 22:30:08 +08:00
Nikolay Degterinsky
00301cf36a
Ignore test in fasttest
2021-08-07 06:20:59 +00:00
Yatsishin Ilya
9145dd3fd0
Merge branch 'master' into try-llvm-12
2021-08-06 19:14:01 +03:00
alesapin
181f93c60a
Merge pull request #24997 from evillique/nlp
...
NLP functions
2021-08-02 10:50:40 +03:00
alesapin
f02b091aa7
Ignore test in fast test
2021-07-30 18:27:02 +03:00
alesapin
e20e88ece3
Relax fast test
2021-07-30 16:51:15 +03:00
alesapin
916594fe23
Merge branch 'master' into evillique-nlp
2021-07-30 13:03:10 +03:00
PHO
6425dd001a
Add a codec AES_128_GCM_SIV for encrypting columns on disk ( #19896 )
...
* Add a codec Encrypted() for encrypting columns on disk
While this is implemented as a compression codec, it does not actually compress data. It instead encrypts data on disk. The key is obtained by executing a user-specified command at the server startup, or if it's not specified the codec refuses to process any data. For now the only supported cipher is 'AES-128-GCM-SIV'.
2021-07-30 12:12:33 +03:00
alexey-milovidov
772b18db8a
Merge pull request #26579 from vdimir/test-jinja-templates
...
Support jinja templates for sql files in clickhouse-test
2021-07-20 21:13:44 +03:00
vdimir
6f8561c084
Support jijna templates for sql files in clickhouse-test
2021-07-20 16:40:04 +03:00
vdimir
22d545133a
Update link to dpkg-deb in dockerfiles
2021-07-19 12:49:19 +03:00
Nikita Mikhaylov
3679a14214
update fast test
2021-07-13 10:51:34 +00:00
Nikita Mikhaylov
8062b492c5
added tests to skip list
2021-07-13 10:51:08 +00:00
kssenii
46e9e21419
Fix build
2021-07-09 15:47:57 +00:00
alesapin
f0fc12d0dd
Merge branch 'master' into evillique-nlp
2021-07-07 12:14:49 +03:00
alexey-milovidov
fef7c557f6
Merge pull request #24789 from kitaisreal/compile-aggregation-functions
...
Compile aggregate functions
2021-07-05 02:57:49 +03:00
Alexey Milovidov
127455f15f
Remove experimental ANTLR parser
2021-07-03 18:48:03 +03:00
mergify[bot]
892c67891a
Merge branch 'master' into fix-receive-time-metric
2021-07-01 21:40:09 +00:00
Maksim Kita
22491c8adc
Compile AggregateFunctionCount
2021-07-01 22:56:36 +03:00
Azat Khuzhin
f00a4668a4
Set follow-fork-mode child for gdb in stress/fasttest/fuzzer
...
Sometimes gdb does not catch SIGSEGV [1], let's try set this setting,
since maybe some code from contrib does fork.
[1]: https://clickhouse-test-reports.s3.yandex.net/25605/cd5a3c8d7eb417f6df211b4507dc970933f8549a/stress_test_(thread).html#fail1
2021-06-28 10:04:08 +03:00
Alexey Milovidov
d3d3c4b686
Adjust fast test
2021-06-23 00:31:40 +03:00
alesapin
9e77ca7182
Merge branch 'master' into nlp
2021-06-17 21:47:41 +03:00
Nikolay Degterinsky
2053d8aa94
added submodules to fasttest
2021-06-06 22:55:57 +00:00
kssenii
ccf5455624
Allow null values in postgresql protocol
2021-06-01 15:00:32 +00:00
Yatsishin Ilya
7659731e39
Merge remote-tracking branch 'origin' into try-llvm-12
2021-05-26 14:38:18 +03:00
Maksim Kita
ba43fe784c
Updated tests
2021-05-25 11:50:40 +03:00
Yatsishin Ilya
a2e107c0be
Merge remote-tracking branch 'origin' into try-llvm-12
2021-05-21 17:42:08 +03:00
Alexander Kuzmenkov
1b0bcfe022
remove retries from fast test
2021-05-20 15:31:56 +03:00
Maksim Kita
25fe0e88f8
Compile expressions added partition by test
2021-05-20 11:16:15 +03:00
alesapin
dc55d19709
Fix fasttest image
2021-05-12 23:00:28 +03:00
Yatsishin Ilya
d3b59509b9
Merge remote-tracking branch 'origin' into try-llvm-12
2021-05-12 14:31:58 +03:00
Kruglov Pavel
fb038c1985
Merge pull request #23894 from pingyu/datasketches-uniq-again
...
Add uniqThetaSketch again
2021-05-11 11:24:43 +03:00
alexey-milovidov
99dadfe3c4
Update run.sh
2021-05-08 22:53:07 +03:00
Maksim Kita
2a630b68a4
Fixed FunctionComparison with special edge case
2021-05-08 21:04:21 +03:00
Maksim Kita
6dc0dcdfa4
Fixed code review issues
2021-05-08 17:39:35 +03:00
Maksim Kita
e58e956092
Enable llvm in fast test
2021-05-08 17:39:34 +03:00
pingyu
46f809d07f
Revert "Merge pull request #23334 from ClickHouse/revert-22609-datasketches-uniq"
...
This reverts commit af2499359b
, reversing
changes made to db82e9e3d5
.
2021-05-05 16:42:57 +08:00
Yatsishin Ilya
a4e6a96c82
fasttest change
2021-04-30 19:02:23 +03:00
Alexey Milovidov
f4926a525f
Exclude from fasttest
2021-04-20 23:32:18 +03:00
alexey-milovidov
62899436db
Revert "add uniqThetaSketch"
2021-04-20 03:34:21 +03:00
Kruglov Pavel
995973bf1f
Merge pull request #22609 from pingyu/datasketches-uniq
...
add uniqThetaSketch
2021-04-19 10:32:29 +03:00
Pavel Kruglov
ec83aed3eb
Move long queries from 01798_uniq_theta_sketch to separate test
2021-04-16 11:44:32 +03:00
Ivan
2b78765957
Merge branch 'master' into postgresql-protocol-with-row-policy
2021-04-14 14:50:28 +03:00
Nikita Mikhaylov
a15757a9c9
better renaming
2021-04-13 22:39:43 +03:00
Nikita Mikhaylov
4465a0627f
better
2021-04-13 22:39:42 +03:00
Nikita Mikhaylov
efef179b89
remove prints
2021-04-13 22:39:42 +03:00
Nikita Mikhaylov
05e04f792e
disable func test in fast test
2021-04-13 22:39:42 +03:00
Kruglov Pavel
6350f734dc
Merge branch 'master' into datasketches-uniq
2021-04-13 19:34:15 +03:00
Pavel Kruglov
6ce9873a76
Move all uniqThetaSketch tests into one file, add it in fasttest and arcadia skip lists
2021-04-13 19:33:15 +03:00
Alexey Milovidov
6aad76b167
Adjust fast test
2021-04-12 13:43:33 +03:00
Pavel Kruglov
eb4403c572
Enable datasketches
2021-04-09 19:14:52 +03:00
avogar
f17719d62e
Add datasketches-cpp submodule in fasttest
2021-04-09 16:31:49 +03:00
kssenii
0270d1b84d
Add test to parallel tests skip list
2021-04-08 16:38:31 +00:00
kssenii
10dcb73e9f
Next try
2021-04-08 06:04:29 +00:00
Alexander Kuzmenkov
b9fe91fcff
fixup
2021-04-02 00:04:59 +03:00
Alexander Kuzmenkov
db2e9c870f
cleanup
2021-04-02 00:04:46 +03:00
Alexander Kuzmenkov
95cd9b0b37
cleanup
2021-04-01 23:28:53 +03:00
Alexander Kuzmenkov
fda70f97c3
not so deep
2021-04-01 21:44:43 +03:00
Alexander Kuzmenkov
8e26998376
fixup
2021-04-01 21:05:09 +03:00
Alexander Kuzmenkov
bd7cc80d4b
try clang 11 in fast test
2021-04-01 21:03:06 +03:00
alesapin
be132a32a2
More renames
2021-03-29 11:24:56 +03:00
Alexey Milovidov
6341b083fb
Add test to skip list
2021-03-24 22:35:22 +03:00
Maksim Kita
1628c9b6c4
Fix fast test
2021-03-06 14:36:37 +03:00
Alexey Milovidov
fd1cf49e92
Rewrite extractTextFromHTML function
2021-02-27 22:22:38 +03:00
alesapin
5b888e1193
Merge branch 'master' into persistent_nukeeper_log_storage
2021-02-22 23:52:26 +03:00
tavplubix
a697b578bc
Merge pull request #16193 from ClickHouse/database_replicated
...
DatabaseReplicated: continuation of #10485
2021-02-20 19:39:34 +03:00
Alexander Tokmakov
863c099254
fix
2021-02-20 15:57:07 +03:00
alesapin
c61769311e
Merge branch 'master' into persistent_nukeeper_log_storage
2021-02-20 10:22:22 +03:00
alesapin
a860e3e758
Merge pull request #20864 from azat/fasttest-backtrace-on-failure
...
Improve backtrace catching on server failures in CI for fast-tests
2021-02-20 10:20:56 +03:00
tavplubix
3509fe88d8
Merge pull request #20878 from ClickHouse/fix_18926
...
Fix COM_FIELD_LIST response in MySQL protocol
2021-02-19 19:25:54 +03:00
alesapin
068c9cfbf7
Fix logs level
2021-02-19 17:13:29 +03:00
alesapin
ea27c3ca32
Add gdb to fasttest image
2021-02-19 16:41:46 +03:00
Alexander Tokmakov
97f4c457ec
fix MySQL COMM_FIELD_LIST response
2021-02-18 16:27:51 +03:00
alesapin
1245710aed
Merge branch 'master' into persistent_nukeeper_log_storage
2021-02-18 15:27:01 +03:00
zlx19950903
c92e613b82
Add a function htmlOrXmlCoarseParse
to extract content from html or xml format string. ( #19600 )
...
* add html and xml coarse parse
* add test file
* add conditional check: hyperscan
* fix style error
* add conditional check
* bug fix
* delete unit
* typos check fix
* add unit test
* style check fix
* fix build error: case style
* acradis_skip test fix
* LINT error fix
* Remove comments
Co-authored-by: guojiantao <guojiantao15@mails.ucas.ac.cn>
Co-authored-by: Ivan <5627721+abyss7@users.noreply.github.com>
Co-authored-by: Ivan Lezhankin <ilezhankin@yandex-team.ru>
2021-02-18 15:05:55 +03:00
Azat Khuzhin
ee18f6a7ec
test/fasttest: collect diagnosis by attaching with gdb in background
...
Otherwise sometimes stacktraces may be lost [1]:
[1]: https://clickhouse-test-reports.s3.yandex.net/20477/8ad20fcee5aaa642c2a2dd873d02103692d554f4/fast_test.html#fail1
2021-02-18 00:14:00 +03:00
Azat Khuzhin
65f2b6a044
test/fasttest: add gdb into docker image
2021-02-18 00:14:00 +03:00
alesapin
bb4ced05f9
Fix fast test
2021-02-17 17:52:32 +03:00
alesapin
e0980fd0b7
Fix fasttest retry for failed tests
2021-02-17 17:41:21 +03:00
alesapin
5f32f65211
Merge branch 'master' into in_memory_raft
2021-02-11 23:09:29 +03:00
Alexander Kuzmenkov
739990d075
fix fast test
2021-02-10 15:44:07 +03:00
alesapin
d5ee7d33e9
Merge branch 'master' into in_memory_raft
2021-02-08 10:30:31 +03:00
Alexey Milovidov
82ab793731
Fix missing type check in StorageEmbeddedRocksDB
2021-02-03 20:35:23 +03:00
alesapin
0aca40d8cb
Merge branch 'master' into in_memory_raft
2021-02-01 14:30:11 +03:00
Alexey Milovidov
ddd4a7b1b5
Add exception for fast test
2021-01-31 08:33:41 +03:00
alesapin
e4f9a4ea65
Merge branch 'master' into in_memory_raft
2021-01-29 15:56:54 +03:00
Azat Khuzhin
d9ca77d90e
Add missing lsof for fasttest docker image
2021-01-28 09:58:35 +03:00
alesapin
6441d3200b
Merge branch 'master' into in_memory_raft
2021-01-26 14:14:39 +03:00
alesapin
46ca832aa1
Enable nuraft in fast test
2021-01-25 18:53:13 +03:00
alesapin
eccd9a29de
Build NuRaft even in fast test
2021-01-25 18:32:59 +03:00
alesapin
18fb642e45
Check for hung queries in fast test
2021-01-25 11:53:04 +03:00
alexey-milovidov
ab6343ff1f
Merge pull request #19474 from ClickHouse/aes-fix-strange-code
...
Fix insufficient args check in AES functions
2021-01-23 22:05:01 +03:00
Alexey Milovidov
d1bd4ef793
Merge branch 'master' of github.com:yandex/ClickHouse into blns
2021-01-23 12:08:38 +03:00
Alexey Milovidov
6b06fbe791
Fix fast test
2021-01-23 05:43:33 +03:00
Alexey Milovidov
f7db6e10d3
Fix very strange code in AES functions
2021-01-23 02:35:40 +03:00
Alexey Milovidov
76ef420d15
Update fast test
2021-01-22 21:05:25 +03:00
Alexander Kuzmenkov
56687b2d84
Update run.sh
2021-01-21 23:29:01 +03:00
Alexander Kuzmenkov
c153268da7
Make -- { echo }
hint preserve leading comments.
2021-01-18 15:15:46 +03:00
alexey-milovidov
7d7af00afb
Merge pull request #19015 from nikitamikhaylov/defaults-for-file-engine
...
Added tests for defaults in URL and File engine
2021-01-14 10:12:27 +03:00
Nikita Mikhailov
3d62d6503b
better
2021-01-13 18:34:16 +03:00
Yatsishin Ilya
a25fa1996b
fix style checks
2020-12-29 17:57:12 +03:00
Azat Khuzhin
352a1eea34
Use new top_level_domains_path
2020-12-09 21:08:31 +03:00
alexey-milovidov
e127636a4b
Merge pull request #16787 from kitaisreal/fast-float-integration
...
FastFloat library integration
2020-12-08 21:34:34 +03:00
Alexey Milovidov
1ed329017b
Merge branch 'master' into quota-by-x-forwarded-for
2020-12-07 18:22:19 +03:00
Maksim Kita
5b57c59a3b
Updated fast_float integration
2020-12-06 23:37:55 +03:00
Maksim Kita
977da3d052
Removed ryu
2020-12-06 15:39:39 +03:00
Maksim Kita
64549702a2
DragonBox integration
2020-12-06 00:32:03 +03:00
Ivan
315ff4f0d9
ANTLR4 Grammar for ClickHouse and new parser ( #11298 )
2020-12-04 05:15:44 +03:00
Alexey Milovidov
00dc21b0b9
Better tests
2020-12-03 13:02:20 +03:00
Azat Khuzhin
b390786a2e
Cleanup fasttest/run.sh
...
- align functions
- align subshells ()
2020-11-27 00:38:49 +03:00
nikitamikhaylov
f764332070
better merge
2020-11-25 20:51:06 +03:00
Nicolae Vartolomei
b6a330de77
Allow running subset of tests in fasttest
2020-11-19 13:18:03 +00:00
Azat Khuzhin
ed64f2ad67
Add a test for Distributed query finish does not produce any NETWORK_ERROR
2020-11-14 18:35:15 +03:00
alexey-milovidov
ff29b2d2ee
Merge pull request #15073 from sundy-li/storage-rocksdb
...
StorageEmbeddedRocksDB
2020-11-12 13:17:58 +03:00
zhang2014
b13189baec
Try fix fasttest submodule clone
2020-11-12 12:45:08 +08:00
sundyli
5ef809931e
Merge branch 'master' into storage-rocksdb
2020-11-12 08:26:27 +08:00
a.palagashvili
55d05c95bf
fixed style, xz check fasttest skipped, removed fast-lzma2
2020-11-11 15:34:28 +03:00
a.palagashvili
124ef2f5fa
added and successfully passed tests for content encoding and file() function, formatted code
2020-11-11 04:50:56 +03:00
sundy-li
fb7066d73d
* fix fasttest and cmake && pipline for all_scan
...
* unique the keys
* add inputstream && outputstream
2020-11-11 09:08:53 +08:00
sundy-li
84dab52e45
skip rocksdb test in fasttest
2020-11-11 09:08:52 +08:00
Danila Kutenin
5d138f3475
Fix submodules for fast test
2020-11-10 01:31:24 +03:00
a.palagashvili
268f289bd1
resolved conflict
2020-11-07 16:36:38 +03:00
Kruglov Pavel
c494f6f5ff
Merge branch 'master' into collation-support
2020-11-05 01:28:30 +03:00
a.palagashvili
ceda5cb9c5
fix codestyle, resolvec conflict
2020-11-04 19:47:04 +03:00
a.palagashvili
8ecf1d07c1
attempt to update fasttest version
2020-11-04 01:37:05 +03:00
Pavel Kruglov
4d399fff3e
Support collation for Array and Tuple
2020-11-03 17:09:37 +03:00
Pavel Kruglov
97a6e3dde2
Skip collate test in fasttest
2020-11-03 17:08:40 +03:00
a.palagashvili
8098f86e3e
added record for fasttest
2020-11-03 01:05:50 +03:00
Azat Khuzhin
b2e2322895
Add system.errors table
...
Contains error codes with number of times they have been triggered.
Columns:
- `name` ([String](../../sql-reference/data-types/string.md)) — name of the error (`errorCodeToName`).
- `code` ([Int32](../../sql-reference/data-types/int-uint.md)) — code number of the error.
- `value` ([UInt64](../../sql-reference/data-types/int-uint.md)) - number of times this error has been happened.
**Example**
``` sql
SELECT *
FROM system.errors
WHERE value > 0
ORDER BY code ASC
LIMIT 1
┌─name─────────────┬─code─┬─value─┐
│ CANNOT_OPEN_FILE │ 76 │ 1 │
└──────────────────┴──────┴───────┘
2020-10-29 10:55:38 +03:00
Alexander Kuzmenkov
60db7c2aa5
fix a typo in test name
2020-10-26 19:17:54 +03:00
alesapin
1be7a182de
Revert "Revert "Optionally upload clickhouse binary in fast test""
2020-10-26 14:08:37 +03:00
alexey-milovidov
e00f6c4a0d
Merge branch 'master' into total_memory_tracker-by-default
2020-10-24 21:17:53 +03:00
Nikita Mikhaylov
58b4342998
Merge pull request #15874 from nikitamikhaylov/welch-t-test
...
Student and Welch t-test
2020-10-24 15:13:12 +03:00
alexey-milovidov
1a1a6350aa
Merge pull request #16285 from sundy-li/cmake-roaring
...
try use cmake version for croaring instead of amalgamation.sh
2020-10-24 11:07:32 +03:00
alexey-milovidov
0748377ab1
Revert "Optionally upload clickhouse binary in fast test"
2020-10-24 07:59:08 +03:00