2018-12-13 13:41:47 +00:00
|
|
|
<test>
|
|
|
|
<name>IPv6 Functions</name>
|
|
|
|
|
2019-02-07 13:18:04 +00:00
|
|
|
<type>loop</type>
|
2018-12-13 13:41:47 +00:00
|
|
|
|
|
|
|
<stop_conditions>
|
2019-02-07 13:18:04 +00:00
|
|
|
<all_of>
|
|
|
|
<total_time_ms>30000</total_time_ms>
|
|
|
|
</all_of>
|
2018-12-13 13:41:47 +00:00
|
|
|
<any_of>
|
2019-02-07 13:18:04 +00:00
|
|
|
<min_time_not_changing_for_ms>5000</min_time_not_changing_for_ms>
|
|
|
|
<total_time_ms>60000</total_time_ms>
|
2018-12-13 13:41:47 +00:00
|
|
|
</any_of>
|
|
|
|
</stop_conditions>
|
|
|
|
|
2019-02-07 13:18:04 +00:00
|
|
|
<!-- The CAIDA UCSD IPv4 Routed /24 DNS Names Dataset - 20181130,
|
|
|
|
http://www.caida.org/data/active/ipv4_dnsnames_dataset.xml.
|
|
|
|
Randomly selected entries from first 50000 rows of dataset. -->
|
|
|
|
|
|
|
|
<create_query>CREATE TABLE IF NOT EXISTS ips_v6(ip String) ENGINE = MergeTree() PARTITION BY tuple() ORDER BY tuple()</create_query>
|
|
|
|
|
|
|
|
<fill_query> INSERT INTO ips_v6 VALUES ('2606:2b00::1')('2001:2000:3080:1351::2')('2a01:8840:16::1')('2001:550:0:1000::9a36:2a61')('2001:578:400:4:2000::19')('2607:f290::1')('2a02:23f0:ffff:8::5')('2400:c700:0:158::')('2001:67c:24e4:4::250')('2a02:2a38:37:5::2')('2001:41a8:400:2::13a')('2405:9800:9800:66::2')('2a07:a343:f210::1')('2403:5000:171:46::2')('2800:c20:1141::8')('2402:7800:40:2::62')('2a00:de00::1')('2001:688:0:2:1::9e')('2001:2000:3080:80::2')('2001:428::205:171:200:230')('2001:fb1:fe0:9::8')('2001:2000:3080:10ca::2')('2400:dd0b:1003::2')('2001:1a98:6677::9d9d:140a')('2001:2000:3018:3b::1')('2607:fa70:3:33::2')('2001:5b0:23ff:fffa::113')('2001:450:2001:1000:0:40:6924:23')('2001:418:0:5000::c2d')('2a01:b740:a09::1')('2607:f0d0:2:2::243')('2a01:348::e:1:1')('2405:4800::3221:3621:2')('2a02:aa08:e000:3100::2')('2001:44c8:129:2632:33:0:252:2')('2a02:e980:1e::1')('2a0a:6f40:2::1')('2001:550:2:29::2c9:1')('2001:c20:4800::175')('2c0f:feb0:1:2::d1')('2a0b:7086:fff0::1')('2a04:2dc0::16d')('2604:7e00::105d')('2001:470:1:946::2')('2a0c:3240::1')('2800:630:4010:8::2')('2001:1af8:4040::12')('2c0f:fc98:1200::2')('2001:470:1:248::2')('2620:44:a000::1')('2402:800:63ff:40::1')('2a02:b000:fff::524')('2001:470:0:327::1')('2401:7400:8888:2::8')('2001:500:55::1')('2001:668:0:3::f000:c2')('2400:bf40::1')('2001:67c:754::1')('2402:28c0:100:ffff:ffff:ffff:ffff:ffff')('2001:470:0:1fa::2')('2001:550:0:1000::9a18:292a')('2001:470:1:89e::2')('2001:579:6f05:500:9934:5b3e:b7fe:1447')('2804:158c::1')('2600:140e:6::1')('2a00:18e0:0:bb04::82')('2a02:2698:5000::1e06')('2402:800:63ff:10::7:2')('2a02:e980:19::1')('2001:4888::342:1:0:0')('2607:fc68:0:4:0:2:2711:21')('2606:2800:602a::1')('2404:c600:1000:2::1d1')('2001:578:1400:4::9d')('2804:64:0:25::1')('2605:3e00::1:2:2')('2c0f:fa18:0:4::b')('2606:2800:602c:b::d004')('2610:18:181:4000::66')('2001:48f8:1000:1::16')('2408:8000:c000::1')('2a03:4200:441:2::4e')('2400:dd00:1:200a::2')('2a02:e980:83:5b09:ecb8:c669:b336:650e')('2001:16a0:2:200a::2')('2001:4888:1f:e891:161:26::')('2a0c:f743::1')('2a02:e980:b::1')('2001:578:201:1::601:9')('2001:438:ffff::407d:1bc1')('2001:920:1833::1')('2001:1b70:a1:610::b102:2')('2001:13c7:6014::1')('2003:0:1203:4001::1')('2804:a8:2:c8::d6')('2a02:2e00:2080:f000:0:261:1:11')('2001:578:20::d')('2001:550:2:48::34:1')('2a03:9d40:fe00:5::')('2403:e800:200:102::2')('::ffff:113.56.44.105')('::ffff:116.66.238.92')('::ffff:67.22.254.206')('::ffff:115.0.24.191')('::ffff:182.30.107.86')('::ffff:223.73.153.243')('::ffff:115.159.103.38')('::ffff:36.186.75.121')('::ffff:111.56.188.125')('::ffff:115.14.93.25')('::ffff:211.97.110.141')('::ffff:61.58.96.173')('::ffff:203.126.212.37')('::ffff:192.220.125.142')('::ffff:115.22.20.223')('::ffff:121.25.160.80')('::ffff:117.150.98.199')('::ffff:183.211.172.143')('::ffff:180.244.18.143')('::ffff:209.131.3.252')('::ffff:220.200.1.22')('::ffff:171.225.130.45')('::ffff:115.4.78.200')('::ffff:36.183.59.29')('::ffff:218.42.159.17')('::ffff:115.13.39.164')('::ffff:142.254.161.133')('::ffff:116.2.211.43')('::ffff:36.183.126.25')('::ffff:66.150.171.196')('::ffff:104.149.148.137')('::ffff:120.239.82.212')('::ffff:111.14.182.156')('::ffff:115.6.63.224')('::ffff:153.35.83.233')('::ffff:113.142.1.1')('::ffff:121.25.82.29')('::ffff:62.151.203.189')('::ffff:104.27.46.146')('::ffff:36.189.46.88')('::ffff:116.252.54.207')('::ffff:64.77.240.1')('::ffff:142.252.102.78')('::ffff:36.82.224.170')('::ffff:117.33.191.217')('::ffff:144.12.164.251')('::ffff:122.10.93.66')('::ffff:104.25.84.59')('::ffff:111.4.242.106')('::ffff:222.216.51.186')('::ffff:112.33.13.212')('::ffff:115.9.240.116')('::ffff:171.228.0.153')('::ffff:45.3.47.158')('::ffff:69.57.193.230')('::ffff:115.6.104.199')('::ffff:104.24.237.140')('::ffff:199.17.84.108')('::ffff:120.193.17.57')('::ffff:112.40.38.145')('::ffff:67.55.90.43')('::ffff:180.253.57.249')('::ffff:14.204.253.158')('::ffff:1.83.241.116')('::ffff:202.198.37.147')('::ffff:115.6.31.95')('::ffff:117.32.14.179')('::ffff:23.238.237.26')('::ffff:116.97.76.104')('::ffff:1.80.2.248')('::ffff:59.50.185.152')('::ffff:42.117.228.166')('::ffff:1
|
|
|
|
|
|
|
|
<fill_query>insert into ips_v6 select * from ips_v6</fill_query>
|
|
|
|
<fill_query>insert into ips_v6 select * from ips_v6</fill_query>
|
|
|
|
<fill_query>insert into ips_v6 select * from ips_v6</fill_query>
|
|
|
|
<fill_query>insert into ips_v6 select * from ips_v6</fill_query>
|
|
|
|
<fill_query>insert into ips_v6 select * from ips_v6</fill_query>
|
|
|
|
<fill_query>insert into ips_v6 select * from ips_v6</fill_query>
|
|
|
|
<fill_query>insert into ips_v6 select * from ips_v6</fill_query>
|
|
|
|
<fill_query>insert into ips_v6 select * from ips_v6</fill_query>
|
|
|
|
<fill_query>insert into ips_v6 select * from ips_v6</fill_query>
|
|
|
|
<fill_query>insert into ips_v6 select * from ips_v6</fill_query>
|
|
|
|
<fill_query>insert into ips_v6 select * from ips_v6</fill_query>
|
|
|
|
<fill_query>insert into ips_v6 select * from ips_v6</fill_query>
|
|
|
|
<fill_query>insert into ips_v6 select * from ips_v6</fill_query>
|
|
|
|
|
|
|
|
<query tag="IPv6StringToNum">SELECT count() FROM ips_v6 WHERE NOT ignore(IPv6StringToNum(materialize(ip)))</query>
|
|
|
|
<query tag="IPv6NumToString+IPv6StringToNum">SELECT count() FROM ips_v6 WHERE NOT ignore(IPv6NumToString(IPv6StringToNum(materialize(ip))))</query>
|
2019-02-07 14:25:40 +00:00
|
|
|
|
|
|
|
<drop_query>DROP TABLE IF EXISTS ips_v6</drop_query>
|
2019-02-07 13:18:04 +00:00
|
|
|
</test>
|