Skip to content

Conversation

@amotl
Copy link
Member

@amotl amotl commented Sep 25, 2024

Problem

Hey guys, I noticed earlier that DynamoDB updates that removed fields from items were not synced properly to CrateDB, would you know why?

Evaluation

When breaking down CDC MODIFY statements into individual SET clauses, deleted attributes would not be propagated correctly.

Solution

Don't break down into SET clauses, but insert data from NewImage as-is.

@hammerhead, @surister: Please review retroactively. Thank you!

@cla-bot cla-bot bot added the cla-signed label Sep 25, 2024
@amotl amotl marked this pull request as ready for review September 25, 2024 22:53
@amotl amotl merged commit 7799ee7 into main Sep 25, 2024
23 checks passed
@amotl amotl deleted the dynamodb-fix-modify branch September 25, 2024 22:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants