tanmayrauth opened a new pull request, #1835:
URL: https://github.com/apache/iceberg-go/pull/1835
Adds `Transaction.CommitEqualityDeletes`, a thin convenience wrapper over
`WriteEqualityDeletes` + `NewRowDelta().AddDeletes().Commit()` for delete-only
CDC/upsert commits where the caller already holds the equality-key values.
Closes #1207
## Scope
Adds no new behavior beyond composing the two existing steps:
- format-version >= 2 gate — inherited from `WriteEqualityDeletes`
- equality-field-ID validation — inherited from `WriteEqualityDeletes` /
`RowDelta`
- concurrent-writer conflict detection — inherited from `RowDelta`, which
validates against `write.delete.isolation-level` (serializable by default) at
`Transaction.Commit`
The one intentional behavior: an empty record stream is a no-op (returns
nil, stages nothing) rather than surfacing RowDelta's "at least one file"
error.
Update CDC events needing delete + append in one snapshot still use the
lower-level `RowDelta` flow directly — out of scope here, as discussed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]