ClickHouse/dbms/tests/queries/0_stateless/00503_cast_const_nullable.sql

4 lines
185 B
MySQL
Raw Normal View History

2017-09-26 16:01:12 +00:00
SELECT CAST(1 AS Nullable(UInt8)) AS id WHERE id = CAST(1 AS Nullable(UInt8));
SELECT CAST(1 AS Nullable(UInt8)) AS id WHERE id = 1;
SELECT NULL == CAST(toUInt8(0) AS Nullable(UInt8));