cloudberry icon indicating copy to clipboard operation
cloudberry copied to clipboard

[Bug] Analyze Overflow

Open Light-City opened this issue 6 months ago • 0 comments

Cloudberry Database version

master

What happened

set extra_float_digits to 0;
create table t (a double precision);
insert into t values (1.7976931348623157e+308);
analyze t;
the following message will be printed:
ERROR: value out of range: overflow

What you think should happen instead

not overflow

How to reproduce

set extra_float_digits to 0;
create table t (a double precision);
insert into t values (1.7976931348623157e+308);
analyze t;
the following message will be printed:
ERROR: value out of range: overflow

Operating System

centos7

Anything else

no.

Are you willing to submit PR?

  • [X] Yes, I am willing to submit a PR!

Code of Conduct

Light-City avatar Aug 13 '24 02:08 Light-City