ClickHouse/tests/queries/0_stateless/03141_fetches_errors_stress.reference
Azat Khuzhin 43dcc012f4 Add a test for fetches failures
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-04-28 07:34:07 +02:00

7 lines
336 B
Plaintext

-- { echoOn }
select table, errorCodeToName(error), count() from system.part_log where database = currentDatabase() and error > 0 and errorCodeToName(error) not in ('FAULT_INJECTED', 'NO_REPLICA_HAS_PART', 'ATTEMPT_TO_READ_AFTER_EOF') group by 1, 2 order by 1, 2;
select count() from data_r1;
100000
select count() from data_r2;
100000