I am trying to get a double value from a Cassandra table with a double type column. I created a table in CQL3 syntax:
CREATE TABLE data_double ( datetime timestamp, value double, primary key (datetime) );
I inserted the line:
INSERT INTO data_double (datetime, value) VALUES ('111111111', 123.456);
When I do this:
SELECT * from data_double;
I get that value is 123.46
Why is the value rounded?
thanks
source share