spring-data-dynamodb icon indicating copy to clipboard operation
spring-data-dynamodb copied to clipboard

Missing Local index projection settings

Open majusko opened this issue 5 years ago • 0 comments

Expected Behavior

I would expect to have the option to configure the projection of the local index or at least the default behaviour should project all fields the same way as GSI.

Actual Behavior

If using local indices, there is no projection configuration which makes the index almost useless.

Steps to Reproduce the Problem

  1. Specify localSecondaryIndexName in DynamoDBIndexRangeKey
  2. Execute a find by indexed field.
  3. All fields are empty

Specifications

  • Spring Data DynamoDB Version: 5.2.3
  • Spring Data Version: 2.2.2.RELEASE
  • AWS SDK Version: .11.664
  • Java Version: Java 11
  • Platform Details: Azul Zulu

majusko avatar Feb 25 '20 13:02 majusko