32 ms·
I agree they should fix it but I think they have been transparent about the restriction. It is already listed within most of their documentation. http://docs.a
by rjdavis3 10y ago
I agree they should fix it but I think they have been transparent about the restriction. It is already listed within most of their documentation.
http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_PutItem.html http://docs.aws.amazon.com/amazondynamodb/latest/APIReferenc...
It is also listed as a Gotcha on the AWS Open Guide which trended on HN a few weeks ago.
https://github.com/open-guides/og-aws#dynamodb https://github.com/open-guides/og-aws#dynamodb
- idbehold 10y agoAre you agreeing that they should fix the issue or their documentation suggesting that "Maps are ideal for storing JSON documents in DynamoDB"? Or both?
- rjdavis3 10y agoI would love for them to fix storage of empty string but I don't think that is going to happen given all the documentation they have around not allowing it. Must have been easier for them to just document the limitation. I do agree that they could do a better job in their documentation explaining the difference between JSON spec and their JSON equivalent that they store. It is not clear that the JSON you post is not stored in the same exact way. They could be more clear about the types they append to your data (L, S, SS, N) and then reference the link I put above about the restrictions for each type.