dictionary - How to Create nested collection map<text,list<text>> type in cassandra database 2.2.1 -


create table tbl_master_values (   dbid int primary key,   user_dbid int, reg_dbid int,   module_dbid int,   fields_value map<text,list<text>>,   created_date timestamp,   modified_date timestamp); 

it returns error:

invalidrequest: code=2200 [invalid query]  message="non-frozen collections not allowed inside collections: map<text, list<text>>" 

non-frozen collections not allowed inside collections: map>

cassandra telling cannot complete operation without using frozen keyword.

fields_value frozen<map<text, list<text>>>, 

keep in mind frozen tells cassandra treat value blob, , prevents individual parts of value being modified. when make change frozen collection serializing , rewriting of items stored. won't solution frequently-changing collection.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -