ClickHouse/tests/queries/0_stateless/00965_shard_unresolvable_addresses.sql
2023-02-10 23:11:41 +01: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 279 }
SELECT count() FROM remote('127.0.0.1|localhos', system.one);
-- Clear cache to avoid future errors in the logs
SYSTEM DROP DNS CACHE