dynamodb-copy-table icon indicating copy to clipboard operation
dynamodb-copy-table copied to clipboard

Datatype of Number columns changed to String

Open terrisgit opened this issue 3 years ago • 1 comments

Source table:

Partition key
scheduleId (Number)
Sort key
timestamp (Number)

Command:

docker run --rm -v $HOME/.aws:/root/.aws -it techgaun/dynamodb-copy-table:latest source dest

Destination table:

Partition key
scheduleId (String)
Sort key
timestamp (String)

terrisgit avatar Jul 11 '22 20:07 terrisgit

Hi, I've created a similar script here https://github.com/Bobtron/dynamodb-copy-table that should fix this issue - it will recreate the source table's settings such as datatypes of partition/sort keys

Bobtron avatar Nov 10 '24 05:11 Bobtron