aws lambda - DynamoDB indexing on payload -
this question has answer here:
- indexing on nested field 1 answer
my dynambodb row item looks this: (it given me)
{ "id":"123456", "date_time":"01062016 143212", "payload":{ "type":"a", "value":"temp value", } }
i added indexes on id + date_time. how can add index on payload.type?
thanks
dynamodb doesn't support indices on nested fields inside map
.
see official documentation improving data access secondary indexes in dynamodb.
the key schema index. every attribute in index key schema must top-level attribute of type string, number, or binary. other data types, including documents , sets, not allowed.
Comments
Post a Comment