Commit Graph

9140 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
6a585600f0 Update test 2024-03-27 19:21:13 +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
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
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
06a9ac7126 Fix tests 2024-03-24 23:23:13 +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
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
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
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
SmitaRKulkarni
3822e41f7d
Merge a2836b0887 into 30df0fcd60 2024-03-21 21:17:57 +00:00
Smita Kulkarni
3f653bbc32 Added test with log check 2024-03-21 20:28:52 +01:00
yariks5s
6a19b77d9e init 2024-03-21 18:39:05 +00:00
Vitaly Baranov
1acc0ebe79
Merge pull request #61356 from vitlibar/fix-replace-dictionary
Fix CREATE OR REPLACE DICTIONARY
2024-03-21 16:45:06 +01:00
Dmitry Novik
e4209218d4
Merge pull request #60497 from ClickHouse/analyzer-distr-json
Analyzer: Support different ObjectJSON on shards
2024-03-21 16:25:30 +01:00
Smita Kulkarni
71eee6a300 Merge branch 'master' into Azure_write_buffer 2024-03-21 16:22:28 +01:00
Alexander Tokmakov
2be2ca4605
Merge pull request #61105 from ClickHouse/fix_rdb_active
Fix removing is_active node after re-creation
2024-03-21 15:29:59 +01:00
Dmitry Novik
188bc3cbaf Update some tests 2024-03-21 15:00:27 +01:00
Smita Kulkarni
6c5e881da7 Merge branch 'master' into Azure_write_buffer 2024-03-21 11:12:19 +01:00
Max Kainov
9f3c625ab5 fix mysql client tests to use mysql8 image
#ci_set_integration
 #ci_set_arm
2024-03-20 17:35:11 +00:00
Max Kainov
55737de0e6 disable more hdfs and kafka inttests
#ci_set_arm
2024-03-20 17:24:55 +00:00
Max K
984c7e69a0 disable test_allowed_url_with_config tests with HDFS
#no_merge_commit
 #ci_set_arm
2024-03-20 17:24:55 +00:00
Max Kainov
7b8c5f35b5 disable test_strage_hdfs module
#ci_set_arm
 #batch_2
 #no_merge_commit
2024-03-20 17:24:55 +00:00
Max Kainov
4f273c60c3 CI: disable some kerberos and hdfs integration tests for arm
#ci_set_arm
 #batch_2
 #no_merge_commit
2024-03-20 17:24:55 +00:00
Robert Schulze
35cc335597
Revert "Un-flake test_undrop_query" 2024-03-20 18:04:35 +01:00
Max K
4f51d891a0
Merge pull request #61597 from ClickHouse/ci_remove_compose_files_from_docker
CI: remove compose files from integration test docker
2024-03-20 17:36:13 +01:00
Max Kainov
da28eaf454 CI: remove compose files from integration test docker
#ci_set_integration
2024-03-20 14:11:47 +00:00
Dmitry Novik
b74a0359e5 Update integration tests 2024-03-20 13:43:18 +01:00
Dmitry Novik
f0e7b78f8b Inverse analyzer in tests 2024-03-20 13:35:30 +01:00
Smita Kulkarni
9f2d44fc65 Merge branch 'master' into Azure_write_buffer 2024-03-20 11:02:48 +01:00
vdimir
9a43f7941b
Merge pull request #61456 from kitaisreal/temporary-data-use-temporary-files-codec-setting
Temporary data use temporary_files_codec setting
2024-03-20 10:54:17 +01:00
Kseniia Sumarokova
05516112ca
Merge pull request #61537 from ClickHouse/s3queue-disallow-sharded-processing
Disallow s3queue sharded mode
2024-03-20 10:53:51 +01:00
Alexander Tokmakov
02d5c4625f Merge branch 'master' into fix_rdb_active 2024-03-19 21:09:07 +01:00
Alexander Tokmakov
1c61ef7155 Merge branch 'master' into start-transaction 2024-03-19 19:30:26 +01:00
vdimir
b19540f5b6
Fix style tests/integration/test_temporary_data_in_cache/test.py 2024-03-19 19:03:20 +01:00
Dmitry Novik
302179c81d Merge remote-tracking branch 'origin/master' into analyzer-distr-json 2024-03-19 18:56:04 +01:00
Maksim Kita
764c72b6c9 Fixed code review issues 2024-03-19 20:41:39 +03:00
Smita Kulkarni
824092b619 Updated to use single part upload for single block of small size and fixed test fail 2024-03-19 18:38:02 +01:00
Kseniia Sumarokova
7ebab45bef
Update users.xml 2024-03-19 17:21:03 +01:00
Kseniia Sumarokova
574647ed2a
Update config for another test 2024-03-19 17:16:53 +01:00
Nikolay Degterinsky
ce11428764 Merge remote-tracking branch 'upstream/master' into fix-test 2024-03-19 14:53:09 +00:00
robot-ch-test-poll4
a07d214fbf
Merge pull request #61396 from Algunenano/default_cluster
Remove default cluster from default config from test config
2024-03-19 13:58:01 +01:00
János Benjamin Antal
9cd7e6155c
Merge pull request #60031 from azat/merge_tree_mutations_cleanup-fix
Fix finished_mutations_to_keep=0 for MergeTree (as docs says 0 is to keep everything)
2024-03-19 12:55:46 +01:00
János Benjamin Antal
7adf585460
Merge pull request #61236 from ClickHouse/fix-flaky-test-merge-tree-load-parts-corrupted
Fix `test_merge_tree_load_parts/test.py::test_merge_tree_load_parts_corrupted`
2024-03-19 12:02:19 +01:00
János Benjamin Antal
a1eb8e4bae
Merge pull request #61235 from ClickHouse/improve-test-failed-mutations
Improve `test_failed_mutations`
2024-03-19 11:58:39 +01:00
kssenii
12cd566681 Update config for test 2024-03-19 11:47:53 +01:00
Anton Popov
5ac15574b7 do not load marks on merges 2024-03-18 20:28:10 +00:00
Raúl Marín
0637da0339 Merge remote-tracking branch 'blessed/master' into default_cluster 2024-03-18 16:11:50 +01:00
Raúl Marín
6b19c5ea75 Fix integration tests 2024-03-18 16:07:10 +01:00
Raúl Marín
53159070b5 Remove default cluster in tests 2024-03-18 15:52:16 +01:00
Han Fei
8a54c85f3c
Merge pull request #61049 from hanfei1991/hanfei/check-limit-periodically
Check cgroups memory limit update periodically
2024-03-18 15:15:46 +01:00
Dmitry Novik
15e19206b4 Merge remote-tracking branch 'origin/master' into analyzer-distr-json-copy 2024-03-18 14:24:51 +01:00
János Benjamin Antal
4a1ce10c20 Merge remote-tracking branch 'origin/master' into fix-flaky-test-merge-tree-load-parts-corrupted 2024-03-18 10:36:36 +00:00