mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Added a test for hex floats in INSERT VALUES
This commit is contained in:
parent
467b7e24d3
commit
1452e1ab30
2
tests/queries/0_stateless/01433_hex_float.reference
Normal file
2
tests/queries/0_stateless/01433_hex_float.reference
Normal file
@ -0,0 +1,2 @@
|
||||
0.123
|
||||
1
|
4
tests/queries/0_stateless/01433_hex_float.sql
Normal file
4
tests/queries/0_stateless/01433_hex_float.sql
Normal file
@ -0,0 +1,4 @@
|
||||
CREATE TEMPORARY TABLE t (x Float64);
|
||||
INSERT INTO t VALUES (0x1.f7ced916872b0p-4);
|
||||
SELECT * FROM t;
|
||||
SELECT x = 0x1.f7ced916872b0p-4 FROM t;
|
Loading…
Reference in New Issue
Block a user