ClickHouse/tests/queries/0_stateless/00965_shard_unresolvable_addresses.sql
2022-02-11 17:15:56 +03:00

10 lines
271 B
SQL

-- Tags: shard
SET prefer_localhost_replica = 1;
SELECT count() FROM remote('127.0.0.1,localhos', system.one); -- { serverError 198 }
SELECT count() FROM remote('127.0.0.1|localhos', system.one);
-- Clear cache to avoid future errors in the logs
SYSTEM DROP DNS CACHE