Comments on How to copy items from one DynamoDB to another DynamoDB table using Python on AWS
This tutorial shows you how to write a Python script to copy data from one DynamoDB to another DynamoDB table on AWS.
3 Comment(s)
Add comment
Comments
By: Kiran
I'm getting an error when using above script :
boto3 exception when calling create table operation : number of attributes in keyschema does not exactly match number of attributes defined attribute definitions
Any ideas ?
By: John
Does your table have GSIs? The script seems to need additional work if additional indexes are involved.
By: Aref Karimi
This is an overkill. In DynamoDB you can download all items (in Console) to a CSV file then load the CSV file back to another table with the same hash key and range key.