Dear Mark,
We are doing some integrity checks over the data loaded in MonetDB, we would like to know how the values can be correctly loaded.
We have tested many cases (like min/max) for the different types, that why we have found this behavior.
In practice, we will not need to insert the -1.7976931348623157e308 value!
But it should be great if the documentation can stat which values are reserved for NULL storage.
Best regards,
Sebastien
From: users-list [mailto:users-list-bounces+sebastien.raillard=passman.fr@monetdb.org] On Behalf Of Mark Raasveldt
Sent: vendredi 27 novembre 2015 17:02
To: Communication channel for MonetDB users
Subject: Re: Double insert
Hey Mathieu,
This is not actually a bug, but a feature :)
MonetDB encodes null values of numeric columns by a specific value. This is typically the lowest possible value in that column, or close to the lowest possible value for that column. For doubles, the null value is encoded as -1.7976931348623157e308, thus if you insert this value into the database it will be interpreted as null.
Is there any specific reason you need this value in the database?
Regards,
Mark
On Fri, Nov 27, 2015 at 4:37 PM, Mathieu Raillard