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

Datatype of Number columns changed to String #11

Open
terrisgit opened this issue Jul 11, 2022 · 1 comment
Open

Datatype of Number columns changed to String #11

terrisgit opened this issue Jul 11, 2022 · 1 comment

Comments

@terrisgit
Copy link

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 terrisgit changed the title Column type of Number becomes String after copying Datatype of Number columns changed to String Jul 11, 2022
@Bobtron
Copy link

Bobtron commented Nov 10, 2024

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

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

No branches or pull requests

2 participants