I'm new to dynamo DB and wanted to understand how a new attribute can be added to an existing table.
What is the best way to add a new attribute to an existing table in production and then update the items for that attribute based on some conditions? I'm thinking of doing this operation from a script
For example: I've a dynamo db table Employee and it currently has a column Salary in the production environment. The requirement is to add a new column called Grade and update it's values based on the Salary. How to achieve this in an efficient way with any external scripts?
I've tried it using aws dynamodb update-item but the issue is I don't know the key for it.