aws / aws/aws-lambda-java-libs

StreamRecord does not support ApproximateCreationDateTimePrecision from DynamoDB Streams events

オープン
#543 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
548
フォーク
241
平均マージ
2日 5分
マージ済み PR(30日)
11

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

StreamRecord クラスを見つけ、DynamoDB Streams のイベントフィールドがどのようにマッピングされているかを確認します。issue では、ApproximateCreationDateTimePrecision が不足している属性として特定されています。issue に記載されている ObjectMapper の動作を検証し、そのうえで、イベントが精度を公開し、不明なプロパティの処理が厳格な場合でも失敗しないことを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
aws, java
領域
databases
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
55/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。