Difference between UPDATE and INSERT in Cassandra?
There is a subtle difference. Inserted records via INSERT remain if you set all non-key fields to null. Records inserted via UPDATE go away if you set all non-key fields to null. Try this: CREATE TABLE T ( pk int, f1 int, PRIMARY KEY (pk) ); INSERT INTO T (pk, f1) VALUES (1, 1); UPDATE … Read more