Skip to content

Missing Local index projection settings #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
majusko opened this issue Feb 25, 2020 · 4 comments · Fixed by #20
Closed

Missing Local index projection settings #19

majusko opened this issue Feb 25, 2020 · 4 comments · Fixed by #20
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@majusko
Copy link

majusko commented Feb 25, 2020

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
Copy link
Author

majusko commented Feb 25, 2020

Working on a fix already.

@boostchicken
Copy link
Owner

Hey @majusko thanks for the PR, will review this weekend

@boostchicken
Copy link
Owner

In 5.2.4-SNAPSHOT

@boostchicken boostchicken added the enhancement New feature or request label Mar 13, 2020
@boostchicken boostchicken self-assigned this Mar 13, 2020
@boostchicken
Copy link
Owner

Released in 5.2.4

@boostchicken boostchicken added this to the 5.2.4 milestone May 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants