Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DynamoDB: Change CrateDB data model to use (pk, data, aux) columns #281

Merged
merged 1 commit into from
Sep 30, 2024

Conversation

amotl
Copy link
Member

@amotl amotl commented Sep 30, 2024

About

By breaking the primary key information out of the main record's data bucket, the main record can be updated as-is on CDC MODIFY operations.

References

@cla-bot cla-bot bot added the cla-signed label Sep 30, 2024
@amotl amotl force-pushed the dynamodb-fix-cdc branch 2 times, most recently from a07a456 to c67bb5c Compare September 30, 2024 16:54
@amotl amotl marked this pull request as ready for review September 30, 2024 17:08
logger.info(f"Source: DynamoDB table={self.dynamodb_table} count={records_in}")

# FIXME!
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need a comment here on what is open to be fixed? At least I wouldn't know.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was an accident / leftover. I just removed it. Thanks for spotting it.

@amotl amotl force-pushed the dynamodb-fix-cdc branch 2 times, most recently from 8925ca0 to 2c9995b Compare September 30, 2024 21:56
By breaking the primary key information out of the main record's data
bucket, the main record can be updated as-is on CDC MODIFY operations.
@amotl amotl merged commit 0d682ba into main Sep 30, 2024
32 checks passed
@amotl amotl deleted the dynamodb-fix-cdc branch September 30, 2024 22:22
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