Added a test for hex floats in INSERT VALUES

This commit is contained in:
Alexey Milovidov 2020-08-07 03:46:49 +03:00
parent 467b7e24d3
commit 1452e1ab30
2 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,2 @@
0.123
1

View 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;