dynamodb: Ability to override the table name
- Vorherrschende Sprache
- Java
- Sterne
- 2.6k
- Forks
- 1k
- Ø Merge
- 2 T. 9 Std.
- Gemergte PRs (30 T.)
- 51
Beschreibung
### Describe the feature
Currently, it seems there are no features to override the DynamoDB table name, like an equivalent to the V1 SDK's
[DynamoDBMapperConfig.Builder#withTableNameOverride()](https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/dynamodbv2/datamodeling/DynamoDBMapperConfig.Builder.html#withTableNameOverride-com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMapperConfig.TableNameOverride-) and [DynamoDBMapperConfig.TableNameOverride.withTableNamePrefix()](https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/dynamodbv2/datamodeling/DynamoDBMapperConfig.TableNameOverride.html#withTableNamePrefix-java.lang.String-) .
This feature is useful to configure the DynamoDBs' table names dynamically. I'd like to use the equivalent function on V2 SDK as well.
### Is your Feature Request related to a problem?
This is one of the blockers to upgrade the SDK to v2 from v1 for us.
### Proposed Solution
_No response_
### Describe alternatives you've considered
_No response_
### Acknowledge
- [ ] I may be able to implement this feature request
### AWS Java SDK version used
2.17.102
### JDK version used
openjdk version "11.0.11" 2021-04-20 LTS
OpenJDK Runtime Environment Corretto-11.0.11.9.1 (build 11.0.11+9-LTS)
OpenJDK 64-Bit Server VM Corretto-11.0.11.9.1 (build 11.0.11+9-LTS, mixed mode)
### Operating System and version
Ubuntu 20.04
Beitragsleitfaden
Rechercherichtung
Start by reviewing the V1 DynamoDBMapperConfig.Builder#withTableNameOverride() and TableNameOverride.withTableNamePrefix() references in the issue, then locate the corresponding DynamoDB table-name handling in the V2 SDK. Define the V2 API and its expected behavior for dynamic names and prefixes before implementing tests and the feature.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- aws, java
- Bereich
- database
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100