Skip to main content

composite_index_max_attributes

Function composite_index_max_attributes 

Source
pub async fn composite_index_max_attributes(t: &mut Test) -> Result<()>
Expand description

Maximum attribute boundary: #[index(partition = [f1, f2, f3, f4], local = [f5, f6, f7, f8])] (DDB-only).

DynamoDB allows up to 4 HASH + 4 RANGE attributes in a GSI KeySchema. Verifies that setup_db() succeeds at the limit and that a query using all 4 partition key attributes returns correct results.