Commit Graph

149205 Commits

Author SHA1 Message Date
taiyang-li
f1c43472d8 change as request 2024-09-09 11:35:54 +08:00
taiyang-li
f0f1015162 fix style 2024-08-07 10:47:13 +08:00
taiyang-li
045551f509 fix bugs 2024-08-05 11:33:58 +08:00
taiyang-li
d0cb299b22 merge master 2024-08-04 22:05:01 +08:00
Alexey Milovidov
c629e2af50
Merge pull request #67741 from ClickHouse/arrayWithConstant-safety-thresholds
Better safety thresholds in `arrayWithConstant` function
2024-08-04 13:22:06 +00:00
Alexey Milovidov
06f83022da
Merge pull request #67324 from ClickHouse/fix-json-recursion
Fix stack overflow in too deep JSON
2024-08-04 13:21:44 +00:00
Kseniia Sumarokova
881ac7208e
Merge pull request #67361 from ClickHouse/add-no-distributed-cache-tag
Add no-distributed-cache tag in tests
2024-08-04 12:36:31 +00:00
Robert Schulze
e4c165e919
Merge pull request #67103 from bigo-sg/fix_map_from_arrays
Function `mapFromArrays`: Allow `Map(K, V)` and `Array(Nullable(T))` as 1st arguments
2024-08-04 09:54:50 +00:00
Kseniia Sumarokova
4f1c2ad277
Merge pull request #67459 from ClickHouse/write-buffer-from-s3-fix-dtor
Fix wait for tasks in ~WriteBufferFromS3 in case WriteBuffer was cancelled
2024-08-04 09:27:24 +00:00
taiyang-li
1120a51bd2 merge master 2024-08-04 17:07:16 +08:00
taiyang-li
122c9794a6 remove useless codes 2024-08-04 17:04:04 +08:00
taiyang-li
00a9c30363 optimize map function 2024-08-04 16:16:51 +08:00
Nikita Fomichev
c6c4b313e6
Merge pull request #67738 from azat/tests/fix-retries
Fix test retries
2024-08-04 06:33:48 +00:00
taiyang-li
a498259ec8 optimize array with mutiple arguments 2024-08-04 13:32:17 +08:00
Alexey Milovidov
3efa208680
Merge pull request #67729 from ClickHouse/fix-typo
Fix a typo
2024-08-03 23:04:41 +00:00
Alexey Milovidov
6a20f777f6
Merge pull request #67428 from ClickHouse/enable-text-log
Enable `text_log` by default
2024-08-03 23:02:40 +00:00
Alexey Milovidov
e7686494f5
Merge pull request #67727 from ClickHouse/fix-host-resolver-ubsan
Fix strange code in HostResolvePool
2024-08-03 22:41:14 +00:00
Alexey Milovidov
185b6a54da Merge with master 2024-08-04 00:34:58 +02:00
Alexey Milovidov
d37a4567f6 Merge branch 'master' into fix-json-recursion 2024-08-04 00:30:29 +02:00
Alexey Milovidov
b8050cc471
Merge pull request #67702 from ClickHouse/fix-timer-descriptor-locks
Fix locking inside TimerDescriptor
2024-08-04 00:28:23 +02:00
Alexey Milovidov
4e3202d906
Merge pull request #67645 from ClickHouse/fix-race-condition-in-settings-processlist
Fix race condition between ProcessList and Settings
2024-08-03 22:21:49 +00:00
Alexey Milovidov
aa3b4595fa
Merge pull request #67701 from ClickHouse/improve-dashboard
Improve the dashboard
2024-08-03 22:16:07 +00:00
Alexey Milovidov
7a066a6505 Add a test 2024-08-03 23:48:51 +02:00
Alexey Milovidov
8562a6106c Better safety thresholds in arrayWithConstant 2024-08-03 23:45:18 +02:00
Azat Khuzhin
a197502341 Fix test retries
Should fix issues like:
- 02494_zero_copy_projection_cancel_fetch - https://s3.amazonaws.com/clickhouse-test-reports/67719/40cd5467c18d65a6624d273ac1a8fd9cc9257d8c/stateless_tests__tsan__s3_storage__[4_4].html

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-08-03 23:11:20 +02:00
Alexey Milovidov
d9d30d1004
Merge pull request #67295 from canhld94/fix_empty_tuple_in_lhs_in
Fix hung query when using empty tuple as lhs of function IN
2024-08-03 20:57:59 +00:00
Alexey Milovidov
02b8d563e3
Merge pull request #67720 from vitlibar/fix-completing-restore-on-cluster
Fix completion of RESTORE ON CLUSTER
2024-08-03 18:58:32 +00:00
Alexey Milovidov
c91504ffb4
Merge pull request #67719 from azat/tests/01042_system_reload_dictionary_reloads_completely
Fix 01042_system_reload_dictionary_reloads_completely flakiness
2024-08-03 18:49:21 +00:00
Alexey Milovidov
54fa1f14bb Merge branch 'master' into improve-dashboard 2024-08-03 20:37:41 +02:00
Alexey Milovidov
2305cae149
Merge pull request #67564 from ClickHouse/miscellaneous-2
Miscellaneous
2024-08-03 18:16:35 +00:00
Alexey Milovidov
c07089f054 Merge branch 'master' into fix-json-recursion 2024-08-03 19:06:25 +02:00
Alexey Milovidov
b1e6c9b543 Merge branch 'master' into fix-race-condition-in-settings-processlist 2024-08-03 19:03:54 +02:00
Alexey Milovidov
9eb8f4a976 Merge branch 'master' into fix-timer-descriptor-locks 2024-08-03 18:58:30 +02:00
Alexey Milovidov
3905dde3d9
Merge pull request #67731 from ClickHouse/revert-66703-add-replication-lag-and-recovery-time-metrics
Revert "Add replication lag and recovery time metrics"
2024-08-03 18:41:53 +02:00
Alexey Milovidov
60648e5240
Revert "Add replication lag and recovery time metrics" 2024-08-03 18:41:17 +02:00
Alexey Milovidov
65bba77771 Fix typo 2024-08-03 18:30:33 +02:00
Alexey Milovidov
fc651cc0c6 Fix strange code in HostResolvePool 2024-08-03 17:57:48 +02:00
李扬
667727192f
Merge branch 'ClickHouse:master' into fix_map_from_arrays 2024-08-03 21:28:20 +08:00
Alexey Milovidov
1723c087fb Merge branch 'master' into improve-dashboard 2024-08-03 15:12:30 +02:00
Alexey Milovidov
d3dcd21dc9 Merge branch 'master' into fix-timer-descriptor-locks 2024-08-03 15:12:05 +02:00
taiyang-li
e5d4eaa458 fix bugs 2024-08-03 21:08:21 +08:00
Alexey Milovidov
b97e5b54ca
Merge pull request #67357 from Avogar/remove-duplicated-tests
Remove duplicated tests
2024-08-03 12:58:35 +00:00
Alexey Milovidov
00ea60d72c
Merge pull request #67690 from ClickHouse/fix-bad-log-message-sort-description
Fix bad log message in sort description
2024-08-03 12:57:20 +00:00
Alexey Milovidov
4a10d26eb1
Merge pull request #67696 from ClickHouse/fix-test-reports
Fix check names in test reports and the CI Logs database
2024-08-03 14:55:03 +02:00
Alexey Milovidov
ddeb4e7b55
Merge pull request #67683 from ClickHouse/fix-docs-build
Fix docs build
2024-08-03 12:53:48 +00:00
Miсhael Stetsyuk
14fce8b8da
Merge pull request #66704 from ClickHouse/add-S3DiskNoKeyErrors-metric
Add S3DiskNoKeyErrors metric
2024-08-03 12:44:33 +00:00
Vitaly Baranov
6ce6af0647 Fix completion RESTORE ON CLUSTER. 2024-08-03 14:40:25 +02:00
Daniil Ivanik
472e7c8033
Merge pull request #67535 from ClickHouse/divanik/fix_s3_settings_for_queries_and_merges
[Green CI] test 03164_s3_settings_for_queries_and_merges is flaky
2024-08-03 11:55:01 +00:00
Azat Khuzhin
40cd5467c1 tests: fix 01042_system_reload_dictionary_reloads_completely flakiness (increase lag)
The test fails in case of INSERT takes > 1 sec:

    2024.08.02 13:06:07.746869 [ 45445 ] {c9b55378-6bc5-46d5-80c1-5385a880f88b} <Debug> executeQuery: (from [::1]:37208) (comment: 01042_system_reload_dictionary_reloads_completely.sh) CREATE DICTIONARY test_m4lx2bit.dict ( x Int64 DEFAULT -1, y Int64 DEFAULT -1, insert_time DateTime ) PRIMARY KEY x SOURCE(CLICKHOUSE(HOST 'localhost' PORT tcpPort() USER 'default' TABLE 'table' DB 'test_m4lx2bit' UPDATE_FIELD 'insert_time')) LAYOUT(FLAT()) LIFETIME(1); (stage: Complete)
    ...
    2024.08.02 13:06:08.263832 [ 59987 ] {744da223-67b9-4e32-b12a-eb2550a92fdb} <Trace> DictionaryFactory: Created dictionary source 'ClickHouse: test_m4lx2bit.table' for dictionary '5b2b98a9-9372-47c9-bda3-830794cb96e7'
    2024.08.02 13:06:08.268118 [ 59987 ] {744da223-67b9-4e32-b12a-eb2550a92fdb} <Debug> executeQuery: (internal) SELECT `x`, `y`, `insert_time` FROM `test_m4lx2bit`.`table`; (stage: Complete)
    ...
    2024.08.02 13:06:09.193190 [ 45445 ] {b6033498-4666-452f-bcf9-02ecf257ba7f} <Debug> executeQuery: (from [::1]:37262) (comment: 01042_system_reload_dictionary_reloads_completely.sh) INSERT INTO test_m4lx2bit.table VALUES  (stage: Complete)
    ...
    2024.08.02 13:06:11.342119 [ 50962 ] {} <Debug> executeQuery: (internal) SELECT `x`, `y`, `insert_time` FROM `test_m4lx2bit`.`table` WHERE insert_time >= '2024-08-02 13:06:07'; (stage: Complete)
    ...
    2024.08.02 13:06:11.832158 [ 45445 ] {b6033498-4666-452f-bcf9-02ecf257ba7f} <Debug> TCPHandler: Processed in 2.642106236 sec.
    ...
    2024.08.02 13:06:16.357448 [ 41632 ] {} <Debug> executeQuery: (internal) SELECT `x`, `y`, `insert_time` FROM `test_m4lx2bit`.`table` WHERE insert_time >= '2024-08-02 13:06:10'; (stage: Complete)

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-08-03 13:30:58 +02:00
Azat Khuzhin
f97abf6994 tests: avoid endless wait in 01042_system_reload_dictionary_reloads_completely
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-08-03 13:30:55 +02:00