ClickHouse/tests/queries/0_stateless/00324_hashing_enums.sql
2021-09-12 17:15:28 +03:00

5 lines
165 B
SQL

-- Tags: no-fasttest
SELECT cityHash64(*) FROM (SELECT 1 AS x, CAST(x AS Enum8('Hello' = 0, 'World' = 1)) AS y);
SELECT cityHash64(*) FROM (SELECT 1 AS x, x AS y);