[BUG] TableTransactionalBatch.UpdateEntity does not merge entities #18433
Labels
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Tables
Describe the bug
You cannot merge entities inside a transactional batch. The TableUpdateMode argument is ignored and entities are always overwritten.
Given an entity in TS with property A, when attempting to merge property B into it, then property A is erased and the entity only contains property B.
Expected behavior
The entity in TS contains 2 properties: A & B.
Actual behavior (include Exception or Stack Trace)
What is the actual behavior?
The entity in TS contains only the property B;
PS. Property B can be added to the entity without erasing property A, only when using the table client directly (TableClient.UpdateEntity), bypassing batching.
To Reproduce
Environment:
Azure.Data.Tables 3.0.0-beta5
Windows 10 Pro
Tried against an Azure-hosted real TableStorage as well as against Windows Azure Storage Emulator 5.10.0.0
.NET Core 3.1
The text was updated successfully, but these errors were encountered: