can I set a MAX Limit to a BIGINT cassandra data type? this is my first step in cassandra db. for example: bigint(10) just like in mysql?
1 Answer
No. A Bigint is just a 64-bit signed long. No size or space limits can be specified. https://cassandra.apache.org/doc/latest/cql/types.html
-
Theirs docs have
DECIMALas a type option. Could this be used, for example withDECIMAL(8,0)? Or I am totally off? Jan 14, 2017 at 20:44 -
bigint (10)has no restrictions on the size of the numbers. It's the same asbigint, 8-byte integers.