Sort sets to mimic behaviour of DynamoDB #9

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
@steamedbuninvasion

Hi,

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.

@ananthakumaran

This comment has been minimized.

Show comment
Hide comment
@ananthakumaran

ananthakumaran Mar 9, 2013

Owner

Hi,

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.

Owner

ananthakumaran commented Mar 9, 2013

Hi,

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