When doing math operation in cratedb, it produces floating point, here is how I create table in crate:
create table:
create table cash(date string, spend float);
insert into cash(date, spend) values ('2017-05-03', 55.55);
insert into cash(date, spend) values ('2017-05-03', 34.55);
insert into cash(date, spend) values ('2017-05-03', 87.55);
select (0 - spend) sp,* from cash limit 100;
the picture above is the result of executing the select sql
dataTypes in cratedb have no support for decimal, do you have any suggestions on handling this issue in cratedb?
thanks