From d2c678928c550e9152599a77599d4cf4a4200948 Mon Sep 17 00:00:00 2001 From: Sergei Semin Date: Sat, 11 Sep 2021 18:14:00 +0300 Subject: [PATCH] remove cases with unspecified behaviour (out of UInt64 range) --- .../0_stateless/01492_format_readable_quantity.reference | 5 ----- tests/queries/0_stateless/01492_format_readable_quantity.sql | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/tests/queries/0_stateless/01492_format_readable_quantity.reference b/tests/queries/0_stateless/01492_format_readable_quantity.reference index 3736933b5ee..e58a1954eee 100644 --- a/tests/queries/0_stateless/01492_format_readable_quantity.reference +++ b/tests/queries/0_stateless/01492_format_readable_quantity.reference @@ -43,8 +43,3 @@ 1739.27 quadrillion 1739.27 quadrillion -2.15 billion 4727.84 quadrillion 4727.84 quadrillion -2.15 billion 12851.60 quadrillion 12851.60 quadrillion -2.15 billion -34934.27 quadrillion 0.00 -2.15 billion -94961.19 quadrillion 0.00 -2.15 billion -258131.29 quadrillion 0.00 -2.15 billion -701673.59 quadrillion 0.00 -2.15 billion -1907346.57 quadrillion 0.00 -2.15 billion diff --git a/tests/queries/0_stateless/01492_format_readable_quantity.sql b/tests/queries/0_stateless/01492_format_readable_quantity.sql index c2ebcfc1a97..3931cde49df 100644 --- a/tests/queries/0_stateless/01492_format_readable_quantity.sql +++ b/tests/queries/0_stateless/01492_format_readable_quantity.sql @@ -1,4 +1,4 @@ WITH round(exp(number), 6) AS x, toUInt64(x) AS y, toInt32(x) AS z SELECT formatReadableQuantity(x), formatReadableQuantity(y), formatReadableQuantity(z) FROM system.numbers -LIMIT 50; +LIMIT 45;