ClickHouse/tests/queries/0_stateless/02539_generate_random_ip.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

3 lines
201 B
MySQL
Raw Normal View History

-- Check that the function works for Ipv4 and Ipv6 and gives at least something plausible:
SELECT uniq(v4) > 1000, uniq(v6) > 1000 FROM (SELECT * FROM generateRandom('v4 IPv4, v6 IPv6') LIMIT 100000);