Is it possible to work with StringSets in DynamoDB via DQL?

Currently running the following query:

scan tags from emails

Where tags is an array of strings, results in the following error:

error running query: set([u’newsletter’, u’pre-order’]) is not JSON serializable

If it’s not possible to have arrays in columns directly, is there any way to transform them?

This is a bug in our query runner. The solution is probably simple – we can update json_dumps to handle set values (by converting them to array).

Would you like to submit a pull request with this fix? :slight_smile: