Commit Graph

10203 Commits

Author SHA1 Message Date
Sema Checherinda
abe58184df Merge branch 'master' into chesema-dedup-matview 2024-06-29 01:35:32 +02:00
Alexander Tokmakov
4748e2929f
Merge pull request #65570 from ClickHouse/keeper_az
Improve ZooKeeper load balancing
2024-06-28 22:57:20 +00:00
Igor Nikonov
94b30cfff2
Merge pull request #65588 from ClickHouse/fix-flaky-pr-distributed-skip-shards
Fix test_parallel_replicas_distributed_skip_shards flakiness
2024-06-28 19:06:00 +00:00
Alexander Tokmakov
c97ef5dc32
Merge pull request #65405 from Avogar/check-cyclic-dependencies-on-create
Check cyclic dependencies on CREATE/REPLACE/RENAME/EXCHANGE queries
2024-06-28 16:28:14 +00:00
SmitaRKulkarni
ccfe7c0121
Merge pull request #64757 from azat/load-part-without-columns.txt
Fix filling parts columns from metadata (when columns.txt does not exists)
2024-06-28 15:16:39 +00:00
Anton Popov
6957241388 Merge remote-tracking branch 'upstream/master' into HEAD 2024-06-28 14:19:13 +00:00
Kseniia Sumarokova
2673a773c3
Merge pull request #65458 from ClickHouse/add-azure-queue-storage
Add AzureQueue storage
2024-06-28 12:39:05 +00:00
Antonio Andelic
ab0968740c
Merge pull request #65702 from ClickHouse/jemalloc-inactive-profiler-by-default
Build jemalloc with profiler
2024-06-28 11:50:50 +00:00
kssenii
7f82cbf4e9 Merge remote-tracking branch 'origin' into fix-partitioned-delta-lake 2024-06-28 13:13:39 +02:00
Antonio Andelic
f1337e8c45 Merge2024-06-20 branch 'master' into jemalloc-inactive-profiler-by-default 2024-06-28 10:07:52 +02:00
Antonio Andelic
cb0cd60e62
Merge pull request #65766 from ClickHouse/fix-test_alter_attach
Fix flaky `test_replicated_database::test_alter_attach`
2024-06-28 08:06:45 +00:00
Andrey Zvonov
bf1cc136db make a better healthcheck 2024-06-27 19:30:45 +00:00
robot-clickhouse
3362b521d2 Automatic style fix 2024-06-27 14:43:52 +00:00
Antonio Andelic
86c3036bfb Fix flaky test_replicated_database::test_alter_attach 2024-06-27 14:06:42 +02:00
vdimir
27a72fd5c4
Merge branch 'master' into pufit/startup-scripts 2024-06-27 12:14:33 +02:00
Antonio Andelic
d35ca2ceee Merge branch 'master' into jemalloc-inactive-profiler-by-default 2024-06-27 11:49:18 +02:00
SmitaRKulkarni
4f01b9715b
Merge pull request #65273 from ClickHouse/Mask_azureblobstorage_access_key
Mask account key for azureBlobStorage
2024-06-27 09:21:43 +00:00
Konstantin Morozov
215802e74e fix style 2024-06-27 08:28:35 +00:00
Rodolphe Dugé de Bernonville
c8bca3135d fix odbc and nullable fields 2024-06-27 09:55:24 +02:00
Konstantin Morozov
84c97faf41 Merge branch 'master' into add_system_detach_tables 2024-06-27 07:52:36 +00:00
Konstantin Morozov
e06387e6da fix stle 2024-06-27 07:37:23 +00:00
Antonio Andelic
c9fa974472 Use background thread 2024-06-27 08:46:10 +02:00
Sema Checherinda
92375ec052 Merge branch 'master' into chesema-dedup-matview 2024-06-27 02:12:32 +02:00
Sema Checherinda
4d409831a0
Merge pull request #64478 from ClickHouse/chesema-fix-buffer-cancelation
make writebuffers cancelable
2024-06-26 22:12:30 +00:00
Alexander Tokmakov
fa108feab9 fix 2024-06-26 23:52:44 +02:00
divanik
4377a1f4ed Take test from master 2024-06-26 16:12:55 +00:00
Konstantin Morozov
c7dc99757a apply some comments 2024-06-26 15:39:16 +00:00
Sema Checherinda
5d2e2a9f44 Merge branch 'master' into chesema-dedup-matview 2024-06-26 17:03:05 +02:00
Kseniia Sumarokova
258e2f0421
Update test.py 2024-06-26 16:45:02 +02:00
divanik
cef503cb4c Revert test 2024-06-26 13:47:15 +00:00
divanik
9737c5593d Revert some tests 2024-06-26 13:25:34 +00:00
divanik
b387a8d86a Merge branch 'master' of github.com:ClickHouse/ClickHouse into divanik/fix_clickhouse_disks_2 2024-06-26 13:18:15 +00:00
divanik
e8e1cd79e0 Corrected integration tests 2024-06-26 13:17:39 +00:00
Smita Kulkarni
2ec0ffd4f0 Addressed review comments 2024-06-26 14:07:38 +02:00
kssenii
2ba697dcae Merge remote-tracking branch 'origin' into add-azure-queue-storage 2024-06-26 13:05:56 +02:00
Kseniia Sumarokova
bb7b1dd007
Merge pull request #65046 from ClickHouse/s3queue-improvements
S3Queue improvements
2024-06-26 09:47:47 +00:00
Alexander Tokmakov
43cb2f6af7 remove trash 2024-06-26 02:03:22 +02:00
Alexey Milovidov
6fd95c43f6 Merge branch 'master' into dont-optimize-trivial-insert-select 2024-06-26 00:02:10 +02:00
alesapin
12a129d838
Merge pull request #65545 from ClickHouse/add_customizeable_config_reloader_interval
Add ability to change config reload interval
2024-06-25 14:18:54 +00:00
kssenii
95b1651ba6 Better pytest 2024-06-25 13:56:01 +02:00
Nikita Taranov
615cd96c6e fix test 2024-06-25 12:48:43 +01:00
Igor Nikonov
eea38c4789
Merge pull request #65467 from ClickHouse/fix-pr-empty-query-result
Fix: return error if can't connect to any replicas chosen for query execution
2024-06-25 11:29:39 +00:00
Antonio Andelic
8d51815124 Fix 2024-06-25 12:13:44 +02:00
Antonio Andelic
674d1c6243 Merge branch 'master' into merge-tree-parallel-replicas-custom-key 2024-06-25 11:13:24 +02:00
Anton Popov
867a5650fc Merge remote-tracking branch 'upstream/master' into HEAD 2024-06-24 19:06:28 +00:00
Nikita Taranov
e20136ce25 fix test 2024-06-24 17:30:46 +01:00
avogar
52721add72 Merge branch 'master' of github.com:ClickHouse/ClickHouse into check-cyclic-dependencies-on-create 2024-06-24 13:30:16 +00:00
divanik
97f57ead28 Merge branch 'master' of github.com:ClickHouse/ClickHouse into divanik/fix_clickhouse_disks_2 2024-06-24 13:24:56 +00:00
Sema Checherinda
fb2f0e78f7
Merge pull request #63985 from ianton-ru/protocols-tls-extend-params
More parameters for tls layer in protocols
2024-06-24 12:41:56 +00:00
robot-clickhouse
e289fdb440 Automatic style fix 2024-06-24 12:07:40 +00:00
Igor Nikonov
2f8dc8c833 Merge remote-tracking branch 'origin/master' into fix-pr-empty-query-result 2024-06-24 11:59:25 +00:00
Igor Nikonov
3127177401 Test with no available replicas 2024-06-24 11:58:32 +00:00
Anton Popov
77bed97525
Merge pull request #65471 from CurtizJ/fix-azure-exists
Fix `AzureObjectStorage::exists` method
2024-06-24 10:38:48 +00:00
divanik
45507dd7d7 Merge branch 'master' of github.com:ClickHouse/ClickHouse into divanik/fix_clickhouse_disks_2 2024-06-24 09:58:31 +00:00
Kseniia Sumarokova
f529914e45
Merge pull request #65523 from ClickHouse/fix-bug-in-object-storage-source
Fix bug in `StorageObjectStorageSource::GlobIterator::nextImpl`
2024-06-24 09:49:45 +00:00
alesapin
fc10bf544f Merge remote-tracking branch 'origin/master' into add_customizeable_config_reloader_interval 2024-06-24 11:38:02 +02:00
Nikita Taranov
9ecf389c7d
Merge branch 'master' into cgroup_mem_observer 2024-06-24 00:33:48 +02:00
Alexander Tokmakov
3423a5571a fix tests 2024-06-23 23:55:45 +02:00
Alexey Milovidov
d2e230744d
Merge pull request #65494 from ClickHouse/strict-parsing-in-keeper-client
Strict parsing in keeper client
2024-06-23 19:22:06 +02:00
Igor Nikonov
6d7441a94a Fix: sync replicas 2024-06-23 16:27:15 +00:00
Alexey Milovidov
a9bdce02d8
Merge pull request #65305 from ClickHouse/byepc
Disable userspace page cache by default
2024-06-23 16:52:39 +02:00
Alexander Tokmakov
7576bb2519 fix 2024-06-23 13:57:20 +02:00
Alexey Milovidov
824716efef Fix tests 2024-06-23 02:46:58 +02:00
Alexander Tokmakov
dbdf4e1880 improve ZooKeeper load balancing 2024-06-23 01:58:28 +02:00
Alexey Milovidov
af361a73ff
Merge pull request #65498 from ClickHouse/revert-65028-fix-poco-send-http-buffer
Revert "Use 1MB HTTP buffers to avoid frequent send syscalls"
2024-06-22 20:45:20 +02:00
robot-clickhouse
750c902671 Automatic style fix 2024-06-21 20:45:01 +00:00
Nikita Taranov
7e0ed1b02c add test 2024-06-21 21:29:46 +01:00
Konstantin Morozov
873cb33031 Merge branch 'master' into add_system_detach_tables 2024-06-21 17:20:59 +00:00
alesapin
104dc8fa3e Fix server settings 2024-06-21 19:16:27 +02:00
Konstantin Morozov
7aa7b79772 refactor 2024-06-21 16:39:50 +00:00
Konstantin Morozov
237de4e775 add feature 2024-06-21 16:38:56 +00:00
alesapin
0dc01f4a94 Add ability to change config reload interval 2024-06-21 18:24:20 +02:00
pufit
9f3024cfd6 fix tests 2024-06-21 12:10:49 -04:00
Anton Popov
dd862d0abb add test 2024-06-21 15:16:14 +00:00
robot-clickhouse
581cc540ee Automatic style fix 2024-06-21 14:53:54 +00:00
kssenii
e278584c01 Add a test 2024-06-21 16:46:03 +02:00
Pablo Marcos
932e4bf982
Merge pull request #65381 from pamarcos/system-error-log
Add system.error_log
2024-06-21 13:04:23 +00:00
divanik
d933d63c3b Merge branch 'master' of github.com:ClickHouse/ClickHouse into divanik/fix_clickhouse_disks_2 2024-06-21 12:22:10 +00:00
avogar
0b9e6de6fb Fix remaining tests 2024-06-21 12:06:51 +00:00
kssenii
a066b78c4d Merge remote-tracking branch 'origin' into s3queue-improvements 2024-06-21 12:27:32 +02:00
kssenii
5447145c7a Fix test 2024-06-21 11:53:01 +02:00
Antonio Andelic
71c7c0edbc
Merge pull request #65481 from ClickHouse/fix-incremental-backup-user-specific-auth
Fix user specific auth with incremental backups
2024-06-21 09:32:47 +00:00
pufit
3786ca72d0 docs, review fixes 2024-06-21 02:02:30 -04:00
pufit
e1248d8d4d Merge branch 'master' into pufit/startup-scripts
# Conflicts:
#	src/Core/ServerSettings.h
2024-06-20 21:32:11 -04:00
Alexey Milovidov
9639f62a51 Fix test 2024-06-21 00:35:54 +02:00
Michael Kolupaev
952aae8bc2 Delete test 2024-06-20 18:44:45 +00:00
Alexey Milovidov
eed4b34e7d Fix test 2024-06-20 20:29:51 +02:00
Alexey Milovidov
c011cc9324 Fix test 2024-06-20 20:23:54 +02:00
Sema Checherinda
33e01a7ac0 Merge branch 'master' into chesema-less-backoff-timeout-try-2 2024-06-20 19:06:10 +02:00
Sema Checherinda
e36a641a80 Merge branch 'master' into protocols-tls-extend-params 2024-06-20 19:02:12 +02:00
robot-clickhouse
da55a213ef Automatic style fix 2024-06-20 16:38:11 +00:00
Pablo Marcos
71f8937abd Merge branch 'master' into system-error-log 2024-06-20 16:33:44 +00:00
kssenii
5904847316 Fix tests 2024-06-20 18:32:00 +02:00
Sema Checherinda
19bafb5063 Merge branch 'master' into chesema-fix-buffer-cancelation 2024-06-20 18:10:53 +02:00
Alexey Milovidov
079b7af58a Fix integration tests 2024-06-20 17:40:01 +02:00
divanik
6cce73bd99 Fixed some tests 2024-06-20 15:22:38 +00:00
Sergei Trifonov
e97c730e85
Revert "Use 1MB HTTP buffers to avoid frequent send syscalls" 2024-06-20 17:06:18 +02:00
divanik
2f8b61d3ad Merge branch 'master' of github.com:ClickHouse/ClickHouse into divanik/fix_clickhouse_disks_2 2024-06-20 14:49:23 +00:00
Antonio Andelic
d82759760b Fix test_keeper_snapshots 2024-06-20 16:38:07 +02:00
Smita Kulkarni
1248490f0d Added more tests for different signatures 2024-06-20 14:51:49 +02:00
Antonio Andelic
010ce20bd1 Merge branch 'master' into merge-tree-parallel-replicas-custom-key 2024-06-20 09:46:17 +02:00
Antonio Andelic
0b175336a6 Fix user specific auth with incremental backups 2024-06-20 09:37:53 +02:00
Smita Kulkarni
1f0405c77d Fixed test 2024-06-19 21:29:59 +02:00
robot-clickhouse
dc6fa85bc3 Automatic style fix 2024-06-19 14:37:55 +00:00
kssenii
c47c8d603e Add AzureQueue 2024-06-19 16:30:57 +02:00
Sema Checherinda
cb8b823867 unmute the test 2024-06-19 14:58:59 +02:00
divanik
b4ba760874 Merge branch 'master' of github.com:ClickHouse/ClickHouse into divanik/fix_clickhouse_disks_2 2024-06-19 12:57:05 +00:00
kssenii
78ccd03dd6 A few code renames in preparation for AzureQueue 2024-06-19 14:50:43 +02:00
Antonio Andelic
1ef9bad76f Custom key support for cluster_for_parallel_replicas 2024-06-19 14:46:15 +02:00
Kseniia Sumarokova
959467f8fa
Update test.py 2024-06-19 14:03:24 +02:00
kssenii
d259715158 Merge remote-tracking branch 'origin' into s3queue-improvements 2024-06-19 13:30:24 +02:00
Han Fei
5eca8db5fc
Merge pull request #64781 from XuJia0210/feature_database_and_table_count_limitation_issue56347
Feature database and table count limitation issue56347
2024-06-19 09:41:51 +00:00
Kseniia Sumarokova
784f66cf2f
Merge pull request #65239 from ClickHouse/tracing-try-2
Initialize global profiler for Poco::ThreadPool (needed for keeper, etc)
2024-06-19 09:00:46 +00:00
János Benjamin Antal
a8ba4f3d1b
Merge branch 'master' into kafka-zookeeper 2024-06-18 23:07:25 +02:00
Sergei Trifonov
f1cf1751f3
Merge pull request #65028 from ClickHouse/fix-poco-send-http-buffer
Use 1MB HTTP buffers to avoid frequent send syscalls
2024-06-18 18:38:38 +00:00
kssenii
1c415479f0 Do not release buckets until the files are commited 2024-06-18 18:58:38 +02:00
Kseniia Sumarokova
ece3efe09c
Update test.py 2024-06-18 16:33:59 +02:00
Han Fei
c32b97d904 Merge branch 'master' into feature_database_and_table_count_limitation_issue56347 2024-06-18 15:52:18 +02:00
robot-clickhouse
f2e4ec28cb Automatic style fix 2024-06-18 11:51:51 +00:00
János Benjamin Antal
03500bbe2f Style fix 2024-06-18 11:43:05 +00:00
János Benjamin Antal
6e1a901510 Make big chunk of integration tests to work with new storage kafka 2024-06-18 11:42:58 +00:00
Sema Checherinda
e1a7d139d1 Merge branch 'master' into chesema-fix-buffer-cancelation 2024-06-18 12:45:01 +02:00
alesapin
85771099f4
Merge pull request #64061 from ClickHouse/workload-for-merges
Workload classification for merges and mutations
2024-06-18 10:17:27 +00:00
Alexey Milovidov
909b4ae918
Merge pull request #57695 from ClickHouse/async-load-by-default
Asynchronous loading of tables by default
2024-06-18 09:59:37 +00:00
serxa
446e28d51b fix test 2024-06-18 09:29:52 +00:00
kssenii
5701e3e48b Fix test 2024-06-18 10:43:41 +02:00
Pablo Marcos
216d26987a Add test and config changes for system.error_log 2024-06-18 08:37:40 +00:00
Pablo Marcos
f10f266ea3 Remove unused imports 2024-06-18 08:37:40 +00:00
Xu Jia
f2a162a4a7 fix style error 2024-06-18 11:09:13 +08:00
Sema Checherinda
6b362c1cd6 Merge branch 'master' into chesema-mute-flaky-test 2024-06-17 23:12:39 +02:00
kssenii
8d072ade18 Update test 2024-06-17 22:35:49 +02:00
avogar
bd76fac77c Merge branch 'master' of github.com:ClickHouse/ClickHouse into async-load-by-default 2024-06-17 18:48:35 +00:00
avogar
abe12219e8 Merge branch 'master' of github.com:ClickHouse/ClickHouse into workload-for-merges 2024-06-17 18:04:47 +00:00
Sema Checherinda
4d73a4f13b Merge branch 'master' into chesema-dedup-matview 2024-06-17 18:27:20 +02:00
kssenii
cd1475a5df Debug why test failed on aarch64 2024-06-17 17:59:17 +02:00
Sema Checherinda
2d16ab0c07 Merge branch 'master' into chesema-fix-buffer-cancelation 2024-06-17 17:15:29 +02:00
kssenii
0f2c2cc9bf Fix tests 2024-06-17 17:11:17 +02:00
Sema Checherinda
eec118b703
Merge pull request #63562 from GSokol/feat-59620
[feature] A setting `http_response_headers`
2024-06-17 13:52:37 +00:00
Sema Checherinda
a7e1703b6d
Merge branch 'master' into chesema-less-backoff-timeout-try-2 2024-06-17 14:32:53 +02:00
divanik
253d745ac5 Merge branch 'master' of github.com:ClickHouse/ClickHouse into divanik/fix_clickhouse_disks_2 2024-06-17 11:41:59 +00:00
Kseniia Sumarokova
263b22d89c
Update test.py 2024-06-17 13:24:44 +02:00
Kseniia Sumarokova
bab5359448
Update test.py 2024-06-17 13:24:07 +02:00
Antonio Andelic
d9a11faf4a
Merge pull request #64842 from Unalian/jemalloc_as_metric
[feature] Add an asynchronous metric jemalloc.profile.active to show whether sampling is currently active
2024-06-17 07:10:15 +00:00
Alexey Milovidov
f57fd32d23 Merge branch 'master' into dont-optimize-trivial-insert-select 2024-06-17 08:57:08 +02:00
Alexey Milovidov
17e3716554 Merge branch 'master' into async-load-by-default 2024-06-17 08:53:31 +02:00
Alexey Milovidov
279716519d Fix tests 2024-06-17 05:37:08 +02:00
Alexey Milovidov
204b27d0f0 Merge branch 'master' into async-load-by-default 2024-06-17 05:21:13 +02:00
Alexey Milovidov
92f538ae50 Disable async loading for MaterializedMySQL tests 2024-06-17 05:21:09 +02:00
pufit
9cb38f95ba
Merge pull request #64595 from ClickHouse/pufit/fix-definers-restore
Fix restore from backup for definers
2024-06-17 02:56:27 +00:00
Kseniia Sumarokova
dc48eac7c8
Update test.py 2024-06-16 18:13:36 +02:00
kssenii
1594f84daf Fix test 2024-06-16 11:40:07 +02:00
kssenii
060c61d88d Merge remote-tracking branch 'origin' into s3queue-improvements 2024-06-15 16:56:21 +02:00
pufit
74a9d55e9f
Merge branch 'master' into pufit/fix-definers-restore 2024-06-15 00:20:17 -04:00
Sergei Trifonov
a17d9d92d7
Merge branch 'master' into workload-for-merges 2024-06-14 18:35:43 +02:00
Sema Checherinda
ef4afa5f40 Merge branch 'master' into chesema-fix-buffer-cancelation 2024-06-14 18:32:24 +02:00
Sema Checherinda
ed60188050 mute test test_query_is_canceled_with_inf_retries 2024-06-14 17:53:31 +02:00
Han Fei
e08e48a4ec Merge branch 'master' into hanfei/stats_rmt 2024-06-14 14:47:26 +00:00
Sema Checherinda
aab99ed70a Merge branch 'master' into chesema-dedup-matview 2024-06-14 16:43:26 +02:00
divanik
a3cab6853e python test reformat 2024-06-14 14:10:00 +00:00
divanik
752bd00784 Corrected problems and tests 2024-06-14 13:54:12 +00:00
robot-clickhouse
c856dc8c66 Automatic style fix 2024-06-14 13:45:10 +00:00
kssenii
5f3535309b Add a test 2024-06-14 15:38:09 +02:00
Han Fei
da186811f0 add more tests 2024-06-14 15:28:21 +02:00
kssenii
366e801cea Commit by limit 2024-06-14 14:24:06 +02:00
Han Fei
aacb85495b
Update tests/integration/test_manipulate_statistics/test.py 2024-06-14 13:58:04 +02:00
robot-clickhouse
234f7e0d13 Automatic style fix 2024-06-14 11:38:27 +00:00
Smita Kulkarni
b48a20735f Mask account key for azureBlobStorage & azureBlobStorageCluster functions 2024-06-14 13:26:23 +02:00
divanik
2824ca64e0 Tests and code style 2024-06-14 11:06:56 +00:00
unashi
06e11752fd [retry test] 2024-06-14 16:13:00 +08:00
unashi
f707c0d1eb [black] 2024-06-14 16:13:00 +08:00
unashi
3c8f3c1930 [fix] fix the name of function in test.py 2024-06-14 16:12:59 +08:00
unashi
17b03c7df9 [fix] skip sanitizers 2024-06-14 16:12:59 +08:00
unashi
761d8e327c [update] 1. black test.py 2. adjust test.py to cover all situation 2024-06-14 16:12:59 +08:00
unashi
83359af8b7 [update] rm useless res 2024-06-14 16:12:59 +08:00
unashi
a6f05df749 [feature] Add an asynchronous_metric jemalloc.profile.active to show whether sampling is currently active for the calling thread. This is an activation mechanism in addition to prof.active; both must be active for the calling thread to sample. 2024-06-14 16:12:59 +08:00
Xu Jia
76d6bc37eb adjust code based on review comment 2024-06-14 08:16:17 +08:00
Han Fei
f073a456dc fix style 2024-06-14 08:16:17 +08:00
Han Fei
5ff65a1bf5 write integration tests 2024-06-14 08:16:17 +08:00
Max K
87f451d764
Revert "Change default s3_throw_on_zero_files_match to true, document that presigned S3 URLs are not supported" 2024-06-13 22:36:57 +02:00
Alexey Milovidov
dcbfa50446
Merge pull request #51008 from ClickHouse/nopresigned
Change default s3_throw_on_zero_files_match to true, document that presigned S3 URLs are not supported
2024-06-13 21:25:38 +02:00
divanik
b8992f0397 Create integration test 2024-06-13 19:14:16 +00:00
Alexander Tokmakov
99cd2f48ac
Merge pull request #65112 from ClickHouse/tavplubix-patch-10
Update test_replicated_database/test.py
2024-06-13 19:02:01 +00:00
Sema Checherinda
979e84513b Merge branch 'master' into chesema-dedup-matview 2024-06-13 18:56:46 +02:00
Sema Checherinda
e8c0caa5ab
Merge pull request #63314 from arthurpassos/no_proxy_support
Add `no_proxy` support
2024-06-13 15:48:12 +00:00
Sema Checherinda
bb995c74cc Revert "Revert "S3: reduce retires time for queries, increase retries count for backups""
This reverts commit 7683f06188.
2024-06-13 16:30:38 +02:00
Daniil Ivanik
1e03a35729
Merge pull request #65064 from ilejn/time_virtual_col_tests
Tests for _time virtual column in file alike storages
2024-06-13 09:46:39 +00:00
Grigorii Sokolik
1618ce4397 feat-59620 Style fix 2024-06-13 11:21:47 +03:00
Grigorii Sokolik
1c9652c06b feat-59620 Style fix 2024-06-13 11:21:47 +03:00
Grigorii Sokolik
1245be5d97 feat-59620 tests 2024-06-13 11:21:47 +03:00
Alexander Tokmakov
208f32328c
Update tests/integration/test_replicated_database/test.py
Co-authored-by: Raúl Marín <git@rmr.ninja>
2024-06-12 16:56:09 +02:00
Kruglov Pavel
9c7c607cd5
Merge pull request #63720 from Avogar/better-s3-seekable-formats-tests
Try to fix flaky s3 tests test_seekable_formats and test_seekable_formats_url
2024-06-12 12:34:04 +00:00
Han Fei
af4541755a fix black 2024-06-12 14:27:13 +02:00
Raúl Marín
7683f06188
Revert "S3: reduce retires time for queries, increase retries count for backups" 2024-06-12 11:26:21 +02:00
robot-clickhouse
65add2ee77 Automatic style fix 2024-06-11 23:13:58 +00:00
Michael Kolupaev
13dd79f5b2 Fix tests 2024-06-11 23:06:59 +00:00
serxa
08a293a91f Merge branch 'master' into workload-for-merges 2024-06-11 21:33:25 +00:00
kssenii
1e435eb353 Fix tests 2024-06-11 19:01:24 +02:00
Alexander Tokmakov
5bfca13a4c
Update test.py 2024-06-11 18:04:38 +02:00
Han Fei
e0668ab8fa write more tests 2024-06-11 17:03:54 +02:00
Ilya Golshtein
c795158ea9 time_virtual_col_tests: make black happy 2024-06-11 14:45:00 +00:00
Ilya Golshtein
fdc2f156b1 time_virtual_col_tests: just one column in test_read_subcolumn_time 2024-06-11 13:04:16 +00:00
Sema Checherinda
b35ee73b15 Merge branch 'master' into chesema-fix-buffer-cancelation 2024-06-11 13:27:39 +02:00
Ilya Golshtein
4baabb16f9 time_virtual_col_tests: tests reintroduced 2024-06-11 09:07:05 +00:00
Kseniia Sumarokova
2c0a1ce918
Merge pull request #64574 from ClickHouse/named-collecitons-in-keeper
Named collections in keeper
2024-06-11 07:53:10 +00:00
Sema Checherinda
f52ca21db0
Merge pull request #63857 from ClickHouse/chesema-less-backoff-timeout
S3: reduce retires time for queries, increase retries count for backups
2024-06-11 00:25:46 +00:00
Ilya Golshtein
e4a0f42ab8 time_virtual_col_tests: rollback tests 2024-06-10 23:01:57 +00:00
kssenii
bc294ef51f S3Queue small fixes 2024-06-10 19:39:37 +02:00
Alexander Tokmakov
4f39c36408
Merge pull request #64312 from ClickHouse/all_replica_groups_cluster
Add clusters with replicas from all replica groups
2024-06-10 15:55:35 +00:00
Kseniia Sumarokova
9a55cdf77c
Merge pull request #64947 from ilejn/time_virtual_col
Add _time virtual column to file alike storages
2024-06-10 12:14:46 +00:00
kssenii
571ddb66df Merge remote-tracking branch 'origin/master' into named-collecitons-in-keeper 2024-06-10 13:17:32 +02:00
robot-clickhouse
7b90eccd57 Automatic style fix 2024-06-08 22:26:09 +00:00
János Benjamin Antal
be64d1bd32 Fix tests 2024-06-08 22:16:52 +00:00
János Benjamin Antal
419660d1b0 Fix one more test 2024-06-08 22:00:58 +00:00
robot-clickhouse
26851f1d34 Automatic style fix 2024-06-07 22:56:36 +00:00
János Benjamin Antal
1eec201777 Make most of the tests work 2024-06-07 22:39:17 +00:00
Sergei Trifonov
686d6d676a
Merge pull request #64969 from ClickHouse/revert-64423-precise-memtracking
Revert "Add dynamic untracked memory limits for more precise memory tracking"
2024-06-07 16:51:36 +00:00
Alexander Tokmakov
6e156b3be1
Merge pull request #64977 from ClickHouse/fix_test_attach_partition_using_copy
Fix `test_attach_partition_using_copy`
2024-06-07 14:42:15 +00:00
serxa
7594e06ea2 Merge branch 'master' into workload-for-merges 2024-06-07 13:58:41 +00:00
Antonio Andelic
b1d6c73208
Merge pull request #64604 from ClibMouse/parallel_replicas_custom_key_range_min_max_setting
Allow users to specify a custom range for the range filter when using parallel replicas with dynamic shards
2024-06-07 12:26:30 +00:00
Alexander Tokmakov
69045adc10 fix bad test 2024-06-07 14:09:54 +02:00
Sergei Trifonov
2d9ac2e816
Revert "Add dynamic untracked memory limits for more precise memory tracking" 2024-06-07 14:03:56 +02:00
alesapin
a9da369bb5
Merge pull request #64858 from ClickHouse/fix_segfault_for_super_rare_case
Fix segfault for a very tricky case
2024-06-07 11:26:10 +00:00
Ilya Golshtein
b82ab5a402 time_virtual_col: style check 2024-06-06 21:21:12 +00:00
Ilya Golshtein
258b1f9559 time_virtual_col: tests, doc, small refactoring 2024-06-06 21:00:47 +00:00
Han Fei
0bd5164f83 fix style 2024-06-06 21:30:16 +02:00
Sergei Trifonov
9ec1306016
Merge pull request #64423 from ClickHouse/precise-memtracking
Add dynamic untracked memory limits for more precise memory tracking
2024-06-06 18:37:31 +00:00
Han Fei
823a7d37f3 support statistics on replicated merge tree 2024-06-06 20:18:42 +02:00
kssenii
481d94b0c7 Merge remote-tracking branch 'origin/master' into fix-partitioned-delta-lake 2024-06-06 19:35:04 +02:00
Alexey Milovidov
821c7322bd
Merge pull request #58349 from azat/ci/flake8
Check python code with flake8
2024-06-06 19:03:58 +02:00
Arthur Passos
66060022a6 Merge branch 'master' into no_proxy_support 2024-06-06 11:05:37 -03:00
Joshua Hildred
76db904de1 Update integration tests to use UInt rather than Int 2024-06-06 05:28:16 -07:00
Joshua Hildred
59f50ca235 Fix existing tests to use UInt rather than Int 2024-06-06 05:28:16 -07:00
Ilya Golshtein
aefe7ffc31 time_virtual_col: slightly works 2024-06-06 09:48:32 +00:00
Azat Khuzhin
a7e4875e4c Fix test_mask_sensitive_info/test.py::test_create_table
CI: https://s3.amazonaws.com/clickhouse-test-reports/64887/5d01a2f7c8b41244ecad2cbf2c7f5ed7e6113cc9/integration_tests__asan__old_analyzer__[2_6].html
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-06-06 11:46:12 +02:00
robot-clickhouse
74897790aa Automatic style fix 2024-06-06 09:00:44 +00:00
Sergei Trifonov
feb60b566c
Merge branch 'master' into precise-memtracking 2024-06-06 10:52:28 +02:00
serxa
b9edf204d9 better 2024-06-06 08:51:22 +00:00
serxa
45fda3fd39 use Mi suffix to make things obvious 2024-06-06 08:20:52 +00:00
pufit
86bbcb0037 Startup scripts 2024-06-06 01:42:07 -04:00
Alexey Milovidov
53f26f614e
Merge pull request #64769 from ClickHouse/pufit/rbac-fix-on-cluster-grant-with-default-database
Fix default database with grant on cluster
2024-06-06 03:35:32 +02:00
Alexey Milovidov
9ab06931d2
Merge pull request #64845 from ClickHouse/follow-up-s3-queue
Follow-up to #64349
2024-06-06 02:56:58 +02:00
Alexey Milovidov
9d8bc4d54d
Merge pull request #59427 from seandhaynes/master
Use scheduleOrThrow in MergeTree data selection and initialization to avoid deadlocks
2024-06-06 02:06:22 +02:00
pufit
dc46084cd8
Merge branch 'master' into pufit/fix-definers-restore 2024-06-05 16:09:36 -04:00
divanik
22a1e11520 Merge branch 'master' of github.com:ClickHouse/ClickHouse into divanik/fix_clickhouse_disks_2 2024-06-05 18:19:10 +00:00
alesapin
966b08f192 Fix segfault for a very tricky case 2024-06-05 19:26:20 +02:00
kssenii
5ec3699a19 Fix test 2024-06-05 18:36:13 +02:00
Sergei Trifonov
9c7a8727d0
Merge pull request #64244 from kirillgarbar/check_zk_path
Prevent conversion to Replicated if zookeeper path already exists
2024-06-05 16:36:10 +00:00
Azat Khuzhin
8d46078911 Use primary.cidx instead of columns.txt to break parts
After fixes for columns.txt the test_max_suspicious_broken_parts starts
to fail

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-06-05 14:47:29 +02:00
Azat Khuzhin
b2535d7f50 Fix invalid escape sequence warnings
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-06-05 14:46:38 +02:00
Azat Khuzhin
69d23f5e67 Fix all problems in tests that had been found by flake8
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-06-05 14:46:38 +02:00
Han Fei
c04e7e64af Merge branch 'master' into hanfei/stats_uniq 2024-06-05 13:09:15 +02:00
Yarik Briukhovetskyi
73d0b51283
Merge pull request #64220 from yariks5s/test_distributed_table_exception
Add test for #37090
2024-06-05 10:49:31 +00:00
Antonio Andelic
0f23f9b384
Merge pull request #64784 from ClickHouse/keeper-correct-snapshot-size
Fix Keeper snapshot size in `mntr`
2024-06-05 07:17:57 +00:00
Alexey Milovidov
2c5ebf9ca6
Merge branch 'master' into master 2024-06-05 04:23:37 +02:00
Alexey Milovidov
02a3049876
Merge pull request #58285 from canhld94/fix_a_test
Hot reload storage policy for distributed tables when adding a new disk
2024-06-05 04:11:49 +02:00
Han Fei
f7ca33868b Merge branch 'master' into hanfei/stats_uniq 2024-06-05 01:21:49 +02:00
Julia Kartseva
12bf33c519
Merge pull request #64778 from jkartseva/fix-plain-rewritable-cache
Fix crash in a local cache over `plain_rewritable` disk
2024-06-04 20:34:58 +00:00
Kseniia Sumarokova
d044d228ba
Merge pull request #64349 from ClickHouse/s3queue-fix-ordered-mode
S3Queue rework ordered mode parallel processing
2024-06-04 20:27:46 +00:00
Yarik Briukhovetskyi
8bb8806ad4
Merge branch 'ClickHouse:master' into test_distributed_table_exception 2024-06-04 21:14:00 +02:00
Arthur Passos
236a565e91 add missing no_proxy_hosts assignment 2024-06-04 15:44:22 -03:00
Arthur Passos
53b9ea483f black fix 2024-06-04 15:23:52 -03:00
Alexander Tokmakov
553fcb5e06
Update test.py 2024-06-04 20:05:58 +02:00
Arthur Passos
c769b3bda0 fix conflicts and adapt 2024-06-04 15:04:14 -03:00
Arthur Passos
5b79ba0b4f Merge branch 'master' into no_proxy_support 2024-06-04 14:55:12 -03:00
Sema Checherinda
dd6ae2f77c
Merge pull request #63427 from arthurpassos/fix_wrong_request_protocol_proxy
Several minor fixes to proxy support in ClickHouse
2024-06-04 16:35:03 +00:00
Yarik Briukhovetskyi
0f362394b3
black check 2024-06-04 18:29:07 +02:00
János Benjamin Antal
d09abf33a7 Merge remote-tracking branch 'origin/master' into kafka-zookeeper 2024-06-04 15:54:40 +00:00
János Benjamin Antal
c0eea71ab3 Make some tests work with the new storage kafka too 2024-06-04 15:52:59 +00:00
Sema Checherinda
7794fd9ebc Merge branch 'master' into chesema-dedup-matview 2024-06-04 17:27:23 +02:00
Yarik Briukhovetskyi
f61c40dbbf
do not apply settings explicitly 2024-06-04 16:08:01 +02:00
Alexander Tokmakov
9f49c83130
Merge pull request #63087 from Unalian/feat-59377
[feature]: allow to attach parts from a different disk (v2.0)
2024-06-04 13:52:25 +00:00
Kseniia Sumarokova
557c423007
Merge branch 'master' into s3queue-fix-ordered-mode 2024-06-04 13:14:49 +02:00
Antonio Andelic
9d30a7f056 Fix Keeper snapshot size in mntr 2024-06-04 11:30:22 +02:00
Julia Kartseva
d4e6f2e8d6 Update test_s3_plain_rewritable test
- add cache_s3_plain_rewritable caching disk
- simplify, don't look up counters
2024-06-04 04:53:32 +00:00
pufit
e59d71be48 fix test 2024-06-03 23:58:39 -04:00
pufit
abdf0d5b58 fix test 2024-06-03 21:29:08 -04:00
Michael Kolupaev
0fd9cdf47e Track memory allocated by the arrow library 2024-06-04 00:01:25 +00:00
pufit
5b3e3376f1 Merge branch 'master' into pufit/fix-definers-restore 2024-06-03 19:15:48 -04:00
robot-clickhouse
c6108cf8f5 Automatic style fix 2024-06-03 22:56:02 +00:00
pufit
62aacc5539 Fix default database with grant on cluster 2024-06-03 18:43:08 -04:00
Alexander Tokmakov
d2184fd2a2
Update test.py 2024-06-03 20:51:09 +02:00
Yarik Briukhovetskyi
0e2efda93a
black check 2024-06-03 19:39:41 +02:00
Yarik Briukhovetskyi
d459564408
review changes 2024-06-03 19:30:01 +02:00
alesapin
c45ebafc70
Merge pull request #64694 from ClickHouse/fix_ttl_incompatibility
Fix backward incompatibility in TTL execution
2024-06-03 10:29:26 +00:00
serxa
e06c4a8059 Merge branch 'master' into precise-memtracking 2024-06-02 16:06:29 +00:00
divanik
4b99a16b88 ../../tests 2024-05-31 13:17:28 +00:00
robot-clickhouse
8c86011a90 Automatic style fix 2024-05-31 12:51:12 +00:00
kssenii
549c6b524e Implement background update 2024-05-31 14:49:28 +02:00
Sema Checherinda
c3f72f0cf9 revert changes at helpers/s3_mocks/broken_s3.py 2024-05-31 14:44:55 +02:00
Sema Checherinda
5fe2249300 adjust tesy test_force_deduplication 2024-05-31 14:43:35 +02:00
alesapin
a400911d7a Fix backward incompatibility in TTL execution 2024-05-31 14:42:01 +02:00
serxa
6375f3a90e Merge branch 'master' into precise-memtracking 2024-05-31 09:12:45 +00:00
serxa
b1de84e66e Merge branch 'master' into precise-memtracking 2024-05-31 09:11:18 +00:00
robot-clickhouse
3455fba32d Automatic style fix 2024-05-31 08:40:18 +00:00
Alexander Gololobov
66f17b7746 Normalize find_super_nodes response by sorting 2024-05-31 10:28:46 +02:00
kssenii
0571485ef6 Merge remote-tracking branch 'origin/master' into named-collecitons-in-keeper 2024-05-30 19:45:01 +02:00
kssenii
2a69c00d09 Merge remote-tracking branch 'origin/s3queue-fix-ordered-mode' into s3queue-fix-ordered-mode 2024-05-30 16:34:00 +02:00
kssenii
9238045eea Add bucket versioning 2024-05-30 16:33:40 +02:00
Arthur Passos
4ab5c2c7f7 style 2024-05-30 11:14:56 -03:00
divanik
75c484a73b Corrected build and some integrations tests 2024-05-30 14:07:25 +00:00
Arthur Passos
b1861fa851 bring back multiple proxy test back 2024-05-30 11:00:23 -03:00
robot-clickhouse
75bfa1746b Automatic style fix 2024-05-30 13:07:17 +00:00
kssenii
b3a58a6294 Merge remote-tracking branch 'origin/s3queue-fix-ordered-mode' into s3queue-fix-ordered-mode 2024-05-30 14:58:12 +02:00
kssenii
ee4d5e4260 Fix remaining tests 2024-05-30 14:57:50 +02:00
Arthur Passos
dba8c98e5f minor changes 2024-05-30 09:33:59 -03:00
Sema Checherinda
96992b75e6 Merge branch 'master' into chesema-dedup-matview 2024-05-30 13:28:46 +02:00
Sema Checherinda
2df9ab60a4 Merge branch 'master' into chesema-less-backoff-timeout 2024-05-30 13:16:12 +02:00
robot-clickhouse
39dd2735a3 Automatic style fix 2024-05-29 19:44:48 +00:00
kssenii
59eed8086c Fixes 2024-05-29 21:37:42 +02:00
robot-clickhouse
b908421259 Automatic style fix 2024-05-29 16:05:59 +00:00
pufit
e2b7ca7d11 Fix restore from backup for definers 2024-05-29 11:54:31 -04:00
Raúl Marín
b1b3514658
Merge pull request #64512 from Algunenano/fix_test_lost_part_other_replica
Fix test_lost_part_other_replica
2024-05-29 15:12:49 +00:00
robot-clickhouse
c083896c59 Automatic style fix 2024-05-29 15:06:41 +00:00
serxa
28e71af95c disable precise memory tracking to avoid memory_exceeded exception in test 2024-05-29 14:55:32 +00:00
Sema Checherinda
4cc765ace4
Merge pull request #64520 from ClickHouse/chesema-test-TotalQpsLimitExceeded
test for TotalQpsLimitExceeded
2024-05-29 12:28:54 +00:00
robot-clickhouse
4112efc2ce Automatic style fix 2024-05-29 11:05:56 +00:00
kssenii
92e004394d Named collections in keeper 2024-05-29 12:57:59 +02:00
unashi
20b225460d Merge branch 'master' into feat-59377 2024-05-29 17:14:36 +08:00
Sema Checherinda
bc60f2419b add comment 2024-05-29 02:25:05 +02:00
Alexander Tokmakov
ef3b802b4e add test 2024-05-29 00:02:39 +02:00
Julia Kartseva
8662f89d21 update test_s3_plain_rewritable 2024-05-28 18:59:48 +00:00
Julia Kartseva
b11b9515a2 ENDPOINT_SUBPATH is unique for each instance in test_s3_plain_rewritable 2024-05-28 18:59:48 +00:00
Sema Checherinda
ee3385fbc0 adjust after merge with master 2024-05-28 18:56:41 +02:00
Arthur Passos
d9c9c4f7dd use skip_access_check 2024-05-28 13:48:46 -03:00
Sema Checherinda
6b8ca302d2 test for TotalQpsLimitExceeded 2024-05-28 17:58:32 +02:00
Yarik Briukhovetskyi
c572290e50
black check 2024-05-28 16:53:14 +02:00
Yarik Briukhovetskyi
6298d23a2f
Check that query doesn't fail 2024-05-28 16:41:59 +02:00
Antonio Andelic
9f242391b4
Merge pull request #64153 from ClickHouse/fix-backup-without-native-copy
Correctly fallback during backup copy
2024-05-28 13:11:06 +00:00
Raúl Marín
1014a11156 Enforce proper log checks 2024-05-28 15:06:56 +02:00
Raúl Marín
09600eccbd Fix flakiness of test_lost_part_other_replica 2024-05-28 14:51:14 +02:00
serxa
b73902b905 remove breakpoint 2024-05-28 10:53:00 +00:00
serxa
c04d7bc2b7 Merge branch 'master' into workload-for-merges 2024-05-28 10:44:59 +00:00
robot-clickhouse
18dce4169f Automatic style fix 2024-05-27 19:22:34 +00:00
serxa
c973addee6 disable precise memory tracking for some tests 2024-05-27 19:13:56 +00:00
kssenii
f753a558e8 Merge remote-tracking branch 'origin/master' into s3queue-fix-ordered-mode 2024-05-27 18:35:56 +02:00
Sema Checherinda
eb35d17e72 trigger the error 2024-05-27 18:19:37 +02:00
Sema Checherinda
8eb79c7cb3 adjust test test_mask_sensitive_info/test.py::test_backup_to_s3 2024-05-27 16:47:50 +02:00
Antonio Andelic
8f775037bf Address PR review 2024-05-27 13:02:45 +00:00
Raúl Marín
3a6f2ccf4f
Merge pull request #64362 from Algunenano/rename_aggregate_function_group_array_has_limit_size
Rename aggregate_function_group_array_has_limit_size
2024-05-27 09:42:33 +00:00
Antonio Andelic
4f165733a4 Merge branch 'master' into fix-backup-without-native-copy 2024-05-27 07:40:55 +00:00
Han Fei
ee7ad460fd Merge branch 'master' into hanfei/stats_uniq 2024-05-25 18:01:21 +02:00
Kseniia Sumarokova
31fd4f5eb4
Merge pull request #59767 from ClickHouse/use-iobject-storage-for-table-engines-1
Unite s3/hdfs/azure storage implementations into a single class working with IObjectStorage. Same for *Cluster, data lakes and Queue storages.
2024-05-25 09:35:55 +00:00
robot-clickhouse
92fd1f08c9 Automatic style fix 2024-05-24 17:23:56 +00:00
Sema Checherinda
ae4d3f97ae
Merge pull request #64225 from ClickHouse/chesema-patch-aws-error-handler
tests for qps_limit_exceeded
2024-05-24 13:28:33 +00:00
Raúl Marín
9794a193cf Rename aggregate_function_group_array_has_limit_size 2024-05-24 15:05:49 +02:00
kssenii
cfbf1cc1e2 S3Queue rework ordered mode 2024-05-24 11:47:32 +02:00
Kseniia Sumarokova
c10fc6d80e
Merge branch 'master' into use-iobject-storage-for-table-engines-1 2024-05-24 10:46:45 +02:00
kssenii
40753ddefb Update hdfs test 2024-05-23 21:10:40 +02:00
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