aws / aws/aws-lambda-java-libs

StreamRecord does not support ApproximateCreationDateTimePrecision from DynamoDB Streams events

Aperta
#543 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Java
Stelle
548
Fork
241
Merge medio
2g 5m
PR unite (30g)
11

Descrizione

When the `ApproximateCreationDateTimePrecision` is explicitly set for a DynamoDB table, the corresponding `precision` attribute is sent inside the DynamoDB Streams events. However, the `StreamRecord` class present in the SDK does not currently contain support for the `ApproximateCreationDateTimePrecision` attribute.

This results in two main issues:
- The attribute is not parsed from the event, so downstream consumers cannot access the precision information.
- If the ObjectMapper is configured to not ignore unknown properties, receiving the event with this attribute can cause deserialization errors.

**Suggested Fix:**
Please add the `ApproximateCreationDateTimePrecision` attribute to the `StreamRecord` class so that it is properly parsed from DynamoDB Streams events and available to consumers using the SDK.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Individua la classe StreamRecord e verifica come vengono mappati i campi degli eventi DynamoDB Streams; l’issue identifica ApproximateCreationDateTimePrecision come attributo mancante. Verifica il comportamento di ObjectMapper descritto nell’issue, quindi conferma che gli eventi espongano la precisione e non falliscano quando la gestione delle proprietà sconosciute è rigorosa.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
aws, java
Ambito
databases
Tipo di issue
Bug
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Ferma
Chiarezza
Specificata chiaramente
Idoneità per principianti
55/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.