Hi all 👋 when you replace a DynamoDB table (for example when the hashkey attribute changes), will the data be deleted?
11/27/2019, 10:51 PM
Yes. Unless AWS provides an in-place update option for the change in question, it will need to be replaced which will result in losing the data from the old Table.
In general, as a result, DynamoDB has best practices around schema evolution that involve creating new tables or adding secondary indexes instead of changing existing tables for production data stores.
11/27/2019, 10:52 PM
I thought so 🙂 Just checking if my assumption was correct