AWS Timestream - Delete/Mutate record

0

I'm using boto3/python to try and update a record via 'write_records(...)'. In response I get 'A record already exists with the same time, dimensions, and measure name. Updating measure value is not supported.' There is no boto3 api to delete or update a record.

Is there anyway to either delete a record or mutate a record? I'm storing user data and would like to delete user data upon a GDPR request.

I get the feeling that a record is immutable by design however the documentation doesn't say it is, at least that I could find.

Edited by: Whale on Oct 8, 2020 10:36 PM

Whale
posta 4 anni fa2161 visualizzazioni
3 Risposte
0

In this video(Getting started with Amazon Timestream) they say you can only append to the table https://aws.amazon.com/timestream/getting-started/?nc=sn&loc=4
Also, abstract from docs https://docs.aws.amazon.com/timestream/latest/developerguide/API_WriteRecords.html :
"RejectedRecordsException
WriteRecords would throw this exception in the following cases:

  • Records with duplicate data where there are multiple records with the same dimensions, timestamps, and measure names but different measure values."
katoo
con risposta 4 anni fa
0

Thanks for reaching out. Amazon Timestream currently does not support deleting and updating of existing records. We will add this feature asks to our list of feature requests.

Thanks for your interest and support for Amazon Timestream.

AWS
con risposta 4 anni fa
0

As of 11/24 Amazon Timestream supports the ability to upsert records. Please see https://docs.aws.amazon.com/timestream/latest/developerguide/getting-started.java-v1.code-samples.write-to-table.html for details.

AWS
con risposta 3 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande