ClickHouse/tests/performance/bit_operations_fixed_string.xml

11 lines
734 B
XML
Raw Normal View History

2020-02-14 03:57:03 +00:00
<test>
<preconditions>
2020-06-08 13:57:33 +00:00
<table_exists>hits_100m_single</table_exists>
2020-02-14 03:57:03 +00:00
</preconditions>
2020-06-08 13:57:33 +00:00
<query>SELECT count() FROM hits_100m_single WHERE NOT ignore(bitAnd(toFixedString(ClientIP6, 16), IPv6StringToNum('ffff:ffff:ffff:0000:0000:0000:0000:0000')))</query>
<query>SELECT count() FROM hits_100m_single WHERE NOT ignore(bitOr(toFixedString(ClientIP6, 16), IPv6StringToNum('ffff:ffff:ffff:0000:0000:0000:0000:0000')))</query>
<query>SELECT count() FROM hits_100m_single WHERE NOT ignore(bitXor(toFixedString(ClientIP6, 16), IPv6StringToNum('ffff:ffff:ffff:0000:0000:0000:0000:0000')))</query>
<query>SELECT count() FROM hits_100m_single WHERE NOT ignore(bitNot(toFixedString(ClientIP6, 16)))</query>
2020-02-14 03:57:03 +00:00
</test>