ClickHouse/tests/queries/0_stateless/02670_map_literal_cast.sql
2023-02-26 14:45:02 +01:00

3 lines
147 B
SQL

SELECT CAST([('a', 1), ('b', 2)], 'Map(String, UInt8)');
SELECT CAST((('a', 1), ('b', 2)), 'Map(String, UInt8)'); -- { serverError TYPE_MISMATCH }