Sudheesh S Babu
Sudheesh S Babu

Reputation: 91

Can I update the records in AWS Timestream?

Can I update the records data in AWS timestream? From what I have read, delete & update operations are not permitted in timestream. Is there any workarounds to perform the update operation on the timestream records?

Upvotes: 1

Views: 3989

Answers (1)

As long as all dimensions and the timestamps are the same, if call the method .version() with a number higher than the one in storage, (like version = 1 on db and update with .version(2)), yes, it's possible to update. Please, refer to the article linked in the comments of MaFF. (https://docs.aws.amazon.com/timestream/latest/developerguide/writes.html#writes.writing-data-inserts-upserts)

Upvotes: 3

Related Questions