ClickHouse/tests/queries/0_stateless/01536_fuzz_cast.sql
2024-05-30 19:41:08 +00:00

3 lines
320 B
SQL

SET cast_keep_nullable = 0;
SELECT CAST(arrayJoin([NULL, '', '', NULL, '', NULL, '01.02.2017 03:04\005GMT', '', NULL, '01/02/2017 03:04:05 MSK01/02/\0017 03:04:05 MSK', '', NULL, '03/04/201903/04/201903/04/\001903/04/2019']), 'Enum8(\'a\' = 1, \'b\' = 2)') AS x; -- { serverError CANNOT_INSERT_NULL_IN_ORDINARY_COLUMN }