Commit Graph

7280 Commits

Author SHA1 Message Date
Kruglov Pavel
06de25451a
Merge branch 'master' into formats-with-subcolumns 2023-07-06 16:21:52 +02:00
Alexey Milovidov
6d8434c702 Merge branch 'master' into many-fixes-3 2023-07-06 16:17:32 +02:00
Alexey Milovidov
1fa21700ad Merge remote-tracking branch 'origin/less-flaky-test_start_stop_moves' into many-fixes-3 2023-07-06 16:17:13 +02:00
Alexander Sapin
30bcc73c63 Merge branch 'master' into add_delay_for_replicated 2023-07-06 14:29:15 +02:00
Kseniia Sumarokova
e97e107bcc
Merge branch 'master' into add-separate-access-for-use-named-collections 2023-07-06 12:16:53 +02:00
robot-clickhouse
69691fd28c Automatic style fix 2023-07-06 09:38:16 +00:00
Smita Kulkarni
56e45ba384 Added test for select query when container does not exist 2023-07-06 11:17:04 +02:00
Andrey Zvonov
cc0210f760
Merge branch 'master' into zvonand-issue-49290 2023-07-06 11:13:51 +02:00
Antonio Andelic
7281bda072 Merge branch 'master' into fix-flaky-keeper-map-test 2023-07-06 06:43:27 +00:00
Antonio Andelic
0b0ce5191c Merge branch 'master' into less-flaky-test_start_stop_moves 2023-07-06 06:17:29 +00:00
Antonio Andelic
af0de3d614 Small fixes 2023-07-06 06:17:11 +00:00
Victor Krasnov
fef71ab0b8 Add inegration test 2023-07-06 14:16:46 +08:00
Victor Krasnov
479efaa79a Add clickhouse_log_file and clickhouse_error_log_file args to add_instance() 2023-07-06 14:16:18 +08:00
Nikolay Degterinsky
546f12dc85 Fix inserts to MongoDB tables 2023-07-06 05:05:27 +00:00
Alexey Milovidov
64d5a85f6e Fix test_replicated_table_attach 2023-07-06 03:16:06 +02:00
Alexey Milovidov
5452f2106f
Merge branch 'master' into sunny19930321-fix-attach-table-function-name-normalizer 2023-07-06 03:50:18 +03:00
Sema Checherinda
44791af710 stop merges properly for replicated tables 2023-07-05 22:54:22 +02:00
alesapin
66484a4dd0
Merge branch 'master' into add_delay_for_replicated 2023-07-05 20:03:34 +02:00
Kruglov Pavel
60cf8a4c94
Merge branch 'master' into better-progress-bar-2 2023-07-05 19:58:55 +02:00
Antonio Andelic
b60a1c53d6 Fix oldest part fetching 2023-07-05 17:43:09 +00:00
alesapin
f2d106ffb7 Fix typos 2023-07-05 18:54:33 +02:00
robot-clickhouse
085576efc9 Automatic style fix 2023-07-05 16:22:58 +00:00
alesapin
baee73fd96 Make shutdown of replicated tables softer 2023-07-05 18:11:25 +02:00
Ilya Yatsishin
b0e2d010eb Merge remote-tracking branch 'origin/fix-flaky-keeper-map-test' into many-fixes-3 2023-07-05 17:07:21 +02:00
Antonio Andelic
12f413c7a7
Merge branch 'master' into fix-flaky-keeper-map-test 2023-07-05 14:00:10 +02:00
Antonio Andelic
47cffa6f1e Properly check the first part disk 2023-07-05 10:40:40 +00:00
Kseniia Sumarokova
dcda3576d2
Merge branch 'master' into add-separate-access-for-use-named-collections 2023-07-05 12:05:49 +02:00
Alexey Milovidov
435d39bccd
Merge branch 'master' into try_fix_hdfs_tests 2023-07-05 01:56:17 +03:00
Alexey Gerasimchuck
2b77196a47
Merge branch 'master' into ADQM-970 2023-07-05 07:44:31 +10:00
Kruglov Pavel
a2805f8f44
Merge branch 'master' into formats-with-subcolumns 2023-07-04 23:27:03 +02:00
avogar
98aa6b317f Support reading subcolumns from file/s3/hdfs/url/azureBlobStorage table functions 2023-07-04 21:17:26 +00:00
Alexey Milovidov
31f68c2c67 Merge branch 'master' into deprecate-metadata-cache 2023-07-04 22:28:14 +02:00
robot-clickhouse
13cc329bfb Automatic style fix 2023-07-04 19:32:43 +00:00
Alexey Milovidov
8551a38e73 Update some tests 2023-07-04 21:19:30 +02:00
kssenii
6bca452924 Fix tests 2023-07-04 12:42:27 +02:00
Antonio Andelic
57ada39ccf Add retries and iptables rules dump 2023-07-04 09:31:15 +00:00
Antonio Andelic
1b71bbf1b1 Add test for ZK disconnect 2023-07-04 08:27:48 +00:00
Alexey Gerasimchuck
49907818e1 Added waiting before crash log store finish 2023-07-04 02:32:08 +00:00
Alexey Milovidov
03b8c28826
Merge branch 'master' into sunny19930321-fix-attach-table-function-name-normalizer 2023-07-04 01:28:05 +03:00
Alexey Milovidov
d7bb68064a
Merge branch 'master' into disable-hedged-requests-under-tsan 2023-07-04 01:14:18 +03:00
kssenii
20d7cf2bf6 Fix tests 2023-07-03 14:51:19 +02:00
kssenii
ac77f5fe6f Merge remote-tracking branch 'upstream/master' into add-separate-access-for-use-named-collections 2023-07-03 13:55:45 +02:00
Alexander Tokmakov
ce5ca7d2a5
Merge pull request #51502 from ClickHouse/fix_logical_error_on_mutation
Fix a logical error on mutation
2023-07-03 12:52:59 +03:00
Antonio Andelic
2058b1346e Merge branch 'master' into keeper-with-disks 2023-06-30 13:22:33 +00:00
Alexander Tokmakov
d572eff106
Merge branch 'master' into fix_logical_error_on_mutation 2023-06-30 15:12:35 +03:00
kssenii
5de869760d Merge remote-tracking branch 'upstream/master' into s3queue 2023-06-30 13:56:43 +02:00
robot-clickhouse
6b7c17fb4c Automatic style fix 2023-06-30 10:14:39 +00:00
Alexey Milovidov
b0d4c9c83b Disable hedged requests under TSan 2023-06-30 10:14:39 +00:00
Alexey Milovidov
2a7ae8f622
Merge branch 'master' into sunny19930321-fix-attach-table-function-name-normalizer 2023-06-30 12:16:49 +03:00
Alexey Milovidov
1e6f6b522c
Merge pull request #51180 from ClickHouse/update-tests-docker
Update tests' docker containers
2023-06-30 11:24:59 +03:00
Antonio Andelic
3b7f6a4324
Merge pull request #50796 from ClickHouse/keeper-add-api-version-config
Add feature flags for Keeper API
2023-06-30 09:20:52 +02:00
Alexey Milovidov
b6a37fbf18
Merge branch 'master' into many-fixes-2 2023-06-29 22:36:33 +03:00
robot-clickhouse
bbd4159bee Automatic style fix 2023-06-29 13:26:21 +00:00
Alexander Tokmakov
bac126fe3e fix 2023-06-29 15:11:02 +02:00
avogar
795e34fcf6 Fix test 2023-06-29 12:36:50 +00:00
Kseniia Sumarokova
44316ca056
Merge pull request #51523 from ClickHouse/kssenii-patch-7
Update test_storage_postgresql/test.py::test_concurrent_queries
2023-06-29 13:20:29 +02:00
Mikhail f. Shiryaev
340262814a
Avoid additional maven requests for spark tests 2023-06-29 12:24:19 +02:00
Antonio Andelic
6e1aec6e0b
Merge branch 'master' into keeper-add-api-version-config 2023-06-29 11:36:49 +02:00
Mikhail f. Shiryaev
0680f0988c
Enable other working tests 2023-06-28 22:19:43 +02:00
Mikhail f. Shiryaev
f85460d8ef
Enable tests with broken channel.start_consuming 2023-06-28 22:19:43 +02:00
Mikhail f. Shiryaev
4f1982e25e
API of pika for rabbitmq has changed 2023-06-28 22:19:42 +02:00
Mikhail f. Shiryaev
a18300c497
Improve logging in integration/test_cgroup_limit 2023-06-28 22:19:42 +02:00
Mikhail f. Shiryaev
406896f9a9
Create cgroupsv2 subtree for docker-in-docker 2023-06-28 22:19:41 +02:00
Mikhail f. Shiryaev
22c8f1c0be
Fix test_jemalloc_percpu_arena after upgrade 2023-06-28 22:19:40 +02:00
Mikhail f. Shiryaev
b2bfe2eb87
The error is changed in psycopg2=2.9.6 2023-06-28 22:19:40 +02:00
Mikhail f. Shiryaev
ead81879b4
Update integration tests runner too 2023-06-28 22:19:32 +02:00
Mikhail f. Shiryaev
45cd7f35cd
Use clickhouse/integration-helper from changed images 2023-06-28 22:11:48 +02:00
robot-clickhouse
5443987113 Automatic style fix 2023-06-28 11:33:45 +00:00
Kseniia Sumarokova
06206d092d
Update test.py 2023-06-28 13:18:53 +02:00
Kseniia Sumarokova
3c8c4ce449
Update test.py 2023-06-28 13:16:26 +02:00
János Benjamin Antal
d3677adcdf Import missing module 2023-06-28 10:37:38 +00:00
János Benjamin Antal
451694d8b6 Make test_ssl_cert_authentication similar to test_tlvs1_3 2023-06-28 10:24:54 +00:00
Andrey Zvonov
ae26ff27a1
Merge branch 'master' into zvonand-issue-49290 2023-06-28 12:13:05 +02:00
Alexander Tokmakov
0d6c7ffb30 Merge remote-tracking branch 'ch/evillique-patch-1' into many-fixes-2 2023-06-28 10:45:11 +02:00
Antonio Andelic
be852d554b Use magic_enum for values 2023-06-28 07:45:20 +00:00
robot-clickhouse
5df6f3d6e2 Automatic style fix 2023-06-28 03:40:09 +00:00
Alexey Milovidov
521137c55d
Update test.py 2023-06-28 06:28:21 +03:00
Nikolay Degterinsky
42f3871833
Fix test_host_regexp_multiple_ptr_records_concurrent 2023-06-28 02:29:27 +02:00
Nikolay Degterinsky
b95e8704d3
Fix test_host_regexp_multiple_ptr_records 2023-06-28 02:27:31 +02:00
Alexey Milovidov
a00b785291
Merge branch 'master' into sunny19930321-fix-attach-table-function-name-normalizer 2023-06-27 22:53:38 +03:00
Nikita Mikhaylov
abf56b80a9
Merge pull request #51482 from kssenii/try-fix-test-multiple-disks
Increase retries in test_multiple_disks/test.py::test_start_stop_moves
2023-06-27 21:02:22 +02:00
Nikita Mikhaylov
557f433dfd
Merge pull request #51476 from kssenii/fix-disk-web-test
Fix test_disk_over_web_server
2023-06-27 18:50:28 +02:00
kssenii
ddca9ece50 Increase retries 2023-06-27 15:32:14 +02:00
Nikita Mikhaylov
dc0dc227e0
Merge pull request #51455 from ClickHouse/many-fixes
Many fixes
2023-06-27 13:57:17 +02:00
kssenii
acea2d66f0 Fix 2023-06-27 13:40:07 +02:00
Sema Checherinda
141d6b835c
Merge branch 'master' into fix-test-profile-events-s3 2023-06-27 13:03:00 +02:00
Antonio Andelic
efbe01b6bb Merge branch 'master' into keeper-add-api-version-config 2023-06-27 10:11:04 +00:00
Smita Kulkarni
9734871345 Merge branch 'master' into azure_table_function_cluster 2023-06-27 11:09:44 +02:00
SmitaRKulkarni
dcf581a985
Merge pull request #50936 from ClickHouse/Fix_race_azure_blob_storage_iterator
Fix race azure blob storage iterator
2023-06-27 09:27:45 +02:00
Alexey Milovidov
dd3d2c9aea Fix syntax error 2023-06-27 08:01:15 +02:00
Alexey Milovidov
8610ff828e Merge branch 'fix-attach-table-function-name-normalizer' of github.com:sunny19930321/ClickHouse into sunny19930321-fix-attach-table-function-name-normalizer 2023-06-27 07:58:42 +02:00
Alexey Milovidov
40e265d92c Merge remote-tracking branch 'origin/Avogar-patch-2' into many-fixes 2023-06-27 05:33:48 +02:00
Alexey Milovidov
a601e9c2fb Merge remote-tracking branch 'origin/50679-test_tlsv1_3-is-flaky-test_https_wrong_cert-test_https_non_ssl_auth' into many-fixes 2023-06-27 05:31:17 +02:00
Alexey Milovidov
a40bfb9523 Merge branch 'fix-test_ssl_cert_authentication' into many-fixes 2023-06-27 05:24:25 +02:00
robot-clickhouse
5de8c4ac67 Automatic style fix 2023-06-26 15:27:05 +00:00
János Benjamin Antal
7cadfeac29 Add retries to flaky tests 2023-06-26 14:55:28 +00:00
Sema Checherinda
237805705c
Update test.py 2023-06-26 15:44:30 +02:00
Sema Checherinda
c4d190617c fix flacky test test_profile_events_s3 2023-06-26 14:46:51 +02:00
Kruglov Pavel
9af56624f5
Fix flaky test test_skip_empty_files 2023-06-26 13:30:51 +02:00
Alexey Milovidov
c4ea7ab5b1 Attempt to fix test_ssl_cert_authentication 2023-06-25 09:31:09 +02:00
Alexey Milovidov
e9a9a019cf Attempt to fix test_ssl_cert_authentication 2023-06-25 09:28:15 +02:00
Alexey Milovidov
8017ea79c1 Fix bad tests for DNS 2023-06-25 06:54:00 +02:00
Andrey Zvonov
0b6688ffe4
Merge branch 'master' into zvonand-issue-49290 2023-06-24 12:36:27 +02:00
robot-clickhouse-ci-1
c66ff09627
Merge pull request #51253 from kssenii/delete-non-evictable-feature
Delete feature do_not_evict_index_and_mark_files in fs cache
2023-06-24 02:37:52 +02:00
Sema Checherinda
977cd03cf2
Merge branch 'master' into memory-leak 2023-06-23 15:35:53 +02:00
Alexey Milovidov
c30c7cf5f6
Scratch the strange Python code (#51302) 2023-06-23 13:47:37 +02:00
robot-clickhouse
b6517217d8 Automatic style fix 2023-06-23 10:17:20 +00:00
Vitaly Baranov
1ec5304957
Fix multiple writing of same file to backup (#51299)
* Fix writing the same file multiple times to backup.

* Add test.

---------

Co-authored-by: Nikita Mikhaylov <mikhaylovnikitka@gmail.com>
2023-06-23 12:11:18 +02:00
Alexander Tokmakov
d57a6061ed
Merge pull request #51284 from ClickHouse/fix_check_table_structure
Disable table structure check for secondary queries from Replicated db
2023-06-23 13:04:33 +03:00
Kseniia Sumarokova
db69c87621
Remove test 2023-06-23 12:01:22 +02:00
Smita Kulkarni
db8120722f Separated functionality of Iterator into GlobIterator and KeysIterator, added test for filter by file 2023-06-23 12:00:20 +02:00
Sema Checherinda
a996c2b27d
Update test.py 2023-06-23 07:59:40 +02:00
Alexey Milovidov
59e5467adb Update tests 2023-06-23 07:58:18 +02:00
Alexey Milovidov
f0563ae719 Remove the system.metadata_cache table 2023-06-23 02:32:28 +02:00
robot-clickhouse
532eba18a0 Automatic style fix 2023-06-22 19:58:58 +00:00
Dmitry Novik
9231bd9f9d Process broken tests in report 2023-06-22 19:48:13 +00:00
Alexander Tokmakov
220520c516 fix 2023-06-22 21:45:10 +02:00
Sema Checherinda
2b01711565 fix assert in test, revert debug message 2023-06-22 21:06:53 +02:00
zvonand
84bb17033c fix black 2023-06-22 19:48:28 +02:00
robot-clickhouse
ccb42d0afa Automatic style fix 2023-06-22 17:26:42 +00:00
Alexander Tokmakov
8afb8bf13a disable table structure check for secondary queries from Replicated db 2023-06-22 19:06:28 +02:00
Andrey Zvonov
18e7b029d5
Merge branch 'master' into zvonand-issue-49290 2023-06-22 17:20:24 +02:00
Andrey Zvonov
765b4ce279 added wrong path for hdfs test 2023-06-22 17:19:47 +02:00
Anton Kozlov
0c440b9d6f Report loading status for executable dictionaries correctly 2023-06-22 10:28:13 +00:00
Alexander Tokmakov
b7dd334d55
Merge branch 'master' into fix_trash_in_disks 2023-06-21 22:23:14 +03:00
Sema Checherinda
c2fa7a1030
Merge branch 'master' into memory-leak 2023-06-21 21:15:01 +02:00
robot-clickhouse
fc5ed7ffd7 Automatic style fix 2023-06-21 18:45:28 +00:00
Alexander Tokmakov
9157314b2a fix 2023-06-21 20:29:32 +02:00
Anton Popov
022b85ba0b
Merge pull request #51164 from CurtizJ/better-check-part-with-cache
Better checking of data parts on disks with filesystem cache
2023-06-21 20:08:53 +02:00
Anton Popov
5e500cc799 fix test 2023-06-21 11:07:19 +00:00
Robert Schulze
bc7df2baca
Merge branch 'master' into non-experimental-qpl-deflate 2023-06-20 20:06:01 +02:00
Anton Popov
31ece0c512 add test for check part with cache 2023-06-20 13:28:01 +00:00
Alexander Tokmakov
bca0d76cbf
Merge pull request #50107 from ClickHouse/rmt_better_background_tasks_scheduling
Improve scheduling of background tasks in ReplicatedMergeTree
2023-06-20 16:25:19 +03:00
Dmitry Novik
c3e56a5214 Pass ENV into inner docker run 2023-06-20 15:20:21 +02:00
Andrey Zvonov
20f8b0b4f4
Merge branch 'master' into zvonand-issue-49290 2023-06-20 02:53:50 +02:00
robot-clickhouse
1122077797 Automatic style fix 2023-06-19 13:36:01 +00:00
Smita Kulkarni
641d1ecfcc Merge branch 'master' into azure_table_function_cluster 2023-06-19 15:27:21 +02:00
Alexander Tokmakov
4614416235
Merge pull request #51074 from valbok/rename
MaterializedMySQL: Rename materialize_with_ddl.py -> materialized_with_ddl
2023-06-19 13:52:08 +03:00
Alexander Tokmakov
b4e455430c
Merge branch 'master' into rmt_better_background_tasks_scheduling 2023-06-17 22:19:21 +03:00
zvonand
1c10578f14 update to master 2023-06-16 21:30:47 +02:00
Roman Vasin
d55878d587
Merge branch 'master' into ADQM-822 2023-06-16 18:57:51 +03:00
Nikolai Kochetov
df1ea0b572
Merge pull request #50489 from ClickHouse/vdimir/alter_moving_garbage
Cleanup moving parts
2023-06-16 15:39:32 +02:00
Kruglov Pavel
dcc3efe4b7
Merge pull request #50364 from Avogar/allow-skip-empty-files
Allow to skip empty files in file/s3/url/hdfs table functions
2023-06-16 14:59:49 +02:00
Alexander Tokmakov
9260a1bf2e
Merge pull request #51006 from ClickHouse/followup_50448
Follow-up to #50448
2023-06-16 15:32:12 +03:00
Kruglov Pavel
f8ddfb1fd8
Merge branch 'master' into allow-skip-empty-files 2023-06-16 13:23:41 +02:00
Val Doroshchuk
24e2bae7bd MaterializedMySQL: Rename materialize_with_ddl.py -> materialized_with_ddl.py
Make it more consistent to current names.
Keep some tests with `ENGINE = MaterializeMySQL` to test BC.
2023-06-16 10:16:11 +02:00
Andrey Zvonov
00a5df684b
Merge branch 'master' into zvonand-issue-49290 2023-06-16 02:53:07 +02:00
Alexander Tokmakov
6cc4f76707 fix 2023-06-15 18:37:45 +02:00
Kruglov Pavel
953af94ee0
Merge pull request #50874 from valbok/materialized-mysql-named-collections-test
MaterializedMySQL: Add test_named_collections
2023-06-15 16:46:49 +02:00
Dmitry Novik
49f88f5873 Fix ENV variable name 2023-06-15 14:15:01 +00:00
Alexander Tokmakov
dc0a224f52 fix 2023-06-15 15:05:17 +02:00
avogar
870f3d1270 Fix comments 2023-06-15 12:59:46 +00:00
kssenii
5cceae1e1f Fix 2023-06-15 14:25:10 +02:00
Andrey Zvonov
9e3ddeca34 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into zvonand-issue-49290 2023-06-15 14:21:44 +02:00
Kseniia Sumarokova
b7fbc4dd8e
Merge pull request #50977 from valbok/empty-table-overrides
MaterializedMySQL: Keep parentheses for empty table overrides
2023-06-15 12:48:04 +02:00
Kseniia Sumarokova
58650b3280
Merge pull request #51002 from ClickHouse/Avogar-patch-1
Fix flaky test_seekable_formats
2023-06-15 12:46:04 +02:00
Alexander Tokmakov
f73a3cf255
Merge pull request #50924 from valbok/missing-drops
MaterializedMySQL: Add missing DROP DATABASE for tests
2023-06-15 13:33:28 +03:00
kssenii
3b4dba3d68 Fix tests 2023-06-15 12:33:24 +02:00
Kruglov Pavel
7aea4a1f10
Merge branch 'master' into allow-skip-empty-files 2023-06-15 12:07:24 +02:00
Smita Kulkarni
1234fbe6f1 Added test for named collection and fixed issues with glob 2023-06-15 08:41:37 +02:00
Kruglov Pavel
bb7ec69b90
Fix flaky test_seekable_formats 2023-06-14 19:38:03 +02:00
Smita Kulkarni
011d666073 Fixed typo in tests 2023-06-14 14:55:34 +02:00
Sema Checherinda
7d59af1f77 test compressed write to S3 2023-06-14 14:28:57 +02:00
Andrey Zvonov
2f572b7211
Merge branch 'master' into zvonand-issue-49290 2023-06-14 14:22:32 +02:00
kssenii
8073e0bad1 Fix tests 2023-06-14 13:45:53 +02:00
Val Doroshchuk
e7c5991b39 MaterializedMySQL: Keep parenthesises for empty table overrides
Empty table overrides are formatted without any parenthesises,
but they are required by a parser,
and it is not possible to parse empty table overrides without it.

:) CREATE DATABASE db ... TABLE OVERRIDE t1()

CREATE DATABASE db
...
TABLE OVERRIDE `t1`

This query will be saved to metadata and ClickHouse will not be able to start up, since
table overrides require ().
2023-06-14 13:37:49 +02:00
kssenii
25ae93bbf8 Merge remote-tracking branch 'upstream/master' into add-separate-access-for-use-named-collections 2023-06-14 13:33:56 +02:00
robot-clickhouse
f6bad2c064 Automatic style fix 2023-06-14 09:13:38 +00:00
Smita Kulkarni
c98a194b57 Updated unique names for test to avoid same names by random numbers 2023-06-14 11:00:11 +02:00
Smita Kulkarni
918b8c4585 Updated filename in test 2023-06-14 10:51:59 +02:00
Antonio Andelic
4825286b0c
Merge branch 'master' into keeper-with-disks 2023-06-14 10:48:53 +02:00
pufit
91d794cf0a
Merge pull request #50150 from JackyWoo/support_redis
Add Redis table Engine/Function
2023-06-13 21:34:14 -04:00
Antonio Andelic
bf0260bf5e
Merge branch 'master' into keeper-add-api-version-config 2023-06-13 21:27:51 +02:00
zvonand
1d8013074d fix style & black 2023-06-13 18:47:02 +02:00
robot-clickhouse
8dde50eb3a Automatic style fix 2023-06-13 15:19:16 +00:00
Kruglov Pavel
39ba925f8b
Merge branch 'master' into allow-skip-empty-files 2023-06-13 17:17:26 +02:00
Dmitry Novik
1207085dec
Merge branch 'master' into analyzer-integration-tests 2023-06-13 17:09:29 +02:00
Smita Kulkarni
bc47244902 Updated tests for CI checks 2023-06-13 17:06:40 +02:00
robot-clickhouse
478bad3237 Automatic style fix 2023-06-13 15:04:11 +00:00
Smita Kulkarni
332893344d Updated lock for accessing azure blob storage iterator 2023-06-13 16:50:10 +02:00
Val Doroshchuk
8ea7560d89
MaterializedMySQL: Add additional test case to insert_with_modify_binlog_checksum (#50884) 2023-06-13 17:28:53 +03:00
robot-clickhouse
5d54133248 Automatic style fix 2023-06-13 13:31:14 +00:00
Dmitry Novik
9e8ca5f5ae Add integration test check with enabled analyzer 2023-06-13 13:09:39 +00:00
Val Doroshchuk
1a4b7e8ebe MaterializedMySQL: Add missing DROP DATABASE for tests 2023-06-13 14:39:29 +02:00
kssenii
62b94073a2 Fix black check 2023-06-13 13:32:56 +02:00
Antonio Andelic
4ac090b122 Fix tests 2023-06-13 11:01:44 +00:00
kssenii
6c776f4483 Better 2023-06-13 12:40:53 +02:00
robot-clickhouse
3c5fb65d6d Automatic style fix 2023-06-13 09:10:04 +00:00
Smita Kulkarni
8650586131 Added tests and docs for azureBlobStorageCluster 2023-06-13 10:51:35 +02:00
Sema Checherinda
2c018f5261 do not call finalize after exception 2023-06-13 10:48:31 +02:00
Val Doroshchuk
879db5098a MaterializedMySQL: Add test_named_collections 2023-06-13 10:09:12 +02:00
Kruglov Pavel
e4838725e3
Merge branch 'master' into allow-skip-empty-files 2023-06-12 20:03:23 +02:00
Antonio Andelic
cb3ac81110
Merge branch 'master' into keeper-with-disks 2023-06-12 15:14:24 +02:00
Smita Kulkarni
2d0152e93d Fixed issue with named collection 2023-06-12 13:38:01 +02:00
robot-clickhouse
708a99a6ea Automatic style fix 2023-06-12 11:19:38 +00:00
Antonio Andelic
b634012feb Add feature flags for Keeper API 2023-06-12 10:57:03 +00:00
Smita Kulkarni
95d447d81f Updated name to azureBlobStorageCluster 2023-06-12 10:10:09 +02:00
Smita Kulkarni
791a05af61 Merge branch 'master' into azure_table_function_cluster 2023-06-12 09:58:49 +02:00
Antonio Andelic
91a4b6e331 Merge branch 'master' into keeper-add-api-version-config 2023-06-12 07:10:58 +00:00
JackyWoo
a1641aa25d
Merge branch 'master' into support_redis 2023-06-12 09:53:06 +08:00
Andrey Zvonov
427c5cb1ba fix integration test 2023-06-11 18:42:10 +02:00
Robert Schulze
8222861f2e
Merge remote-tracking branch 'rschu1ze/master' into non-experimental-qpl-deflate 2023-06-11 14:39:30 +00:00
zvonand
aad7712b18 add existing test 2023-06-11 02:09:05 +02:00
Nikolay Degterinsky
dc9001a969
Merge pull request #50061 from evillique/update-mongo
Update MongoDB protocol & fix inserts
2023-06-10 22:52:15 +02:00
Robert Schulze
ff96c4c0d8
Fix black 2023-06-10 12:09:47 +00:00
Alexey Milovidov
7bd1c183eb
Update test.py 2023-06-10 13:16:02 +03:00
Alexey Milovidov
2a126aaa76
Merge branch 'master' into fix-attach-table-function-name-normalizer 2023-06-10 13:14:17 +03:00
Nikolay Degterinsky
9ad8e022a8
Merge branch 'master' into update-mongo 2023-06-10 10:58:02 +02:00
Smita Kulkarni
a8b579a856 Rename azure_blob_storage to azureBlobStorage 2023-06-09 19:28:06 +02:00
pufit
55d228e78e
Merge branch 'master' into support_redis 2023-06-09 11:45:12 -04:00
Roman Vasin
1bce32c1cc Add tests for wrong settings 2023-06-09 15:18:46 +00:00
robot-clickhouse
6213b1b04f Automatic style fix 2023-06-09 13:27:46 +00:00
Antonio Andelic
07582d56f3 Add config for pinning api version 2023-06-09 13:18:13 +00:00
Smita Kulkarni
590236030d Fixed cluster with distributed_processing 2023-06-09 15:17:08 +02:00
Robert Schulze
1aa158909e
enable_qpl_deflate_codec --> enable_deflate_qpl_codec 2023-06-09 12:43:33 +00:00
jinjunzh
f1192d59af
refine patch according to comments 2023-06-09 12:43:15 +00:00
jinjunzh
056ca4f555
Add extensive testing cases for deflate qpl codec 2023-06-09 12:42:59 +00:00
kssenii
63f8a3275b Merge remote-tracking branch 'upstream/master' into add-separate-access-for-use-named-collections 2023-06-09 14:32:41 +02:00
kssenii
5cf29fbf76 Fix black check 2023-06-09 13:13:33 +02:00
Smita Kulkarni
63706618b9 Merge branch 'master' into azure_table_function_cluster 2023-06-09 12:10:44 +02:00
kssenii
6c48aba693 Fix tests 2023-06-08 20:30:34 +02:00
Smita Kulkarni
6328811097 Added first draft of azure blob storage cluster 2023-06-08 18:27:39 +02:00
alesapin
79edd06ee7 Merge remote-tracking branch 'origin/master' into azure_table_function 2023-06-08 17:05:19 +02:00
alesapin
a918f88c74 Fixes 2023-06-08 16:11:27 +02:00
Yakov Olkhovskiy
393c0c3a4f
Merge pull request #50240 from aalexfvk/fix_https_replication_changed_ip_bug
Fix reconnecting of HTTPS session when target host IP was changed
2023-06-08 08:58:48 -04:00
Val Doroshchuk
c37b80593c
MaterializedMySQL: Add support of TRUNCATE db.table (#50624)
Additional to `TRUNCATE TABLE db.table`.

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

* Automatic style fix

* Update test.py

* Automatic style fix

* Update test.py

* Update test.py

* Automatic style fix

* Update test.py

---------

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

* Add tests.

* Fix copying binary files to test containers.

* Fix ownership for copied files in test containers.

* Add comments after review.

---------

Co-authored-by: Nikita Mikhaylov <mikhaylovnikitka@gmail.com>
2023-05-31 13:11:10 +02:00
pufit
dbd3766f5f Specify roles in users.xml 2023-05-30 20:42:49 -04:00
Nikita Mikhaylov
31829f7cfc
Merge branch 'master' into 46229-repl-clickhouse-keeper 2023-05-31 02:29:08 +02:00
avogar
d4efbbfbd3 Allow to skip empty files in file/s3/url/hdfs table functions 2023-05-30 19:32:24 +00:00
Alexander Tokmakov
c8bb1f64ad fix 2023-05-30 18:46:49 +02:00
Alexander Tokmakov
82e1d5ae67 Merge branch 'master' into rmt_better_background_tasks_scheduling 2023-05-30 17:40:13 +02:00
Sema Checherinda
bec8186b2f do not fix the event list 2023-05-30 13:59:31 +02:00
Sema Checherinda
0b4ea3e2e1 remove reminder comments 2023-05-30 12:26:20 +02:00
Sema Checherinda
fe3939287b add test, fix .gin_sid files 2023-05-30 12:26:20 +02:00
Antonio Andelic
67746bfff2 Merge branch 'master' into keeper-with-disks 2023-05-30 09:50:12 +00:00
alesapin
6b7e2a0041
Merge pull request #49961 from CheSema/mem-consumption-s3-write
Introduce a limitation of async calls inside s3 write buffer, make a test that memory is bounded even when s3 is slow
2023-05-29 13:29:01 +02:00
Han Fei
806ef08e5f
Merge pull request #50306 from helifu/master1
Fix a typo
2023-05-29 10:34:38 +02:00
helifu
1821933995 Fix a typo 2023-05-29 15:12:16 +08:00
helifu
e9ffc383da Add input parameter 'base_config_dir' 2023-05-28 12:59:34 +08:00
helifu
7c3fa3658d fix a style checking issue 2023-05-28 12:59:34 +08:00
helifu
6a64fa6c6c Node2 cannot be started due to a conflict with config.xml merge 2023-05-28 12:59:34 +08:00
helifu
1d1d84497e Fix a style checking issue 2023-05-28 12:59:34 +08:00
helifu
e98cd5d44c Fix failed test cases
test_system_logs/test_system_logs.py::test_system_logs_order_by_expr PASSED   [ 33%]
test_system_logs/test_system_logs.py::test_system_logs_engine_expr PASSED     [ 66%]
test_system_logs/test_system_logs.py::test_system_logs_settings_expr PASSED   [100%]
2023-05-28 12:59:34 +08:00
helifu
b2d7a48095 fix a style checking issue 2023-05-28 12:59:34 +08:00
helifu
780e9df08d fix the config file name 2023-05-28 12:59:34 +08:00
helifu
01158e783a Add test case for 'engine','settings' configuration 2023-05-28 12:59:34 +08:00
helifu
4013ec982f Add test case for 'order_by' configuration 2023-05-28 12:59:34 +08:00
Sema Checherinda
b0eff95388 update doc, add profile event WriteBufferFromS3WaitInflightLimitMicroseconds 2023-05-26 18:59:21 +02:00
Sema Checherinda
7031796d3f fixing tests 2023-05-26 18:59:21 +02:00
Sema Checherinda
206efee9b7 add test with merge tree table 2023-05-26 18:59:21 +02:00
Sema Checherinda
4249bda449 s3_max_inflight_parts_for_one_file with tests 2023-05-26 18:59:11 +02:00
Aleksei Filatov
2a2c35e4c1 Fix changed IP for https session 2023-05-26 09:08:34 +03:00
Sergey Katkovskiy
d2b8dd3ae9 Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-build 2023-05-25 23:31:25 +03:00
Sergey Katkovskiy
bc7c67e33f code review fixes 2023-05-25 23:29:16 +03:00
Antonio Andelic
6a8a21e09a Add test for s3 disk restore 2023-05-25 16:01:40 +00:00
Nikita Mikhaylov
cf6ff7ab32 Merge branch 'master' of github.com:ClickHouse/ClickHouse into 46229-repl-clickhouse-keeper 2023-05-25 13:41:25 +00:00
Kruglov Pavel
fd49821e98
Fix tests 2023-05-25 12:46:53 +02:00
Alexander Tokmakov
d8f936987e Merge branch 'master' into rmt_better_background_tasks_scheduling 2023-05-25 12:36:41 +02:00
Antonio Andelic
ae84716eba Merge branch 'master' into keeper-with-disks 2023-05-25 08:45:19 +00:00
Antonio Andelic
7e68f61df1 Fix snapshot recovery 2023-05-25 08:43:11 +00:00
Kseniia Sumarokova
2e17503d36
Merge pull request #50187 from kssenii/fix-pg-source
Fix PostgreSQLSource reading all unread the data in onFinish
2023-05-24 22:51:48 +02:00
Alexander Tokmakov
4c94b3d6bc
Update test.py 2023-05-24 20:13:37 +03:00
robot-clickhouse
a237b8b839 Automatic style fix 2023-05-24 14:19:37 +00:00
Alexander Tokmakov
242c3bc9a9 fix 2023-05-24 16:01:28 +02:00
kssenii
07eedc8ef1 Fix 2023-05-24 15:03:11 +02:00
Kruglov Pavel
8bc25c4ea3
Fix style 2023-05-24 14:40:27 +02:00
Kruglov Pavel
9545100c9e
Merge pull request #45427 from attack204/urlCluster
Add urlCluster table function and refactor all *Cluster table functions
2023-05-24 13:32:56 +02:00
Alexander Tokmakov
f3b4959e05 fix 2023-05-23 20:45:16 +02:00
SmitaRKulkarni
f39c81d13e
Merge pull request #49982 from ClickHouse/Fix_flaky_test_ssl_cert_authentication
Fix flaky test_ssl_cert_authentication to use urllib3
2023-05-23 13:57:22 +02:00
avogar
3c1aeaaa79 Change default value of handshake_timeout to 10 sec, fix possible use-after-free 2023-05-23 11:39:40 +00:00
Antonio Andelic
3e6314675c
Merge pull request #49930 from AVMusorin/write-buffer-from-s3
Fix metrics `WriteBufferFromS3Bytes`, `WriteBufferFromS3Microseconds` and `WriteBufferFromS3RequestsErrors`
2023-05-23 12:26:05 +02:00
Alexander Tokmakov
60a696b88b Merge branch 'master' into rmt_better_background_tasks_scheduling 2023-05-23 12:18:07 +02:00
Alexander Tokmakov
dbf08b25fb better scheduling of merge selecting task 2023-05-23 01:25:17 +02:00
avogar
88e4c93abc Merge branch 'master' of github.com:ClickHouse/ClickHouse into urlCluster 2023-05-22 19:19:57 +00:00
Alexander Tokmakov
b8305503d8 more flexible cleanup thread scheduling 2023-05-22 19:07:18 +02:00
Nikolay Degterinsky
7bed59e1d2
Merge pull request #50000 from evillique/add-schema-inference
Add schema inference to more table engines
2023-05-22 17:24:30 +02:00
Kruglov Pavel
b5cad024e0
Merge branch 'master' into urlCluster 2023-05-22 14:59:34 +02:00
Alexander Tokmakov
c89f92e1f6
Merge pull request #50052 from amosbird/fix_49913
Fix reporting broken projection parts
2023-05-22 14:20:06 +03:00
Nikolay Degterinsky
183f90e45a Update MongoDB protocol 2023-05-22 09:05:23 +00:00
robot-clickhouse
a0b384bc48 Automatic style fix 2023-05-22 08:30:04 +00:00
Smita Kulkarni
855f0abcf9 Removed unneeded try-except 2023-05-22 10:20:45 +02:00
Antonio Andelic
3a46fe1803
Merge branch 'master' into write-buffer-from-s3 2023-05-22 09:28:14 +02:00
Antonio Andelic
93cd47fd5f
Merge pull request #50026 from ClickHouse/fix-deadlock-attach-thread
Avoid deadlock when starting table in attach thread of `ReplicatedMergeTree`
2023-05-22 09:22:33 +02:00
Amos Bird
8a40a48a49
Fix python format 2023-05-22 00:44:17 +08:00
Amos Bird
0a3d986e42
Fix reporting projection broken part 2023-05-21 20:58:58 +08:00
Antonio Andelic
4af8187464 Activate restarting thread in both cases 2023-05-19 15:06:02 +00:00
Antonio Andelic
7f60af11cb
Merge branch 'master' into write-buffer-from-s3 2023-05-19 15:17:05 +02:00
robot-clickhouse
f947d1cc0a Automatic style fix 2023-05-19 13:00:26 +00:00
Antonio Andelic
3107070e76 Avoid deadlock when starting table in attach thread 2023-05-19 12:48:19 +00:00
Sergei Trifonov
5db5f6e44b
Merge branch 'master' into fix-throttlers 2023-05-19 14:08:36 +02:00
Nikolay Degterinsky
a09a8d60c4
Merge branch 'master' into postgresql-uuid 2023-05-19 13:44:17 +02:00
alesapin
6676285f02
Merge pull request #49921 from azat/tests/fix-test_distributed_load_balancing
Fix flakiness of test_distributed_load_balancing test
2023-05-19 13:00:38 +02:00
alesapin
632ab8a3d1
Merge pull request #49996 from ClickHouse/az
Fix test_insert_same_partition_and_merge failing if one Azure request attempt fails
2023-05-19 12:58:47 +02:00
alesapin
e5b001abda
Merge branch 'master' into fix_some_tests4 2023-05-19 12:34:03 +02:00
Alexey Milovidov
c1b96fd2f5
Merge branch 'master' into Fix_flaky_test_ssl_cert_authentication 2023-05-19 12:37:55 +03:00
Azat Khuzhin
dc353faf44 Simplify obtaining query shard in test_distributed_load_balancing
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-05-19 06:07:58 +02:00
Azat Khuzhin
e37e8f83bb Fix flakiness of test_distributed_load_balancing
I saw the following in the logs for the failed test:

    2023.05.16 07:12:12.894051 [ 262 ] {74575ac0-b296-4fdc-bc8e-3476a305e6ea} <Warning> ConnectionPoolWithFailover: Connection failed at try №1, reason: Timeout exceeded while reading from socket (socket (172.16.3.2:9000), receive timeout 2000 ms)

And I think that the culprit is the
test_distributed_replica_max_ignored_errors for which it is normal,
however not for others, and this should not affect other tests.

So fix this by calling SYSTEM RELOAD CONFIG, which should reset error
count.

CI: https://s3.amazonaws.com/clickhouse-test-reports/49380/5abc1a1c68ee204c9024493be1d19835cf5630f7/integration_tests__release__[3_4].html
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-05-19 06:07:58 +02:00
Michael Kolupaev
e84f0895e7 Support hardlinking parts transactionally 2023-05-18 21:05:56 -07:00
Nikolay Degterinsky
b8be714830 Add schema inference to more table engines 2023-05-19 00:44:27 +00:00
Michael Kolupaev
8dc59c1efe Fix test_insert_same_partition_and_merge failing if one Azure request attempt fails 2023-05-18 21:40:24 +00:00
robot-clickhouse
378beb20e8 Automatic style fix 2023-05-18 07:46:02 +00:00
SmitaRKulkarni
b7c9964710
Merge branch 'master' into Fix_flaky_test_ssl_cert_authentication 2023-05-18 09:27:32 +02:00
Smita Kulkarni
2893f14c54 Updated test_ssl_cert_authentication to use urllib3 2023-05-18 09:20:38 +02:00
Sergey Katkovskiy
0e55c7c365 Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-build 2023-05-18 07:30:20 +03:00
alesapin
a7c179e401
Merge branch 'master' into make_test_less_flaky 2023-05-17 15:44:24 +02:00
Kruglov Pavel
0f26a82000
Fix style 2023-05-17 15:32:40 +02:00
Nikolay Degterinsky
ad637c6824 Add test 2023-05-17 13:14:10 +00:00
Kruglov Pavel
b5cc77512a
Fix style 2023-05-17 15:02:15 +02:00
AVMusorin
7df4820af7
Fix metrics WriteBufferFromS3Bytes, WriteBufferFromS3Microseconds and WriteBufferFromS3RequestsErrors
Ref: https://github.com/ClickHouse/ClickHouse/pull/45188
2023-05-17 14:50:38 +02:00
Alexander Tokmakov
1e529263d0
Merge branch 'master' into Follow_up_Backup_Restore_concurrency_check_node_2 2023-05-17 13:57:50 +03:00
Vitaly Baranov
6c8a923c9d
Merge branch 'master' into write-encrypted-to-backup 2023-05-17 12:37:05 +02:00
kssenii
a279e61d9e Merge remote-tracking branch 'origin/fix-pg-sync-tables-exception-broken-sync' into fix-pg-sync-tables-exception-broken-sync 2023-05-17 12:35:36 +02:00
kssenii
849cddd8b2 Add forgotten file 2023-05-17 12:34:56 +02:00
Azat Khuzhin
9fe4f1a934 Extensive coverage for bandwidth limiting settings
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-05-17 12:12:39 +02:00
Azat Khuzhin
3c80e30f02 Fix per-query IO/BACKUPs throttling settings (when default profile has them)
When some of this settings was set for default profile (in
users.xml/users.yml), then it will be always used regardless of what
user passed.

Fix this by not inherit per-query throttlers, for this they should be
reset before making query context and they should not be initialized as
before in Context::makeQueryContext(), since makeQueryContext() called
too early, when user settings was not read yet.

But there we had also initialization of per-server throttling, move this
into the ContextSharedPart::configureServerWideThrottling(), and call it
once we have ServerSettings set.

Also note, that this patch makes the following settings - server
settings:
- max_replicated_fetches_network_bandwidth_for_server
- max_replicated_sends_network_bandwidth_for_server
But this change should not affect anybody, since it is done with
compatiblity (i.e. if this setting is set in users profile it will be
read from it as well as a fallback).

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-05-17 12:12:39 +02:00
Kruglov Pavel
353791b2dd
Try to fix flaky test_distributed_load_balancing tests (#49912)
* Try to fix flaky test_distributed_load_balancing tests

* Automatic style fix

---------

Co-authored-by: robot-clickhouse <robot-clickhouse@users.noreply.github.com>
Co-authored-by: Alexander Tokmakov <tavplubix@clickhouse.com>
2023-05-16 18:26:22 +03:00
avogar
633c37e3e1 Update tests 2023-05-16 14:54:52 +00:00
Kruglov Pavel
4530f38fdf
Merge branch 'master' into urlCluster 2023-05-16 16:21:23 +02:00
Alexander Tokmakov
b6716a8f0f Merge branch 'master' into fix_some_tests4 2023-05-16 14:46:27 +02:00
Vitaly Baranov
943707963f Add backup setting "decrypt_files_from_encrypted_disks" 2023-05-16 14:27:27 +02:00
Vitaly Baranov
d0fd81fa27 Add tests. 2023-05-16 14:27:27 +02:00
Vitaly Baranov
c48c20fac8 Use combined checksums for encrypted immutable files. 2023-05-16 14:27:27 +02:00
Vitaly Baranov
101aa6eff0 Add function copyS3FileFromDisk(). 2023-05-16 14:25:37 +02:00
Vitaly Baranov
fd2731845c Simplify interface of IBackupWriter: Remove supportNativeCopy() function. 2023-05-16 14:25:36 +02:00
robot-clickhouse
b3fc7d1a86 Automatic style fix 2023-05-16 11:15:15 +00:00
alesapin
a4f84cecfd Retry connection expired in test_rename_column/test.py 2023-05-16 13:05:36 +02:00
Kseniia Sumarokova
e2112576f0
Fix black check 2023-05-16 12:21:32 +02:00
avogar
f9e0eb47d7 Merge branch 'master' of github.com:ClickHouse/ClickHouse into urlCluster 2023-05-15 16:35:24 +00:00
Alexander Tokmakov
05ae7b2c2d fix some tests 2023-05-15 18:28:12 +02:00
AVMusorin
418a61a68c
Allow using Alias column type for KafkaEngine
```
create table kafka
(
 a UInt32,
 a_str String Alias toString(a)
) engine = Kafka;

create table data
(
  a UInt32;
  a_str String
) engine = MergeTree
order by tuple();

create materialized view data_mv to data
(
  a UInt32,
  a_str String
) as
select a, a_str from kafka;
```
Alias type works as expected in comparison with MATERIALIZED/EPHEMERAL
or column with default expression.

Ref: https://github.com/ClickHouse/ClickHouse/pull/47138

Co-authored-by: Azat Khuzhin <a3at.mail@gmail.com>
2023-05-15 15:39:58 +02:00
Sergey Katkovskiy
c443090176 Merge branch 'master' of github.com:ClickHouse/ClickHouse into s3queue 2023-05-15 09:40:01 +03:00
Sema Checherinda
a1ee7d52e1
Merge pull request #49432 from CheSema/lost-blobs
all s3-blobs removed when merge aborted, remove part from failed fetch without unlock keper
2023-05-12 13:19:27 +02:00
Nikita Mikhaylov
66badcd59c
Merge pull request #49725 from vitlibar/incremental-backup-append-table-def
Fix writing appended files to incremental backups
2023-05-12 11:37:49 +02:00
kssenii
c9e752fdc5 Fix 2023-05-12 00:10:49 +02:00
Vitaly Baranov
478140f8b4 Fix LimitSeekableReadBuffer. 2023-05-11 22:58:05 +02:00
Vitaly Baranov
ec011b9113
Merge branch 'master' into user-grants-from-config 2023-05-11 17:08:06 +02:00
avogar
3ee8de792c Merge branch 'master' of github.com:ClickHouse/ClickHouse into urlCluster 2023-05-11 12:46:20 +00:00
kssenii
bd59effd9a Merge remote-tracking branch 'upstream/master' into fix-pg-sync-tables-exception-broken-sync 2023-05-11 13:29:55 +02:00
Sema Checherinda
66e3712dca
Merge branch 'master' into lost-blobs 2023-05-11 08:23:25 +02:00
Alexey Milovidov
65d28a959f Update integration tests (1/2) 2023-05-11 04:26:29 +02:00
Sergey Katkovskiy
eac1abf51d Merge branch 'master' of github.com:ClickHouse/ClickHouse into s3queue 2023-05-10 18:17:44 +03:00
Sergey Katkovskiy
446cf3c847 handle failed files 2023-05-10 18:17:26 +03:00
kssenii
383fc06761 Fix 2023-05-09 16:10:53 +02:00
Nikolay Degterinsky
39deaf4f2a
Merge pull request #49632 from evillique/fix-ssl-test
Try to fix integration test 'test_ssl_cert_authentication'
2023-05-09 11:53:21 +02:00
Alexey Milovidov
a8bdb20fc4
Merge pull request #48787 from ClickHouse/background-memory-tracker
Add MemoryTracker for the background tasks [Resubmit]
2023-05-09 07:58:36 +03:00
Sergey Katkovskiy
d37622434f fix tests 2023-05-09 07:04:36 +03:00
Alexey Milovidov
9a73a04fe3
Merge pull request #42587 from ClickHouse/compress-marks-primary-key-by-default
Compress marks and primary key by default
2023-05-09 06:43:10 +03:00
Alexander Tokmakov
5629d73bdb
Merge pull request #49560 from ClickHouse/fix_dictionaries_loading_order
Fix dictionaries loading order
2023-05-08 16:07:40 +03:00
Nikolay Degterinsky
ee4ce7db47 Fix style 2023-05-08 12:33:24 +00:00
Smita Kulkarni
f20901d9d3 Merge branch 'master' into Follow_up_Backup_Restore_concurrency_check_node_2 2023-05-08 13:53:19 +02:00
Sergey Katkovskiy
a8d56b2290 fix ordered mode + more tests 2023-05-08 10:26:52 +03:00
Sergey Katkovskiy
5af6765cd4 Merge branch 'master' of github.com:ClickHouse/ClickHouse into s3queue 2023-05-08 10:25:13 +03:00
Alexey Milovidov
e083acc361 Merge branch 'compress-marks-primary-key-by-default' of github.com:ClickHouse/ClickHouse into compress-marks-primary-key-by-default 2023-05-08 07:02:55 +02:00
Alexey Milovidov
88d0d94933 Update test 2023-05-08 07:02:41 +02:00
Alexey Milovidov
3cf1da7bf3
Merge branch 'master' into deprecate-in-memory-parts 2023-05-08 01:38:00 +03:00
Alexander Tokmakov
abf6c60ad2 Merge branch 'master' into fix_dictionaries_loading_order 2023-05-08 00:31:03 +02:00
Nikolay Degterinsky
c841a187ab Try to fix integration test 'test_ssl_cert_authentication' 2023-05-07 18:34:34 +00:00
robot-clickhouse
fe76bde5b5 Automatic style fix 2023-05-07 16:33:07 +00:00
Alexey Milovidov
a2daeb849e Merge branch 'master' into compress-marks-primary-key-by-default 2023-05-07 18:25:01 +02:00
Alexey Milovidov
ea9249b0ac Merge branch 'compress-marks-primary-key-by-default' of github.com:ClickHouse/ClickHouse into compress-marks-primary-key-by-default 2023-05-07 18:24:51 +02:00
Alexey Milovidov
1ae8a5be3b Update a test 2023-05-07 18:24:38 +02:00
Alexey Milovidov
9eba74c1e1
Update test_vertical_merges_from_compact_parts.py 2023-05-07 17:45:45 +03:00
Alexey Milovidov
27e1357ee6
Update test_in_memory_parts_still_read.py 2023-05-07 17:42:18 +03:00
robot-clickhouse
fd82979961 Automatic style fix 2023-05-07 02:00:24 +00:00
Alexey Milovidov
d8f5667ba6 Follow-up for #49576 2023-05-07 03:59:35 +02:00