ClickHouse/tests/queries/0_stateless/01554_interpreter_integer_float.sql

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

9 lines
424 B
MySQL
Raw Normal View History

2020-11-04 07:58:26 +00:00
SELECT reinterpretAsFloat32(CAST(123456 AS UInt32));
SELECT reinterpretAsUInt32(CAST(1.23456 AS Float32));
SELECT reinterpretAsFloat32(CAST(123456 AS Int32));
SELECT reinterpretAsInt32(CAST(1.23456 AS Float32));
SELECT reinterpretAsFloat64(CAST(123456 AS UInt64));
SELECT reinterpretAsUInt64(CAST(1.23456 AS Float64));
SELECT reinterpretAsFloat64(CAST(123456 AS Int64));
SELECT reinterpretAsInt64(CAST(1.23456 AS Float64));