- Newest
- Most votes
- Most comments
Based on your script and description, it appears that you're using the LoadTimestamp column as a job bookmark key. While this approach can work, there are a few things to consider and potential adjustments to make:
-
Ensure that the LoadTimestamp column is indeed incrementing for new records. If it's not consistently increasing, it may cause issues with the bookmark functionality. If user-defined bookmarks keys are used, they must each be strictly monotonically increasing or decreasing.
-
Consider adding a primary key or a unique identifier to your table if possible, as this can make bookmarking more reliable.
-
You're using "desc" as the sort order for the bookmark key. This means it will process the most recent records first. Consider changing this to "asc" to process older records first.
-
Remember that job bookmarks work best with monotonically increasing values. If LoadTimestamp has significant isn't strictly increasing, it might cause unexpected behavior with the bookmark feature.
If you've verified all these points and the issue persists, in order troubleshoot further, please feel free to open a support case with AWS using the following link. We will be happy to assist you.
Sources
Relevant content
asked 2 years ago
asked 4 years ago
asked 2 years ago
- AWS OFFICIALUpdated 2 years ago
