dramaticlly opened a new pull request, #13631:
URL: https://github.com/apache/iceberg/pull/13631
We realized some difficulties to extend the BaseTransactions when implement
our own PendingUpdate changes, this PR tried to move some private variables to
protected and added a new method to allow derived class to bring your own
PendingUpdates.
```java
// Fields and methods made protected to support extensibility in subclasses
//
// Protected fields available for subclasses:
// - tableName: for operation identification
// - transactionOps: for creating operation instances
//
// Protected methods available for subclasses:
// - appendUpdates(PendingUpdate): adds operations to transaction and apply
essential chores
//
// Example usage in a subclass:
@Override
public RowDelta newRowDelta() {
CustomRowDelta delta = new CustomRowDelta(tableName, transactionOps);
return appendUpdates(delta);
}
```
--
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]