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
DynamoDB Enhanced Client: An object contains an attribute that is a list. That list has 2 items in it. When I attempt to project an attribute of one of the list items, I get this error:
I can give you access to a repo to reproduce the example.
Possible Solution
. I don't have any suggestions.
Additional Information/Context
I am working on the section of the DynamoDB Enhanced Client documentation of the Java Dev. Guide. This section discusses how to filter and project based on attributes that are beans, maps or lists.
The SDK Javadoc also indicates that this should work:
Examples of creating NestedAttributeNames:
Simple attribute Level0 can be created as NestedAttributeName.create("Level0")
Nested attribute Level0.Level1 can be created as NestedAttributeName.create("Level0", "Level1")
Nested attribute Level0.Level-2 can be created as NestedAttributeName.create("Level0", "Level-2")
List item 0 of ListAttribute can be created as NestedAttributeName.create("ListAttribute[0]")
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:
Describe the bug
DynamoDB Enhanced Client: An object contains an attribute that is a list. That list has 2 items in it. When I attempt to project an attribute of one of the list items, I get this error:
phoneNumbers
is the name of the object's property that is a list.Regression Issue
Expected Behavior
Return the same results that the following CLI command does:
but using this Java code:
which is:
Current Behavior
This is the error:
produced by:
Reproduction Steps
I can give you access to a repo to reproduce the example.
Possible Solution
. I don't have any suggestions.
Additional Information/Context
I am working on the section of the DynamoDB Enhanced Client documentation of the Java Dev. Guide. This section discusses how to filter and project based on attributes that are beans, maps or lists.
The SDK Javadoc also indicates that this should work:
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: