diff --git a/dbms/tests/queries/0_stateless/00558_parse_floats.reference b/dbms/tests/queries/0_stateless/00558_parse_floats.reference new file mode 100644 index 00000000000..d4148d68ad0 --- /dev/null +++ b/dbms/tests/queries/0_stateless/00558_parse_floats.reference @@ -0,0 +1,100 @@ +0 +0.000001 +0.000002 +0.000003 +0.000004 +0.000005 +0.000006 +0.000007 +0.000008 +0.000009 +0.000001 +0.0000011 +0.0000012 +0.0000013 +0.0000014 +0.0000015 +0.0000016 +0.0000017 +0.0000018 +0.0000019 +0.000002 +0.0000021 +0.0000022 +0.0000023 +0.0000024 +0.0000025 +0.0000026 +0.0000027 +0.0000028 +0.0000029 +0.000003 +0.0000031 +0.0000032 +0.0000033 +0.0000034 +0.0000035 +0.0000036 +0.0000037 +0.0000038 +0.0000039 +0.000004 +0.0000041 +0.0000042 +0.0000043 +0.0000044 +0.0000045 +0.0000046 +0.0000047 +0.0000048 +0.0000049 +0.000005 +0.0000051 +0.0000052 +0.0000053 +0.0000054 +0.0000055 +0.0000056 +0.0000057 +0.0000058 +0.0000059 +0.000006 +0.0000061 +0.0000062 +0.0000063 +0.0000064 +0.0000065 +0.0000066 +0.0000067 +0.0000068 +0.0000069 +0.000007 +0.0000071 +0.0000072 +0.0000073 +0.0000074 +0.0000075 +0.0000076 +0.0000077 +0.0000078 +0.0000079 +0.000008 +0.0000081 +0.0000082 +0.0000083 +0.0000084 +0.0000085 +0.0000086 +0.0000087 +0.0000088 +0.0000089 +0.000009 +0.0000091 +0.0000092 +0.0000093 +0.0000094 +0.0000095 +0.0000096 +0.0000097 +0.0000098 +0.0000099 diff --git a/dbms/tests/queries/0_stateless/00558_parse_floats.sql b/dbms/tests/queries/0_stateless/00558_parse_floats.sql new file mode 100644 index 00000000000..c4b7c071fc0 --- /dev/null +++ b/dbms/tests/queries/0_stateless/00558_parse_floats.sql @@ -0,0 +1 @@ +SELECT toFloat64(concat('0.00000', toString(number))) FROM system.numbers LIMIT 100;