DynamoDbEnhanced queries fail on attributes that contain `~`
- Lingua principale
- Java
- Stelle
- 2.6k
- Fork
- 1k
- Merge medio
- 2g 9h
- PR unite (30g)
- 51
Descrizione
### Describe the bug
Same bug as #3139 for the character `~`.
### Expected Behavior
Correct mapping.
### Current Behavior
The same exception as reported in other places.
### Reproduction Steps
Define a query using an attribute with `~` in the name.
### Possible Solution
The current implementation maintains a specific list of characters to be substituted, but [the DynamoDB spec](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.NamingRulesDataTypes.html) allows for close-to-arbitrary naming. While adding `~` to this list will solve the immediate failure, the approach should be revisited to be more robust generally.
### Additional Information/Context
_No response_
### AWS Java SDK version used
2.20.50
### JDK version used
openjdk version "17.0.6" 2023-01-17 OpenJDK Runtime Environment Temurin-17.0.6+10 (build 17.0.6+10) OpenJDK 64-Bit Server VM Temurin-17.0.6+10 (build 17.0.6+10, mixed mode, sharing)
### Operating System and version
Gentoo Linux
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.