I'm trying to get sum of column in cassandra but it return negetive value although there is no negetive row in my column.
cqlsh:samt> select cost from items where cost<0 allow filtering ;
cost
------
(0 rows)
But when i try to query sum of column it return :
select sum(cost) from items;
system.sum(cost)
------------------
-18485190
the number of rows I'm trying to aggregate in is more than a million, is this the cause?