ClickHouse/tests/performance/cidr.xml

13 lines
378 B
XML
Raw Normal View History

2019-05-02 13:09:48 +00:00
<test>
<preconditions>
<table_exists>test.hits</table_exists>
</preconditions>
2020-06-23 12:09:54 +00:00
<settings>
<max_threads>1</max_threads>
</settings>
2019-05-02 13:09:48 +00:00
<query>SELECT count() FROM test.hits WHERE NOT ignore(IPv4CIDRToRange(ClientIP, rand() % 33))</query>
<query>SELECT count() FROM test.hits WHERE NOT ignore(IPv6CIDRToRange(ClientIP6, rand() % 33))</query>
</test>