Hello,
I've been encountering some issues using python cassandra models
on latest version 3.7.0
Instanciating a model that have a Map column type and performing update cause column to be overridden even if it hasn't been set:
class Foo(Model):
id = Integer(primary_key=True)
mf = Map(Integer, Text)
dummy = Integer()
foo = Foo(id=1)
foo.dummy = 1
foo.update() # this reset mf column to {}
I've dig into this, and it seems that value manager set as changed any field that isn't equals previous_value=None, while those columns are by default set to empty dict...
Overriding value manager for those columns doesn't solve this issue either as MapColumn have specific rules to be removed in case of update if they're not being updated:
_delete_null_columns
Could you help with this issue?
Thanks!