Skip to content

Conversation

@morganwillisaws
Copy link
Owner

asdasdasd


# Scan returns paginated results, so only partial data will be copied
def sync_ddb_table(source_ddb, destination_ddb):
response = source_ddb.scan(
Copy link
Owner Author

Choose a reason for hiding this comment

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

Recommendation generated by Amazon CodeGuru Reviewer. Leave feedback on this recommendation by replying to the comment or by reacting to the comment using emoji.

The API method scan returns paginated results instead of all results. Consider using the pagination API or checking one of the following keys in the response to verify that all results were returned: ExclusiveStartKey, IsTruncated, LastEvaluatedKey, NextToken.

Learn more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants