diff --git a/dbms/tests/queries/0_stateless/00196_float32_formatting.reference b/dbms/tests/queries/0_stateless/00196_float32_formatting.reference new file mode 100644 index 00000000000..4c0d230e5b8 --- /dev/null +++ b/dbms/tests/queries/0_stateless/00196_float32_formatting.reference @@ -0,0 +1,8 @@ +21.99 +21.99 +5 +5 +21.99 +21.99 +5 +5 diff --git a/dbms/tests/queries/0_stateless/00196_float32_formatting.sql b/dbms/tests/queries/0_stateless/00196_float32_formatting.sql new file mode 100644 index 00000000000..ae55298c297 --- /dev/null +++ b/dbms/tests/queries/0_stateless/00196_float32_formatting.sql @@ -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)));