ClickHouse/tests/queries/0_stateless/02900_issue_55858.sql

11 lines
408 B
MySQL
Raw Normal View History

set precise_float_parsing = 1;
2023-10-26 07:05:21 +00:00
select cast('2023-01-01' as Float64); -- { serverError 6 }
select cast('2023-01-01' as Float32); -- { serverError 6 }
select toFloat32('2023-01-01'); -- { serverError 6 }
select toFloat64('2023-01-01'); -- { serverError 6 }
select toFloat32OrZero('2023-01-01');
select toFloat64OrZero('2023-01-01');
select toFloat32OrNull('2023-01-01');
select toFloat64OrNull('2023-01-01');