kssenii
28517e57fc
Fix test
2021-09-04 23:55:59 +03:00
Maksim Kita
311110e36b
Merge pull request #28518 from kitaisreal/executable-pool-storage
...
Added ExecutablePool storage
2021-09-04 21:09:07 +03:00
alesapin
36a11af351
Merge branch 'master' into add_test_logs_level
2021-09-04 15:48:47 +03:00
mergify[bot]
5dfb3d683c
Merge branch 'master' into add_test_for_two_nodes_configuration
2021-09-04 12:45:55 +00:00
kssenii
ac2d9a73a8
User managed slots
2021-09-04 14:49:40 +03:00
Maksim Kita
69fa28f332
Fixed tests
2021-09-04 14:29:40 +03:00
Maksim Kita
f076cc69b4
Merge pull request #28530 from kitaisreal/dict-get-default-implementation-for-nulls
...
Function dictGet default implementation for nulls
2021-09-04 13:29:22 +03:00
Maksim Kita
c329f04b22
Fixed tests
2021-09-03 23:08:55 +03:00
Kruglov Pavel
f559c34113
Merge pull request #28302 from amosbird/binaryconstantwrap
...
Always monotonic for non-zero division
2021-09-03 20:02:54 +03:00
mergify[bot]
6ccf905133
Merge branch 'master' into try-llvm-12
2021-09-03 16:13:13 +00:00
Kseniia Sumarokova
67ffb59b72
Merge pull request #28531 from CurtizJ/fix-nested
...
Fix usage of nested columns with non-array columns with the same prefix
2021-09-03 18:06:27 +03:00
alesapin
dd7493d871
Merge pull request #27038 from excitoon-favorites/altermaterializecolumn
...
`ALTER TABLE ... MATERIALIZE COLUMN`
2021-09-03 15:50:52 +03:00
alesapin
9345b3c45e
Fixup flaky
2021-09-03 14:59:21 +03:00
alesapin
7ddbadeeb3
Merge pull request #28542 from ClickHouse/fix_kafka_test
...
Fix broken kafka test
2021-09-03 14:46:14 +03:00
alesapin
8b8b0043c1
Fix logger conf
2021-09-03 14:20:09 +03:00
Amos Bird
bb87d01579
Fix wrong header of minmax_count projection
2021-09-03 18:49:01 +08:00
alesapin
497c225203
Test log level for CI
2021-09-03 13:07:40 +03:00
Maksim Kita
af7220b6aa
Updated ShellCommandSource
2021-09-03 13:00:40 +03:00
alesapin
a182e621f0
Maybe it help
2021-09-03 11:53:26 +03:00
alesapin
36abf9f2f4
Fix broken kafka test
2021-09-03 10:51:37 +03:00
Azat Khuzhin
4909d3f2e0
Fix endless loop for truncated bzip2
...
Stress test (thread) found an issue [1]:
elapsed: 2094.356407533
query: SELECT count(), max(x) FROM file
thread_ids: [2927,11494,7502]
current_database: test_19
Stacktrace for 7502:
0 __syscall () at ../base/glibc-compatibility/musl/x86_64/syscall.s:14
1 0x000000001ba033b8 in clock_nanosleep (clk=1, flags=1, req=0x7fbb8adaed68, rem=0x0) at ../base/glibc-compatibility/musl/clock_nanosleep.c:21
2 0x0000000018e25b84 in sleepForNanoseconds (nanoseconds=<optimized out>) at ../base/common/sleep.cpp:48
3 0x0000000009a47143 in DB::injection (yield_probability=0, migrate_probability=0, sleep_probability=0.10000000000000001, sleep_time_us=100000) at ../src/Common/ThreadFuzzer.cpp:193
4 DB::ThreadFuzzer::signalHandler () at ../src/Common/ThreadFuzzer.cpp:204
5 0x00000000098e1447 in __tsan::CallUserSignalHandler(__tsan::ThreadState*, bool, bool, bool, int, __sanitizer::__sanitizer_siginfo*, void*) ()
6 0x00000000098d7f99 in __tsan::ProcessPendingSignals(__tsan::ThreadState*) ()
7 0x00000000098e57de in pread ()
8 0x00000000099fab84 in DB::ReadBufferFromFileDescriptor::nextImpl (this=0x7b38010ddb00) at ../src/IO/ReadBufferFromFileDescriptor.cpp:62
9 0x0000000009ab0cf3 in DB::ReadBuffer::next (this=0x7b38010ddb00) at ../src/IO/ReadBuffer.h:62
10 DB::ReadBuffer::nextIfAtEnd (this=0x7b38010ddb00) at ../src/IO/ReadBuffer.h:78
11 DB::Bzip2ReadBuffer::nextImpl (this=0x7b20032f4800) at ../src/IO/Bzip2ReadBuffer.cpp:59
It looks like bz2 is not capable to read/fail partially written archive:
2021.09.03 00:52:36.744818 [ 3553 ] {90419c0a-c410-42ea-ba76-7672ff5ae5ec} <Debug> executeQuery: (from [::1]:54714) (comment: '/usr/share/clickhouse-test/queries/0_stateless/01059_storage_file_compression.sh') CREATE TABLE file (x UInt64) ENGINE = File(TSV, 'test_19/bz2.tsv.bz2')
2021.09.03 00:52:41.255409 [ 2927 ] {9c7b4e21-cc37-438d-9c13-f9dc01efd30c} <Debug> executeQuery: (from [::1]:54750) (comment: '/usr/share/clickhouse-test/queries/0_stateless/01059_storage_file_compression.sh') TRUNCATE TABLE file
2021.09.03 00:52:43.762791 [ 2927 ] {82857e3d-f7cc-453d-82a4-e8b8fb82ae0e} <Debug> executeQuery: (from [::1]:54758) (comment: '/usr/share/clickhouse-test/queries/0_stateless/01059_storage_file_compression.sh') INSERT INTO file SELECT * FROM numbers(1000000)
2021.09.03 00:52:54.939333 [ 2927 ] {82857e3d-f7cc-453d-82a4-e8b8fb82ae0e} <Error> executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 63.07 GiB (attempt to allocate chunk of 4194364 bytes), maximum: 62.94 GiB. (MEMORY_LIMIT_EXCEEDED) (version 21.10.1.7982) (from [::1]:54758) (comment: '/usr/share/clickhouse-test/queries/0_stateless/01059_storage_file_compression.sh') (in query: INSERT INTO file SELECT * FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below):
2021.09.03 00:53:08.505015 [ 2927 ] {2bc7444e-c0d6-462e-9d6a-567f70b01697} <Debug> executeQuery: (from [::1]:54842) (comment: '/usr/share/clickhouse-test/queries/0_stateless/01059_storage_file_compression.sh') SELECT count(), max(x) FROM file
[1]: https://clickhouse-test-reports.s3.yandex.net/28474/6d5f01a56bb1715c47de8444bfc85b39228f3081/stress_test_(thread).html#fail1
2021-09-03 10:49:17 +03:00
alesapin
1894524438
Merge pull request #28528 from ClickHouse/fix_detach_attach_versioned_collapsing
...
Fix detach/attach for ReplicatedVersionedCollapsingMergeTree after alter
2021-09-03 10:13:52 +03:00
alesapin
d571c84a56
Better test for flaky check
2021-09-02 23:41:00 +03:00
Azat Khuzhin
6d5f01a56b
Cover MySQL setting connection_wait_timeout
2021-09-02 22:39:07 +03:00
Anton Popov
ee7f50396b
fix nested and scalar columns with dot
2021-09-02 20:22:01 +03:00
Maksim Kita
027c531243
Merge pull request #28503 from kitaisreal/executable-multiple-pipes-added-test
...
Executable multiple pipes added test
2021-09-02 18:30:03 +03:00
alesapin
ba78a737dc
Fix detach/attach for ReplicatedVersionedCollapsingMergeTree after alter
2021-09-02 17:47:00 +03:00
Nikolai Kochetov
af0da33147
Merge pull request #27827 from ClickHouse/more-checks-for-lv-and-native
...
Add more checks for LC in native protocol.
2021-09-02 17:27:42 +03:00
alesapin
f1bc3d7720
Add test for keeper 2 node configuration
2021-09-02 16:54:30 +03:00
Alexey Milovidov
03ae73a91a
Drop arcadia_skip_list.txt
2021-09-02 16:19:36 +03:00
Maksim Kita
abda2a636e
Added ExecutablePool storage
2021-09-02 14:53:20 +03:00
alesapin
b592400e54
Merge pull request #28404 from ClickHouse/remove_outdated_settings
...
Remove obsolete settings for replicated fetches.
2021-09-02 14:03:12 +03:00
Nikolai Kochetov
5f0b1bc4e3
Merge pull request #26286 from amosbird/projection-improve2
...
Virtual projection for min max indices.
2021-09-02 13:03:30 +03:00
alesapin
78a0cefafd
Merge pull request #28437 from ClickHouse/remove_some_tests
...
Remove some rename tests
2021-09-02 12:26:28 +03:00
Maksim Kita
3286b32499
Executable multiple pipes added test
2021-09-02 10:47:21 +03:00
Maksim Kita
befb82e441
Merge pull request #28433 from kssenii/fix-materialized-postgresql
...
Fix cannot use non-ordinary table names in materialized postgresql
2021-09-02 09:49:33 +03:00
Nikolay Degterinsky
53b6d918eb
Merge pull request #25310 from bharatnc/ncb/import-export-lz4
...
LZ4 compression for import/export
2021-09-01 21:12:50 +03:00
Kseniia Sumarokova
e7dfb0e703
Update test.py
2021-09-01 17:32:09 +03:00
mergify[bot]
5d299fbdee
Merge branch 'master' into remove_outdated_settings
2021-09-01 14:07:48 +00:00
mergify[bot]
91ea6a8891
Merge branch 'master' into remove_some_tests
2021-09-01 14:07:07 +00:00
vdimir
13bf141e1d
Fix storage_join type inference
2021-09-01 15:05:47 +03:00
vdimir
c4ffc2879f
Perform join type inference for USING at ExpressionAnalyzer instead of TreeRewriter
2021-09-01 15:05:47 +03:00
alesapin
68f6ecec62
Merge pull request #28184 from ClickHouse/trying_to_fix_fetches_test
...
Better detection of the default interface in replicated fetches tests
2021-09-01 12:21:50 +03:00
tavplubix
e55c0bc40a
Merging #27980 ( #28413 )
...
* fix: empty string convert to DecimalOrNumbeOrDateOrDateTime
* fix: ifnull convert to defaut value
* fix variable name
* fix cast args
* modify ifnull args
* use short circuit
Co-authored-by: liyang830 <liyang830@jd.com>
2021-09-01 12:12:23 +03:00
alesapin
4d94a72398
Remove some tests and make some of them lightweight
2021-09-01 10:31:45 +03:00
alesapin
383a84553e
Merge pull request #28396 from ClickHouse/add_test_for_our_friends
...
Add a test for a friend
2021-09-01 10:30:44 +03:00
alesapin
7e2cb7c8ac
Merge pull request #27538 from ClickHouse/stress-thread-fuzzer
...
Enable Thread Fuzzer in Stress test
2021-09-01 10:26:19 +03:00
alexey-milovidov
77d085f264
Merge pull request #27527 from evillique/log_queries_probability
...
Add log_queries_probability setting
2021-09-01 00:51:23 +03:00
kssenii
445b6b34fc
Fix
2021-08-31 20:58:00 +00:00
alexey-milovidov
307ae344db
Merge pull request #27934 from azat/integration-tests-improve-check
...
Improve server logs checking in integration tests
2021-08-31 23:08:51 +03:00
Nikita Mikhaylov
f471ed4506
Merge pull request #28037 from nikitamikhaylov/settings-s3-engine
...
Support `SETTINGS` clause for `S3` engine
2021-08-31 21:08:53 +03:00
Nikita Mikhaylov
cc29130eba
chmod -x
2021-08-31 18:08:02 +00:00
Vladimir C
94d5f3a87b
Merge pull request #28349 from vdimir/issue-27691-qf
...
Fix non joined rows from nullable column
2021-08-31 17:09:24 +03:00
alesapin
af3c528dcb
Better test
2021-08-31 16:48:01 +03:00
alesapin
d6381ea68b
Fix test
2021-08-31 16:19:32 +03:00
Ilya Yatsishin
8a269d64d2
Merge pull request #28354 from qoega/rework-kafka-topic-creation
2021-08-31 16:13:29 +03:00
vdimir
bef0628522
Fix S3 stateless tests
2021-08-31 12:54:45 +00:00
Nikita Mikhaylov
5f7a1bab94
better
2021-08-31 12:54:45 +00:00
Nikita Mikhaylov
cc73ca17d3
Debug
2021-08-31 12:54:45 +00:00
Nikita Mikhaylov
92446b1b88
Better
2021-08-31 12:54:45 +00:00
Nikita Mikhaylov
4a88e5f281
Better
2021-08-31 12:54:45 +00:00
Nikita Mikhaylov
26efa7184d
Added minio
2021-08-31 12:54:45 +00:00
Nikita Mikhaylov
fcfda4b983
Fix tests and update ya.make
2021-08-31 12:54:45 +00:00
Nikita Mikhaylov
ae241fc129
done
2021-08-31 12:54:06 +00:00
Vasily Nemkov
109d2f63d0
Fixed tests and minor style issues
2021-08-31 15:39:15 +03:00
mergify[bot]
b81d479de4
Merge branch 'master' into stress-thread-fuzzer
2021-08-31 11:56:30 +00:00
alesapin
621dcfe84e
Remove garbage
2021-08-31 14:36:24 +03:00
Nikolay Degterinsky
e8713a7d7e
Merge branch 'master' into ncb/import-export-lz4
2021-08-31 13:32:39 +03:00
alesapin
525999145e
Merge pull request #26791 from ClickHouse/async-reads
...
Experiment with asynchronous readers
2021-08-31 13:17:45 +03:00
alesapin
a7d5b46cd8
Add a test for a friend
2021-08-31 12:13:37 +03:00
Maksim Kita
4ebd0ae941
Merge pull request #28102 from ClickHouse/executable-table-function
...
Merging #23192
2021-08-31 12:00:50 +03:00
Vladimir C
3c2cee392a
Merge pull request #28350 from vdimir/fuzz-j2-sed-typo
2021-08-31 11:04:07 +03:00
Alexey Milovidov
ca6f6306f3
Merge branch 'master' into async-reads
2021-08-31 02:52:58 +03:00
alexey-milovidov
35d5957683
Merge pull request #28336 from ianton-ru/MDB-13951
...
Fix test_storage_s3/test_put_get_with_globs (cleanup after test)
2021-08-31 01:54:59 +03:00
Maksim Kita
c9a0b1e28e
Updated tests
2021-08-30 21:41:36 +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
vdimir
943b71e4ff
Fix non joined rows from nullable column
2021-08-30 16:33:01 +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
Yatsishin Ilya
da4e688293
Improve kafka topic creation and deletion. Improve mongodb tests
2021-08-30 15:58:21 +03:00
vdimir
887ac96a19
Whitespace in 0_stateless/01015_empty_in_inner_right_join.sql.j2
2021-08-30 14:27:01 +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
Anton Ivashkin
2e33072469
Fix test_storage_s3/test_put_get_with_globs (cleanup after test)
2021-08-30 13:31:46 +03:00
Kruglov Pavel
95fd6197dc
Merge pull request #27729 from ContentSquare/sequenceMatchQuickCheck
...
Sequence match quick check
2021-08-30 13:04:23 +03:00
Nikolay Degterinsky
2433d88b82
Merge branch 'master' into log_queries_probability
2021-08-30 12:55:33 +03:00
Nikolay Degterinsky
58773c9ef3
Add test
2021-08-30 12:53:56 +03:00
alesapin
b4646f5016
Update keeper_port.xml
2021-08-30 12:49:11 +03:00
Vladimir Chebotarev
1aa86ea999
Fixed test.
2021-08-30 11:50:28 +03:00
Vladimir Chebotarev
56e4bf6bd7
Added simple test.
2021-08-30 11:50:01 +03:00
Vladimir Chebotarev
22f6ea526e
Fix test.
2021-08-30 11:49:26 +03:00
Vladimir Chebotarev
087262b485
Fix test.
2021-08-30 11:49:26 +03:00
Alexey Milovidov
9027a663f7
Minor fix in perf test
2021-08-30 00:18:38 +03:00
Maksim Kita
d88de46312
StorageExecutable added support for create
2021-08-29 23:19:05 +03:00
Alexey Milovidov
e4f3d97b52
Merge branch 'master' of github.com:yandex/ClickHouse into async-reads
2021-08-29 21:42:14 +03:00
kssenii
f27f519aa2
Fix build and add example
2021-08-28 20:35:51 +00:00
Maksim Kita
4aa2479ca1
Added support for multiple pipes
2021-08-28 22:47:59 +03:00
Amos Bird
4624bf70b0
Always monotonic for non-zero division
2021-08-28 23:33:18 +08: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
Amos Bird
b68857d086
Simplify projection, add minmax_count projection.
2021-08-28 11:25:37 +08:00