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
[Spark] Fix DomainMetadata handling for REPLACE TABLE concurrent with a transaction that adds a new domain (delta-io#4712)
#### Which Delta project/connector is this regarding?
- [x] Spark
- [ ] Standalone
- [ ] Flink
- [ ] Kernel
- [ ] Other (fill in here)
## Description
If the winning transaction adds a new DomainMetadata for the first time
in a table's history concurrent to a REPLACE TABLE operation, the
REPLACE TABLE will incorrectly not mark this DomainMetadata as removed.
This PR fixes this issue by marking any DomainMetadata added by the
winning transaction as removed if they appear in the list of
DomainMetadata to be removed and the domain does not appear in the
DomainMetadata added by the REPLACE TABLE.
## How was this patch tested?
N/A - no DomainMetadata currently exist that fall into this category.
0 commit comments