mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 03:22:14 +00:00
test added
This commit is contained in:
parent
3d64c84571
commit
755df1e475
@ -33,6 +33,7 @@ IPv6 functions
|
|||||||
::ffff:127.0.0.1
|
::ffff:127.0.0.1
|
||||||
::
|
::
|
||||||
\N
|
\N
|
||||||
|
100000000
|
||||||
--
|
--
|
||||||
::ffff:127.0.0.1
|
::ffff:127.0.0.1
|
||||||
--
|
--
|
||||||
|
@ -60,6 +60,8 @@ SELECT toIPv6('::.1.2.3'); --{serverError CANNOT_PARSE_IPV6}
|
|||||||
SELECT toIPv6OrDefault('::.1.2.3');
|
SELECT toIPv6OrDefault('::.1.2.3');
|
||||||
SELECT toIPv6OrNull('::.1.2.3');
|
SELECT toIPv6OrNull('::.1.2.3');
|
||||||
|
|
||||||
|
SELECT count() FROM numbers_mt(100000000) WHERE NOT ignore(toIPv6OrZero(randomString(8)));
|
||||||
|
|
||||||
SELECT '--';
|
SELECT '--';
|
||||||
|
|
||||||
SELECT cast('test' , 'IPv6'); --{serverError CANNOT_PARSE_IPV6}
|
SELECT cast('test' , 'IPv6'); --{serverError CANNOT_PARSE_IPV6}
|
||||||
|
Loading…
Reference in New Issue
Block a user