Commit Graph

7717 Commits

Author SHA1 Message Date
Igor Nikonov
aebda10f7c Merge remote-tracking branch 'origin/master' into fix-parallel-replicas-multiply-result 2023-08-18 23:00:58 +00:00
Alexey Milovidov
7ad8ea78bb
Merge pull request #48990 from incfly/partition
Add partition to the system part_log and merge table.
2023-08-18 21:38:53 +03:00
Nikolai Kochetov
c99c3112ef
Merge pull request #53550 from ClickHouse/group_array_max_element_size
Add server setting `aggregate_function_group_array_max_element_size`.
2023-08-18 19:16:24 +02:00
Alexander Tokmakov
14590305ad
Merge pull request #52975 from aalexfvk/ignore_on_cluster_for_replicated_entity_queries
Ignore ON CLUSTER clause in queries for management of replicated entities (UDF and Access)
2023-08-18 19:29:41 +03:00
Alexander Tokmakov
334e014c2c Merge branch 'master' into ignore_on_cluster_for_replicated_entity_queries 2023-08-18 17:48:37 +02:00
Yakov Olkhovskiy
84cb358c14
Merge pull request #43210 from amosbird/storage_executable_stderr
Add different reactions when external command stderr has data
2023-08-18 11:17:46 -04:00
Alexander Tokmakov
4c3cb273a8
Merge pull request #53505 from arenadata/ADQM-1098
Added waiting for PostgreSQL compatibility port open in integrational tests.
2023-08-18 17:21:01 +03:00
robot-clickhouse
f1cb8a83fe Automatic style fix 2023-08-18 13:34:20 +00:00
Nikolai Kochetov
e9d8745971
Merge branch 'master' into group_array_max_element_size 2023-08-18 15:23:01 +02:00
Nikolai Kochetov
88e81a31fa Add server setting group_array_max_element_size. 2023-08-18 13:15:27 +00:00
Alexander Tokmakov
0bd378afd9
Merge pull request #53381 from bakwc/bakwc-patch-2
Fixed system.data_skipping_indices for MaterializedMySQL
2023-08-18 14:22:40 +03:00
Alexander Tokmakov
45157769a5
Merge pull request #53534 from ClickHouse/tavplubix-patch-8
Update test.py
2023-08-18 13:42:33 +03:00
Victor Krasnov
df6d627618 Add integration test 2023-08-18 10:39:59 +03:00
Amos Bird
69ca36bfdf
Fix black style again 2023-08-18 15:38:47 +08:00
Amos Bird
c43bf153f5
Refactor 2023-08-18 15:38:46 +08:00
Amos Bird
e49fb4f348
Fix style 2023-08-18 15:38:46 +08:00
Amos Bird
dd0c71b32a
Add error_exit_reaction 2023-08-18 15:38:46 +08:00
Amos Bird
476f3cedc1
Various reactions when executable stderr has data 2023-08-18 15:38:45 +08:00
Alexey Milovidov
e7d0edfce6
Merge pull request #53261 from bharatnc/ncb/truncate-db
support TRUNCATE DATABASE
2023-08-18 08:22:32 +03:00
Nikita Taranov
abcf01b809 impl 2023-08-17 23:51:58 +02:00
Igor Nikonov
06c98956b3 Merge remote-tracking branch 'origin/master' into fix-parallel-replicas-multiply-result 2023-08-17 20:42:50 +00:00
Alexander Tokmakov
9c9941ca17
Update test.py 2023-08-17 22:58:23 +03:00
avogar
4c32097df3 Use filter by file/path before reading in url/file/hdfs table functions, reduce code duplication 2023-08-17 16:54:43 +00:00
Alexander Tokmakov
89c365803f
Merge pull request #53424 from ClickHouse/exception_message_patterns6
Less exceptions with runtime format string
2023-08-17 17:58:04 +03:00
Igor Nikonov
3e9ae1751e Merge remote-tracking branch 'origin/master' into fix-parallel-replicas-multiply-result 2023-08-17 14:45:37 +00:00
Filipp Ozinov
ce87451b66
Merge branch 'ClickHouse:master' into bakwc-patch-2 2023-08-17 18:37:00 +04:00
Anton Popov
0865c0794e Merge remote-tracking branch 'upstream/master' into HEAD 2023-08-17 14:08:59 +00:00
robot-clickhouse
c36f828f9f Automatic style fix 2023-08-17 11:42:56 +00:00
Igor Nikonov
df4ca32210 Fix: select correct number of replicas for shard on coordinator
+ more tests
2023-08-17 11:31:51 +00:00
Alexander Tokmakov
76702a03bb
Update materialized_with_ddl.py (#53494) 2023-08-17 13:08:27 +03:00
Alexander Tokmakov
9e69120bee fix 2023-08-17 12:03:38 +02:00
Filipp Ozinov
5003406ef7
Style 2023-08-17 13:52:21 +04:00
Filipp Ozinov
f402d80bce
Test for system.data_skipping_indices with MaterializedMySQL 2023-08-17 12:51:41 +04:00
Filipp Ozinov
e609a9f3d1
Test for system.data_skipping_indices with MaterializedMySQL 2023-08-17 12:50:44 +04:00
Alexey Gerasimchuck
adc73beb93 Added waiting to other PostgreSQL tests 2023-08-17 08:24:17 +00:00
Alexey Gerasimchuck
6b44088a8b Added waiting for PostgreSQL port open 2023-08-17 07:51:44 +00:00
Alexey Milovidov
525cc46b0b
Merge pull request #53400 from rschu1ze/follow-up-52695
Follow-up to #52695: Move tests to a more appropriate place
2023-08-17 07:53:34 +03:00
robot-ch-test-poll3
30dadcfdcc
Merge pull request #53425 from ClickHouse/trash_for_rdb
Add trash for Replicated database
2023-08-17 04:11:40 +02:00
Igor Nikonov
49f7b4acd6 Merge remote-tracking branch 'origin/master' into fix-parallel-replicas-multiply-result 2023-08-16 23:31:49 +00:00
Nikolay Degterinsky
a893f75884 Merge remote-tracking branch 'upstream/master' into better-stop-listen 2023-08-16 23:06:18 +00:00
Robert Schulze
1008d7a9ce
Merge remote-tracking branch 'rschu1ze/master' into follow-up-52695 2023-08-16 21:26:29 +00:00
Alexander Tokmakov
69bc4f5139 Merge branch 'master' into exception_message_patterns6 2023-08-16 22:58:24 +02:00
Alexander Tokmakov
970eb24067 fix 2023-08-16 22:57:49 +02:00
Jianfei Hu
8b8397de52 fix the missing column
Signed-off-by: Jianfei Hu <hujianfei258@gmail.com>
2023-08-16 17:49:28 +00:00
Jianfei Hu
4b3564b2b0 fix style py
Signed-off-by: Jianfei Hu <hujianfei258@gmail.com>
2023-08-16 17:49:28 +00:00
Jianfei Hu
7769dad0c4 Add integration test for partition.
Signed-off-by: Jianfei Hu <hujianfei258@gmail.com>
2023-08-16 17:49:28 +00:00
Alexander Tokmakov
c85e2eca31
Merge pull request #53305 from arenadata/ADQM-1011-integration_test_session_log
Added integration test for session_log using concurrrent GRPC/PostgreSQL/MySQL sessions
2023-08-16 14:12:11 +03:00
Alexander Tokmakov
23353f5aff fix 2023-08-16 12:06:36 +02:00
vdimir
652416c8ef
Merge pull request #53416 from ClickHouse/vdimir/test_distributed_inter_server_secret_analyzer 2023-08-16 12:01:37 +02:00
Alexander Tokmakov
ba44d7260e fix 2023-08-16 00:20:28 +02:00
Alexander Tokmakov
b32bdd1b0a
Merge pull request #53164 from ClickHouse/fixes_for_detached_parts
Fixes for detach/attach partition and broken detached parts cleanup
2023-08-16 00:09:13 +03:00
Igor Nikonov
f1e040447f Tests: there is no need for cluster_for_parallel_replicas setting in queries over distributed anymore 2023-08-15 17:14:36 +00:00
Robert Schulze
79e94031e4
Merge remote-tracking branch 'rschu1ze/master' into follow-up-52695 2023-08-15 17:11:28 +00:00
Alexander Tokmakov
f95c859959 rename setting 2023-08-15 15:47:11 +02:00
Alexey Gerasimchuck
0e1728801e black run 2023-08-15 13:31:53 +00:00
Alexey Gerasimchuck
2aa211acc2 Added integration test for session log 2023-08-15 13:26:39 +00:00
Igor Nikonov
1678cda8b3 Merge remote-tracking branch 'origin/master' into fix-parallel-replicas-multiply-result 2023-08-15 12:03:35 +00:00
Anton Popov
5e90a6f88a Merge remote-tracking branch 'upstream/master' into HEAD 2023-08-15 00:27:35 +00:00
Igor Nikonov
c85986a5da Update test 2023-08-14 23:06:48 +00:00
Igor Nikonov
c94994afcf Propagate setting cluster_for_parallel_replicas to shards 2023-08-14 22:50:46 +00:00
Alexander Tokmakov
5ab82cc019
Merge pull request #53430 from ClickHouse/merging_53177
Merging #53177
2023-08-15 00:39:09 +03:00
Alexander Tokmakov
1916aec2e2 add trash for Replicated database 2023-08-14 20:49:06 +02:00
Alexander Tokmakov
f0f2cd8c13 Merge branch 'master' into fixes_for_detached_parts 2023-08-14 19:20:45 +02:00
Igor Nikonov
709287fbdc Merge remote-tracking branch 'origin/master' into fix-parallel-replicas-multiply-result 2023-08-14 14:37:43 +00:00
vdimir
f8b1d7474d
Update test_distributed_inter_server_secret to pass with analyzer 2023-08-14 12:46:23 +00:00
Robert Schulze
9d5fcbf524
Follow-up to #52695: Move tests to a more appropriate place 2023-08-14 09:27:12 +00:00
robot-ch-test-poll4
a897896c0c
Merge pull request #53308 from arenadata/ADQM-1083
Added an integration test for client peak_memory_usage value
2023-08-12 16:33:19 +02:00
Alexey Milovidov
0792d36415
Merge pull request #53286 from arthurpassos/pin_coredns_version_and_fix_tests
Bring back **garbage** dns tests
2023-08-12 17:24:38 +03:00
robot-ch-test-poll
967067bbb8
Merge pull request #53250 from evillique/postgresql-single-quotes
Fix character escaping in the PostgreSQL engine
2023-08-12 13:15:49 +02:00
Alexey Milovidov
891bf7e164
Merge pull request #53155 from ClickHouse/vdimir/test_quorum_inserts
Attempt to fix test_insert_quorum by adding sync second replica
2023-08-12 03:35:54 +03:00
Alexey Milovidov
6fbf9b5eb3
Merge pull request #52821 from ClickHouse/improve-throttling-tests
Do not test upper bounds for throttlers
2023-08-12 03:24:00 +03:00
Alexey Milovidov
a85c2285f8
Merge pull request #53150 from ClickHouse/Improvements_to_backup_restore_concurrency_test_follow
Added functions to disallow concurrency of backup restore test
2023-08-12 03:23:21 +03:00
Alexey Milovidov
e269fc1b4b
Merge pull request #53173 from ClickHouse/warn
Fix warning in test_replicated_database
2023-08-12 03:19:25 +03:00
Alexey Milovidov
5e3e6f5d65
Merge pull request #53279 from ClickHouse/add_garbage_tests
Add garbage
2023-08-12 03:17:54 +03:00
Alexey Milovidov
4ccf9631ed
Merge pull request #53092 from ClickHouse/fix-grammarly
Fix wording
2023-08-12 03:05:53 +03:00
Alexey Gerasimchuck
930b3d3bff Improved test 2023-08-11 23:48:17 +00:00
Kseniia Sumarokova
1ff4823f60
Update test.py 2023-08-11 15:19:28 +02:00
Arthur Passos
1c3f926615
Merge branch 'master' into pin_coredns_version_and_fix_tests 2023-08-11 10:10:39 -03:00
Alexey Milovidov
a6bc9b90e9
Merge branch 'master' into warn 2023-08-11 15:29:13 +03:00
Kseniia Sumarokova
e49519fb9d
Update test.py 2023-08-11 12:40:00 +02:00
Yarik Briukhovetskyi
a6f89c0546
Added suggestions for mistyped names for db and tables with different… (#49801)
* Added suggestions for mistyped names for db and tables with different scenarios commented

* fixed bugs

* fixed style check

* fixed errors

* fixed errors

* fixed error with exceptions

* fixed exceptions

* fixed exceptions

* fixed exceptions

* added test and fixed bugs

* fixed style check

* fixed style check

* fixed style check

* fixed check black

* Update test.py

* Fixed server crash

* Fixed server crash and style check

* Fixed style check

* Fixed style check

* Fixed style check

* Fixed bugs with drop_db

* fixed fast test

* added tests

* fixed style check

* fixed style check

* fixed bug with lock_db

* fixed bug with lock_db and fixed reviews

* fixed bug with lock_db and fixed reviews

* fixed style check

* fixed fast test

* fixed fast test

* revert to fd582a2

* revert to fd582a2

* Removed unused parameters

Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>

* Remove unused parameters

Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>

* resolved arguments issue in assertDatabaseExists

* fixing fast test

* fixed fast test

* fixed stateless test for default db

* Update src/Interpreters/DatabaseCatalog.cpp

Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>

* Update src/Interpreters/DatabaseCatalog.cpp

Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>

* Update src/Interpreters/DatabaseCatalog.cpp

Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>

* Fixing tests.

* resolved problem with mutex

* Fixed mutex in assertDatabaseExists

* changes about assertDatabaseExists

* fixed bugs with file types

* fixed string types

* fixed fast test

* fixed mutex

* fixed mutex

* fixed style check

* Update src/Interpreters/DatabaseCatalog.cpp

Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>

* Update src/Interpreters/DatabaseCatalog.cpp

Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>

* Update src/Interpreters/DatabaseCatalog.cpp

Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>

* Update src/Interpreters/DatabaseCatalog.cpp

Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>

* Update src/Interpreters/DatabaseCatalog.cpp

Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>

* Update src/Interpreters/DatabaseCatalog.cpp

Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>

* fixed build

* added -unlocked versions of functions

* Revert "fixed build"

This reverts commit 8ce961be21.

* Revert "fixed build"

This reverts commit 8ce961be21.

* changed usage of assertDatabaseExistsUnlocked()

* fixed style check

* style check

* style check

* Revert "style check"

This reverts commit 28a9ee85a0.

* Merge branch 'master' into hints-for-wrong-db-or-table-name

* Changed AssertDatabaseExists and unified exception output

* resolved proposed changes and modified tests

* Revert "resolved proposed changes and modified tests"

This reverts commit d45337d65c.

* resolved requested changes

* fixed tests

* fixed tests

* fixed check black

* Update include brackets

Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>

* Update suggested changes

* Update suggested changes

* Fixed style check

* Added test to analyzer_integration_broken

* Update DatabaseCatalog.cpp

* Update test.py

* fixed test

* Revert "fixed test"

This reverts commit ca6d4c17c8.

* fixed test

* Revert "fixed test"

This reverts commit fe6d0d9c86, reversing
changes made to 22f4496704.

* Update test.py

* fixed black check

* Update test.py

* fixed long_log_tinylog_deadlock_race

* Update DatabaseCatalog.cpp

* Update test.py

* style

* Update DatabaseCatalog.cpp

* Fixed test

* implemented for IDatabase

* Style check

* removed const_cast

* Update DatabaseCatalog.h

* Update DatabaseCatalog.h

* Update DatabaseCatalog.cpp

* Update DatabaseCatalog.cpp

* Added db name to hints

* Update 00002_log_and_exception_messages_formatting.sql

* Update 00002_log_and_exception_messages_formatting.sql

---------

Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>
2023-08-11 13:24:16 +03:00
Alexey Gerasimchuck
820d821f50 black run 2023-08-11 06:30:48 +00:00
Alexey Gerasimchuck
b7c47af8bf added missed files 2023-08-11 06:18:20 +00:00
Alexey Gerasimchuck
5bc5649732 added an integration test for peak_memory_usage 2023-08-11 05:39:13 +00:00
Bharat Nallan Chakravarthy
73ea9b058f add integration tests 2023-08-10 21:14:47 -07:00
Alexey Milovidov
19ef25a7d2 Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-grammarly 2023-08-11 01:04:33 +02:00
Ilya Golshtein
7d7fbc9049 system_kafka_consumers: avoid collision in test 2023-08-10 22:35:05 +00:00
Ilya Golshtein
4a8ca0ffaf system_kafka_consumers: black formatter again 2023-08-10 22:35:05 +00:00
Ilya Golshtein
3bced2f08c system_kafka_consumers: tidy fix, one partition for stable test 2023-08-10 22:35:05 +00:00
Ilya Golshtein
bccf42c083 system_kafka_consumers: some legacy forgotten 2023-08-10 22:35:05 +00:00
Ilya Golshtein
a38459b407 system_kafka_consumers: black formatter 2023-08-10 22:35:05 +00:00
Ilya Golshtein
978d8bf9a6 system_kafka_consumers: cleanup with exceptions 2023-08-10 22:35:05 +00:00
Ilya Golshtein
7dab2dc041 system_kafka_consumers: exceptions seem to work 2023-08-10 22:35:05 +00:00
Ilya Golshtein
e8b10f0126 system_kafka_consumers: black formatter thing 2023-08-10 22:35:05 +00:00
Ilya Golshtein
80829a6bf7 system_kafka_consumers: no offset_committed, new test with MV 2023-08-10 22:35:05 +00:00
Ilya Golshtein
ae3e6f0fac system_kafka_consumers: getMemberId introduced to avoid leak 2023-08-10 22:35:05 +00:00
Ilya Golshtein
2cc4bb355c system_kafka_consumers: make black formatter happy 2023-08-10 22:35:05 +00:00
Ilya Golshtein
46be5e5782 system_kafka_consumers: cleanup, test should be more stable 2023-08-10 22:35:05 +00:00
Ilya Golshtein
1f03e320ee system_kafka_consumers: test fix + black formatter 2023-08-10 22:35:05 +00:00
Ilya Golshtein
b71c2bedfc system_kafka_consumers: rebalance test is ok, statistics_interval_ms 2023-08-10 22:35:05 +00:00
Ilya Golshtein
ae6e0469ad system_kafka_consumers: rdfakfa stat with attempt to use json 2023-08-10 22:35:05 +00:00
Ilya Golshtein
40fd53c3e3 system_kafka_consumers: style check 2023-08-10 22:35:05 +00:00
Ilya Golshtein
88f5dd5db8 system_kafka_consumers: integration tests passed 2023-08-10 22:35:05 +00:00
Ilya Golshtein
5e1c72a0d0 system_kafka_consumers: test with rebalance 2023-08-10 22:35:05 +00:00
Ilya Golshtein
957787d96a system_kafka_consumers: kind of works, test added 2023-08-10 22:35:05 +00:00
Alexey Milovidov
5fa4cb9345
Revert "#2 Added new tests for session_log and fixed the inconsistency between login and logout." 2023-08-11 00:59:48 +03:00
Dmitry Novik
e1c20bb251
Merge branch 'master' into fix-system-flush-test 2023-08-10 22:22:47 +02:00
Arthur Passos
8656f9090b black 2023-08-10 17:22:01 -03:00
Arthur Passos
9781a8cee9 bring back dns tests, fix them by pining coredns version and modifying test_reverse_dns_query 2023-08-10 16:45:29 -03:00
Alexander Tokmakov
3d59ebe108 fix 2023-08-10 20:11:22 +02:00
Nikolay Degterinsky
bcc0fbbf91 Add EXCEPT clause to SYSTEM STOP LISTEN query 2023-08-10 16:10:33 +00:00
kssenii
4598814e9a Better test 2023-08-10 17:19:54 +02:00
robot-ch-test-poll3
c3c4125328
Merge pull request #53255 from arenadata/ADQM-1011
#2 Added new tests for session_log and fixed the inconsistency between login and logout.
2023-08-10 17:06:24 +02:00
Alexander Tokmakov
6ae0ba1163 Merge branch 'master' into fixes_for_detached_parts 2023-08-10 17:01:05 +02:00
Alexander Tokmakov
635e7e74a8 add garbage 2023-08-10 16:52:57 +02:00
Alexey Milovidov
1365fc91c7
Merge pull request #53081 from ClickHouse/Something
Something with tests
2023-08-10 17:02:25 +03:00
pufit
8c9209745c
Merge pull request #53127 from ClickHouse/pufit/keeper-client-improvements
Revert Revert "Implementing new commands for keeper-client"
2023-08-10 09:51:36 -04:00
pufit
af51268da1
Merge pull request #51912 from ClickHouse/pufit/role-from-storage
Create, Drop, or Move access entities between different access storages.
2023-08-10 09:47:26 -04:00
Kseniia Sumarokova
137ec90a8b
Better test 2023-08-10 14:27:29 +02:00
Igor Nikonov
0282b6961a Merge remote-tracking branch 'origin/master' into fix-parallel-replicas-multiply-result 2023-08-10 11:47:18 +00:00
Alexey Gerasimchuck
7ed7707ab7 black run 2023-08-10 11:19:16 +00:00
Alexey Gerasimchuck
0ff5d12788 Added decription to the test + race condition fix 2023-08-10 11:14:55 +00:00
Sergei Trifonov
a9ae102169
Merge branch 'master' into improve-throttling-tests 2023-08-10 13:04:28 +02:00
Nikolay Degterinsky
7321f5e543 Better 2023-08-10 06:34:10 +00:00
Alexey Gerasimchuck
d499f8030a reverted change in test 2023-08-10 05:20:00 +00:00
Alexey Gerasimchuck
26aded5062 Used main connections for suggestions 2023-08-10 04:11:07 +00:00
Alexey Milovidov
cf97797836
Merge pull request #53241 from ClickHouse/remove-gargabe-tests
Remove garbage
2023-08-10 07:04:20 +03:00
Alexey Gerasimchuck
b8be7eef04 Added new tests for session_log and bugfix 2023-08-10 03:45:59 +00:00
Nikolay Degterinsky
3c6d140c17 Fix sigle quote escaping in PostgreSQL engine 2023-08-10 01:31:59 +00:00
Alexey Milovidov
bc2015356a
Merge branch 'master' into fix-system-flush-test 2023-08-10 04:14:14 +03:00
Alexey Milovidov
9c5e5ed2d0
Merge branch 'master' into vdimir/test_quorum_inserts 2023-08-10 04:12:53 +03:00
Alexey Milovidov
c071f6755d
Revert "Added new tests for session_log and fixed the inconsistency between login and logout." 2023-08-10 04:10:03 +03:00
Alexey Milovidov
2f0ecd2ddf
Merge branch 'master' into Something 2023-08-10 03:45:13 +03:00
Michael Kolupaev
65d3778b03 Fix warning in test_replicated_database 2023-08-09 23:40:08 +00:00
pufit
1a3eac0d4d
Merge branch 'master' into pufit/role-from-storage 2023-08-09 17:50:07 -04:00
Alexey Milovidov
481792181e Remove garbage 2023-08-09 23:12:39 +02:00
Igor Nikonov
5e7a438631 Fix cluster configs
correct internal replication flag
2023-08-09 19:33:45 +00:00
Igor Nikonov
88182b5535 Fix cluster configuration 2023-08-09 13:29:45 +00:00
Alexander Tokmakov
54a82072e7
Update test.py 2023-08-09 15:06:31 +03:00
Alexander Tokmakov
48ed54e822
Allow experimantal features when recovering Replicated db replica (#53167)
* allow experimantal features when recovering Replicated db replica

* Automatic style fix

---------

Co-authored-by: robot-clickhouse <robot-clickhouse@users.noreply.github.com>
2023-08-09 14:35:50 +03:00
Alexander Tokmakov
85af996d5c
Update test.py (#53195) 2023-08-09 12:53:05 +03:00
Antonio Andelic
ef3e0f7b83 Use async replication in tests 2023-08-09 06:25:47 +00:00
pufit
884ea7f592
Merge branch 'master' into pufit/role-from-storage 2023-08-08 20:20:37 -04:00
Alexey Milovidov
f6faacd394
Merge branch 'master' into Something 2023-08-08 23:55:27 +03:00
robot-clickhouse
4b6ade18b2 Automatic style fix 2023-08-08 20:06:59 +00:00
Dmitry Novik
2637308207 Analyzer: fix test_system_flush_logs 2023-08-08 19:54:07 +00:00
Alexander Tokmakov
2a92dc4b70
Update conftest.py (#53166)
* Update conftest.py

* Automatic style fix

---------

Co-authored-by: robot-clickhouse <robot-clickhouse@users.noreply.github.com>
2023-08-08 22:23:18 +03:00
Alexey Milovidov
227586acf4
Merge pull request #53113 from ClickHouse/Fix_flaky_test_user_azure_query
Fix flaky test by using azure_query function
2023-08-08 20:09:04 +03:00
Alexander Tokmakov
c1b94b4a3f fixes for detach/attach partition 2023-08-08 17:55:04 +02:00
Dmitry Novik
29051b7fd1
Merge branch 'master' into analyzer-fix-integration 2023-08-08 16:13:44 +02:00
kssenii
aa5eef8408 Move test to a separate folder 2023-08-08 14:08:28 +02:00
vdimir
60ab34f6b0
sync second replica in test_insert_quorum 2023-08-08 11:06:49 +00:00
vdimir
52c7a29309
use unique table names in test_quorum_inserts 2023-08-08 11:02:25 +00:00
alesapin
c12292306d
Merge pull request #53107 from ClickHouse/remove_duplicate_test
Remove duplicate test: `test_concurrent_alter_with_ttl_move`
2023-08-08 11:53:46 +02:00
alesapin
d5338826c9
Merge pull request #53108 from ClickHouse/relax_flaky_test
Relax flaky test `test_s3_engine_heavy_write_check_mem`
2023-08-08 11:53:02 +02:00
robot-clickhouse
201b4fd661 Automatic style fix 2023-08-08 09:32:44 +00:00
Smita Kulkarni
1994bc0d05 Improvements to disallow concurrency of backup restore function, added wait_for_fail_backup & wait_for_fail_restore 2023-08-08 11:08:43 +02:00
pufit
2f46ae850e
Merge branch 'master' into pufit/role-from-storage 2023-08-07 17:57:41 -04:00
Alexander Tokmakov
3073f783e9
Merge pull request #53119 from ClickHouse/tavplubix-patch-9
Update `test_restore_replica`
2023-08-08 00:29:28 +03:00
robot-clickhouse
6dc1772781 Automatic style fix 2023-08-07 21:28:44 +00:00
Igor Nikonov
8ba67f10bb Update test name 2023-08-07 21:13:08 +00:00
Igor Nikonov
50b0db598e Update test: use ReplicatedMergeTree 2023-08-07 21:06:12 +00:00
robot-clickhouse
9b631e2cef Automatic style fix 2023-08-07 19:23:31 +00:00
Igor Nikonov
fd69b18184
Merge branch 'master' into fix-parallel-replicas-multiply-result 2023-08-07 21:14:33 +02:00
Igor Nikonov
cb49b7b9ad Integration test 2023-08-07 19:12:53 +00:00
Vitaly Baranov
6af6247f8a
Merge pull request #52970 from arenadata/ADQM-985
Add `storage_policy` parameter in the `SETTINGS` clause of `RESTORE` statements
2023-08-07 19:01:08 +02:00
pufit
30700996f0 Merge branch 'master' into pufit/keeper-client-improvements
# Conflicts:
#	docs/en/operations/utilities/clickhouse-keeper-client.md
#	programs/keeper-client/Commands.cpp
#	programs/keeper-client/Commands.h
#	programs/keeper-client/KeeperClient.cpp
#	tests/integration/test_keeper_client/test.py
2023-08-07 12:26:08 -04:00
pufit
8e6f7b4d0b Fix typo, fix tests, touch command. 2023-08-07 12:08:31 -04:00
robot-clickhouse
a69bbc8a5a Automatic style fix 2023-08-07 15:49:34 +00:00
Dmitry Novik
53f9bf2ea3 Update list 2023-08-07 15:22:11 +00:00
Anton Popov
67ee1a2385 fix tests 2023-08-07 15:00:25 +00:00
Alexander Tokmakov
97a2988919
Update test.py 2023-08-07 16:58:59 +03:00
Anton Popov
76b279ddb4 Merge remote-tracking branch 'upstream/master' into HEAD 2023-08-07 13:56:17 +00:00
Kseniia Sumarokova
6044da4baf
Merge branch 'master' into parallelize-file-cache-metadata-download 2023-08-07 15:42:40 +02:00
robot-clickhouse
9587589a49 Automatic style fix 2023-08-07 13:04:51 +00:00
Smita Kulkarni
30d7b7999e Updated to use azure_query in test & test_cluster 2023-08-07 14:46:21 +02:00
Alexander Tokmakov
73d75cde11
Merge pull request #52958 from arenadata/ADQM-1011
Added new tests for session_log and fixed the inconsistency between login and logout.
2023-08-07 15:18:16 +03:00
Alexander Tokmakov
c7996d5453
increase election timeout in integration tests (#53052) 2023-08-07 14:48:52 +03:00
Alexander Sapin
eb43d480f0 Relax flaky test 2023-08-07 12:59:25 +02:00
Alexander Sapin
c830ad0a81 Fix 2023-08-07 12:58:00 +02:00
robot-clickhouse
8dc360e4c7 Automatic style fix 2023-08-07 10:31:41 +00:00
Alexander Sapin
80b681022c Remove duplicate test 2023-08-07 12:20:44 +02:00
Kseniia Sumarokova
e593efc827
Merge pull request #53032 from valbok/nc-alter
MaterializedMySQL: Add tests to alter named collections
2023-08-07 11:54:49 +02:00
Alexey Gerasimchuck
7dbc0d3510
Merge branch 'master' into ADQM-1011 2023-08-07 18:54:16 +10:00
SmitaRKulkarni
75f81bdc44
Merge pull request #50795 from ClickHouse/azure_table_function_cluster
Table function azureBlobStorageCluster
2023-08-07 09:16:52 +02:00
Alexey Milovidov
674767df16 Fix review comments 2023-08-06 16:29:15 +02:00
Alexey Milovidov
3f9e6bb2f0 Merge branch 'fix-grammarly' of github.com:ClickHouse/ClickHouse into fix-grammarly 2023-08-06 16:28:08 +02:00
Alexey Milovidov
93a10980e9 Fix review comments 2023-08-06 16:27:45 +02:00
robot-clickhouse
5b0b5284c5 Automatic style fix 2023-08-06 12:57:48 +00:00
Alexey Milovidov
ce2fcc8f33 Fix wording 2023-08-06 14:48:20 +02:00
Alexey Gerasimchuck
b65a86c530
Merge branch 'master' into ADQM-1011 2023-08-06 07:29:40 +10:00
Alexey Milovidov
0a6d9881a7 Maybe better, but not sure 2023-08-05 16:52:44 +02:00
Alexey Milovidov
aa57fb6602 Maybe better, but not sure 2023-08-05 14:07:55 +02:00
Alexey Milovidov
10af8fcca4 Fix Python 2023-08-05 14:05:06 +02:00
Alexey Milovidov
9de9587965 Something with tests 2023-08-05 13:54:36 +02:00
Alexey Milovidov
6825b008e7
Merge pull request #52906 from azat/tests/fix-EADDRINUSE-v2
tests: fix possible EADDRINUSE v2
2023-08-05 13:39:25 +03:00
Alexey Gerasimchuck
c2f94101e9
Merge branch 'master' into ADQM-1011 2023-08-05 20:35:45 +10:00
Alexey Milovidov
7f4ce7697b
Merge branch 'master' into vdimir/tmp_storage_cache_msg 2023-08-04 23:11:28 +03:00
SmitaRKulkarni
1e3ae89161
Merge branch 'master' into azure_table_function_cluster 2023-08-04 21:39:32 +02:00
Victor Krasnov
a2f48e5bb3 Merge branch 'master' into ADQM-985 2023-08-04 19:02:18 +03:00
Alexey Milovidov
376eeeb842
Fix test_zookeeper_config (#52988)
* Fix `test_zookeeper_config`

* Update tests/integration/test_zookeeper_config/test.py

Co-authored-by: Alexander Tokmakov <tavplubix@clickhouse.com>

* Update tests/integration/test_zookeeper_config/test.py

* Update test.py

---------

Co-authored-by: Alexander Tokmakov <tavplubix@clickhouse.com>
2023-08-04 17:18:50 +03:00
Dmitry Novik
02ed17dfa5 Analyzer: do not enable it for old servers in tests 2023-08-04 14:16:33 +00:00
Kruglov Pavel
b1fe9ce8f7
Merge branch 'master' into formats-with-subcolumns 2023-08-04 13:01:12 +02:00
alesapin
109b0197d6
Merge pull request #52984 from ClickHouse/remove-test_host_regexp_multiple_ptr_records_concurrent
Remove `test_host_regexp_multiple_ptr_records_concurrent`, CC @arthurpassos
2023-08-04 11:58:19 +02:00
Val Doroshchuk
3d7bf0626c MaterializedMySQL: Add tests to alter named collections 2023-08-04 11:50:53 +02:00
Kseniia Sumarokova
39916f15eb
Merge branch 'master' into utf-dml-test 2023-08-04 11:26:43 +02:00
alesapin
4390129511
Merge pull request #52989 from ClickHouse/relax_test
Remove assertion from test_no_ttl_merges_in_busy_pool
2023-08-04 11:00:56 +02:00
Kseniia Sumarokova
af610062ec
Merge pull request #52962 from canhld94/fix_mysql_password_leak
Fix password leak in show create mysql table
2023-08-04 10:57:59 +02:00
SmitaRKulkarni
def587701b
Merge pull request #52855 from ClickHouse/Fix_flaky_azure_blob_storage_tests
Fix flaky tests in test_merge_tree_azure_blob_storage & test_storage_azure_blob_storage
2023-08-04 09:59:30 +02:00
Alexey Gerasimchuck
24cdaf305d Reduced test flakiness 2023-08-04 06:09:29 +00:00
robot-clickhouse
e8017d7af0
Merge pull request #42019 from ClickHouse/more-checks-in-thread-status
Add more checks into ThreadStatus ctor.
2023-08-04 05:56:28 +02:00
Vitaly Baranov
587877dba3
Merge branch 'master' into disable-fs-cache-for-backups 2023-08-04 01:15:23 +02:00
Alexey Gerasimchuck
1e7daca85b Added new tests for session_log plus bugfix 2023-08-03 22:06:33 +00:00
SmitaRKulkarni
75356367fa
Merge branch 'master' into Fix_flaky_azure_blob_storage_tests 2023-08-03 17:46:59 +02:00
Duc Canh Le
63a46d7cb0
fix pg integration test 2023-08-03 21:05:31 +08:00
robot-clickhouse
c279b00c52 Automatic style fix 2023-08-03 12:55:27 +00:00
Anton Popov
92cb5e9ae3
Merge pull request #52687 from alkorgun/fix-named-collections-on-cluster-23.7
Fix named collections on cluster 23.7
2023-08-03 14:50:28 +02:00
Kseniia Sumarokova
a8821d6a05
Merge branch 'master' into parallelize-file-cache-metadata-download 2023-08-03 14:47:18 +02:00
Alexey Milovidov
a98fae936d Fix test_dictionary_custom_settings 2023-08-03 14:33:29 +02:00
alesapin
cc8c2c88bf Remove assertion from test_no_ttl_merges_in_busy_pool 2023-08-03 14:25:37 +02:00
Alexey Milovidov
3a9f9e1297
Revert "Implementing new commands for keeper-client" 2023-08-03 15:05:52 +03:00
Smita Kulkarni
68a10e7cae Merge branch 'master' into azure_table_function_cluster 2023-08-03 13:59:59 +02:00
Alexey Milovidov
d9e45e11c7 Remove test_host_regexp_multiple_ptr_records_concurrent, CC @arthurpassos 2023-08-03 13:59:39 +02:00
Alexander Tokmakov
e451b6d8cf
Merge pull request #52969 from arenadata/ADQM-1080
Added  TSAN option report_atomic_races=0 for test_max_sessions_for_user
2023-08-03 14:52:59 +03:00
Vitaly Baranov
6ac61b1fdd Fix tests. 2023-08-03 13:52:35 +02:00
Vitaly Baranov
556ecf5c1c Renamed backup setting "read_from_filesystem_cache_if_exists_otherwise_bypass_cache" -> "read_from_filesystem_cache". 2023-08-03 13:52:35 +02:00
Vitaly Baranov
1cd7902079 Add test. 2023-08-03 13:52:35 +02:00
Alexander Tokmakov
7684e68008
Add system stop pulling replication log (#52881)
* add system stop pulling replication log

* add const

* fix another stupid test

* Update test.py
2023-08-03 13:34:43 +03:00
vdimir
4747b7b0be
upd test_temporary_data_in_cache 2023-08-03 10:32:48 +00:00
Alexander Tokmakov
9e0d27dc4d
don't create empty parts on drop partittion if we have a transaction (#52945) 2023-08-03 13:16:32 +03:00
Nikolai Kochetov
5d64e036ba
Merge pull request #52695 from yariks5s/in_schema_case_sensitiveness
Information_schema case sensitiveness
2023-08-03 12:15:31 +02:00
Val Doroshchuk
7da85cc0de MaterializedMySQL: Add tests for unquoted utf8 column names in DML 2023-08-03 11:53:56 +02:00
Aleksei Filatov
0fc0a89f80 Add tests 2023-08-03 12:45:07 +03:00
Duc Canh Le
cc7f771093 Fix for postgres as well 2023-08-03 09:15:45 +00:00
Alexey Gerasimchuck
c7fcc611b2 added TSAN option report_atomic_races=0 2023-08-03 08:27:58 +00:00
Duc Canh Le
06229c1ba6 fix password leak in show create mysql table 2023-08-03 03:50:41 +00:00
Azat Khuzhin
344d648cab tests: adjust net.ipv4.ip_local_port_range for some services to avoid EADDRINUSE
As it turns out, docker does not pass through the sysctls, so adjust
this for know users of unprivileged ports (>32K):
- HDFS
- kafka

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-08-02 21:17:49 +02:00
Anton Popov
89bb3f3410
fix style-check 2023-08-02 19:25:33 +02:00
Victor Krasnov
d8792bf429 Merge branch 'master' into ADQM-985
# Conflicts:
#	docs/en/operations/backup.md
2023-08-02 20:17:59 +03:00
kssenii
c9f0c426e1 Fix style check, improve test 2023-08-02 17:15:50 +02:00
kssenii
d87162f43c Fix 2023-08-02 17:09:47 +02:00
kssenii
0d0cbb44e8 Paralelize loading of cache metadata on startup 2023-08-02 16:46:16 +02:00
Anton Popov
ff137773e7
Merge branch 'master' into formats-with-subcolumns 2023-08-02 15:24:56 +02:00
robot-clickhouse
6e49d3add6 Automatic style fix 2023-08-02 12:34:43 +00:00
Smita Kulkarni
2c47679918 Merge branch 'master' into azure_table_function_cluster 2023-08-02 14:19:45 +02:00
Yarik Briukhovetskyi
ffdc174c9a
Update test.py 2023-08-02 13:24:05 +02:00
Alexander Tokmakov
716b1ebcb7
Merge pull request #52907 from ClickHouse/merging_52897
Merging #52897
2023-08-02 13:06:23 +03:00
Kseniia Sumarokova
b2d2a295fd
Merge pull request #49086 from s-kat/s3queue
Streaming Data Import From S3
2023-08-02 11:32:48 +02:00
robot-clickhouse
c1752355b4 Automatic style fix 2023-08-02 06:40:32 +00:00
Antonio Andelic
dc33564044 Disable reconfig test until proper fix 2023-08-02 06:30:22 +00:00
Alexey Gerasimchuck
288e3f75fb fix json 2023-08-02 00:36:25 +00:00
Alexey Gerasimchuck
7e37f1fabd fixed test flakiness 2023-08-02 00:32:20 +00:00
Kseniia Sumarokova
8893670d98
Merge branch 'master' into s3queue 2023-08-01 18:42:32 +02:00
Yarik Briukhovetskyi
104a4aaee5
Merge pull request #51117 from ClickHouse/pufit/keeper-client-improvements
Implementing new commands for keeper-client
2023-08-01 17:47:33 +02:00
yariks5s
2227945529 fixed tests 2023-08-01 13:34:19 +00:00
János Benjamin Antal
a6861ea2f5
Merge pull request #52386 from ybogo/support-predefined-macro-in-kafka-settings
Add predefined macros support in Kafka engine settings
2023-08-01 14:49:01 +02:00
Victor Krasnov
9027ab968e Extend the set of test cases in the integration test 2023-08-01 15:44:43 +03:00
robot-clickhouse
4561378c20 Automatic style fix 2023-08-01 10:57:46 +00:00
Smita Kulkarni
ce4f273be1 Updated list of retryable errors and updated both tests to use same azure_query function 2023-08-01 12:39:36 +02:00
Victor Krasnov
505b4d0112 Simplify the integration test - use backup to File instead of Disk 2023-08-01 13:39:23 +03:00
Alexander Tokmakov
abb80d45f0
Merge branch 'master' into tavplubix-patch-8 2023-08-01 13:30:13 +03:00
alesapin
0ee9797fb8
Merge pull request #51141 from ClickHouse/azure_blob_storage_sas_token
Azure blob storage sas token
2023-08-01 12:27:17 +02:00
serxa
f4779dac41 Merge branch 'improve-throttling-tests' of github.com:ClickHouse/ClickHouse into improve-throttling-tests 2023-08-01 09:44:14 +00:00
serxa
135790c0d6 more fixes 2023-08-01 09:44:08 +00:00
Kseniia Sumarokova
40ce9cf9ed
Merge pull request #51843 from ClickHouse/kssenii-nginx
Replace kssenii/nginx-test by clickhouse/nginx-dav
2023-08-01 11:36:20 +02:00
Victor Krasnov
946f2f0b39 Simplify the integration test - dispose of the excessive details that cluttered it 2023-08-01 12:24:08 +03:00
Sergei Trifonov
1e44ada200
Merge branch 'master' into improve-throttling-tests 2023-08-01 11:16:21 +02:00
serxa
513d3fd3c1 fix more places 2023-08-01 09:15:35 +00:00
Nikolai Kochetov
15c77afd8e
Merge pull request #52823 from ClickHouse/try-fix-test_version_update_after_mutation
Try to remove more leftovers.
2023-07-31 22:22:18 +02:00
Victor Krasnov
2ed74507e7 Blacken test_backup_restore_storage_policy/test.py 2023-07-31 22:05:23 +03:00
Victor Krasnov
731b780b84 Add integration test 2023-07-31 21:06:13 +03:00
alesapin
0784379583
Merge pull request #52822 from ClickHouse/trying_to_debug_materialize_mysql
Add more logging and touch test for materialize mysql
2023-07-31 19:52:55 +02:00
Vitaly Baranov
f5ffef4014
Merge pull request #52658 from arenadata/ADQM-984
Add s3_storage_class parameter in SETTINGS of BACKUP statement
2023-07-31 17:32:12 +02:00
Alexander Tokmakov
e02805d9f7
Update test.py 2023-07-31 16:55:51 +03:00
kssenii
c13fdca23e Merge remote-tracking branch 'upstream/master' into s3queue 2023-07-31 15:32:56 +02:00
Nikolai Kochetov
b98d54cdf3 Add flushing logs 2023-07-31 13:05:53 +00:00
Nikolai Kochetov
8f5d0c0cd4 Revert "Merge pull request #52514 from azat/tests/fix-test_version_update_after_mutation"
This reverts commit dd491eeae2, reversing
changes made to b225f9c34b.
2023-07-31 13:03:04 +00:00
Alexander Tokmakov
7359a8108b
Merge pull request #51724 from arenadata/ADQM-939
Added max_sessions_for_user setting
2023-07-31 15:38:58 +03:00
alesapin
efba3a2113 Add more logging and touch test for materialize mysql 2023-07-31 14:32:09 +02:00
serxa
fb8502ba76 do not test upper bounds for throttlers 2023-07-31 12:20:27 +00:00
Alexander Tokmakov
01f05e14eb
Merge pull request #50424 from tonickkozlov/tonickkozlov/zk-session-lifetime
Introduce fallback ZooKeeper sessions
2023-07-31 15:14:44 +03:00
robot-ch-test-poll4
891ae75c55
Merge pull request #52680 from evillique/fixes-start-stop-listen
Fix bugs and better test for SYSTEM STOP LISTEN
2023-07-31 11:39:50 +02:00
Antonio Andelic
1a95a6810f
Merge branch 'master' into fix-test_keeper_reconfig_replace_leader 2023-07-31 10:58:29 +02:00
Alexey Milovidov
d3ea44326a
Merge pull request #52796 from ClickHouse/maybe-fix-tls-tests
Maybe fix TLS tests
2023-07-31 11:47:53 +03:00
Alexey Gerasimchuck
7e9e0ac758
Merge branch 'master' into ADQM-939 2023-07-31 18:12:29 +10:00
Alexey Milovidov
c825f15b74
Merge pull request #52441 from CheSema/reset-connection-s3
add tests with connection reset by peer error, and retry it inside client
2023-07-31 09:58:41 +03:00
robot-clickhouse
010f3f1db1 Automatic style fix 2023-07-31 05:39:49 +00:00
Alexey Milovidov
a7b4a29ed9
Merge branch 'master' into fixes-start-stop-listen 2023-07-31 08:34:17 +03:00
Alexey Milovidov
efad90d0f2 Maybe fix TLS tests 2023-07-31 07:26:36 +02:00
Alexey Gerasimchuck
2c07607f25
Merge branch 'master' into ADQM-939 2023-07-31 13:43:45 +10:00
robot-ch-test-poll3
10c6c040aa
Merge pull request #52779 from ClickHouse/revert-52496-revert-52419-implement_borders_for_sampling_memory_profiler
Revert "Revert "Add an ability to specify allocations size for sampling memory profiler""
2023-07-31 05:18:27 +02:00
Alexey Gerasimchuck
e58b3cfd32 Implemented max sessions for user 2023-07-30 22:09:03 +00:00
alesapin
3e5767853d Disable test for sanitizers 2023-07-30 14:15:17 +02:00
alesapin
aba291ca68
Revert "Revert "Add an ability to specify allocations size for sampling memory profiler"" 2023-07-30 14:01:34 +02:00
Kseniia Sumarokova
3a2f446b8b
Merge branch 'master' into vdimir/test_alter_moving_garbage_retry 2023-07-30 13:34:24 +02:00
kssenii
6e99e5c453 Fix another flaky test 2023-07-30 13:27:01 +02:00
Илья Коргун
7725c53408 Reformat the previously added test with black 2023-07-30 09:42:57 +03:00
Илья Коргун
c921748d61 Add named collections ddl on cluster integration test 2023-07-30 08:58:16 +03:00
Yury Bogomolov
ba081ed402
Merge branch 'master' into support-predefined-macro-in-kafka-settings 2023-07-29 15:00:21 +04:00
pufit
f42cfddee7
Update test.py 2023-07-28 20:28:56 -04:00