mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
add tests for bitOr and bitXor
This commit is contained in:
parent
d05026ec75
commit
2c1dfab240
@ -38,3 +38,83 @@
|
||||
2001:db8:85a3::
|
||||
2001:db8:85a3::
|
||||
2001:db8:85a3::
|
||||
2ff1:db8:85a3:8d3a:b2da:8a2e:370:7334
|
||||
2ff1:db8:85a3:8d3a:b2da:8a2e:370:7334
|
||||
2ff1:db8:85a3:8d3a:b2da:8a2e:370:7334
|
||||
2ff1:db8:85a3:8d3a:b2da:8a2e:370:7334
|
||||
2ff1:db8:85a3:8d3a:b2da:8a2e:370:7334
|
||||
2ff1:db8:85a3:8d3a:b2da:8a2e:370:7334
|
||||
2ff1:db8:85a3:8d3a:b2da:8a2e:370:7334
|
||||
2ff1:db8:85a3:8d3a:b2da:8a2e:370:7334
|
||||
2ff1:db8:85a3:8d3a:b2da:8a2e:370:7334
|
||||
2ff1:db8:85a3:8d3a:b2da:8a2e:370:7334
|
||||
2ff1:db8:85a3:8d3a:b2da:8a2e:370:7334
|
||||
2ff1:db8:85a3:8d3a:b2da:8a2e:370:7334
|
||||
2ff1:db8:85a3:8d3a:b2da:8a2e:370:7334
|
||||
2ff1:db8:85a3:8d3a:b2da:8a2e:370:7334
|
||||
2ff1:db8:85a3:8d3a:b2da:8a2e:370:7334
|
||||
2ff1:db8:85a3:8d3a:b2da:8a2e:370:7334
|
||||
2ff1:db8:85a3:8d3a:b2da:8a2e:370:7334
|
||||
2ff1:db8:85a3:8d3a:b2da:8a2e:370:7334
|
||||
2ff1:db8:85a3:8d3a:b2da:8a2e:370:7334
|
||||
2ff1:db8:85a3:8d3a:b2da:8a2e:370:7334
|
||||
2ff1:db8:85a3:8d3a:b2da:8a2e:370:7334
|
||||
2ff1:db8:85a3:8d3a:b2da:8a2e:370:7334
|
||||
2ff1:db8:85a3:8d3a:b2da:8a2e:370:7334
|
||||
2ff1:db8:85a3:8d3a:b2da:8a2e:370:7334
|
||||
2ff1:db8:85a3:8d3a:b2da:8a2e:370:7334
|
||||
2ff1:db8:85a3:8d3a:b2da:8a2e:370:7334
|
||||
2ff1:db8:85a3:8d3a:b2da:8a2e:370:7334
|
||||
2ff1:db8:85a3:8d3a:b2da:8a2e:370:7334
|
||||
2ff1:db8:85a3:8d3a:b2da:8a2e:370:7334
|
||||
2ff1:db8:85a3:8d3a:b2da:8a2e:370:7334
|
||||
2ff1:db8:85a3:8d3a:b2da:8a2e:370:7334
|
||||
2ff1:db8:85a3:8d3a:b2da:8a2e:370:7334
|
||||
2ff1:db8:85a3:8d3a:b2da:8a2e:370:7334
|
||||
2ff1:db8:85a3:8d3a:b2da:8a2e:370:7334
|
||||
2ff1:db8:85a3:8d3a:b2da:8a2e:370:7334
|
||||
2ff1:db8:85a3:8d3a:b2da:8a2e:370:7334
|
||||
2ff1:db8:85a3:8d3a:b2da:8a2e:370:7334
|
||||
2ff1:db8:85a3:8d3a:b2da:8a2e:370:7334
|
||||
2ff1:db8:85a3:8d3a:b2da:8a2e:370:7334
|
||||
2ff1:db8:85a3:8d3a:b2da:8a2e:370:7334
|
||||
de81:db8:85a3:8d3a:b325:740d:4617:fa3e
|
||||
de81:db8:85a3:8d3a:b325:740d:4617:fa3e
|
||||
de81:db8:85a3:8d3a:b325:740d:4617:fa3e
|
||||
de81:db8:85a3:8d3a:b325:740d:4617:fa3e
|
||||
de81:db8:85a3:8d3a:b325:740d:4617:fa3e
|
||||
de81:db8:85a3:8d3a:b325:740d:4617:fa3e
|
||||
de81:db8:85a3:8d3a:b325:740d:4617:fa3e
|
||||
de81:db8:85a3:8d3a:b325:740d:4617:fa3e
|
||||
de81:db8:85a3:8d3a:b325:740d:4617:fa3e
|
||||
de81:db8:85a3:8d3a:b325:740d:4617:fa3e
|
||||
de81:db8:85a3:8d3a:b325:740d:4617:fa3e
|
||||
de81:db8:85a3:8d3a:b325:740d:4617:fa3e
|
||||
de81:db8:85a3:8d3a:b325:740d:4617:fa3e
|
||||
de81:db8:85a3:8d3a:b325:740d:4617:fa3e
|
||||
de81:db8:85a3:8d3a:b325:740d:4617:fa3e
|
||||
de81:db8:85a3:8d3a:b325:740d:4617:fa3e
|
||||
de81:db8:85a3:8d3a:b325:740d:4617:fa3e
|
||||
de81:db8:85a3:8d3a:b325:740d:4617:fa3e
|
||||
de81:db8:85a3:8d3a:b325:740d:4617:fa3e
|
||||
de81:db8:85a3:8d3a:b325:740d:4617:fa3e
|
||||
de81:db8:85a3:8d3a:b325:740d:4617:fa3e
|
||||
de81:db8:85a3:8d3a:b325:740d:4617:fa3e
|
||||
de81:db8:85a3:8d3a:b325:740d:4617:fa3e
|
||||
de81:db8:85a3:8d3a:b325:740d:4617:fa3e
|
||||
de81:db8:85a3:8d3a:b325:740d:4617:fa3e
|
||||
de81:db8:85a3:8d3a:b325:740d:4617:fa3e
|
||||
de81:db8:85a3:8d3a:b325:740d:4617:fa3e
|
||||
de81:db8:85a3:8d3a:b325:740d:4617:fa3e
|
||||
de81:db8:85a3:8d3a:b325:740d:4617:fa3e
|
||||
de81:db8:85a3:8d3a:b325:740d:4617:fa3e
|
||||
de81:db8:85a3:8d3a:b325:740d:4617:fa3e
|
||||
de81:db8:85a3:8d3a:b325:740d:4617:fa3e
|
||||
de81:db8:85a3:8d3a:b325:740d:4617:fa3e
|
||||
de81:db8:85a3:8d3a:b325:740d:4617:fa3e
|
||||
de81:db8:85a3:8d3a:b325:740d:4617:fa3e
|
||||
de81:db8:85a3:8d3a:b325:740d:4617:fa3e
|
||||
de81:db8:85a3:8d3a:b325:740d:4617:fa3e
|
||||
de81:db8:85a3:8d3a:b325:740d:4617:fa3e
|
||||
de81:db8:85a3:8d3a:b325:740d:4617:fa3e
|
||||
de81:db8:85a3:8d3a:b325:740d:4617:fa3e
|
||||
|
@ -1,7 +1,14 @@
|
||||
SELECT IPv6NumToString(bitAnd(IPv6StringToNum('2001:0db8:85a3:8d3a:b2da:8a2e:0370:7334'), IPv6StringToNum('ffff:ffff:ffff:0000:0000:0000:0000:0000'))) FROM system.numbers LIMIT 10;
|
||||
|
||||
SELECT IPv6NumToString(bitAnd(materialize(IPv6StringToNum('2001:0db8:85a3:8d3a:b2da:8a2e:0370:7334')), IPv6StringToNum('ffff:ffff:ffff:0000:0000:0000:0000:0000'))) FROM system.numbers LIMIT 10;
|
||||
|
||||
SELECT IPv6NumToString(bitAnd(IPv6StringToNum('2001:0db8:85a3:8d3a:b2da:8a2e:0370:7334'), materialize(IPv6StringToNum('ffff:ffff:ffff:0000:0000:0000:0000:0000')))) FROM system.numbers LIMIT 10;
|
||||
SELECT IPv6NumToString(bitAnd(IPv6StringToNum('2001:0db8:85a3:8d3a:b2da:8a2e:0370:7334'), materialize(IPv6StringToNum('ffff:ffff:ffff:0000:0000:0000:0000:0000')))) FROM system.numbers LIMIT 10;
|
||||
|
||||
SELECT IPv6NumToString(bitAnd(IPv6StringToNum('2001:0db8:85a3:8d3a:b2da:8a2e:0370:7334'), materialize(IPv6StringToNum('ffff:ffff:ffff:0000:0000:0000:0000:0000')))) FROM system.numbers LIMIT 10;
|
||||
SELECT IPv6NumToString(bitOr(IPv6StringToNum('2001:0db8:85a3:8d3a:b2da:8a2e:0370:7334'), IPv6StringToNum('2ff0:0000:0000:0000:0000:0000:0000:0000'))) FROM system.numbers LIMIT 10;
|
||||
SELECT IPv6NumToString(bitOr(materialize(IPv6StringToNum('2001:0db8:85a3:8d3a:b2da:8a2e:0370:7334')), IPv6StringToNum('2ff0:0000:0000:0000:0000:0000:0000:0000'))) FROM system.numbers LIMIT 10;
|
||||
SELECT IPv6NumToString(bitOr(IPv6StringToNum('2001:0db8:85a3:8d3a:b2da:8a2e:0370:7334'), materialize(IPv6StringToNum('2ff0:0000:0000:0000:0000:0000:0000:0000')))) FROM system.numbers LIMIT 10;
|
||||
SELECT IPv6NumToString(bitOr(IPv6StringToNum('2001:0db8:85a3:8d3a:b2da:8a2e:0370:7334'), materialize(IPv6StringToNum('2ff0:0000:0000:0000:0000:0000:0000:0000')))) FROM system.numbers LIMIT 10;
|
||||
|
||||
SELECT IPv6NumToString(bitXor(IPv6StringToNum('2001:0db8:85a3:8d3a:b2da:8a2e:0370:7334'), IPv6StringToNum('fe80::1ff:fe23:4567:890a'))) FROM system.numbers LIMIT 10;
|
||||
SELECT IPv6NumToString(bitXor(materialize(IPv6StringToNum('2001:0db8:85a3:8d3a:b2da:8a2e:0370:7334')), IPv6StringToNum('fe80::1ff:fe23:4567:890a'))) FROM system.numbers LIMIT 10;
|
||||
SELECT IPv6NumToString(bitXor(IPv6StringToNum('2001:0db8:85a3:8d3a:b2da:8a2e:0370:7334'), materialize(IPv6StringToNum('fe80::1ff:fe23:4567:890a')))) FROM system.numbers LIMIT 10;
|
||||
SELECT IPv6NumToString(bitXor(IPv6StringToNum('2001:0db8:85a3:8d3a:b2da:8a2e:0370:7334'), materialize(IPv6StringToNum('fe80::1ff:fe23:4567:890a')))) FROM system.numbers LIMIT 10;
|
||||
|
Loading…
Reference in New Issue
Block a user