We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0df8dc4 commit 5d1e5d7Copy full SHA for 5d1e5d7
dax/internal/client/legacy.go
@@ -112,8 +112,11 @@ func translateLegacyUpdateItemInput(input *dynamodb.UpdateItemInput) (*dynamodb.
112
}
113
return output, nil
114
115
-
116
func translateLegacyScanInput(input *dynamodb.ScanInput) (*dynamodb.ScanInput, error) {
+ // if ProjectionExpression is not nil, Should set Select type.
117
+ if input.ProjectionExpression != nil {
118
+ input.Select = types.SelectSpecificAttributes
119
+ }
120
pf, err := hasAttributesToGet(input.AttributesToGet, input.ProjectionExpression)
121
if err != nil {
122
return input, err
0 commit comments