stevenzwu commented on code in PR #7555:
URL: https://github.com/apache/iceberg/pull/7555#discussion_r1188123566
##########
api/src/main/java/org/apache/iceberg/ContentFile.java:
##########
@@ -113,6 +113,16 @@ default Integer sortOrderId() {
return null;
}
+ /** Returns the data sequence number of the snapshot in which the file
should be applied. */
+ default Long dataSequenceNumber() {
+ return null;
+ }
+
+ /** Returns the file sequence number. */
Review Comment:
> The file sequence number is always assigned at commit and cannot be
provided explicitly, unlike the data sequence number. The file sequence number
does not change upon assigning.
Can we also use the compaction example?
```
The file sequence number is always assigned at commit. In case of rewrite
(like compaction), file sequence number can be higher than the data sequence
number.
```
--
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]