Commit Graph

6741 Commits

Author SHA1 Message Date
Sema Checherinda
2c018f5261 do not call finalize after exception 2023-06-13 10:48:31 +02:00
Val Doroshchuk
879db5098a MaterializedMySQL: Add test_named_collections 2023-06-13 10:09:12 +02:00
Kruglov Pavel
e4838725e3
Merge branch 'master' into allow-skip-empty-files 2023-06-12 20:03:23 +02:00
Antonio Andelic
cb3ac81110
Merge branch 'master' into keeper-with-disks 2023-06-12 15:14:24 +02:00
robot-clickhouse
708a99a6ea Automatic style fix 2023-06-12 11:19:38 +00:00
Antonio Andelic
b634012feb Add feature flags for Keeper API 2023-06-12 10:57:03 +00:00
Antonio Andelic
91a4b6e331 Merge branch 'master' into keeper-add-api-version-config 2023-06-12 07:10:58 +00:00
JackyWoo
a1641aa25d
Merge branch 'master' into support_redis 2023-06-12 09:53:06 +08:00
Robert Schulze
8222861f2e
Merge remote-tracking branch 'rschu1ze/master' into non-experimental-qpl-deflate 2023-06-11 14:39:30 +00:00
Nikolay Degterinsky
dc9001a969
Merge pull request #50061 from evillique/update-mongo
Update MongoDB protocol & fix inserts
2023-06-10 22:52:15 +02:00
Robert Schulze
ff96c4c0d8
Fix black 2023-06-10 12:09:47 +00:00
Nikolay Degterinsky
9ad8e022a8
Merge branch 'master' into update-mongo 2023-06-10 10:58:02 +02:00
Smita Kulkarni
a8b579a856 Rename azure_blob_storage to azureBlobStorage 2023-06-09 19:28:06 +02:00
pufit
55d228e78e
Merge branch 'master' into support_redis 2023-06-09 11:45:12 -04:00
Antonio Andelic
07582d56f3 Add config for pinning api version 2023-06-09 13:18:13 +00:00
Robert Schulze
1aa158909e
enable_qpl_deflate_codec --> enable_deflate_qpl_codec 2023-06-09 12:43:33 +00:00
jinjunzh
f1192d59af
refine patch according to comments 2023-06-09 12:43:15 +00:00
jinjunzh
056ca4f555
Add extensive testing cases for deflate qpl codec 2023-06-09 12:42:59 +00:00
alesapin
79edd06ee7 Merge remote-tracking branch 'origin/master' into azure_table_function 2023-06-08 17:05:19 +02:00
alesapin
a918f88c74 Fixes 2023-06-08 16:11:27 +02:00
Yakov Olkhovskiy
393c0c3a4f
Merge pull request #50240 from aalexfvk/fix_https_replication_changed_ip_bug
Fix reconnecting of HTTPS session when target host IP was changed
2023-06-08 08:58:48 -04:00
Val Doroshchuk
c37b80593c
MaterializedMySQL: Add support of TRUNCATE db.table (#50624)
Additional to `TRUNCATE TABLE db.table`.

Co-authored-by: Alexander Tokmakov <tavplubix@clickhouse.com>
2023-06-08 14:22:55 +03:00
Kruglov Pavel
bf28074d32
Merge branch 'master' into allow-skip-empty-files 2023-06-08 12:36:18 +02:00
vdimir
ac638615ae
Upd test_alter_moving_garbage 2023-06-08 10:29:01 +00:00
vdimir
44c68ffdab
Add config param allow_remove_stale_moving_parts 2023-06-08 10:17:02 +00:00
Alexander Sapin
278543c48a Merge branch 'azure_table_function' of github.com:ClickHouse/ClickHouse into azure_table_function 2023-06-07 20:03:35 +02:00
Alexander Sapin
7d5b98f028 Remove logging add sleeps 2023-06-07 20:03:17 +02:00
vdimir
989540e5b1
Upd test_alter_moving_garbage: use replicated engine 2023-06-07 17:44:12 +00:00
vdimir
6f6d806f92
Upd test test_alter_moving_garbage 2023-06-07 17:44:12 +00:00
robot-clickhouse
8d67296e3a Automatic style fix 2023-06-07 16:22:42 +00:00
Alexander Sapin
b78e330129 Better test 2023-06-07 18:09:55 +02:00
vdimir
b410a4d44c
Add test test_alter_moving_garbage 2023-06-07 13:57:24 +00:00
vdimir
19bb802b04
Set temporary_directories_lifetime to integration tests with MOVE 2023-06-07 13:57:23 +00:00
Alexander Tokmakov
d2aa1779ed Merge branch 'master' into rmt_better_background_tasks_scheduling 2023-06-07 14:58:50 +02:00
Alexander Sapin
5d52c41689 Merge branch 'master' into azure_table_function 2023-06-07 12:33:26 +02:00
robot-clickhouse
95b054b425 Automatic style fix 2023-06-06 18:01:22 +00:00
alesapin
934df5e5bb Rename to AzureBlobStorage 2023-06-06 19:44:41 +02:00
alesapin
d902592703 Fix new tests 2023-06-06 19:38:15 +02:00
alesapin
454c23fecb Merge branch 'azure_table_function' of github.com:ClickHouse/ClickHouse into azure_table_function 2023-06-06 19:34:22 +02:00
alesapin
7100bc5152 Fixes for azure table function 2023-06-06 19:31:50 +02:00
Smita Kulkarni
6a96cf441e Renamed to azure_blob_storage 2023-06-06 19:19:17 +02:00
robot-clickhouse
ae97f45c1c Automatic style fix 2023-06-06 17:10:48 +00:00
alesapin
a6185da220 Merge branch 'azure_table_function' of github.com:ClickHouse/ClickHouse into azure_table_function 2023-06-06 18:50:51 +02:00
alesapin
e76a7022fc Add some tests 2023-06-06 18:50:45 +02:00
robot-clickhouse
3bda231203 Automatic style fix 2023-06-06 15:11:21 +00:00
alesapin
14470b46c7 Merge branch 'azure_table_function' of github.com:ClickHouse/ClickHouse into azure_table_function 2023-06-06 16:58:05 +02:00
alesapin
ebae79f7d4 Schema inference 2023-06-06 16:57:51 +02:00
Antonio Andelic
42798e446b Merge branch 'master' into keeper-with-disks 2023-06-06 14:55:47 +00:00
robot-clickhouse
e054fbccd8 Automatic style fix 2023-06-06 13:09:53 +00:00
alesapin
6caf8080b0 Merge branch 'azure_table_function' of github.com:ClickHouse/ClickHouse into azure_table_function 2023-06-06 14:55:56 +02:00
alesapin
a1f3bd9e23 Fix reads 2023-06-06 14:55:17 +02:00
robot-clickhouse
18decb090c Automatic style fix 2023-06-06 11:11:50 +00:00
alesapin
d497562a07 Copy and paste 2023-06-06 13:01:21 +02:00
alesapin
8028184e30 Fix read 2023-06-06 12:27:40 +02:00
Michael Kolupaev
9f80900d6f Changes related to an internal feature 2023-06-05 18:20:38 -07:00
robot-clickhouse
cf9936ad32 Automatic style fix 2023-06-05 23:58:43 +00:00
Nikolay Degterinsky
ad85faabd1 Fix test 2023-06-05 17:58:56 +00:00
Alexander Sapin
bc8ee56a19 Support settings, test truncate 2023-06-05 14:46:52 +02:00
Alexander Sapin
2866bac089 Add named collections and remove host filter support 2023-06-05 14:03:19 +02:00
Alexander Sapin
c9c9e1e969 Merge branch 'master' into azure 2023-06-05 12:19:29 +02:00
Alexey Milovidov
afdf7eaed7
Merge pull request #50558 from ClickHouse/remove-flaky-test
Remove flaky test
2023-06-05 11:14:03 +03:00
Antonio Andelic
c4873027c3 Merge branch 'master' into keeper-with-disks 2023-06-05 07:08:33 +00:00
Alexey Milovidov
3b8c781b2c
Merge pull request #50448 from ClickHouse/rm_parts_from_zk_paranoid
Paranoid fix for removing parts from ZooKeeper
2023-06-05 04:42:15 +03:00
Alexey Milovidov
af1c025496
Merge pull request #50480 from Avogar/try-fix-flaky-test
Try fix flaky test test_async_query_sending
2023-06-05 04:40:17 +03:00
Alexey Milovidov
112826a666
Merge pull request #50485 from ClickHouse/remove-keeper-test
Remove unneeded Keeper test
2023-06-05 04:37:03 +03:00
Alexey Milovidov
4234c4f36a Remove flaky test 2023-06-05 02:51:11 +02:00
alesapin
8d8d06285f Add integration test 2023-06-04 18:59:22 +02:00
Alexey Milovidov
c84c0be1a7
Merge branch 'master' into try-fix-flaky-test 2023-06-04 05:06:40 +03:00
pufit
1aaac69e13
Merge branch 'master' into roles_in_config 2023-06-03 14:42:10 -04:00
Alexey Milovidov
8018e58b74
Merge pull request #49894 from evillique/postgresql-uuid
Add UUID data type to PostgreSQL
2023-06-03 07:13:41 +03:00
Nikita Mikhaylov
362055ce60
Merge branch 'master' into 46229-repl-clickhouse-keeper 2023-06-02 23:58:07 +02:00
Alexander Tokmakov
4209ccfc08 fix 2023-06-02 17:42:04 +02:00
Antonio Andelic
ae497d398a Remove unneeded test 2023-06-02 14:23:04 +00:00
Antonio Andelic
5f625dcdd9 Merge branch 'master' into keeper-with-disks 2023-06-02 13:35:18 +00:00
avogar
d9a4f8115f Add new line delimiter 2023-06-02 13:19:41 +00:00
avogar
8e076c33d5 Try fix flaky test test_async_query_sending 2023-06-02 13:19:13 +00:00
Alexander Tokmakov
e148c60d5a
Fixes for MergeTree with readonly disks (#50244)
* fixes for MergeTree with readonly disks

* Automatic style fix

* Update test.py

* Automatic style fix

* Update test.py

* Update test.py

* Automatic style fix

* Update test.py

---------

Co-authored-by: robot-clickhouse <robot-clickhouse@users.noreply.github.com>
Co-authored-by: alesapin <alesapin@clickhouse.com>
2023-06-02 16:18:32 +03:00
Kruglov Pavel
9922053419
Merge pull request #49948 from Avogar/handshake-timeout
Add separate handshake_timeout for receiving Hello packet from replica
2023-06-02 14:07:27 +02:00
JackyWoo
119c2200a9 fix merged error 2023-06-02 10:05:54 +08:00
JackyWoo
4302ba44d4 fix code style 2023-06-02 10:05:54 +08:00
JackyWoo
bcf22c1ec7 fix code style 2023-06-02 10:05:54 +08:00
JackyWoo
0106704573 add truncate to redis storage 2023-06-02 10:05:54 +08:00
JackyWoo
1df1dfc3e5 add update/delete/insert to redis storage 2023-06-02 10:05:54 +08:00
JackyWoo
f4f939162d new redis engine schema design 2023-06-02 10:05:54 +08:00
JackyWoo
357df40c8f fix tests 2023-06-02 10:05:54 +08:00
JackyWoo
8c822a7edf add tests to redis engine 2023-06-02 10:05:54 +08:00
JackyWoo
ff961834d6 add tests to redis engine 2023-06-02 10:05:54 +08:00
JackyWoo
412d9ba259 add tests for redis storage 2023-06-02 10:05:54 +08:00
JackyWoo
b35867d907 unify storage type 2023-06-02 10:05:54 +08:00
Michael Kolupaev
b51064a508 Get rid of SeekableReadBufferFactory, add SeekableReadBuffer::readBigAt() instead 2023-06-01 18:48:30 -07:00
Alexey Milovidov
54144d15ab
Merge pull request #50319 from ClickHouse/nickitat-patch-12
Enable `enable_memory_bound_merging_of_aggregation_results` by default
2023-06-02 03:48:44 +03:00
Alexey Milovidov
52ffaa4630
Merge pull request #50203 from Avogar/head-requests-on-shcema-inference
Don't send head request for all keys in Iceberg schema inference
2023-06-02 01:28:00 +03:00
Nikita Taranov
a75598ea65 fix test 2023-06-01 16:16:39 +02:00
robot-clickhouse
92ee24acd3 Automatic style fix 2023-06-01 13:10:50 +00:00
Antonio Andelic
514beb783b Merge branch 'master' into keeper-with-disks 2023-06-01 12:19:43 +00:00
Antonio Andelic
0b4d29ff98 Add tests for disks 2023-06-01 12:19:00 +00:00
pufit
fdfd56e765
Merge branch 'master' into roles_in_config 2023-06-01 08:03:59 -04:00
Alexander Tokmakov
05c90f8987
Merge branch 'master' into reuse_s3_mocks 2023-06-01 13:20:23 +03:00
Sema Checherinda
0aa30ef129 reuse s3_mocks, rewrite test test_paranoid_check_in_logs 2023-06-01 01:29:37 +02:00
avogar
0b62be649f Add docs, fix style 2023-05-31 17:52:29 +00:00
Sema Checherinda
dd2d43a491
Merge branch 'master' into fix-test-profile-events 2023-05-31 18:57:52 +02:00
Alexander Tokmakov
a18b998076
Merge branch 'master' into rmt_better_background_tasks_scheduling 2023-05-31 19:47:29 +03:00
Nikita Mikhaylov
a225663b8f
Merge branch 'master' into 46229-repl-clickhouse-keeper 2023-05-31 16:17:34 +02:00
Vitaly Baranov
6d45d0c374
Use fingerprints instead of key IDs in encrypted disks (#49882)
* Use fingerprints instead of key IDs to find keys in encrypted disks.
Always use little endian in the headers of encryption files.

* Add tests.

* Fix copying binary files to test containers.

* Fix ownership for copied files in test containers.

* Add comments after review.

---------

Co-authored-by: Nikita Mikhaylov <mikhaylovnikitka@gmail.com>
2023-05-31 13:11:10 +02:00
pufit
dbd3766f5f Specify roles in users.xml 2023-05-30 20:42:49 -04:00
Nikita Mikhaylov
31829f7cfc
Merge branch 'master' into 46229-repl-clickhouse-keeper 2023-05-31 02:29:08 +02:00
avogar
d4efbbfbd3 Allow to skip empty files in file/s3/url/hdfs table functions 2023-05-30 19:32:24 +00:00
Alexander Tokmakov
c8bb1f64ad fix 2023-05-30 18:46:49 +02:00
Alexander Tokmakov
82e1d5ae67 Merge branch 'master' into rmt_better_background_tasks_scheduling 2023-05-30 17:40:13 +02:00
Sema Checherinda
bec8186b2f do not fix the event list 2023-05-30 13:59:31 +02:00
Sema Checherinda
0b4ea3e2e1 remove reminder comments 2023-05-30 12:26:20 +02:00
Sema Checherinda
fe3939287b add test, fix .gin_sid files 2023-05-30 12:26:20 +02:00
Antonio Andelic
67746bfff2 Merge branch 'master' into keeper-with-disks 2023-05-30 09:50:12 +00:00
alesapin
6b7e2a0041
Merge pull request #49961 from CheSema/mem-consumption-s3-write
Introduce a limitation of async calls inside s3 write buffer, make a test that memory is bounded even when s3 is slow
2023-05-29 13:29:01 +02:00
Han Fei
806ef08e5f
Merge pull request #50306 from helifu/master1
Fix a typo
2023-05-29 10:34:38 +02:00
helifu
1821933995 Fix a typo 2023-05-29 15:12:16 +08:00
helifu
e9ffc383da Add input parameter 'base_config_dir' 2023-05-28 12:59:34 +08:00
helifu
7c3fa3658d fix a style checking issue 2023-05-28 12:59:34 +08:00
helifu
6a64fa6c6c Node2 cannot be started due to a conflict with config.xml merge 2023-05-28 12:59:34 +08:00
helifu
1d1d84497e Fix a style checking issue 2023-05-28 12:59:34 +08:00
helifu
e98cd5d44c Fix failed test cases
test_system_logs/test_system_logs.py::test_system_logs_order_by_expr PASSED   [ 33%]
test_system_logs/test_system_logs.py::test_system_logs_engine_expr PASSED     [ 66%]
test_system_logs/test_system_logs.py::test_system_logs_settings_expr PASSED   [100%]
2023-05-28 12:59:34 +08:00
helifu
b2d7a48095 fix a style checking issue 2023-05-28 12:59:34 +08:00
helifu
780e9df08d fix the config file name 2023-05-28 12:59:34 +08:00
helifu
01158e783a Add test case for 'engine','settings' configuration 2023-05-28 12:59:34 +08:00
helifu
4013ec982f Add test case for 'order_by' configuration 2023-05-28 12:59:34 +08:00
Sema Checherinda
b0eff95388 update doc, add profile event WriteBufferFromS3WaitInflightLimitMicroseconds 2023-05-26 18:59:21 +02:00
Sema Checherinda
7031796d3f fixing tests 2023-05-26 18:59:21 +02:00
Sema Checherinda
206efee9b7 add test with merge tree table 2023-05-26 18:59:21 +02:00
Sema Checherinda
4249bda449 s3_max_inflight_parts_for_one_file with tests 2023-05-26 18:59:11 +02:00
Aleksei Filatov
2a2c35e4c1 Fix changed IP for https session 2023-05-26 09:08:34 +03:00
Antonio Andelic
6a8a21e09a Add test for s3 disk restore 2023-05-25 16:01:40 +00:00
Nikita Mikhaylov
cf6ff7ab32 Merge branch 'master' of github.com:ClickHouse/ClickHouse into 46229-repl-clickhouse-keeper 2023-05-25 13:41:25 +00:00
Kruglov Pavel
fd49821e98
Fix tests 2023-05-25 12:46:53 +02:00
Alexander Tokmakov
d8f936987e Merge branch 'master' into rmt_better_background_tasks_scheduling 2023-05-25 12:36:41 +02:00
Antonio Andelic
ae84716eba Merge branch 'master' into keeper-with-disks 2023-05-25 08:45:19 +00:00
Antonio Andelic
7e68f61df1 Fix snapshot recovery 2023-05-25 08:43:11 +00:00
Kseniia Sumarokova
2e17503d36
Merge pull request #50187 from kssenii/fix-pg-source
Fix PostgreSQLSource reading all unread the data in onFinish
2023-05-24 22:51:48 +02:00
Alexander Tokmakov
4c94b3d6bc
Update test.py 2023-05-24 20:13:37 +03:00
robot-clickhouse
a237b8b839 Automatic style fix 2023-05-24 14:19:37 +00:00
Alexander Tokmakov
242c3bc9a9 fix 2023-05-24 16:01:28 +02:00
kssenii
07eedc8ef1 Fix 2023-05-24 15:03:11 +02:00
Kruglov Pavel
8bc25c4ea3
Fix style 2023-05-24 14:40:27 +02:00
Kruglov Pavel
9545100c9e
Merge pull request #45427 from attack204/urlCluster
Add urlCluster table function and refactor all *Cluster table functions
2023-05-24 13:32:56 +02:00
Alexander Tokmakov
f3b4959e05 fix 2023-05-23 20:45:16 +02:00
SmitaRKulkarni
f39c81d13e
Merge pull request #49982 from ClickHouse/Fix_flaky_test_ssl_cert_authentication
Fix flaky test_ssl_cert_authentication to use urllib3
2023-05-23 13:57:22 +02:00
avogar
3c1aeaaa79 Change default value of handshake_timeout to 10 sec, fix possible use-after-free 2023-05-23 11:39:40 +00:00
Antonio Andelic
3e6314675c
Merge pull request #49930 from AVMusorin/write-buffer-from-s3
Fix metrics `WriteBufferFromS3Bytes`, `WriteBufferFromS3Microseconds` and `WriteBufferFromS3RequestsErrors`
2023-05-23 12:26:05 +02:00
Alexander Tokmakov
60a696b88b Merge branch 'master' into rmt_better_background_tasks_scheduling 2023-05-23 12:18:07 +02:00
Alexander Tokmakov
dbf08b25fb better scheduling of merge selecting task 2023-05-23 01:25:17 +02:00
avogar
88e4c93abc Merge branch 'master' of github.com:ClickHouse/ClickHouse into urlCluster 2023-05-22 19:19:57 +00:00