You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DynamoDbEnhancedAsyncClient#createTable() fails to generate secondary indexes that are defined on annotations of the POJO class.
Expected Behavior
The sync version of the DynamoDB enhanced client does create secondary indexes as defined on the POJO class, and so should the async version.
As noted in the Java SDK Developer Guide, beginning with version 2.20.86, createTable() should automatically generate secondary indexes from data class annotations.
Describe the bug
DynamoDbEnhancedAsyncClient#createTable()
fails to generate secondary indexes that are defined on annotations of the POJO class.Expected Behavior
The sync version of the DynamoDB enhanced client does create secondary indexes as defined on the POJO class, and so should the async version.
As noted in the Java SDK Developer Guide, beginning with version 2.20.86,
createTable()
should automatically generate secondary indexes from data class annotations.Current Behavior
If i run this:
where the following class was used for schema generation:
Click to see the DynamoDbBean
no secondary index are generated:
Reproduction Steps
(See above)
Possible Solution
No response
Additional Information/Context
No response
AWS Java SDK version used
2.26.6
JDK version used
17
Operating System and version
Mac - Sonoma 14.5
The text was updated successfully, but these errors were encountered: