When I insert the 667289685 value in a float32 field, ClickHouse round it to 667289660. Why does ClickHouse do that?
My example table
CREATE TABLE mytable (id Int32, valor Float32)
ENGINE = MergeTree PRIMARY KEY (id)
Insert
INSERT INTO mytable values (1, 667289685)
Query
SELECT * FROM mytable
The result
id | valor |
---|---|
1 | 667289660 |
I am using the HTTP API to insert the records.