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

iphone - Three second countdown in cocos2d -

hyperlink - how to do url routing in php -

c - Avoiding Extra Malloc in Linked List (node->next = NULL) -