gaborkaszab commented on code in PR #16849:
URL: https://github.com/apache/iceberg/pull/16849#discussion_r3497293203
##########
core/src/main/java/org/apache/iceberg/TrackedFileStruct.java:
##########
@@ -162,6 +163,14 @@ private TrackedFileStruct(TrackedFileStruct toCopy,
boolean withStats, Set<Integ
: null;
}
+ /** Sets the first row id on this {@link TrackedFileStruct} */
+ public void setFirstRowId(int firstRowId) {
+ Preconditions.checkState(
+ contentType == FileContent.DATA || contentType ==
FileContent.DATA_MANIFEST,
+ "Cannot set first row id on an equality delete or delete manifest
entry");
+ ((TrackingStruct) tracking).setFirstRowId(firstRowId);
Review Comment:
Note to self: once the [TrackedFileBuilder adjustments
](https://github.com/apache/iceberg/pull/16964)are merged, we won't have
`TrackingString` but a `TrackingBuilder`. Should we introduce such a function
on the builder?
--
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]