Cassandra 2.0.2 does not persist the map collection when I specify an
if-not-exists clause in the insert operation:

cqlsh:mohica>CREATE TABLE simple (id1 TEXT, ,my_map MAP<TEXT, TEXT>,PRIMARY
KEY (id1));
cqlsh:mohica>INSERT INTO simple(id1,my_map) VALUES
('id1',{'a1':'b1','a2':'b1'}) if not exists;

 [applied]
-----------
      True
cqlsh:mohica>SELECT * from simple ;

 id1 | my_map
-----+--------
 id1 |   null


Mohica

Reply via email to