rdblue commented on code in PR #18984:
URL: https://github.com/apache/iceberg/pull/18984#discussion_r4588616833
##########
core/src/main/java/org/apache/iceberg/Delegates.java:
##########
@@ -26,6 +26,113 @@
class Delegates {
private Delegates() {}
+ static TrackedFile withDV(TrackedFile file, DeletionVector dv) {
+ return new DelegatingTrackedFile(file) {
Review Comment:
This is less code. We don't need to create a subclass with a field when it
can be done automatically like this.
--
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]