Skip to content

Sort sets to mimic behaviour of DynamoDB #9

wants to merge 1 commit into from

2 participants

toriaezu commented Mar 4, 2013


DynamoDB is sorting sets automatically under the hood. In order to reproduce that behaviour, I am sorting values of that type. You can reproduce that behaviour easily when storing data in an actual DynamoDB.



Amazon documentation says the Set data type is not sorted and it doesn't preserve the order of the values. I am not sure whether it is a good idea to depend on the undocumented behavior of Set data type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.