TimeUUID vs timestamp in Cassandra? -
if can extract time timeuuid, make sense use timestamp column in cassandra?
also how can extract time timeuuid , make range queries(eg. jan 2016 may 2016) on it?
you don't need store timestamp in different column, if have choosen use timeuuid.
you looking this.
please take notice min
, max
. lsb bits determine uniqueness. i.e last 8 bits can range 00000000
ffffffff
.
so please prepare range query accordingly.
hope helps!
Comments
Post a Comment