Concept Flow - Sparse index pattern
Create main table with items
Add GSI with attribute only on some items
Insert items with and without GSI attribute
Query GSI returns only items with attribute
Result: Sparse index filters items
The sparse index pattern uses a secondary index that only includes items having a specific attribute, so queries on that index return only those items.