Merge pull request #61757 from ClickHouse/fix-03014_async_with_dedup_part_log_rmt

Fix flaky `03014_async_with_dedup_part_log_rmt`
This commit is contained in:
alesapin 2024-03-23 18:48:54 +01:00 committed by GitHub
commit c2624cab48
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,7 +10,7 @@ INSERT INTO 03014_async_with_dedup_part_log VALUES (2);
SYSTEM FLUSH LOGS;
SELECT error, count() FROM system.part_log
WHERE table = '03014_async_with_dedup_part_log' and database = currentDatabase()
WHERE table = '03014_async_with_dedup_part_log' AND database = currentDatabase() AND event_type = 'NewPart'
GROUP BY error
ORDER BY error;
@ -19,6 +19,6 @@ INSERT INTO 03014_async_with_dedup_part_log VALUES (2);
SYSTEM FLUSH LOGS;
SELECT error, count() FROM system.part_log
WHERE table = '03014_async_with_dedup_part_log' and database = currentDatabase()
WHERE table = '03014_async_with_dedup_part_log' AND database = currentDatabase() AND event_type = 'NewPart'
GROUP BY error
ORDER BY error;