Insert query failing in cassandra when using now() -
insert testtable (id, user_name, gender, rank) values (now(), 'test_user', 'male', 2) ;
bad request: line 1:60 no viable alternative @ input 'now'
can on above error message when trying insert timeuuid table in cassandra.
you need upgrade cassandra - timeuuid functions added in cassandra 1.2.2.
Comments
Post a Comment