ClickHouse/tests/queries/0_stateless/02483_test_reverse_dns_resolution.reference

15 lines
443 B
Plaintext

-- { echoOn }
-- Expect dns.google on both queries
select reverseDNSQuery('8.8.8.8');
['dns.google']
select reverseDNSQuery('2001:4860:4860::8888');
['dns.google']
-- 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}