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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
610 B
MySQL
Raw Normal View History

SELECT toInt64(inf); -- { serverError CANNOT_CONVERT_TYPE }
SELECT toInt128(inf); -- { serverError CANNOT_CONVERT_TYPE }
SELECT toInt256(inf); -- { serverError CANNOT_CONVERT_TYPE }
SELECT toInt64(nan); -- { serverError CANNOT_CONVERT_TYPE }
SELECT toInt128(nan); -- { serverError CANNOT_CONVERT_TYPE }
SELECT toInt256(nan); -- { serverError CANNOT_CONVERT_TYPE }
SELECT toUInt64(inf); -- { serverError CANNOT_CONVERT_TYPE }
SELECT toUInt256(inf); -- { serverError CANNOT_CONVERT_TYPE }
SELECT toUInt64(nan); -- { serverError CANNOT_CONVERT_TYPE }
SELECT toUInt256(nan); -- { serverError CANNOT_CONVERT_TYPE }