dbms: added test to Float32 formatting [#METR-17281].

This commit is contained in:
Alexey Milovidov 2015-07-16 23:45:04 +03:00
parent 230bbe3296
commit 2cfb6495d4
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,8 @@
21.99
21.99
5
5
21.99
21.99
5
5

View File

@ -0,0 +1,8 @@
SELECT 21.99;
SELECT toFloat32(21.99);
SELECT visibleWidth(21.99);
SELECT visibleWidth(toFloat32(21.99));
SELECT materialize(21.99);
SELECT toFloat32(materialize(21.99));
SELECT visibleWidth(materialize(21.99));
SELECT visibleWidth(toFloat32(materialize(21.99)));