ClickHouse/tests/queries/0_stateless/01581_to_int_inf_nan.sql

11 lines
440 B
MySQL
Raw Normal View History

2020-12-08 10:54:33 +00:00
SELECT toInt64(inf); -- { serverError 70 }
SELECT toInt128(inf); -- { serverError 70 }
SELECT toInt256(inf); -- { serverError 70 }
SELECT toInt64(nan); -- { serverError 70 }
SELECT toInt128(nan); -- { serverError 70 }
SELECT toInt256(nan); -- { serverError 70 }
SELECT toUInt64(inf); -- { serverError 70 }
SELECT toUInt256(inf); -- { serverError 70 }
SELECT toUInt64(nan); -- { serverError 70 }
SELECT toUInt256(nan); -- { serverError 70 }