Closed padenn2 closed 1 year ago
It appears https://github.com/aws/aws-sdk-java-v2/releases/tag/2.20.86 is the exact upstream version that causes the test to break. With 2.20.85 the test passes.
Presumably this commit is the issue? It fixes the bug that DynamoDbTable.createTableWithIndices()
works around.
Wow, it looks like the SDK maintainers changed their mind about creating the indices by default. I'll look into a compatibility fix and document that createTableWithIndices
is only necessary prior to 2.20.86
I've upgraded the minimum SDK version to 2.20.86
, updated the tests, and deprecated createTableWithIndices
. Upgrading to the new 0.2.3 release shouldn't be necessary (since this issue only affects building), but it's available as an option regardless.
Thx for the quick fix @oharaandrew314 !
The "original createTable will lose indices" unit test will fail if
dynamodb-enhanced
is upgraded to a newer 2.20.+ version.