ClickHouse/tests/queries/0_stateless/00324_hashing_enums.sql

3 lines
143 B
MySQL
Raw Normal View History

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