I want to mark an entire existing row (not a column) for deletion using a TTL
.
Unfortunately the TTL will only remove the entire row if it was set during insertion of the row. If you "update" the row and add a TTL
, it will only effect the specific columns which were updated , and you can't "update" the primary key.
Is there some sort of work around? Am I forced to read the full row and then "re-insert" it to the table, adding the TTL
value?