1 Answer
- Newest
- Most votes
- Most comments
0
Hi
In your Table the Tags attribute is a Map with two attributes personal:data:content:labels:dominant_category and personal:data:content:labels:dominant_label, in your query it looks like you are trying to query on the attribute name, that is not possible you need to query on the values.
A query to fetch all items that has the personal:data:content:labels:dominant_label attribute with a value that starts with Building would look like this:
SELECT PictureS3BucketKeyPK, Tags
FROM PicturesTagging
where begins_with("Tags"."personal:data:content:labels:dominant_label", 'Building')
Hope it helps.
Relevant content
- asked 4 years ago
- AWS OFFICIALUpdated 3 years ago
