spring-data-dynamodb
spring-data-dynamodb copied to clipboard
Respoitory performing scan instead of query in case of lists
Expected Behavior
List<MetricScoreMetadataEntity> getMetricScoreMetadataEntitiesByMetricIdInAndMonth(List<String> metricId, String month);
Hash key : metricId Sort Key : month
Should have performed bulk query for the whole list of items and given results
Actual Behavior
Performing scan for the list of items
Specifications
- Spring Data DynamoDB Version: 5.1.0
- Spring Data Version:
- AWS SDK Version:
- Java Version: 8
- Platform Details:
I have the same Issue on the boostchicken repo. Then I created another more detailed issue on boostchicken repo:
https://github.com/boostchicken/spring-data-dynamodb/issues/160
If you have some solution please share
Hey @asif-iiitm if you want please visit my issue link to see the solution. Probably should be the same for you.