-
Notifications
You must be signed in to change notification settings - Fork 862
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BatchWrite doesn't respect IgnoreNullValues #3047
Comments
Hi @glenserraview, Good afternoon. Thanks for reporting the issue. I do not think For testing,
Thanks, |
Thanks @ashishdhingra. So it sounds like this isn't a bug. Is it something that can be raised as a feature request? We would like to optimise our code to save records as a batch, but this is blocking us, as we need to use IgnoreNullValues. |
|
Needs review with the team. |
Discussed with the team. This is probably a bug. |
After further investigation, it seems that this is a limitation of DynamoDB itself and not something that we can fix in the SDK as
https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_BatchWriteItem.html
|
|
Describe the bug
Prerequisites:
Following these steps:
Expected Behavior
I would expect the value of the field in the DynamoDb table to retain it's value, since I set IgnoreNullValues and have set the value to null on the saved object.
Current Behavior
The value is cleared in the table
Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
AWS .NET SDK and/or Package version used
AWSSDK.DynamodDBv2.3.7.201.7
Targeted .NET Platform
.NET 6
Operating System and version
Windows 11
The text was updated successfully, but these errors were encountered: