ClickHouse/dbms/tests/queries/0_stateless/00324_hashing_enums.sql
2016-04-14 00:35:46 +03:00

3 lines
143 B
SQL

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);