mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-19 22:22:00 +00:00
fix 02378_part_log_profile_events
This commit is contained in:
parent
1b715a3388
commit
94928e7445
@ -39,7 +39,7 @@ SYSTEM FLUSH LOGS;
|
|||||||
|
|
||||||
SELECT
|
SELECT
|
||||||
if(count() == 2, 'Ok', 'Error: ' || toString(count())),
|
if(count() == 2, 'Ok', 'Error: ' || toString(count())),
|
||||||
if(SUM(ProfileEvents['SelectedRows']) == 512, 'Ok', 'Error: ' || toString(SUM(ProfileEvents['SelectedRows']))),
|
if(SUM(ProfileEvents['MergedRows']) == 512, 'Ok', 'Error: ' || toString(SUM(ProfileEvents['MergedRows']))),
|
||||||
if(SUM(ProfileEvents['FileOpen']) > 1, 'Ok', 'Error: ' || toString(SUM(ProfileEvents['FileOpen'])))
|
if(SUM(ProfileEvents['FileOpen']) > 1, 'Ok', 'Error: ' || toString(SUM(ProfileEvents['FileOpen'])))
|
||||||
FROM system.part_log
|
FROM system.part_log
|
||||||
WHERE event_time > now() - INTERVAL 10 MINUTE
|
WHERE event_time > now() - INTERVAL 10 MINUTE
|
||||||
|
Loading…
Reference in New Issue
Block a user