Fix 02265_column_ttl (filter out NO_REPLICA_HAS_PART errors)

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
This commit is contained in:
Azat Khuzhin 2024-03-12 17:08:28 +01:00
parent f71cc5d706
commit e7d02654a7

View File

@ -37,4 +37,4 @@ attach table ttl_02265;
--
optimize table ttl_02265 final;
system flush logs;
select * from system.part_log where database = currentDatabase() and table like 'ttl_02265%' and error != 0;
select * from system.part_log where database = currentDatabase() and table like 'ttl_02265%' and error != 0 and errorCodeToName(error) != 'NO_REPLICA_HAS_PART';