fix failed ut

This commit is contained in:
taiyang-li 2023-10-26 15:05:21 +08:00
parent d5feaa72c1
commit 3009e53506

View File

@ -1,9 +1,9 @@
set precise_float_parsing = 1;
select cast('2023-01-01' as Float64); -- { serverError 72 }
select cast('2023-01-01' as Float32); -- { serverError 72 }
select toFloat32('2023-01-01'); -- { serverError 72 }
select toFloat64('2023-01-01'); -- { serverError 72 }
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');