mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-19 22:22:00 +00:00
10 lines
271 B
SQL
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
|