Im asking for the possibility to create a table in cassandra that contains a List of Map! like that:
CREATE TABLE IF NOT EXISTS agence(
id timeuuid,
code text,
libelle text,
adresse set<frozen<map<text,text>>>,
conseillers set<frozen<map<text,text>>>,
compagnie_id timeuuid,
...
In spring Data I have this query:
findAll()
then I got this error:
Query; CQL [SELECT * FROM agence;]; Codec not found for requested operation: [map<varchar, varchar> <-> java.util.Map]
I dont know if there is a bad configuration or bad use of cassandra!!
Anyone has suggestion please?
findAll
is really anti-patern for Cassandra. You should access data by key... – Alex Ottwhere
condition, or part or full primary key... – Alex Ott