ClickHouse/tests/queries/0_stateless/02998_ipv6_hashing.sql
2024-02-26 15:45:09 +01:00

6 lines
229 B
SQL

-- Tags: no-fasttest
SELECT toIPv6(materialize(toLowCardinality('fe80::62:5aff:fed1:daf0'))) AS ipv6, SHA256(ipv6) from numbers(10);
SELECT toIPv6(materialize('fe80::62:5aff:fed1:daf0')) AS ipv6, SHA256(ipv6) from numbers(10);