ClickHouse/tests/queries/0_stateless/01581_to_int_inf_nan.sql
2020-12-14 22:12:15 +03:00

11 lines
440 B
SQL

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 }