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

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -

php - Accessing static methods using newly created $obj or using class Name -