mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 18:12:02 +00:00
15 lines
413 B
SQL
15 lines
413 B
SQL
-- { echoOn }
|
|
-- Expect dns.google on both queries
|
|
select reverseDNSQuery('8.8.8.8');
|
|
select reverseDNSQuery('2001:4860:4860::8888');
|
|
|
|
-- Expect empty response
|
|
select reverseDNSQuery('');
|
|
|
|
-- Expect error, invalid column type
|
|
select reverseDNSQuery(1); -- {serverError 36}
|
|
|
|
-- Expect error, wrong number of arguments
|
|
select reverseDNSQuery(); -- {serverError 42}
|
|
select reverseDNSQuery(1, 2); -- {serverError 42}
|