Commit Graph

9702 Commits

Author SHA1 Message Date
kssenii
3004f0b63d Merge remote-tracking branch 'origin/master' into use-iobject-storage-for-table-engines-1 2024-05-23 16:51:46 +02:00
kssenii
dd7f3d1ba2 Fix test 2024-05-23 14:11:30 +02:00
Sema Checherinda
c150c20512 adjust tests in test_merge_tree_s3 2024-05-23 13:53:36 +02:00
Yarik Briukhovetskyi
a4d303a8e6
Update test.py 2024-05-23 13:35:09 +02:00
Arthur Passos
5f2cd1740b increase time to wait for proxy resolver 2024-05-23 11:18:21 +00:00
Arthur Passos
13f02db8e4
Merge branch 'ClickHouse:master' into fix_wrong_request_protocol_proxy 2024-05-23 12:23:47 +02:00
Кирилл Гарбар
21d6f9ef22 Prevent conversion to Replicated if zookeeper path already exists 2024-05-23 03:13:25 +03:00
Mikhail Artemenko
7ecfdbb3aa fix test_hdfsCluster_unset_skip_unavailable_shards 2024-05-22 23:05:27 +00:00
Max K
9a40ff033d
Merge branch 'master' into ci_disable_arm_int_tests_with_kerberazied_kafka 2024-05-22 20:35:23 +02:00
Yarik Briukhovetskyi
e4812c76df
black check fix 2024-05-22 19:28:01 +02:00
robot-clickhouse
52fe1fab97 Automatic style fix 2024-05-22 16:46:10 +00:00
Sema Checherinda
a73d60bae5 tests for qps_limit_exceeded 2024-05-22 18:35:28 +02:00
Sergei Trifonov
f82a816fdd
Merge pull request #64214 from ClickHouse/revert-63670-check_zk_path_exists
Revert "Prevent conversion to Replicated if zookeeper path already exists"
2024-05-22 15:59:18 +00:00
Yarik Briukhovetskyi
f58cd8ae72
integration test instead of stateless 2024-05-22 17:02:09 +02:00
robot-clickhouse
22af95b871 Automatic style fix 2024-05-22 14:47:06 +00:00
serxa
77d2e6d3d8 add tests for merge_workload and mutation_workload settings 2024-05-22 14:38:21 +00:00
Arthur Passos
bf1d07b4ca
Merge branch 'ClickHouse:master' into fix_wrong_request_protocol_proxy 2024-05-22 14:47:13 +02:00
alesapin
40e3527d36
Merge pull request #63848 from MikhailBurdukov/lazy_database_cleanup
Remove data from all disks after DROP with Lazy database.
2024-05-22 12:27:06 +00:00
kssenii
1059b51177 Merge remote-tracking branch 'origin/master' into use-iobject-storage-for-table-engines-1 2024-05-22 14:13:27 +02:00
Kseniia Sumarokova
5f940eaa52
Merge pull request #63693 from MikhailBurdukov/truncate_for_obj_storage_disks
Enable truncate operation for object storage disks.
2024-05-22 12:09:35 +00:00
Kseniia Sumarokova
fda0b33061
Merge pull request #64117 from ClickHouse/fix-azure-multipart-upload-in-backup
Fix azure backup writing multipart blocks by 1mb (read buffer size) instead of `max_upload_part_size` (in non-native copy case)
2024-05-22 11:41:18 +00:00
Sergei Trifonov
376282dd6d
Revert "Prevent conversion to Replicated if zookeeper path already exists" 2024-05-22 09:58:31 +02:00
Antonio Andelic
ef8faeffc0 Merge branch 'master' into fix-backup-without-native-copy 2024-05-22 09:00:07 +02:00
Kseniia Sumarokova
bedaaa38ef
Update test.py 2024-05-21 21:03:13 +02:00
kssenii
d2cdb37df8 Fix test 2024-05-21 17:59:11 +02:00
alesapin
455045056f Merge branch 'master' into ci_disable_arm_int_tests_with_kerberazied_kafka 2024-05-21 17:18:13 +02:00
kssenii
7b225ab59c Merge remote-tracking branch 'origin/master' into use-iobject-storage-for-table-engines-1 2024-05-21 16:58:25 +02:00
Han Fei
93a6c1e5a8 fix tests 2024-05-21 16:03:38 +02:00
alesapin
e3ac5f4d12
Merge pull request #64182 from ClickHouse/fix_azure_native_copy
One attempt to fix native copy for azure
2024-05-21 13:49:47 +00:00
Sergei Trifonov
afc316b779
Merge pull request #63670 from kirillgarbar/check_zk_path_exists
Prevent conversion to Replicated if zookeeper path already exists
2024-05-21 11:58:55 +00:00
robot-clickhouse
1e273f10e2 Automatic style fix 2024-05-21 11:37:05 +00:00
Antonio Andelic
b80d878b4c Add test 2024-05-21 13:28:12 +02:00
robot-clickhouse
a6dd13814c Automatic style fix 2024-05-21 09:53:32 +00:00
alesapin
0b3102576e One attempt to fix native copy for azure 2024-05-21 11:43:16 +02:00
Alexey Milovidov
9597b804e4
Merge pull request #63013 from azat/dist-over-dist-interserver-secret-fix
[RFC] Fix interserver secret for Distributed over Distributed from remote()
2024-05-21 06:04:30 +02:00
Han Fei
b8e7e99c91 Merge branch 'master' into hanfei/stats_uniq 2024-05-21 01:28:36 +02:00
alesapin
6e33443926
Merge pull request #64154 from ClickHouse/fix_azure_native_copy
Azure can do native copy between containers
2024-05-20 17:33:45 +00:00
robot-clickhouse
235b0f2d5b Automatic style fix 2024-05-20 16:28:56 +00:00
alesapin
d6fadfc9a6 Azure can do native copy between containers 2024-05-20 18:18:18 +02:00
Anton Ivashkin
b752f2b938 Merge master 2024-05-20 14:38:40 +02:00
kssenii
ba325b6250 Merge remote-tracking branch 'origin/master' into fix-azure-multipart-upload-in-backup 2024-05-20 12:34:04 +02:00
alesapin
4ca2c0fcd8
Merge pull request #64116 from ClickHouse/fix_azure_native_copy
Properly support native copy for azure
2024-05-20 10:04:16 +00:00
kssenii
ea774b673a Better test 2024-05-19 22:25:56 +02:00
kssenii
c2a613e94d Better 2024-05-19 22:08:36 +02:00
kssenii
93b11c57a0 Fix azure backup uploaded block size 2024-05-19 21:14:06 +02:00
alesapin
2765fd951c Properly support native copy for azure 2024-05-19 21:02:12 +02:00
Anton Ivashkin
b8389925a4 Merge master 2024-05-19 16:12:51 +02:00
Azat Khuzhin
6ed515554b Revert "CI: disable ARM integration test cases with libunwind crash" 2024-05-19 08:11:53 +02:00
Anton Popov
29250418cb fix backward incompatibility 2024-05-17 20:43:40 +00:00
Alexey Milovidov
bd9709adee
Merge pull request #64022 from ClickHouse/fix-analyzer
Fix a typo in Analyzer
2024-05-17 20:02:13 +02:00
Mikhail f. Shiryaev
38787c429f
Merge pull request #62652 from ianton-ru/fix-host-resolver-fail
Fix HostResolver behavior on fail
2024-05-17 17:37:42 +00:00
Han Fei
e9cfdc9c56 address comments 2024-05-17 17:16:49 +02:00
Yarik Briukhovetskyi
8a24515537
fix black 2024-05-17 14:23:32 +02:00
Anton Ivashkin
aa6110289e Fix test style 2024-05-17 13:58:29 +02:00
Han Fei
a19fb0aea5 Merge branch 'master' into hanfei/stats_uniq 2024-05-17 12:07:04 +02:00
Alexey Milovidov
26501178e6 Fix analyzer 2024-05-17 10:23:32 +02:00
Alexey Milovidov
0c84c5658c
Merge pull request #63656 from woodlzm/master
Add a build_id ALIAS column to trace_log to facilitate auto renaming upon detecting binary changes.
2024-05-17 04:32:26 +00:00
Alexey Milovidov
4021e9a507
Merge pull request #63933 from jkartseva/allow-certain-alters-plain-rw
Allow certain ALTER TABLE commands for `plain_rewritable` disk
2024-05-17 03:47:02 +00:00
Alexander Tokmakov
d9d6950965
Merge pull request #63549 from ClickHouse/rdb_auto_recovery
Automatically recover Replicated database if the queue got stuck
2024-05-16 22:48:58 +00:00
Alexander Gololobov
935ffe14f0
Merge pull request #63862 from ClickHouse/keeper_client_fixes
Fixes in `find_super_nodes` and `find_big_family` command of keeper-client
2024-05-16 20:01:51 +00:00
Anton Ivashkin
92df0f9737 More parameters for tls layer in protocols 2024-05-16 18:34:17 +02:00
Max K
17aa799101 CI: aarh64: disable kerberos tests 2024-05-16 16:43:54 +02:00
Han Fei
2e76275124
Merge pull request #63202 from hanfei1991/hanfei/fix-intersection
fix intersect parts when restart after drop range
2024-05-16 14:27:25 +00:00
kssenii
af6f124df0 Merge remote-tracking branch 'origin/master' into use-iobject-storage-for-table-engines-1 2024-05-16 16:02:35 +02:00
Alexander Gololobov
97e7f404c7 Fix test: only top 10 by default 2024-05-16 12:40:53 +02:00
Alexander Gololobov
4b5f31a22c Fix test for big family to account for whole subtree 2024-05-16 10:42:38 +02:00
Julia Kartseva
81a7862ed4 Allow certain ALTER TABLE commands for plain_rewritable
Currently all alters are disallowed, this is too restrictive. Allow
altering settings (through {MODIFY|RESET} SETTING) and comments (MODIFY
COMMENT).
2024-05-16 08:40:28 +00:00
Zimu Li
c0f5d70c5c
Merge branch 'ClickHouse:master' into master 2024-05-15 22:38:22 -07:00
alesapin
7aeeaabf3d
Merge pull request #63839 from ClickHouse/disable_intel_qpl_coe
Disable `test_non_default_compression/test.py::test_preconfigured_deflateqpl_codec` on arm
2024-05-15 19:43:58 +00:00
Max K
6b6f8334c5
Merge pull request #63867 from ClickHouse/disable_arm_integration_test_cases_with_libunwind_crash
CI: disable ARM integration test cases with libunwind crash
2024-05-15 18:31:41 +00:00
Alexander Sapin
8f5c8fdb27 Proper fix 2024-05-15 19:14:32 +02:00
alesapin
dc9edaf6af
Merge pull request #63832 from ClickHouse/fix_disk_types_for_arm
Fix `test_disk_types` for aarch64
2024-05-15 17:02:31 +00:00
alesapin
2d3bd654f0
Merge pull request #63789 from ClickHouse/fix_catboost_test
Fix `test_catboost_evaluate` for aarch64
2024-05-15 17:01:51 +00:00
alesapin
beebebbe0c
Merge pull request #63836 from ClickHouse/fix_test_backward_compatibility_arm
Fix `test_short_strings_aggregation` for arm
2024-05-15 17:00:11 +00:00
robot-clickhouse
d0c7e8c44f Automatic style fix 2024-05-15 16:43:16 +00:00
Alexander Tokmakov
b17bfb16cd
Merge pull request #63695 from ClickHouse/flaten-nested-is-broken-with-replicated-database
flatten_nested is broken with replicated database.
2024-05-15 16:34:03 +00:00
Max K
c1da3a4726 CI: disable ARM integration test cases with libunwind crash" 2024-05-15 18:33:58 +02:00
Anton Ivashkin
e9d2b54de6 Reformat test file 2024-05-15 18:17:50 +02:00
Nikita Mikhaylov
330af1c37a
Merge pull request #63806 from jkartseva/add-endpoint-subpath-to-plain-rw
Add `endpoint_subpath` S3 URI setting
2024-05-15 13:50:43 +00:00
MikhailBurdukov
ae10e7ded1 Remove data from all disks after DROP with Lazy database. 2024-05-15 13:09:00 +00:00
Kruglov Pavel
61a6a27325
Fix check black 2024-05-15 14:39:45 +02:00
Alexander Sapin
0d00f73a1f Disable test for specialed intel codec on arm 2024-05-15 14:37:38 +02:00
Alexander Sapin
e17646f68e Fix test_short_strings_aggregation for arm 2024-05-15 14:27:35 +02:00
Han Fei
171bf4f201 Merge branch 'master' into hanfei/fix-intersection 2024-05-15 13:59:52 +02:00
robot-clickhouse
fb65c168a7 Automatic style fix 2024-05-15 11:54:56 +00:00
Alexander Sapin
a9f724e10a Remove empty files 2024-05-15 13:52:53 +02:00
Alexander Sapin
a3283e0cb3 Fix test_disk_types for aarch64 2024-05-15 13:46:19 +02:00
Yarik Briukhovetskyi
00c886133d
Merge pull request #63516 from zhongyuankai/group_array_limit_size
Add server setting `aggregate_function_group_array_has_limit_size`
2024-05-15 11:05:24 +00:00
kssenii
5ede316ec5 Merge remote-tracking branch 'origin/master' into use-iobject-storage-for-table-engines-1 2024-05-15 12:52:25 +02:00
Alexander Sapin
45b1f4fe8f Merge branch 'fix_catboost_test' of github.com:ClickHouse/ClickHouse into fix_catboost_test 2024-05-15 12:45:16 +02:00
Alexander Sapin
2a6962c78c Merge remote-tracking branch 'origin/master' into fix_catboost_test 2024-05-15 12:44:44 +02:00
Kseniia Sumarokova
cd90655fa5
Merge pull request #63638 from ClickHouse/account-failed-files-in-ttl-and-files-limit-for-s3queue
S3Queue: account failed files in tracked_file_ttl_sec and traked_files_limit
2024-05-15 10:29:24 +00:00
alesapin
0c19914918
Merge pull request #63787 from ClickHouse/fix_odbc_interaction_for_arm
Fix `test_odbc_interaction` for arm64 on linux
2024-05-15 09:09:48 +00:00
Ubuntu
bdca4c73fc Skip the added tests in sanitizers where trace_log is disabled, and add a new sanitizer_check_node to facilitate checking sanitizer config existence. 2024-05-15 08:06:41 +00:00
Julia Kartseva
4824acf91f update test_s3_plain_rewritable 2024-05-15 03:02:31 +00:00
Кирилл Гарбар
54e9ffd0bf Move test to new file 2024-05-15 02:31:19 +03:00
Ubuntu
0202bc1c75 Skip the added tests in sanitizers where trace_log is disabled. 2024-05-14 23:14:39 +00:00
Zimu Li
8545724fc1
Merge branch 'ClickHouse:master' into master 2024-05-14 16:14:07 -07:00
Kseniia Sumarokova
fab4217293
Merge pull request #63756 from ClickHouse/fix-disk-hidden-arg
Do not hide disk name
2024-05-14 19:47:20 +00:00
Alexander Tokmakov
9eaf9004b7 Merge branch 'master' into rdb_auto_recovery 2024-05-14 20:35:00 +02:00
robot-clickhouse
c7550fa6c5 Automatic style fix 2024-05-14 17:27:06 +00:00
Alexander Sapin
3b52fc834d Fix test_catboost_evaluate 2024-05-14 19:17:07 +02:00
Alexander Sapin
01e50f3ca1 Fix integration tests for arm64 on linux 2024-05-14 18:53:59 +02:00
Han Fei
79bbe0b587 Merge branch 'master' into hanfei/stats_uniq 2024-05-14 18:16:52 +02:00
Alexander Tokmakov
7ad87c80f3
Update test.py 2024-05-14 17:22:36 +02:00
robot-clickhouse
98360e8c57 Automatic style fix 2024-05-14 14:37:26 +00:00
zhongyuankai
d2d269117f Merge branch 'master' into group_array_limit_size 2024-05-14 22:31:30 +08:00
kssenii
cdf619b21e Review fixes 2024-05-14 16:30:31 +02:00
Anton Popov
35038f2458 rename parameter 2024-05-14 14:23:24 +00:00
Kseniia Sumarokova
39db357745
Update test.py 2024-05-14 15:37:46 +02:00
kssenii
8774fd2a1b Fix 2024-05-14 13:09:56 +02:00
Zimu Li
c6eea55430
Merge branch 'ClickHouse:master' into master 2024-05-13 20:02:49 -07:00
kssenii
a8f0cfe580 Fixes 2024-05-13 20:57:19 +02:00
Kseniia Sumarokova
1c527e86aa
Update test.py 2024-05-13 19:16:05 +02:00
avogar
a323dd1a78 Propagate new timeout properly 2024-05-13 16:41:04 +00:00
avogar
927ba761a3 Try to fix flaky s3 tests test_seekable_formats and test_seekable_formats_url 2024-05-13 16:33:38 +00:00
Anton Popov
9ef86e948e fix tests 2024-05-13 16:07:28 +00:00
Anton Ivashkin
22f1c197e5 Test for HostResolver fail_count 2024-05-13 18:03:32 +02:00
Кирилл Гарбар
7543cd372c Move test to another file 2024-05-13 18:52:25 +03:00
kssenii
4b270e9078 Add a test 2024-05-13 17:15:26 +02:00
kssenii
9ce465bb88 Merge remote-tracking branch 'origin/master' into use-iobject-storage-for-table-engines-1 2024-05-13 16:14:58 +02:00
Alexander Tokmakov
997f2742d7 fix test 2024-05-13 15:46:25 +02:00
Nikolai Kochetov
e59a515f1b Add a test with Nested and replicated database. 2024-05-13 13:23:41 +00:00
MikhailBurdukov
cfa0aa772e
Merge branch 'master' into truncate_for_obj_storage_disks 2024-05-13 16:05:44 +03:00
MikhailBurdukov
7d0214018c Enable truncate operation for object storage disks. 2024-05-13 12:46:42 +00:00
Кирилл Гарбар
5f2228cd16 Fix test 2024-05-13 00:35:38 +03:00
Кирилл Гарбар
0ce90f4ef4 Prevent conversion to Replicated if zookeeper path already exists 2024-05-12 18:13:17 +03:00
woodlzm
06409bf53d Fix styles for test.py. 2024-05-11 22:39:04 -07:00
woodlzm
7dca8c0f75 Fix styles for test.py. 2024-05-11 12:28:12 -07:00
woodlzm
7d809cbe9b Add integration test for checking new build_id column in trace_log plus the table renaming behavior upon binary changes. 2024-05-10 23:30:48 -07:00
Arthur Passos
ac603d6ba9 add space between assert and parenthesis 2024-05-10 17:37:26 -03:00
Arthur Passos
2d904dec5f add missing parenthesis 2024-05-10 17:22:49 -03:00
Arthur Passos
6a2aa29946 don't use stringstream 2024-05-10 17:20:36 -03:00
Arthur Passos
e1f492c5ed Merge branch 'master' into no_proxy_support 2024-05-10 16:54:43 -03:00
Arthur Passos
0f56e0d1ad fix black 2024-05-10 16:54:14 -03:00
Arthur Passos
acbf0c5a4f Merge branch 'master' into fix_wrong_request_protocol_proxy 2024-05-10 16:50:26 -03:00
Azat Khuzhin
65e66f9860 Apply black for test_config_yaml_merge_keys
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-05-10 20:04:23 +02:00
Azat Khuzhin
fa3e8b3b2c Adjust the test_config_yaml_merge_keys expectations
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-05-10 20:04:23 +02:00
Eduard Karacharov
4770446dbe test: yaml merge keys
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-05-10 20:04:23 +02:00
Kruglov Pavel
6247f6a2b0
Merge pull request #62423 from Avogar/better-exception-s3-globs-partitions
Fix exception message during writing to partitioned s3/hdfs/azure path with globs
2024-05-10 12:35:04 +00:00
Kruglov Pavel
a406871c80
Fix style 2024-05-10 14:28:55 +02:00
Kseniia Sumarokova
a76058aa20
Merge pull request #63397 from kirillgarbar/mysql
Allow to create MaterializedMySQL database without connection to MySQL
2024-05-10 12:08:59 +00:00
kssenii
fb4a230eee Support reading partitioed DeltaLake columns 2024-05-10 12:16:52 +02:00
zhongyuankai
15b74cee54 rename 2024-05-10 17:01:00 +08:00
Yarik Briukhovetskyi
cf45181e8c
fix black 2024-05-10 00:26:59 +02:00
Arthur Passos
a64cf57375 modify tests so unexpected http methods in proxy logs are errors 2024-05-09 11:43:59 -03:00
Alexander Tokmakov
db8079768a automatically recover Replicated database if the queue got stuck 2024-05-09 00:00:51 +02:00
Alexey Milovidov
39b4411028
Merge pull request #63515 from ClickHouse/fix-rabbitmq-heap-use-after-free
Fix rabbitmq heap-use-after-free with clang18
2024-05-08 21:30:28 +00:00
kssenii
c2b8443111 Fix for RabbitMQ 2024-05-08 16:51:28 +02:00
Han Fei
116055b532 refine load part logic 2024-05-08 15:04:16 +02:00
zhongyuankai
6098f98cf4 Add server setting group_array_limit_size. 2024-05-08 19:29:35 +08:00
Kseniia Sumarokova
35d96f98f4
Merge pull request #63484 from ClickHouse/fix-custom-web-disk-with-config-reload
Fix logical error when reloading config with customly created web disk broken after #56367
2024-05-08 09:28:54 +00:00
vdimir
00de6f2e58
Merge pull request #63481 from ClickHouse/vdimir/fix_mysql_dictionary_source
Fix mysql dictionary source
2024-05-08 08:36:32 +00:00
Han Fei
746e96eddd Merge branch 'master' into hanfei/fix-intersection 2024-05-07 23:54:54 +02:00
Kseniia Sumarokova
3f5feb1520
Update test.py 2024-05-07 23:53:30 +02:00
Vitaly Baranov
7a1e6b7c33
Merge pull request #57684 from vitlibar/fix-backup-for-multiple-shards
Fix making backup when multiple shards are used
2024-05-07 21:38:04 +00:00
Kseniia Sumarokova
60cf7cdb80
Merge pull request #62120 from zvonand/zvonand-s3-globs
Improve S3 glob performance
2024-05-07 20:39:16 +00:00
Julia Kartseva
fc9fa706fb
Merge pull request #63365 from jkartseva/support-generic-disk-s3-plain-rw
Enable plain_rewritable metadata for `local` and `azure` object storages
2024-05-07 19:37:28 +00:00
kssenii
836cf150b5 Fix 2024-05-07 19:00:30 +02:00
vdimir
b2377c3fef
Fix mysql dictionary source 2024-05-07 15:31:35 +00:00
Anton Popov
78a5e52997
Merge pull request #63233 from CurtizJ/return-back-61551
Return back #61551 (More optimal loading of marks)
2024-05-07 13:40:55 +00:00
kssenii
cd093ca793 Merge remote-tracking branch 'origin/master' into use-iobject-storage-for-table-engines-1 2024-05-07 12:50:48 +02:00
Kseniia Sumarokova
090ef99339
Merge pull request #60312 from ClickHouse/make-rabbitmq-reject-broken-messages
Make rabbitmq nack broken messages
2024-05-07 10:11:29 +00:00
Julia Kartseva
c6f17b25e4 plain_rewritable: add integration test for Azure 2024-05-07 03:53:23 +00:00
Кирилл Гарбар
a20ef2a3d0 Add allow without connection setting to MaterializedMySQLSettings 2024-05-07 02:06:13 +03:00
Igor Nikonov
e986619ce3
Merge pull request #61935 from ClickHouse/pr-receive-timeout-on-handshake
Parallel replicas: table check failover
2024-05-06 10:30:59 +00:00
Кирилл Гарбар
cb4f78d9d8 Allow to create MaterializedMySQL database without connection 2024-05-06 13:04:28 +03:00
Arthur Passos
db21c2cf0a fix tests 2024-05-04 11:12:18 -03:00
Arthur Passos
11dacf040e fix tests 2024-05-04 11:03:40 -03:00
Arthur Passos
a157d6abd6 remove unused node 2024-05-03 11:49:12 -03:00
Anton Popov
ccfe3f8cbc fix test 2024-05-03 13:59:02 +00:00
kssenii
e9d9f2bc25 Merge remote-tracking branch 'origin/master' into use-iobject-storage-for-table-engines-1 2024-05-03 13:55:12 +02:00
Arthur Passos
3269380869 update tests 2024-05-02 20:35:21 -03:00
Arthur Passos
f4da4f1eb0 env no proxy tests 2024-05-02 20:29:05 -03:00
Igor Nikonov
376c54c7f9 Merge remote-tracking branch 'origin/master' into pr-receive-timeout-on-handshake 2024-05-02 19:15:14 +00:00
Smita Kulkarni
752c31722a Fix typo 2024-05-02 20:10:37 +02:00
Smita Kulkarni
5cc9a77a89 Remove delete_all_files to fix flaky test 2024-05-02 20:07:43 +02:00
Kseniia Sumarokova
33a0e8035f
Merge pull request #61250 from ClickHouse/less-contentaion-in-cache-part4
Less contention in cache, part 4
2024-05-02 15:18:16 +00:00
Sema Checherinda
083bcfc1ce distinct message for s3 error 'no key' for cases disk and storage 2024-05-02 13:08:25 +02:00
kssenii
3f9ca1cbfe Merge remote-tracking branch 'origin/master' into less-contentaion-in-cache-part4 2024-05-02 13:04:05 +02:00
Duc Canh Le
feb12c8200 Merge branch 'master' into fix_a_test
Try fix CI test
2024-05-02 05:37:39 +00:00
SmitaRKulkarni
f79c1c30d0
Merge pull request #63158 from ClickHouse/Azure_backup_test_fix
Fix azure backup flaky test
2024-05-01 16:23:39 +00:00
Konstantin Bogdanov
fc5624e3b1
Merge pull request #63106 from korowa/include-from-yml
allow YAML sources in include_from
2024-05-01 12:49:19 +00:00
Duc Canh Le
4c7a9c1e32 Merge branch 'master' into fix_a_test
Try fix CI tests
2024-05-01 01:52:40 +00:00
Anton Popov
424e3f12e2 Revert "Merge pull request #62577 from ClickHouse/revert-61551-better-marks-loading"
This reverts commit 17315e53b8, reversing
changes made to ed35fddddd.
2024-05-01 00:52:15 +00:00
Han Fei
2effd82fc2 better style 2024-04-30 20:24:37 +02:00
Han Fei
e7f66384f1 fix intersection when restart after drop range 2024-04-30 20:11:41 +02:00
Igor Nikonov
0d6cac4068 Fix: simplify test 2024-04-30 14:25:19 +00:00
robot-clickhouse
821052dadc Automatic style fix 2024-04-30 08:12:01 +00:00
Smita Kulkarni
156f171224 Fix azure backup flaky test 2024-04-30 10:02:46 +02:00
Alexey Milovidov
90d8e3cb97
Merge pull request #61116 from jkartseva/s3-plain-with-replace
S3-plain based disk supporting directory rename
2024-04-30 04:12:17 +02:00
Duc Canh Le
9ac6720248 add a explain comment to test
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
2024-04-30 01:21:01 +00:00
Duc Canh Le
0bbc730d21 Merge branch 'master' into fix_a_test
Resolve conflicts

Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
2024-04-30 01:20:41 +00:00
Alexander Tokmakov
37950a5f4e
Merge pull request #62738 from pamarcos/pamarcos/system-unload-primary-key
Add SYSTEM UNLOAD PRIMARY KEY
2024-04-29 21:18:01 +00:00
Julia Kartseva
36a1cae910 address feedback - pt.1 2024-04-29 18:01:21 +00:00
Julia Kartseva
5e716bcfb8 extend system logs integration tests 2024-04-29 18:01:21 +00:00
Julia Kartseva
a3ce6162c4 add integration test 2024-04-29 18:01:21 +00:00
Igor Nikonov
20884efdcc Merge remote-tracking branch 'origin/master' into pr-receive-timeout-on-handshake 2024-04-29 13:36:13 +00:00
unashi
fb16b6d3a2 [fix] test again 2024-04-29 19:23:24 +08:00
kssenii
f79bb23a1b Merge remote-tracking branch 'origin/master' into make-rabbitmq-reject-broken-messages 2024-04-29 11:49:05 +02:00
Eduard Karacharov
979efcad49 allow YAML sources in include_from 2024-04-29 12:42:56 +03:00
Azat Khuzhin
3e68103ac8 Fix interserver secret for Distributed over Distributed from remote()
Right if you are executing remote() and later the query will
go to the cluster with interserver secret, then you should have the same
user on the nodes from that cluster, otherwise the query will fail with:

    DB::NetException: Connection reset by peer

And on the remote node:

    <Debug> TCPHandler: User (initial, interserver mode): new_user (client: 172.16.1.5:40536)
    <Debug> TCP_INTERSERVER-Session: d29ecf7d-2c1c-44d2-8cc9-4ab08175bf05 Authentication failed with error: new_user: Authentication failed: password is incorrect, or there is no user with such name.
    <Error> ServerErrorHandler: Code: 516. DB::Exception: new_user: Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below):

The problem is that remote() will not use passed to it user in
any form, and instead, the initial user will be used, i.e. "cli_user"
not "query_user":

    chc --user cli_user -q "select * from remote(node, default, some_dist_table, 'query_user')"

Fix this by using the user from query for the remote().

Note, that the Distributed over Distributed in case of tables still wont
work, for this you have to have the same users on all nodes in all
clusters that are involved in case of interserver secret is enabled (see
also test).

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>

v2: move client initial_user adjustment into ClusterProxy/executeQuery.cpp
v3: we cannot check for interserver_mode in
    updateSettingsAndClientInfoForCluster() since it is not yet
    interserver in remote() context
2024-04-29 07:12:17 +02:00
unashi
b3a20cb4b4 [fix] style check fix 2024-04-29 10:48:00 +08:00
unashi
c0a2fba00f [fix] check style fix 2024-04-29 10:19:18 +08:00
unashi
51db98a158 [fix] Add space after config 2024-04-28 21:29:27 +08:00
unashi
9d94a3cf95 [update] fix the integration test 2024-04-28 21:26:35 +08:00
kssenii
8c4476d7db Merge remote-tracking branch 'origin/master' into less-contentaion-in-cache-part4 2024-04-28 13:36:16 +02:00
unashi
73c6d09eff [solve config] 2024-04-28 19:20:57 +08:00
kssenii
7a416f2e76 Merge remote-tracking branch 'origin/master' into use-iobject-storage-for-table-engines-1 2024-04-28 12:19:32 +02:00
unashi
b15141f1b1 [feature fix] 1. replace can't work between different disks; 2. Add freezeRemote for attach partition 2024-04-28 17:34:26 +08:00
Alexey Milovidov
d9fa3fdceb
Merge pull request #63069 from azat/tests/integration-old-analyzer
Fix integration tests with old analyzer (and fix some leftovers of enabling it)
2024-04-27 21:43:07 +00:00
Alexey Milovidov
753dd30a40
Merge pull request #63070 from azat/tests/dist-inter-server-backward
Get back test for old inter-server mode (DBMS_MIN_REVISION_WITH_INTERSERVER_SECRET non-v2)
2024-04-27 21:42:11 +00:00
Azat Khuzhin
98df6b88a0 tests: forbid allow_experimental_analyzer if tag was specified
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-04-27 15:49:09 +02:00
Azat Khuzhin
5facb1d099 Get back test for old inter-server mode (DBMS_MIN_REVISION_WITH_INTERSERVER_SECRET non-v2)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-04-27 15:29:14 +02:00
Azat Khuzhin
52091916dc Fix leftovers of enabling new analyzer
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-04-27 11:19:03 +02:00
Azat Khuzhin
03d52e7e49 Better handling of old analyzer check in intergraion tests runner
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-04-27 10:32:27 +02:00
Azat Khuzhin
85ea46de77 Fix integration tests with old analyzer
This reverts commit 67d39a22ac.
2024-04-27 10:29:13 +02:00
Pablo Marcos
9002d4c751 Merge branch 'master' into pamarcos/system-unload-primary-key 2024-04-27 08:57:29 +02:00
Konstantin Bogdanov
64de52397e
Merge pull request #62978 from ClickHouse/fix-grpc-ipv6-crash
gRPC: fix crash on IPv6 peer connection
2024-04-27 06:22:41 +00:00
Nikita Mikhaylov
ed7e4291ab
Merge pull request #62937 from ClickHouse/docs-remove-replicated-experimental-tag
Remove experimental tag from Replicated database engine
2024-04-26 17:56:06 +00:00
kssenii
91014456b5 Merge remote-tracking branch 'origin/master' into use-iobject-storage-for-table-engines-1 2024-04-26 19:24:07 +02:00
kssenii
434d2d16f1 Cleanuo 2024-04-26 19:23:33 +02:00
Vitaly Baranov
faae8a4f2b Add tests for backup on cluster with 2 shards and 2 replicas. 2024-04-26 10:10:45 +02:00
Nikita Mikhaylov
a8683a8bd5 Remove the setting from tests 2024-04-25 22:13:14 +02:00
Pablo Marcos
24b84ef68a Merge branch 'master' into pamarcos/system-unload-primary-key 2024-04-25 18:26:14 +02:00
Konstantin Bogdanov
7326e2a0fa
Fix aborting on IPv6 peer address 2024-04-25 16:44:16 +02:00
Nikita Mikhaylov
37a34af98f
Merge branch 'master' into dont-optimize-trivial-insert-select 2024-04-25 13:24:05 +02:00
Nikita Mikhaylov
5ea95cbbec
Merge branch 'master' into access-controls-enable-by-default 2024-04-25 13:21:23 +02:00
Andrey Zvonov
b83a59271a Merge branch 'master' of github.com:ClickHouse/ClickHouse into zvonand-s3-globs 2024-04-24 22:14:55 +00:00
robot-clickhouse
cf7dd8b86a Automatic style fix 2024-04-24 21:24:08 +00:00
Igor Nikonov
33b9e589c6 Add test_skip_replicas_without_table 2024-04-24 21:13:07 +00:00
Igor Nikonov
6db303cea3 Merge remote-tracking branch 'origin/master' into pr-receive-timeout-on-handshake 2024-04-24 18:56:49 +00:00
Igor Nikonov
abf5be05b8 Set table for parallel replicas with analyzer 2024-04-24 18:56:03 +00:00
alesapin
1b562ce569
Merge pull request #61769 from kirillgarbar/modify-engine
Search for convert_to_replicated flag at the correct path
2024-04-24 18:17:29 +00:00
Han Fei
42621b2060 Merge branch 'master' into hanfei/stats_uniq 2024-04-24 19:55:15 +02:00
Han Fei
3a380642cc address comments 2024-04-24 18:20:48 +02:00
Vitaly Baranov
e42967c724 Add test. 2024-04-20 16:48:26 +01:00
Kruglov Pavel
37620e23a1
Merge branch 'master' into better-exception-s3-globs-partitions 2024-04-20 15:42:38 +01:00
kssenii
191937c0c6 Fix style check 2024-04-20 10:19:55 +01:00
kssenii
e2e6071063 Fix a few more tests 2024-04-19 13:44:07 +01:00
Pablo Marcos
c28af20e2a Merge branch 'master' into pamarcos/system-unload-primary-key 2024-04-18 17:53:11 +02:00
jsc0218
7525b2acf4
Merge pull request #60117 from jsc0218/TableEngineGrant_version2
TableEngineGrant_version2
2024-04-18 14:30:34 +00:00
Pablo Marcos
8d4d5a84f2 fixup! Fix test_grant_and_revoke/test.py::test_grant_all_on_table with new entry 2024-04-18 15:12:11 +02:00
Pablo Marcos
6e5fe39e57 Fix test_grant_and_revoke/test.py::test_grant_all_on_table with new entry 2024-04-18 13:13:28 +02:00
jsc0218
6e5afb8b89 grant all table engines in allow_database 2024-04-18 02:00:28 +00:00
Igor Nikonov
043c62931d Merge remote-tracking branch 'origin/master' into pr-receive-timeout-on-handshake 2024-04-17 16:48:40 +00:00
jsc0218
80fa1ab89a fix 2024-04-17 00:31:15 +00:00
Robert Schulze
7dc05d092b
Merge remote-tracking branch 'rschu1ze/master' into be-less-boring-32 2024-04-15 16:35:10 +00:00
kssenii
ed460aa13f Merge remote-tracking branch 'origin/master' into use-iobject-storage-for-table-engines-1 2024-04-15 16:39:36 +01:00
Vitaly Baranov
4efa03717b
Merge pull request #62601 from vitlibar/avoid-evaluating-table-defaults-while-restoring
Avoid evaluating table DEFAULT expressions while executing RESTORE
2024-04-15 15:32:42 +00:00
Robert Schulze
2a3b5bd74d
Merge pull request #58956 from AVMusorin/kafka-settings
Separate consumer/producer settings for Kafka
2024-04-15 15:11:19 +00:00
kssenii
3312c6675f Merge remote-tracking branch 'origin/master' into make-rabbitmq-reject-broken-messages 2024-04-15 11:37:11 +01:00
Kruglov Pavel
c458920ee5
Merge pull request #62425 from Avogar/fix-partitioned-write
Respect settings truncate_on_insert/create_new_file_on_insert in s3/hdfs/azure engines during partitioned write
2024-04-15 10:29:18 +00:00
kssenii
27672e1dfc Merge remote-tracking branch 'origin/master' into use-iobject-storage-for-table-engines-1 2024-04-15 11:28:14 +01:00
Vitaly Baranov
6c6faaa05d Add test. 2024-04-12 15:45:58 +02:00
Nikita Taranov
17315e53b8
Merge pull request #62577 from ClickHouse/revert-61551-better-marks-loading
Revert "More optimal loading of marks"
2024-04-12 13:00:20 +00:00
SmitaRKulkarni
09cbd7e8be
Merge pull request #62447 from ClickHouse/Fix_azure_restore
Fix backup restore path for AzureBlobStorage
2024-04-12 08:54:09 +00:00
Nikita Taranov
3ce02239c6
Revert "More optimal loading of marks" 2024-04-11 23:12:11 +02:00
Smita Kulkarni
3d9bead362 Merge branch 'master' into Fix_azure_restore 2024-04-11 16:08:27 +02:00
Alexander Tokmakov
c1c7cf56bd
Revert "[feature]: allow to attach parts from a different disk" 2024-04-11 13:43:51 +02:00
Yakov Olkhovskiy
a1dc43cd71
Merge pull request #62206 from vitlibar/fix-parsing-booleans-in-settings
Fix parsing booleans in settings
2024-04-10 21:30:29 +00:00
Igor Nikonov
912592ca78 Merge remote-tracking branch 'origin/master' into pr-receive-timeout-on-handshake 2024-04-10 18:35:33 +00:00
kssenii
04ca143758 Merge remote-tracking branch 'origin/master' into make-rabbitmq-reject-broken-messages 2024-04-10 19:11:14 +02:00
Anton Popov
4a8c1bf6a3
Merge pull request #62306 from CurtizJ/azure-retryable-errors
Better handling of errors from azure storage
2024-04-10 13:38:33 +00:00
Smita Kulkarni
49a9fc8d59 Merge branch 'master' into Fix_azure_restore 2024-04-10 15:14:21 +02:00
Andrey Zvonov
9ffc105f98 Merge branch 'zvonand-s3-globs' of github.com:zvonand/ClickHouse into zvonand-s3-globs 2024-04-10 12:02:18 +00:00
Andrey Zvonov
c9b05eac02 fix test_s3_glob_many_objects_under_selection 2024-04-10 12:02:01 +00:00
Andrey Zvonov
4566fe02e5
Merge branch 'ClickHouse:master' into zvonand-s3-globs 2024-04-10 11:02:17 +02:00
Kseniia Sumarokova
19658194da
Merge branch 'master' into less-contentaion-in-cache-part4 2024-04-10 10:59:59 +02:00
Andrey Zvonov
093b71b858 added test for selection globs with many files under 2024-04-09 21:01:01 +00:00
kssenii
ef0231e781 Merge remote-tracking branch 'origin/master' into less-contentaion-in-cache-part4 2024-04-09 17:28:49 +02:00
Nikolai Kochetov
283fc115ba Updating the test. 2024-04-09 15:17:26 +00:00
robot-clickhouse
950d1dfb86 Automatic style fix 2024-04-09 14:02:35 +00:00
Smita Kulkarni
33c0ac5cc6 Fix backup restore path for AzureBlobStorage 2024-04-09 15:50:15 +02:00
Han Fei
e5aa439ca0 Merge branch 'master' into hanfei/stats_uniq 2024-04-09 12:15:31 +02:00
avogar
8accf395fb Fix for HDFS and Azure 2024-04-08 20:37:06 +00:00
avogar
ef518946f3 Respect settings truncate_on_insert/create_new_file_on_insert in s3/hdfs/azure engines 2024-04-08 20:18:47 +00:00
Vitaly Baranov
ade0a311cf Fix tests 2024-04-08 20:04:14 +02:00
robot-clickhouse
7fcfbffd0c Automatic style fix 2024-04-08 15:01:11 +00:00
Nikolai Kochetov
b97e16f2b4
Merge bcccbe2b19 into c369d2171d 2024-04-08 16:54:43 +02:00
Nikolai Kochetov
82b2adef97 Fix GLOBAL IN table queries with analyzer. 2024-04-08 14:50:13 +00:00
Andrey Zvonov
98ca507f93 Merge branch 'master' of github.com:ClickHouse/ClickHouse into zvonand-s3-globs 2024-04-08 14:04:34 +00:00
kssenii
7404e7d27b Add a test 2024-04-08 15:24:00 +02:00
Robert Schulze
d30b48f54e
Disable session caching to work around tsan races 2024-04-08 11:16:06 +00:00
Robert Schulze
c556f62f51
Fix test_ssl_cert_authentication 2024-04-08 11:03:51 +00:00
Robert Schulze
0674582028
Fix test_replicated_merge_tree_encryption_codec 2024-04-08 11:03:47 +00:00
alesapin
22caa3eb73 Merge remote-tracking branch 'origin/master' into try_global_trace_collector 2024-04-06 11:21:27 +02:00
Anton Popov
fa01f26def add test 2024-04-05 17:39:12 +00:00
kssenii
357e5e3ae6 Merge remote-tracking branch 'origin/master' into use-iobject-storage-for-table-engines-1 2024-04-05 16:15:56 +02:00
Vitaly Baranov
3012e4bc27
Merge pull request #62207 from vitlibar/fix-restoring-parts-while-readonly
Fix restoring parts while readonly
2024-04-05 13:57:27 +02:00
alesapin
e514a8b49d Merge remote-tracking branch 'origin/master' into try_global_trace_collector 2024-04-05 12:40:25 +02:00
zvonand
e385810796 fix black 2024-04-04 22:18:41 +02:00
Vitaly Baranov
43687e5732
Update tests/integration/test_backup_restore_on_cluster/test_slow_rmt.py
Co-authored-by: pufit <pufit@yandex.ru>
2024-04-04 22:10:16 +02:00
Vitaly Baranov
43d8988744
Update tests/integration/test_backup_restore_on_cluster/test_slow_rmt.py
Co-authored-by: pufit <pufit@yandex.ru>
2024-04-04 22:10:06 +02:00
zvonand
f4487d080a Merge branch 'master' of github.com:ClickHouse/ClickHouse into zvonand-s3-globs 2024-04-04 21:57:10 +02:00
Andrey Zvonov
ce3969e25d adapt test to new behavior 2024-04-04 19:47:34 +00:00
kssenii
29ae0800b0 Merge remote-tracking branch 'origin/master' into make-rabbitmq-reject-broken-messages 2024-04-04 14:02:34 +02:00
kssenii
1e982a2368 Merge remote-tracking branch 'origin/master' into use-iobject-storage-for-table-engines-1 2024-04-04 13:26:06 +02:00
kssenii
be30806dbe Merge remote-tracking branch 'origin/master' into use-iobject-storage-for-table-engines-1 2024-04-04 13:20:12 +02:00
Antonio Andelic
6197a62f0f
Merge pull request #62175 from ClickHouse/user-specific-s3-backup-on-cluster
User specific S3 endpoint for Backup/Restore on cluster
2024-04-04 12:46:29 +02:00
alesapin
58c79af80b Simpler 2024-04-04 12:22:11 +02:00
jsc0218
a1e3a4a58c fix test 2024-04-04 02:02:58 +00:00
jsc0218
ee589f8a8b Merge remote-tracking branch 'origin/master' into TableEngineGrant_version2 2024-04-03 17:17:33 +00:00
Han Fei
5df9152332 Merge branch 'master' into hanfei/stats_uniq 2024-04-03 17:25:38 +02:00
Sema Checherinda
19e85c58cf
Merge pull request #62068 from ClickHouse/chesema-fix-url-storage
ReadWriteBufferFromHTTP set right header host when redirected
2024-04-03 12:52:49 +02:00
Antonio Andelic
cc31b837f2 User specific S3 endpoint backup/restore ON CLUSTER 2024-04-03 08:55:56 +02:00
Vitaly Baranov
44fa62c0a4 Add test. 2024-04-02 23:44:49 +02:00
robot-clickhouse
a3028ed9cd Automatic style fix 2024-04-02 16:20:09 +00:00
alesapin
add92939da
Merge d11d10050b into e037e68130 2024-04-02 16:08:10 +00:00
alesapin
f5c5146153 [RFC] Try to add global Real and CPU trace collector 2024-04-02 18:04:53 +02:00
kssenii
0664ca3e7e Merge remote-tracking branch 'origin/master' into make-rabbitmq-reject-broken-messages 2024-04-02 17:55:20 +02:00
vdimir
f1345723d0
Merge pull request #61972 from ClickHouse/vdimir/storage_join_load_order
Fix storage join files loading order
2024-04-02 17:08:08 +02:00
Han Fei
11a4ae516d Merge branch 'master' into hanfei/stats_uniq 2024-04-01 22:46:28 +02:00
Anton Popov
0c25ea2230
Merge pull request #61551 from CurtizJ/better-marks-loading
More optimal loading of marks
2024-04-01 18:31:01 +02:00
vdimir
e5f218c4cc
Merge branch 'master' into vdimir/storage_join_load_order 2024-04-01 14:15:01 +02:00
robot-clickhouse
267ebba3c0 Automatic style fix 2024-03-31 23:43:28 +00:00
Sema Checherinda
4c08c7c1da
Merge 9a9f0161bb into 5e7a90f85f 2024-03-31 23:33:53 +00:00
Sema Checherinda
9a9f0161bb add test 2024-04-01 01:33:40 +02:00
Han Fei
419ac380f1
Merge pull request #61953 from hanfei1991/hanfei/fix-quorum-retry
fix logical-error when undoing quorum insert transaction
2024-03-28 20:49:32 +01:00
kssenii
961704ba17 Style check 2024-03-28 15:00:49 +01:00
Kseniia Sumarokova
0244e0851a
Merge pull request #61954 from ClickHouse/follow-up-broken-projections
Follow up to #60452
2024-03-28 14:23:28 +01:00
kssenii
5c63d09c5b More tests fixes 2024-03-28 14:15:14 +01:00
Nikita Fomichev
a63f4783bf
Merge pull request #61869 from fm4v/fix-flaky-tests2
Fix flaky tests 2 (stateless, integration)
2024-03-28 10:57:19 +01:00
kssenii
ca1c119115 Merge remote-tracking branch 'origin/master' into use-iobject-storage-for-table-engines-1 2024-03-27 22:32:44 +01:00
Kseniia Sumarokova
ffd29f8b72
Update test.py 2024-03-27 22:29:36 +01:00
Alexey Milovidov
795026af72
Merge pull request #61911 from ClickHouse/jamesweb
Make userspace page cache work with 'web' disks
2024-03-28 00:18:27 +03:00
Han Fei
343b51ccfa fix style 2024-03-27 21:27:07 +01:00
Nikita Taranov
7b17b14aa0
Merge pull request #61671 from GrigoryPervakov/master
Reload certificate chain during certificate reload
2024-03-27 21:19:32 +01:00
kssenii
480251e593 Fix style check 2024-03-27 19:28:11 +01:00
kssenii
e0c02bf3af Merge remote-tracking branch 'origin/master' into use-iobject-storage-for-table-engines-1 2024-03-27 19:27:07 +01:00
kssenii
6a585600f0 Update test 2024-03-27 19:21:13 +01:00
kssenii
7a991de488 Fix tests 2024-03-27 19:06:19 +01:00
Han Fei
e849c48e21 add a test 2024-03-27 18:56:13 +01:00
Aleksandr Musorin
f9d81bc774 refactore: improve reading several configurations for kafka
Simplify and do some refactoring for kafka client settings.

Allows to set up separate
settings for consumer and producer like:

```
<consumer>
    ...
</consumer>

<producer>
    <kafka_topic>
        <name>topic_name</name>
        ...
    </kafka_topic>
</producer>
```

Moreover, this fixes warnings from kafka client like:
`Configuration property session.timeout.ms is a consumer property and
will be ignored by this producer instance`
2024-03-27 14:53:33 +01:00
Yarik Briukhovetskyi
844bb4f06c
Merge pull request #61727 from yariks5s/fix_undrop_query
Revert "Revert "Un-flake test_undrop_query""
2024-03-27 13:12:50 +01:00
vdimir
128c51c6fc
Fix storage join loading order 2024-03-27 11:27:30 +00:00
kssenii
2ce0d647f2 Small test fix 2024-03-26 21:39:23 +01:00
Dmitry Novik
65121b712e Merge remote-tracking branch 'origin/master' into enable-analyzer 2024-03-26 19:02:30 +01:00
kssenii
a777045dd3 Fix and more tests for broken projections handling 2024-03-26 18:47:48 +01:00
Yarik Briukhovetskyi
24b9bde70a
Update test.py 2024-03-26 18:30:44 +01:00
Yarik Briukhovetskyi
5275a7f8bf
black check 2024-03-26 18:26:32 +01:00
yariks5s
4db84187f1 speed up tests 2024-03-26 17:04:04 +00:00
yariks5s
c01448f0b6 Make tests faster + docs improvement 2024-03-26 17:00:35 +00:00
Nikita Fomichev
33e3d831f8 integration tests: add test test_replicated_database_compare_parts 2024-03-26 17:55:37 +01:00
Nikita Fomichev
e98d6fd24c integration tests: persist pdb history between test runs
Run pytest --pdb. On failure or breakpoint, it will fall back to PDB. Commands written here will be saved to a local file and loaded at the start of the next test run.
2024-03-26 17:55:37 +01:00
Nikita Fomichev
012431c043 integration tests: ClickHouseCluster.get_docker_handle() wait docker frequently and less time 2024-03-26 17:55:37 +01:00
Nikita Fomichev
31cd44457f integration tests: fix flaky tests 2024-03-26 17:55:37 +01:00
robot-clickhouse
bbb14955a6 Automatic style fix 2024-03-26 12:48:01 +00:00
Igor Nikonov
972af33400 Timeout injection 2024-03-26 12:30:16 +00:00
kssenii
14c60dea8e Fix flaky test_broken_projestions/test.py::test_broken_ignored_replicated 2024-03-26 12:19:30 +01:00
Kseniia Sumarokova
fd8e34a0ba
Merge pull request #60452 from ClickHouse/revert-refert-of-broken-projections-handling
Revert "Revert "Merge pull request #56864 from ClickHouse/broken-projections-better-handling""
2024-03-26 10:34:48 +01:00
robot-clickhouse
cd167cf429 Automatic style fix 2024-03-26 09:15:05 +00:00
Michael Kolupaev
1f0de3de64 Add a test and remove unrelated unused profile events 2024-03-26 09:14:55 +00:00
Max K
b4ed7ded9a
Merge pull request #61778 from ClickHouse/ci_disable_grpc_tests_on_arm
CI: disable grpc tests on ARM
2024-03-25 21:50:58 +01:00
Alexey Milovidov
1928e7d1f6
Merge pull request #60886 from ArctypeZach/master
Add support for `START TRANSACTION` syntax
2024-03-25 21:09:48 +03:00
Yarik Briukhovetskyi
30df4589ed
black check 2024-03-25 18:18:17 +01:00
Yarik Briukhovetskyi
67ba86e7d3
Update test.py 2024-03-25 17:30:01 +01:00
yariks5s
b0cbbe6ec0 fix 2024-03-25 16:24:46 +00:00
Han Fei
61052e17b3 Merge branch 'master' into hanfei/stats_uniq 2024-03-25 17:23:12 +01:00
yariks5s
9227305950 Merge branch 'fix_undrop_query' of github.com:yariks5s/ClickHouse into fix_undrop_query 2024-03-25 16:22:05 +00:00
yariks5s
81bf65c555 fix tests flakiness 2024-03-25 16:14:06 +00:00
kssenii
46941e7243 Merge remote-tracking branch 'origin/master' into use-iobject-storage-for-table-engines-1 2024-03-25 15:10:11 +01:00
Pervakov Grigorii
570dc32b07 fix style 2024-03-25 14:09:53 +00:00
Pervakov Grigorii
6b50f5bf10 Reload certificate chain during certificate reload 2024-03-25 14:09:53 +00:00
kssenii
e3d2fb28cf Merge remote-tracking branch 'origin/master' into revert-refert-of-broken-projections-handling 2024-03-25 13:54:39 +01:00
Yarik Briukhovetskyi
8bdbfce43c
Merge branch 'master' into fix_undrop_query 2024-03-25 13:06:46 +01:00
SmitaRKulkarni
a642f4d3ec
Merge pull request #59929 from ClickHouse/Azure_write_buffer
Asynchronous WriteBuffer for AzureBlobStorage
2024-03-25 10:32:56 +01:00
SmitaRKulkarni
f16dffaefc
Merge pull request #61503 from ClickHouse/Azure_read_buffer
Add support of ParallelReadBuffer to ReadBufferFromAzureBlobStorage
2024-03-25 09:51:59 +01:00
Alexey Milovidov
44ed1fb6d2
Merge branch 'master' into dont-optimize-trivial-insert-select 2024-03-25 07:24:19 +03:00
Alexey Milovidov
06a9ac7126 Fix tests 2024-03-24 23:23:13 +01:00
Alexey Milovidov
8cffc9aa14 Merge branch 'master' into dont-optimize-trivial-insert-select 2024-03-24 23:21:29 +01:00
Dmitry Novik
64301191b1 Merge remote-tracking branch 'origin/master' into enable-analyzer 2024-03-24 21:07:26 +00:00
Dmitry Novik
67d39a22ac Fix cluster.py 2024-03-24 21:06:13 +00:00
Alexey Milovidov
9210712f4f
Merge pull request #60112 from Unalian/feat-59377
[feature]: allow to attach parts from a different disk
2024-03-24 23:12:43 +03:00
Smita Kulkarni
0d54dbf460 Merge branch 'master' into Azure_write_buffer 2024-03-24 20:09:47 +01:00
Alexey Milovidov
41b8dcd42e Merge branch 'master' into dont-optimize-trivial-insert-select 2024-03-24 19:06:34 +01:00
Alexey Milovidov
2282213e08
Merge pull request #61816 from fm4v/fix-flaky-tests
Fix flaky tests (stateless, integration)
2024-03-24 19:25:58 +03:00
alesapin
a41c005a6e
Merge branch 'master' into Azure_write_buffer 2024-03-24 15:04:18 +01:00
Alexey Milovidov
008c252a26
Merge pull request #61365 from evillique/fix-attach-on-cluster
Fix ATTACH query with external ON CLUSTER
2024-03-24 04:17:42 +03:00
Nikita Fomichev
f7b100a885 Integration tests: fix flaky tests 2024-03-23 20:01:26 +01:00
Nikita Fomichev
789772caa1 Integration tests: rich exception message raised from ClickHouseInstance.query_with_retry() 2024-03-23 19:44:38 +01:00
Nikita Fomichev
39732174e9 Integration tests: set host user for mysql docker containers
When run pytest locally, tests fail because of `Permission denied: 'logs'`
2024-03-23 16:58:58 +01:00
Smita Kulkarni
19e7022a87 Merge branch 'master' into Azure_write_buffer 2024-03-23 11:48:10 +01:00
Smita Kulkarni
a8238ded09 Merge branch 'master' into Azure_read_buffer 2024-03-23 11:46:32 +01:00
Sean Haynes
dc677f0f18 Use scheduleOrThrow in MergeTree data selector thread pool
At the moment, the use of scheduleOrThrowOnError doesn't currently
have a timeout. So if you reach a point of saturation and use all
threads available in the global pool, threads block infinitely
and lead to a deadlock.

This changes that behaviour so that MergeTree data selector threads
will have a timeout and return a "No threads available" exception
to clients.

Credit to Nikita Mikhaylov for the proposition here:

https://github.com/ClickHouse/ClickHouse/pull/56431
2024-03-22 16:46:20 +00:00
Max Kainov
91e52ebee5 disable mysql57 tests 2024-03-22 16:40:17 +00:00
Nikolay Degterinsky
83ccd2a144 Merge remote-tracking branch 'upstream/master' into fix-attach-on-cluster 2024-03-22 16:06:01 +00:00
Dmitry Novik
df88eb26a5
Merge branch 'master' into enable-analyzer 2024-03-22 15:56:32 +01:00
Max K
57f9e0cbb2
Merge branch 'master' into ci_skip_never_fails_integr_test 2024-03-22 15:55:08 +01:00
Max Kainov
abbbd21b7e CI: disable grpc tests on ARM 2024-03-22 14:28:49 +00:00
Max K
d3965f27c1
Merge pull request #61542 from ClickHouse/ci_arm_support_kerberos
CI: ARM integration test - skip hdfs, kerberos, kafka
2024-03-22 15:25:30 +01:00
Max Kainov
ef0fa1963d CI: use ci-runner as module
#no_merge_commit
 #ci_set_integration
 #batch_0
2024-03-22 14:22:53 +00:00
Anton Popov
887a9ef184 Merge remote-tracking branch 'upstream/master' into HEAD 2024-03-22 13:37:46 +00:00
Dmitry Novik
d43a1a1984 Merge remote-tracking branch 'origin/master' into enable-analyzer 2024-03-22 14:15:57 +01:00
Кирилл Гарбар
51ff688f9f Use storage policy to find convert_to_replicated flag path 2024-03-22 16:04:10 +03:00
Dmitry Novik
411c535ac9 Fix integration tests 2024-03-22 13:59:44 +01:00
Han Fei
a367e07ae9 Merge branch 'master' into hanfei/stats_uniq 2024-03-22 12:48:39 +01:00
Alexey Milovidov
09c252f438
Update ci-runner.py 2024-03-22 04:17:24 +03:00
Alexey Milovidov
b91d478c93 There is no such thing as broken tests 2024-03-22 00:56:57 +01:00
robot-clickhouse
50bc8acc37 Automatic style fix 2024-03-21 21:26:53 +00:00