Reputation: 27
Friends,
I am modeling a table in Cassandra which contains a Map column. So this Map should contains dynamic values and will be update so much for that row (I will update by a Primary Key)
Is it an anti-patterns, which other options should I consider ?
Upvotes: 1
Views: 203
Reputation: 20051
What you're trying to do is possibly what I described here.
First big limitations that comes into my mind are the one given by the specification:
More there are the problems described in other post
I personally consider this approach as an anti pattern for all these reasons -- this approach provide a schema less solution but reduce performances and introduce lots of limitations like the one secondary indexes and typing.
HTH, Carlo
Upvotes: 1